From bd018fc817a89863ccebf2033ea9b972c6a4926f Mon Sep 17 00:00:00 2001 From: nsbarsukov Date: Wed, 10 Jan 2024 13:42:55 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20taiga-fa?= =?UTF-8?q?mily/maskito@5e1624d92ab1e275275eaf70e585a470d6b29b40=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/phone/API/index.html | 4 ++-- addons/phone/index.html | 10 +++++----- browser-support/index.html | 4 ++-- changelog/index.html | 4 ++-- core-concepts/element-state/index.html | 4 ++-- core-concepts/mask-expression/index.html | 4 ++-- core-concepts/overview/index.html | 4 ++-- core-concepts/overwrite-mode/index.html | 8 ++++---- core-concepts/plugins/index.html | 8 ++++---- core-concepts/processors/index.html | 4 ++-- core-concepts/transformer/index.html | 4 ++-- cypress/index.html | 4 ++-- frameworks/angular/Setup/index.html | 4 ++-- frameworks/angular/index.html | 10 +++++----- frameworks/react/index.html | 4 ++-- frameworks/vue/index.html | 4 ++-- getting-started/maskito-libraries/index.html | 4 ++-- getting-started/what-is-maskito/index.html | 4 ++-- index.html | 4 ++-- index.original.html | 2 +- kit/date-range/API/index.html | 4 ++-- kit/date-range/index.html | 10 +++++----- kit/date-time/API/index.html | 4 ++-- kit/date-time/index.html | 6 +++--- kit/date/API/index.html | 4 ++-- kit/date/index.html | 6 +++--- kit/number/API/index.html | 4 ++-- kit/number/index.html | 14 +++++++------- kit/time/API/index.html | 4 ++-- kit/time/index.html | 6 +++--- ...665b961aadb72294.js => main.2a50c3292ef34cc0.js | 2 +- recipes/card/index.html | 4 ++-- recipes/phone/index.html | 6 +++--- recipes/placeholder/index.html | 8 ++++---- recipes/postfix/index.html | 6 +++--- recipes/prefix/index.html | 6 +++--- recipes/textarea/index.html | 6 +++--- stackblitz/index.html | 4 ++-- 38 files changed, 101 insertions(+), 101 deletions(-) rename main.665b961aadb72294.js => main.2a50c3292ef34cc0.js (66%) diff --git a/addons/phone/API/index.html b/addons/phone/API/index.html index 530e6f6f9..55baca73b 100644 --- a/addons/phone/API/index.html +++ b/addons/phone/API/index.html @@ -22,7 +22,7 @@ -

Phone
PHONE

tuiMode:
-
Name and descriptionType Value
[countryIsoCode]
Country ISO-code
string
'RU'
[strict]
If true, it allows to enter only phone number of selected country (see countryIsoCode property). If false, all country phone number is allowed.

Default:true

boolean
[separator]
Separator between groups of numbers in a phone number (excluding country code and area code).

Default:-

string
'-'
- +

Phone
PHONE

tuiMode:
-
Name and descriptionType Value
[countryIsoCode]
Country ISO-code
string
'RU'
[strict]
If true, it allows to enter only phone number of selected country (see countryIsoCode property). If false, all country phone number is allowed.

Default:true

boolean
[separator]
Separator between groups of numbers in a phone number (excluding country code and area code).

Default:-

string
'-'
+ \ No newline at end of file diff --git a/addons/phone/index.html b/addons/phone/index.html index 34f2f4feb..f59482c59 100644 --- a/addons/phone/index.html +++ b/addons/phone/index.html @@ -22,7 +22,7 @@ -

Phone
PHONE

This mask is based on the libphonenumber-js package.

Use maskitoPhoneOptionsGenerator to create a mask for phone input.

basic

Kazakhstan phone example

    
+        

Phone
PHONE

This mask is based on the libphonenumber-js package.

Use maskitoPhoneOptionsGenerator to create a mask for phone input.

basic

Kazakhstan phone example

    
     
@@ -52,7 +52,7 @@
-

validation

For validating phone number you can use isValidPhoneNumber , isPossiblePhoneNumber functions from libphonenumber-js package. Read more

Below is an example of a Hungarian phone mask with an angular validator.

    
+

validation

For validating phone number you can use isValidPhoneNumber , isPossiblePhoneNumber functions from libphonenumber-js package. Read more

Below is an example of a Hungarian phone mask with an angular validator.

    
     
@@ -64,7 +64,7 @@
-

Non-strict mask

Setting the strict option to false enables non-strict mask mode and allow user to type any country phone number.

The countryIsoCode option is optional in that case, but if you specify it, the mask will try to add that country's calling code when you try to insert a phone number without a calling code.

    
+

Non-strict mask

Setting the strict option to false enables non-strict mask mode and allow user to type any country phone number.

The countryIsoCode option is optional in that case, but if you specify it, the mask will try to add that country's calling code when you try to insert a phone number without a calling code.

    
     
@@ -76,7 +76,7 @@
-

Lazy metadata

You can load metadata lazily, below is an example of how to do it in Angular.

You can also customize the metadata to reduce metadata size. See instructions here

    
+

Lazy metadata

You can load metadata lazily, below is an example of how to do it in Angular.

You can also customize the metadata to reduce metadata size. See instructions here

    
     
@@ -89,6 +89,6 @@
- + \ No newline at end of file diff --git a/browser-support/index.html b/browser-support/index.html index 7698abb42..8fa494cb8 100644 --- a/browser-support/index.html +++ b/browser-support/index.html @@ -22,7 +22,7 @@ -

Browser support

Desktop

BrowserVersion
Google Chrome 74+
Mozilla Firefox 87+
Safari 12.1+
Opera 62+
Edge (Chromium) 74+
Microsoft Internet ExplorerNot supported
Edge (EdgeHTML)Not supported

Mobile

BrowserVersion
Google Chrome90+
Mozilla Firefox99+
Safari12.2+
Opera64+
- +

Browser support

Desktop

BrowserVersion
Google Chrome 74+
Mozilla Firefox 87+
Safari 12.1+
Opera 62+
Edge (Chromium) 74+
Microsoft Internet ExplorerNot supported
Edge (EdgeHTML)Not supported

Mobile

BrowserVersion
Google Chrome90+
Mozilla Firefox99+
Safari12.2+
Opera64+
+ \ No newline at end of file diff --git a/changelog/index.html b/changelog/index.html index 93f06835b..e8d686b42 100644 --- a/changelog/index.html +++ b/changelog/index.html @@ -23,7 +23,7 @@ -

Changelog

Changelog

+

Changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.9.0 (2023-11-23)

@@ -473,6 +473,6 @@

0.1.0 (2023-02-14)

- + \ No newline at end of file diff --git a/core-concepts/element-state/index.html b/core-concepts/element-state/index.html index 092fa3e0d..465f69c4d 100644 --- a/core-concepts/element-state/index.html +++ b/core-concepts/element-state/index.html @@ -22,13 +22,13 @@ -

Element state

Element state is a concept which describes the main properties of the masked element at the certain period of time.

It is an object which implements the following interface:

    
+        

Element state

Element state is a concept which describes the main properties of the masked element at the certain period of time.

It is an object which implements the following interface:

    
     

This concept is actively used throughout Maskito libraries, and you can find its usage in the following topics:

- + \ No newline at end of file diff --git a/core-concepts/mask-expression/index.html b/core-concepts/mask-expression/index.html index f983585f6..3e73a785e 100644 --- a/core-concepts/mask-expression/index.html +++ b/core-concepts/mask-expression/index.html @@ -22,7 +22,7 @@ -

Mask expression

Mask expression is the the main concept of Maskito core library. It provides the developer with opportunity to predefine format of user's input. For example, you can set mask expression to accept only digits, only Latin letters or you can configure more complex patterns like a date string.

You can set mask expression using mask parameter of MaskitoOptions .

Types of mask expression

  • RegExp mask expression

    The most basic and comprehensible type. The only required knowledge is understanding of native JavaScript Regular expression .

    See the following example:

        
    +        

    Mask expression

    Mask expression is the the main concept of Maskito core library. It provides the developer with opportunity to predefine format of user's input. For example, you can set mask expression to accept only digits, only Latin letters or you can configure more complex patterns like a date string.

    You can set mask expression using mask parameter of MaskitoOptions .

    Types of mask expression

    • RegExp mask expression

      The most basic and comprehensible type. The only required knowledge is understanding of native JavaScript Regular expression .

      See the following example:

          
           
      @@ -41,6 +41,6 @@
      Be careful! It can be not performance-friendly to generate new mask expression on every input change.

      Think about optimization and memoization of the such function.

    Next steps

    The following sections are recommended to explore core concepts further:

    - + \ No newline at end of file diff --git a/core-concepts/overview/index.html b/core-concepts/overview/index.html index c59eae17c..97e11b56c 100644 --- a/core-concepts/overview/index.html +++ b/core-concepts/overview/index.html @@ -22,13 +22,13 @@ -

    Core concepts

    The main entity of Maskito core library is Maskito class which accepts 2 arguments in constructor:

    1. native HTMLInputElement or HTMLTextAreaElement
    2. set of configurable MaskitoOptions
        
    +        

    Core concepts

    The main entity of Maskito core library is Maskito class which accepts 2 arguments in constructor:

    1. native HTMLInputElement or HTMLTextAreaElement
    2. set of configurable MaskitoOptions
        
         
    Avoid wasting computation power or memory resources!

    The only available public method destroy removes all created event listeners. Call it to clean everything up when the work is finished.

    To understand the capabilities of the Maskito library, you need to learn about the following features and concepts:

    - + \ No newline at end of file diff --git a/core-concepts/overwrite-mode/index.html b/core-concepts/overwrite-mode/index.html index a7337a873..8c3ce4000 100644 --- a/core-concepts/overwrite-mode/index.html +++ b/core-concepts/overwrite-mode/index.html @@ -22,7 +22,7 @@ -

    Overwrite mode

    Overwrite mode regulates behaviour of the mask when user inserts a new character somewhere in the middle of text field, overwriting the character at the current index.

    overwriteMode can be of a following type:

    • shift (default)
    • replace
    • function that receives element state as an argument and returns shift or replace

    Shift mode

    The classic mode that everyone is used to. Inserting a new character in the middle of the text field value shifts all following characters to the right.

        
    +        

    Overwrite mode

    Overwrite mode regulates behaviour of the mask when user inserts a new character somewhere in the middle of text field, overwriting the character at the current index.

    overwriteMode can be of a following type:

    • shift (default)
    • replace
    • function that receives element state as an argument and returns shift or replace

    Shift mode

    The classic mode that everyone is used to. Inserting a new character in the middle of the text field value shifts all following characters to the right.

        
         
    @@ -52,7 +52,7 @@
    -

    Replace mode

    All new inserted characters replace the old characters at the same position. No character shifts. The length of the value remains the same after inserting new character somewhere in middle of the text field.

        
    +

    Replace mode

    All new inserted characters replace the old characters at the same position. No character shifts. The length of the value remains the same after inserting new character somewhere in middle of the text field.

        
         
    @@ -82,7 +82,7 @@
    -

    Dynamically detected mode

    Parameter overwriteMode also accepts function that will called before each insertion of new characters. This function has one argument — current element state (read more about it in the "Element state" section). And this function should return one of two possible values: shift or replace .

        
    +

    Dynamically detected mode

    Parameter overwriteMode also accepts function that will called before each insertion of new characters. This function has one argument — current element state (read more about it in the "Element state" section). And this function should return one of two possible values: shift or replace .

        
         
    @@ -113,6 +113,6 @@

    Next steps

    The following sections are recommended to explore core concepts further:

- + \ No newline at end of file diff --git a/core-concepts/plugins/index.html b/core-concepts/plugins/index.html index 5ce586ec7..bc8983fe1 100644 --- a/core-concepts/plugins/index.html +++ b/core-concepts/plugins/index.html @@ -23,7 +23,7 @@ -

Plugins

Plugins are functions that are called with input/textarea element and mask options as arguments upon mask initialization. They can optionally return cleanup logic and allow you to extend mask with arbitrary additional behavior.

Visualize rejected characters

This plugin is available as maskitoRejectEvent in @maskito/kit
    
+        

Plugins

Plugins are functions that are called with input/textarea element and mask options as arguments upon mask initialization. They can optionally return cleanup logic and allow you to extend mask with arbitrary additional behavior.

Visualize rejected characters

This plugin is available as maskitoRejectEvent in @maskito/kit
    
     
@@ -41,7 +41,7 @@
-

Built-in initial calibration plugin

Maskito libraries were created to prevent only user from typing invalid value. However, sometimes you (developer) need to enable mask but you not sure that you programmatically patched textfield with valid value. In this case you can use maskitoTransform or just add maskitoInitialCalibrationPlugin to mask options.

    
+

Built-in initial calibration plugin

Maskito libraries were created to prevent only user from typing invalid value. However, sometimes you (developer) need to enable mask but you not sure that you programmatically patched textfield with valid value. In this case you can use maskitoTransform or just add maskitoInitialCalibrationPlugin to mask options.

    
     
@@ -53,7 +53,7 @@
-

Built-in plugin for composition event

By default, Maskito does not break IME Composition and waits until compositionend fires to begin calibration of the textfield's value. It is especially important for East Asian languages such as Chinese, Japanese, Korean, and other languages with complex characters.

However, sometimes this behaviour is not desired and you can want to enable mask validation on every keystroke (to be like a classic not-composition input). For example, some Android devices with enabled system autocomplete can interpret user's input as part of composition event – waiting for compositionend can be not required for some cases (e.g. entering of numbers or your application is not used by East Asian clients). For this cases, you can use maskitoStrictCompositionPlugin . It applies mask's constraints on ANY intermediate value of IME composition.

    
+

Built-in plugin for composition event

By default, Maskito does not break IME Composition and waits until compositionend fires to begin calibration of the textfield's value. It is especially important for East Asian languages such as Chinese, Japanese, Korean, and other languages with complex characters.

However, sometimes this behaviour is not desired and you can want to enable mask validation on every keystroke (to be like a classic not-composition input). For example, some Android devices with enabled system autocomplete can interpret user's input as part of composition event – waiting for compositionend can be not required for some cases (e.g. entering of numbers or your application is not used by East Asian clients). For this cases, you can use maskitoStrictCompositionPlugin . It applies mask's constraints on ANY intermediate value of IME composition.

    
     
@@ -84,6 +84,6 @@

Next steps

The following sections are recommended to explore core concepts further:

- + \ No newline at end of file diff --git a/core-concepts/processors/index.html b/core-concepts/processors/index.html index 1d70e0861..1be192ba1 100644 --- a/core-concepts/processors/index.html +++ b/core-concepts/processors/index.html @@ -22,7 +22,7 @@ -

Processors

MaskitoOptions have optional parameters preprocessors and postprocessors . Both accept array of pure functions. These functions are triggered on every user's input ( beforeinput and input events). They provide an opportunity to modify value before / after the mask is applied.

Preprocessors and postprocessors accept different types of arguments but they have two important similarities:

  • The first argument always contains object with information that you can change. Object with the same properties and updated values can be returned from the processor. It means that you can keep all properties untouched or you can change any or all of these properties.
  • The rest arguments contain information that can be useful to build some complex logic, but you cannot change it.
Before you learn more about processors, you should learn a single prerequisite — meaning of the term "Element state" .

Preprocessors

Each preprocessor is a function that is called before mask is applied.

For example, if user types a new character, all preprocessors will be called first, and only then final value that they returned will be passed into the mask, and finally the mask will accept or reject new typed character and update actual value of the text field.

Preprocessor accepts two arguments:

  1. Object with two properties: elementState and data . Object of the same interface with updated or unchanged properties can be returned from the preprocessor.
        
    +        

    Processors

    MaskitoOptions have optional parameters preprocessors and postprocessors . Both accept array of pure functions. These functions are triggered on every user's input ( beforeinput and input events). They provide an opportunity to modify value before / after the mask is applied.

    Preprocessors and postprocessors accept different types of arguments but they have two important similarities:

    • The first argument always contains object with information that you can change. Object with the same properties and updated values can be returned from the processor. It means that you can keep all properties untouched or you can change any or all of these properties.
    • The rest arguments contain information that can be useful to build some complex logic, but you cannot change it.
    Before you learn more about processors, you should learn a single prerequisite — meaning of the term "Element state" .

    Preprocessors

    Each preprocessor is a function that is called before mask is applied.

    For example, if user types a new character, all preprocessors will be called first, and only then final value that they returned will be passed into the mask, and finally the mask will accept or reject new typed character and update actual value of the text field.

    Preprocessor accepts two arguments:

    1. Object with two properties: elementState and data . Object of the same interface with updated or unchanged properties can be returned from the preprocessor.
          
           
      @@ -47,6 +47,6 @@
    Stacking of multiple processors

    The Maskito team likes code decomposition and promotes it! Don't put all complex logic inside a single processor. Both parameters preprocessors and postprocessors accepts array of same type processors. Break your code into the several independent processors so that each processor implements only a single task.

    Next steps

    The following sections are recommended to explore core concepts further:

    - + \ No newline at end of file diff --git a/core-concepts/transformer/index.html b/core-concepts/transformer/index.html index ed97cf2a7..d7404bf8b 100644 --- a/core-concepts/transformer/index.html +++ b/core-concepts/transformer/index.html @@ -22,13 +22,13 @@ -

    Transformer
    CORE

    Maskito libraries were created to prevent user from typing invalid value.
    Maskito listens beforeinput and input events. Programmatic (by developer) changes of input's value don't trigger these events!

    Maskito is based on the assumption that developer is capable to programmatically patch input with valid value!

    If you need to programmatically patch input's value but you are not sure that your value is valid (for example, you get it from the server), you should use maskitoTransform utility .

        
    +        

    Transformer
    CORE

    Maskito libraries were created to prevent user from typing invalid value.
    Maskito listens beforeinput and input events. Programmatic (by developer) changes of input's value don't trigger these events!

    Maskito is based on the assumption that developer is capable to programmatically patch input with valid value!

    If you need to programmatically patch input's value but you are not sure that your value is valid (for example, you get it from the server), you should use maskitoTransform utility .

        
         

    Next steps

    The following sections are recommended to explore core concepts further:

    - + \ No newline at end of file diff --git a/cypress/index.html b/cypress/index.html index 9fbaf7e7c..bc4f45b7b 100644 --- a/cypress/index.html +++ b/cypress/index.html @@ -22,7 +22,7 @@ -

    Cypress

    - +

    Cypress

    + \ No newline at end of file diff --git a/frameworks/angular/Setup/index.html b/frameworks/angular/Setup/index.html index 5489e5443..26a32beec 100644 --- a/frameworks/angular/Setup/index.html +++ b/frameworks/angular/Setup/index.html @@ -22,7 +22,7 @@ -

    Angular

    1. Install libraries

      /your/project/path> +

      Angular

      1. Install libraries

        /your/project/path>

            
             
      - + \ No newline at end of file diff --git a/frameworks/angular/index.html b/frameworks/angular/index.html index 601814b37..3596ad919 100644 --- a/frameworks/angular/index.html +++ b/frameworks/angular/index.html @@ -22,7 +22,7 @@ -

      Angular

      @maskito/angular is a light-weighted library to use Maskito in an Angular-way.
      Prerequisites

      To get the most out of this guide, you should review the topic "Core Concepts" first.

      Write less code

      • No need to query element from DOM. Just pass all required options to [maskito] directive.
      • No need to worry about clean-ups. All created event listeners are automatically removed after element is detached from DOM.

      Basic directive approach

      Use it when you have direct access to native input element.

      your.component.ts +

      Angular

      @maskito/angular is a light-weighted library to use Maskito in an Angular-way.
      Prerequisites

      To get the most out of this guide, you should review the topic "Core Concepts" first.

      Write less code

      • No need to query element from DOM. Just pass all required options to [maskito] directive.
      • No need to worry about clean-ups. All created event listeners are automatically removed after element is detached from DOM.

      Basic directive approach

      Use it when you have direct access to native input element.

      your.component.ts

          
           
      -

      Custom input

      See querying nested input in action

      Default behavior is enough for Taiga UI inputs
      Custom predicate is required if target input is not the first on in the DOM

Custom input

See querying nested input in action

Default behavior is enough for Taiga UI inputs
Custom predicate is required if target input is not the first on in the DOM
    
     
- + \ No newline at end of file diff --git a/frameworks/react/index.html b/frameworks/react/index.html index 1f93cab69..e516cecbb 100644 --- a/frameworks/react/index.html +++ b/frameworks/react/index.html @@ -22,7 +22,7 @@ -

React

@maskito/react is a light-weighted library to use Maskito in an React-way.

Prerequisites

To get the most out of this guide, you should review the topic "Core Concepts" first.

Getting Started

Install libraries

    
+        

React

@maskito/react is a light-weighted library to use Maskito in an React-way.

Prerequisites

To get the most out of this guide, you should review the topic "Core Concepts" first.

Getting Started

Install libraries

    
     
@@ -59,6 +59,6 @@
- + \ No newline at end of file diff --git a/frameworks/vue/index.html b/frameworks/vue/index.html index fb0d575a3..f39e254b5 100644 --- a/frameworks/vue/index.html +++ b/frameworks/vue/index.html @@ -22,7 +22,7 @@ -
- +
+ \ No newline at end of file diff --git a/getting-started/maskito-libraries/index.html b/getting-started/maskito-libraries/index.html index 2da22c052..be1699a97 100644 --- a/getting-started/maskito-libraries/index.html +++ b/getting-started/maskito-libraries/index.html @@ -22,7 +22,7 @@ -

Maskito libraries

Maskito is a collection of libraries. Explore them and learn how to install and use them.

  • @maskito/core

    It is the main zero-dependency and framework-agnostic package. It can be used alone in vanilla JavaScript project. It listens to beforeinput and input events to validate and calibrate text field value.

    All other Maskito's packages require @maskito/core as peer-dependency.

    /your/project/path> +

    Maskito libraries

    Maskito is a collection of libraries. Explore them and learn how to install and use them.

    • @maskito/core

      It is the main zero-dependency and framework-agnostic package. It can be used alone in vanilla JavaScript project. It listens to beforeinput and input events to validate and calibrate text field value.

      All other Maskito's packages require @maskito/core as peer-dependency.

      /your/project/path>

          
           

      Learn more about this library in "Vue" section.

    - + \ No newline at end of file diff --git a/getting-started/what-is-maskito/index.html b/getting-started/what-is-maskito/index.html index bc54aebbc..12806cde5 100644 --- a/getting-started/what-is-maskito/index.html +++ b/getting-started/what-is-maskito/index.html @@ -22,7 +22,7 @@ -

    What is Maskito?

    Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

    Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

    Why Maskito?

    • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
    • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
    • Server Side Rendering and Shadow DOM support.
    • You can use it with HTMLInputElement and HTMLTextAreaElement .
    • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
    • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

    No textfield with invalid value! Use Maskito. Mask it!

    Learn about Maskito

    - +

    What is Maskito?

    Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

    Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

    Why Maskito?

    • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
    • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
    • Server Side Rendering and Shadow DOM support.
    • You can use it with HTMLInputElement and HTMLTextAreaElement .
    • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
    • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

    No textfield with invalid value! Use Maskito. Mask it!

    Learn about Maskito

    + \ No newline at end of file diff --git a/index.html b/index.html index e802c8e8e..305f2a784 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@ -

    What is Maskito?

    Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

    Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

    Why Maskito?

    • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
    • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
    • Server Side Rendering and Shadow DOM support.
    • You can use it with HTMLInputElement and HTMLTextAreaElement .
    • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
    • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

    No textfield with invalid value! Use Maskito. Mask it!

    Learn about Maskito

    - +

    What is Maskito?

    Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

    Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

    Why Maskito?

    • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
    • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
    • Server Side Rendering and Shadow DOM support.
    • You can use it with HTMLInputElement and HTMLTextAreaElement .
    • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
    • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

    No textfield with invalid value! Use Maskito. Mask it!

    Learn about Maskito

    + \ No newline at end of file diff --git a/index.original.html b/index.original.html index ac33f2709..22745ac71 100644 --- a/index.original.html +++ b/index.original.html @@ -18,6 +18,6 @@ Loading... - + \ No newline at end of file diff --git a/kit/date-range/API/index.html b/kit/date-range/API/index.html index 22c37caae..4d3a45c40 100644 --- a/kit/date-range/API/index.html +++ b/kit/date-range/API/index.html @@ -22,7 +22,7 @@ -

    DateRange
    KIT

    tuiMode:
    -
    Name and descriptionType Value
    [mode]
    Date format mode
    MaskitoDateMode
    'dd/mm/yyyy'
    [dateSeparator]
    Separator between date segments (days, months and years).

    Default:. (dot).

    string
    [rangeSeparator]
    Separator between dates of the date range.

    Default: â€“ 

    string
    [min]
    Earliest date
    Date
    '0001-01-01'
    [max]
    Latest date
    Date
    '9999-12-31'
    [minLength]
    Minimal length of the range
    MaskitoDateSegments<number>
    {}
    [maxLength]
    Maximal length of the range
    MaskitoDateSegments<number>
    {}
    - +

    DateRange
    KIT

    tuiMode:
    -
    Name and descriptionType Value
    [mode]
    Date format mode
    MaskitoDateMode
    'dd/mm/yyyy'
    [dateSeparator]
    Separator between date segments (days, months and years).

    Default:. (dot).

    string
    [rangeSeparator]
    Separator between dates of the date range.

    Default: â€“ 

    string
    [min]
    Earliest date
    Date
    '0001-01-01'
    [max]
    Latest date
    Date
    '9999-12-31'
    [minLength]
    Minimal length of the range
    MaskitoDateSegments<number>
    {}
    [maxLength]
    Maximal length of the range
    MaskitoDateSegments<number>
    {}
    + \ No newline at end of file diff --git a/kit/date-range/index.html b/kit/date-range/index.html index e88cba046..ef1509b7f 100644 --- a/kit/date-range/index.html +++ b/kit/date-range/index.html @@ -22,7 +22,7 @@ -

    DateRange
    KIT

    Use maskitoDateRangeOptionsGenerator to create a mask to input a range of dates.

    Date localization

    Use mode and dateSeparator parameters to get a mask with a locale specific representation of dates.

        
    +        

    DateRange
    KIT

    Use maskitoDateRangeOptionsGenerator to create a mask to input a range of dates.

    Date localization

    Use mode and dateSeparator parameters to get a mask with a locale specific representation of dates.

        
         
    @@ -52,7 +52,7 @@
    -

    Min and max dates

    Parameters min and max allow you to set the earliest and the latest available dates. They accept native Date .

        
    +

    Min and max dates

    Parameters min and max allow you to set the earliest and the latest available dates. They accept native Date .

        
         
    @@ -82,7 +82,7 @@
    -

Min and max length of range

Use minLength and maxLength parameters to set minimal and maximal length of the date range.

    
+

Min and max length of range

Use minLength and maxLength parameters to set minimal and maximal length of the date range.

    
     
@@ -112,7 +112,7 @@
-

Custom range separator

Use rangeSeparator parameter to customize separator between dates of the date range.

    
+

Custom range separator

Use rangeSeparator parameter to customize separator between dates of the date range.

    
     
@@ -143,6 +143,6 @@
- + \ No newline at end of file diff --git a/kit/date-time/API/index.html b/kit/date-time/API/index.html index 5472d697f..732872bd8 100644 --- a/kit/date-time/API/index.html +++ b/kit/date-time/API/index.html @@ -22,7 +22,7 @@ -

DateTime
KIT

tuiMode:
-
Name and descriptionType Value
[dateMode]
Date format mode
MaskitoDateMode
'dd/mm/yyyy'
[timeMode]
Time format mode
MaskitoTimeMode
'HH:MM'
[dateSeparator]
Date separator

Default:. (dot).

string
[min]
Earliest date
Date
'0001-01-01T00:00:00'
[max]
Latest date
Date
'9999-12-31T23:59:59'
- +

DateTime
KIT

tuiMode:
-
Name and descriptionType Value
[dateMode]
Date format mode
MaskitoDateMode
'dd/mm/yyyy'
[timeMode]
Time format mode
MaskitoTimeMode
'HH:MM'
[dateSeparator]
Date separator

Default:. (dot).

string
[min]
Earliest date
Date
'0001-01-01T00:00:00'
[max]
Latest date
Date
'9999-12-31T23:59:59'
+ \ No newline at end of file diff --git a/kit/date-time/index.html b/kit/date-time/index.html index beb061324..b67fbf13c 100644 --- a/kit/date-time/index.html +++ b/kit/date-time/index.html @@ -22,7 +22,7 @@ -

DateTime
KIT

Use maskitoDateTimeOptionsGenerator to create a mask to input both date and time.

Localization

Use dateMode , timeMode and dateSeparator parameters to get a mask with a locale specific representation of dates.

    
+        

DateTime
KIT

Use maskitoDateTimeOptionsGenerator to create a mask to input both date and time.

Localization

Use dateMode , timeMode and dateSeparator parameters to get a mask with a locale specific representation of dates.

    
     
@@ -52,7 +52,7 @@
-

Min and max

Parameters min and max allow to set the earliest and the latest available dates. They accept native Date .

    
+

Min and max

Parameters min and max allow to set the earliest and the latest available dates. They accept native Date .

    
     
@@ -83,6 +83,6 @@
- + \ No newline at end of file diff --git a/kit/date/API/index.html b/kit/date/API/index.html index 95b6daa88..c7ea3a610 100644 --- a/kit/date/API/index.html +++ b/kit/date/API/index.html @@ -22,7 +22,7 @@ -

Date
KIT

tuiMode:
-
Name and descriptionType Value
[mode]
Date format mode
MaskitoDateMode
'dd/mm/yyyy'
[separator]
Symbol for separating date-segments (days, months, years)

Default:. (dot)

string
'.'
[min]
Earliest date

Default:new Date('0001-01-01')

Date
'0001-01-01'
[max]
Latest date

Default:new Date('9999-12-31')

Date
'9999-12-31'
- +

Date
KIT

tuiMode:
-
Name and descriptionType Value
[mode]
Date format mode
MaskitoDateMode
'dd/mm/yyyy'
[separator]
Symbol for separating date-segments (days, months, years)

Default:. (dot)

string
'.'
[min]
Earliest date

Default:new Date('0001-01-01')

Date
'0001-01-01'
[max]
Latest date

Default:new Date('9999-12-31')

Date
'9999-12-31'
+ \ No newline at end of file diff --git a/kit/date/index.html b/kit/date/index.html index c4c9a0576..0619bb0d6 100644 --- a/kit/date/index.html +++ b/kit/date/index.html @@ -22,7 +22,7 @@ -

Date
KIT

Use maskitoDateOptionsGenerator to create a mask for date input.

Date localization

Use mode and separator properties to get a mask with a locale specific representation of dates.

    
+        

Date
KIT

Use maskitoDateOptionsGenerator to create a mask for date input.

Date localization

Use mode and separator properties to get a mask with a locale specific representation of dates.

    
     
@@ -52,7 +52,7 @@
-

Min/Max

Properties min and max allow you to set the earliest and the latest available dates. They accept native Date .

    
+

Min/Max

Properties min and max allow you to set the earliest and the latest available dates. They accept native Date .

    
     
@@ -83,6 +83,6 @@
- + \ No newline at end of file diff --git a/kit/number/API/index.html b/kit/number/API/index.html index 53bbb0c68..73c25ceae 100644 --- a/kit/number/API/index.html +++ b/kit/number/API/index.html @@ -22,7 +22,7 @@ -

Number
KIT

tuiMode:
-
Name and descriptionType Value
[precision]
A number of digits after decimalSeparator .

Use Infinity for an untouched decimal part.

Default:0 (decimal part is forbidden).

number
0
[decimalSeparator]
Symbol for separating fraction.

Default: dot.

string
[decimalPseudoSeparators]
Symbols to be replaced with decimalSeparator .

Default:['.', 'ю', 'б'] .

string[]
['.', ',', 'б', 'ю']
[decimalZeroPadding]
If number of digits after decimalSeparator is always equal to the precision .

Default:false (number of digits can be less than precision) .

boolean
[thousandSeparator]
Symbol for separating thousands.

Default: non-breaking space.

string
[min]
The lowest permitted value.

Default:Number.MIN_SAFE_INTEGER .

number
[max]
The greatest permitted value.

Default:Number.MAX_SAFE_INTEGER .

number
[prefix]
A prefix symbol, like currency.

Default: empty string (no prefix).

string
[postfix]
A postfix symbol, like currency.

Default: empty string (no postfix).

string
- +

Number
KIT

tuiMode:
-
Name and descriptionType Value
[precision]
A number of digits after decimalSeparator .

Use Infinity for an untouched decimal part.

Default:0 (decimal part is forbidden).

number
0
[decimalSeparator]
Symbol for separating fraction.

Default: dot.

string
[decimalPseudoSeparators]
Symbols to be replaced with decimalSeparator .

Default:['.', 'ю', 'б'] .

string[]
['.', ',', 'б', 'ю']
[decimalZeroPadding]
If number of digits after decimalSeparator is always equal to the precision .

Default:false (number of digits can be less than precision) .

boolean
[thousandSeparator]
Symbol for separating thousands.

Default: non-breaking space.

string
[min]
The lowest permitted value.

Default:Number.MIN_SAFE_INTEGER .

number
[max]
The greatest permitted value.

Default:Number.MAX_SAFE_INTEGER .

number
[prefix]
A prefix symbol, like currency.

Default: empty string (no prefix).

string
[postfix]
A postfix symbol, like currency.

Default: empty string (no postfix).

string
+ \ No newline at end of file diff --git a/kit/number/index.html b/kit/number/index.html index 1c47e9dd4..2be27db37 100644 --- a/kit/number/index.html +++ b/kit/number/index.html @@ -22,13 +22,13 @@ -

Number
KIT

Use maskitoNumberOptionsGenerator to create a mask for entering a formatted number.
Despite the name of the mask, element's raw value is still string.

Use maskitoParseNumber to get number-type value.

    
+        

Number
KIT

Use maskitoNumberOptionsGenerator to create a mask for entering a formatted number.
Despite the name of the mask, element's raw value is still string.

Use maskitoParseNumber to get number-type value.

    
     
-

High precision

Use precision parameter to configure the number of digits after decimal separator.

    
+

High precision

Use precision parameter to configure the number of digits after decimal separator.

    
     
@@ -58,7 +58,7 @@
-

Separators

Use decimalSeparator and thousandSeparator to get mask with locale specific representation of numbers.

In Germany people use comma as decimal separator and dot for thousands
    
+

Separators

Use decimalSeparator and thousandSeparator to get mask with locale specific representation of numbers.

In Germany people use comma as decimal separator and dot for thousands
    
     
@@ -88,7 +88,7 @@
-

Postfix

Use postfix parameter to set non-removable text after the number.
Additionally you can use maskitoCaretGuard to clamp caret inside allowable range.
This example also shows how to restrict the greatest permitted value via max parameter.

    
+

Postfix

Use postfix parameter to set non-removable text after the number.
Additionally you can use maskitoCaretGuard to clamp caret inside allowable range.
This example also shows how to restrict the greatest permitted value via max parameter.

    
     
@@ -118,7 +118,7 @@
-

Decimal zero padding

Set decimalZeroPadding: true to always show trailing zeroes.

Non removable dollar sign is achieved by using prefix parameter.

    
+

Decimal zero padding

Set decimalZeroPadding: true to always show trailing zeroes.

Non removable dollar sign is achieved by using prefix parameter.

    
     
@@ -148,7 +148,7 @@
-

Dynamic decimal zero padding

You can change options on the fly to build complex logic.
This example shows how to initially disable decimalZeroPadding and enable it only after user inserts decimal separator.

    
+

Dynamic decimal zero padding

You can change options on the fly to build complex logic.
This example shows how to initially disable decimalZeroPadding and enable it only after user inserts decimal separator.

    
     
@@ -161,6 +161,6 @@
- + \ No newline at end of file diff --git a/kit/time/API/index.html b/kit/time/API/index.html index 3bc64f405..0abe22696 100644 --- a/kit/time/API/index.html +++ b/kit/time/API/index.html @@ -22,7 +22,7 @@ -

Time
KIT

tuiMode:
-
Name and descriptionType Value
[mode]
Time format mode
MaskitoTimeMode
'HH:MM'
[timeSegmentMaxValues]
Max value for every time segment
MaskitoTimeSegments<number>
{hours: 23, minutes: 59, seconds: 59, milliseconds: 999}
- +

Time
KIT

tuiMode:
-
Name and descriptionType Value
[mode]
Time format mode
MaskitoTimeMode
'HH:MM'
[timeSegmentMaxValues]
Max value for every time segment
MaskitoTimeSegments<number>
{hours: 23, minutes: 59, seconds: 59, milliseconds: 999}
+ \ No newline at end of file diff --git a/kit/time/index.html b/kit/time/index.html index 15379050e..0e3e9c5ed 100644 --- a/kit/time/index.html +++ b/kit/time/index.html @@ -22,7 +22,7 @@ -

Time
KIT

Use maskitoTimeOptionsGenerator to create a mask for time input.

Mode

Use mode property to set time format.

Available options : HH:MM , HH:MM:SS or HH:MM:SS.MSS .

    
+        

Time
KIT

Use maskitoTimeOptionsGenerator to create a mask for time input.

Mode

Use mode property to set time format.

Available options : HH:MM , HH:MM:SS or HH:MM:SS.MSS .

    
     
@@ -52,7 +52,7 @@
-

12-hours format

Property timeSegmentMaxValues allows you to set max value for every time segment.

Time segments are units of the time which form time string. For example, HH:MM consists of two time segments: hours and minutes.

    
+

12-hours format

Property timeSegmentMaxValues allows you to set max value for every time segment.

Time segments are units of the time which form time string. For example, HH:MM consists of two time segments: hours and minutes.

    
     
@@ -83,6 +83,6 @@
- + \ No newline at end of file diff --git a/main.665b961aadb72294.js b/main.2a50c3292ef34cc0.js similarity index 66% rename from main.665b961aadb72294.js rename to main.2a50c3292ef34cc0.js index 9848b6cb7..f305484d3 100644 --- a/main.665b961aadb72294.js +++ b/main.2a50c3292ef34cc0.js @@ -1 +1 @@ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[179,6429],{2579:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Ct:()=>ve,H3:()=>Ue,L1:()=>de,UA:()=>ie,m9:()=>ce,s5:()=>Ae,ux:()=>ue,yZ:()=>tt});var e=c(4537),s=c(7241),k=c(4581),z=c(815),F=c(3674),ne=c(7969),W=c(2147),te=c(6466),pe=c(8692);const ce=new e.OlP("An abstraction over global window object",{factory:()=>{const{defaultView:we}=(0,e.f3M)(pe.K0);if(!we)throw new Error("Window is not available");return we}}),de=new e.OlP("Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{const{requestAnimationFrame:we,cancelAnimationFrame:mt}=(0,e.f3M)(ce);return new s.y(Qe=>{let qe=NaN;const Ge=R=>{Qe.next(R),qe=we(Ge)};return qe=we(Ge),()=>{mt(qe)}}).pipe((0,z.B)())}}),ue=(new e.OlP("An abstraction over window.caches object",{factory:()=>(0,e.f3M)(ce).caches}),new e.OlP("An abstraction over window.crypto object",{factory:()=>(0,e.f3M)(ce).crypto}),new e.OlP("An abstraction over window.CSS object",{factory:()=>(0,e.f3M)(ce).CSS||{escape:we=>we,supports:()=>!1}})),ie=new e.OlP("An abstraction over window.history object",{factory:()=>(0,e.f3M)(ce).history}),Ue=new e.OlP("An abstraction over window.localStorage object",{factory:()=>(0,e.f3M)(ce).localStorage}),ve=new e.OlP("An abstraction over window.location object",{factory:()=>(0,e.f3M)(ce).location}),Ae=new e.OlP("An abstraction over window.navigator object",{factory:()=>(0,e.f3M)(ce).navigator}),tt=(new e.OlP("An abstraction over window.navigator.mediaDevices object",{factory:()=>(0,e.f3M)(Ae).mediaDevices}),new e.OlP("An abstraction over window.navigator.connection object",{factory:()=>(0,e.f3M)(Ae).connection||null}),new e.OlP("Shared Observable based on `document visibility changed`",{factory:()=>{const we=(0,e.f3M)(pe.K0);return(0,k.R)(we,"visibilitychange").pipe((0,F.O)(0),(0,ne.U)(()=>"hidden"!==we.visibilityState),(0,W.x)(),(0,te.d)({refCount:!1,bufferSize:1}))}}),new e.OlP("An abstraction over window.performance object",{factory:()=>(0,e.f3M)(ce).performance}),new e.OlP("An abstraction over window.screen object",{factory:()=>(0,e.f3M)(ce).screen}),new e.OlP("An abstraction over window.sessionStorage object",{factory:()=>(0,e.f3M)(ce).sessionStorage}),new e.OlP("An abstraction over SpeechRecognition class",{factory:()=>{const we=(0,e.f3M)(ce);return we.speechRecognition||we.webkitSpeechRecognition||null}}),new e.OlP("An abstraction over window.speechSynthesis object",{factory:()=>(0,e.f3M)(ce).speechSynthesis}),new e.OlP("An abstraction over window.navigator.userAgent object",{factory:()=>(0,e.f3M)(Ae).userAgent}))},9439:(Ht,Fe,c)=>{"use strict";c.d(Fe,{c0:()=>bu,JF:()=>Cu,FU:()=>Du,mG:()=>Tu,zb:()=>Bl,Lx:()=>wu,B7:()=>Ll,f2:()=>Ud,u4:()=>Hl,$5:()=>ku,qn:()=>Wl,qo:()=>Lu,Lq:()=>wa,nj:()=>Yl,hs:()=>Fd});var e=c(4537),s=c(4548),k=c(2497),z=c(4121),F=c(8023),ne=c(1995),W=c(1860),te=c(5696),pe=c(1528),ce=c(7969),de=c(3674),Y=c(3528),_e=c(4970),ue=c(4882),ie=c(5598),Ue=c(2147),ve=c(815),Ae=c(2628),Ve=c(2847),je=c(1515),se=c(4789),ee=c(3770),$e=c(719),Oe=c(8692);const _t=["wrapper"];function vt(u,b){if(1&u&&(e.TgZ(0,"tui-loader",4),e.GkF(1,5),e.qZA()),2&u){const r=e.oxw(2);e.Q6J("overlay",!0)("showLoader",r.loading),e.xp6(1),e.Q6J("ngTemplateOutlet",r.content)}}function tt(u,b){if(1&u&&(e.ynx(0),e.Hsn(1),e.YNc(2,vt,2,3,"tui-loader",3),e.BQk()),2&u){const r=e.oxw();e.xp6(2),e.Q6J("ngIf",r.async)("ngIfElse",r.content)}}const we=["*"];let mt=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiExpandContent",""]]}),u})();let qe=(()=>{class u{constructor(r){this.cdr=r,this.state=0,this.async=!1,this.content=null,this.expanded=null}set expandedSetter(r){if(null!==this.expanded)return 0!==this.state?(this.expanded=r,void(this.state=3)):(this.expanded=r,void this.retrigger(this.async&&r?1:3));this.expanded=r}get overflow(){return 0!==this.state}get loading(){return!!this.expanded&&this.async&&1===this.state}get height(){const{expanded:r,state:f,contentWrapper:L}=this;return r&&2===f||!r&&3===f?0:L&&(!r&&2===f||r&&3===f)?L.nativeElement.offsetHeight:L&&r&&1===f?Math.max(L.nativeElement.offsetHeight,48):null}get contentVisible(){return this.expanded||0!==this.state}onTransitionEnd({propertyName:r}){"opacity"===r&&3===this.state&&(this.state=0)}onExpandLoaded(r){r.stopPropagation(),1===this.state&&this.retrigger(3)}retrigger(r){this.state=2,setTimeout(()=>{2===this.state&&(this.state=r,this.cdr.markForCheck())})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-expand"]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,mt,5,e.Rgc),2&r){let me;e.iGM(me=e.CRH())&&(f.content=me.first)}},viewQuery:function(r,f){if(1&r&&e.Gf(_t,5),2&r){let L;e.iGM(L=e.CRH())&&(f.contentWrapper=L.first)}},hostVars:9,hostBindings:function(r,f){1&r&&e.NdJ("transitionend.self",function(me){return f.onTransitionEnd(me)})("tui-expand-loaded",function(me){return f.onExpandLoaded(me)}),2&r&&(e.uIk("aria-expanded",f.expanded),e.Udp("height",f.height,"px"),e.ekj("_expanded",f.expanded)("_overflow",f.overflow)("_loading",f.loading))},inputs:{async:"async",expandedSetter:["expanded","expandedSetter"]},ngContentSelectors:we,decls:3,vars:3,consts:[[1,"t-wrapper"],["wrapper",""],[4,"ngIf"],["size","l",3,"overlay","showLoader",4,"ngIf","ngIfElse"],["size","l",3,"overlay","showLoader"],[3,"ngTemplateOutlet"]],template:function(r,f){1&r&&(e.F$t(),e.TgZ(0,"div",0,1),e.YNc(2,tt,3,2,"ng-container",2),e.qZA()),2&r&&(e.Q6J("@tuiParentAnimation",void 0)("@.disabled",f.overflow),e.xp6(2),e.Q6J("ngIf",f.contentVisible))},dependencies:[$e.kM,Oe.O5,Oe.tP],styles:['[_nghost-%COMP%]{transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;opacity:0;transition-delay:1ms}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translate(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[ee.Kx]},changeDetection:0}),u})(),Ge=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,$e.dS]]}),u})();var R=c(5452),be=c(8940),S=c(8089),q=c(5111),ze=c(5974),N=c(5640),Se=c(885),et=c(8952),pt=c(134),wt=c(6480);let Cn=(()=>{class u extends wt.GM{}return u.\u0275fac=function(){let b;return function(f){return(b||(b=e.n5z(u)))(f||u)}}(),u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-theme-night"]],features:[e.qOj],decls:0,vars:0,template:function(r,f){},styles:[":root{--tui-base-01: #222;--tui-base-02: #333;--tui-base-03: #808080;--tui-base-04: #959595;--tui-base-05: #b0b0b0;--tui-base-06: #d7d7d7;--tui-base-07: #ededed;--tui-base-08: #f6f6f6;--tui-base-09: #fff;--tui-focus: rgba(51, 51, 51, .64);--tui-secondary: rgba(255, 255, 255, .16);--tui-secondary-hover: rgba(255, 255, 255, .24);--tui-secondary-active: rgba(255, 255, 255, .4);--tui-clear: rgba(255, 255, 255, .16);--tui-clear-disabled: rgba(255, 255, 255, .08);--tui-clear-hover: rgba(255, 255, 255, .24);--tui-clear-active: rgba(255, 255, 255, .4);--tui-error-fill: #ff8c67;--tui-error-bg: rgba(244, 87, 37, .32);--tui-error-bg-hover: rgba(244, 87, 37, .4);--tui-success-fill: #4ac99b;--tui-success-bg: rgba(74, 201, 155, .32);--tui-success-bg-hover: rgba(74, 201, 155, .4);--tui-warning-fill: #ffc700;--tui-warning-bg: rgba(255, 199, 0, .32);--tui-warning-bg-hover: rgba(255, 199, 0, .4);--tui-info-fill: #70b6f6;--tui-info-bg: rgba(112, 182, 246, .32);--tui-info-bg-hover: rgba(112, 182, 246, .4);--tui-neutral-fill: #959ba4;--tui-neutral-bg: rgba(149, 155, 164, .32);--tui-neutral-bg-hover: rgba(149, 155, 164, .48);--tui-text-01: #ffffff;--tui-text-02: rgba(255, 255, 255, .72);--tui-text-03: rgba(255, 255, 255, .6);--tui-link: #6788ff;--tui-link-hover: #526ed3;--tui-positive: #44c596;--tui-positive-hover: #3aa981;--tui-negative: #ff8c67;--tui-negative-hover: #bb593a;--tui-autofill: var(--tui-autofill-night);--tui-elevation-01: #222;--tui-elevation-02: #222;--tui-shadow: 0 .25rem 1.5rem rgba(0, 0, 0, .12);--tui-shadow-hover: 0 .75rem 2.25rem rgba(0, 0, 0, .2);--tui-shadow-dropdown: 0 1.5rem 1rem rgba(0, 0, 0, .03), 0 .75rem .75rem rgba(0, 0, 0, .04), 0 .25rem .375rem rgba(0, 0, 0, .05);--tui-shadow-modal: 0 1.125rem 1.875rem rgba(0, 0, 0, .48);--tui-shadow-sidebar: .25rem 0 1.5rem rgba(0, 0, 0, .12);--tui-shadow-navigation: 0 .125rem 1rem rgba(0, 0, 0, .08);--tui-shadow-sheet: 0 -1rem 1.75rem rgba(0, 0, 0, .24)}tui-notification{--tui-base-01: #000}\n"],encapsulation:2,changeDetection:0}),u})(),St=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var Ft=c(1359),It=c(5122),Rt=c(4091),Zt=c(5998),Ut=c(2579),Dt=c(9669),Xt=c(8033),Qt=c(1927),hn=c(4945),cn=c(4493),yt=c(7179);let Re=(()=>{class u{constructor(r,f,L){this.doc=r,this.el=f,this.renderer=L,this.activeElement=(0,yt.ie)(this.doc),Promise.resolve().then(()=>this.el.nativeElement.focus())}onBlur(){this.renderer.removeAttribute(this.el.nativeElement,"tabIndex")}onFocusIn(r){const{nativeElement:f}=this.el;if((0,cn.PP)(f,r))return;const L=(0,yt.BW)({initial:f,root:f});L&&L.focus()}ngOnDestroy(){(0,yt.hp)(this.doc),Promise.resolve().then(()=>{(0,cn.dW)(this.activeElement)&&this.activeElement.focus()})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Oe.K0),e.Y36(e.SBq),e.Y36(e.Qsj))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiFocusTrap",""]],hostAttrs:["tabIndex","0"],hostBindings:function(r,f){1&r&&e.NdJ("blur",function(){return f.onBlur()})("focusin.silent",function(me){return f.onFocusIn(me.target)},!1,e.Jf7)}}),u})(),he=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var re=c(1486),Xe=c(2668),Le=c(9570);function fe(u,b){1&u&&e.GkF(0)}function We(u,b){1&u&&e._UZ(0,"tui-scroll-controls",5)}function ye(u,b){if(1&u&&(e.TgZ(0,"section",2),e.YNc(1,fe,1,0,"ng-container",3),e.YNc(2,We,1,0,"tui-scroll-controls",4),e.qZA()),2&u){const r=b.$implicit,f=e.oxw();e.Q6J("@host",void 0),e.uIk("aria-labelledby",r.id),e.xp6(1),e.Q6J("polymorpheusOutlet",r.component)("polymorpheusOutletContext",r),e.xp6(1),e.Q6J("ngIf",!f.isMobile)}}function at(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",6),e.NdJ("transitionend",function(L){const jt=e.CHM(r).tuiLet,Fn=e.oxw();return e.KtG(Fn.onDialog(L,!!Fn.dialogs.length,!!jt))})("popstate",function(){const me=e.CHM(r).tuiLet,jt=e.oxw();return e.KtG(jt.closeLast(jt.dialogs,!!me))},!1,e.Jf7),e.qZA()}if(2&u){const r=e.oxw();e.ekj("t-overlay_visible",r.dialogs.length)}}const kt={label:"ignoreMe"},Lt=(0,Qt.JN)((0,hn.of)(!1));let xt=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,qn){this.isMobile=r,this.isDialogClosesOnBack$=f,this.dialogsByType=L,this.historyRef=me,this.titleService=jt,this.destroy$=Fn,this.cdr=Zn,this.doc=qn,this.dialogs=[]}ngOnInit(){(0,te.a)(this.dialogsByType).pipe((0,ce.U)(r=>[].concat(...r).sort((f,L)=>f.createdAt-L.createdAt)),(0,Y.R)(this.destroy$)).subscribe(r=>{this.dialogs=r,this.cdr.markForCheck(),this.doc.documentElement.classList.toggle("t-overscroll-none",!!r.length)})}closeLast(r,f){if(!f)return;const[L]=r.slice(-1);L&&(r.length>1&&this.historyRef.pushState(kt,this.titleService.getTitle()),L.$implicit.complete())}onDialog({propertyName:r},f,L){!L||"letter-spacing"!==r||(f?this.historyRef.pushState(kt,this.titleService.getTitle()):(u=>(null==u?void 0:u.label)===kt.label)(this.historyRef.state)&&this.historyRef.back())}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Xt.fL),e.Y36(Lt),e.Y36(Xt.qY),e.Y36(Ut.UA),e.Y36(Zt.Dx),e.Y36(Dt.a3,2),e.Y36(e.sBO),e.Y36(Oe.K0))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-dialog-host"]],features:[e._Bn([Dt.a3])],decls:3,vars:4,consts:[["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","","class","t-dialog",4,"ngFor","ngForOf"],["class","t-overlay",3,"t-overlay_visible","transitionend","popstate",4,"tuiLet"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["class","t-scrollbars",4,"ngIf"],[1,"t-scrollbars"],[1,"t-overlay",3,"transitionend","popstate"]],template:function(r,f){1&r&&(e.YNc(0,ye,3,5,"section",0),e.YNc(1,at,1,2,"div",1),e.ALo(2,"async")),2&r&&(e.Q6J("ngForOf",f.dialogs),e.xp6(1),e.Q6J("tuiLet",e.lcZ(2,2,f.isDialogClosesOnBack$)))},dependencies:[Ft.tZ,Oe.sg,Re,re.W,Ft.ex,Le.Li,Oe.O5,Xe.Ls,Oe.Ov],styles:["[_nghost-%COMP%]{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-dialog[_ngcontent-%COMP%]{bottom:auto;height:100%}.t-overlay[_ngcontent-%COMP%]{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration, .3s),letter-spacing .01s;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-overlay_visible[_ngcontent-%COMP%]{opacity:1;letter-spacing:1px}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;color:#747474}"],data:{animation:[(0,Rt.X$)("host",[(0,Rt.eR)(":enter",[(0,Rt.oB)({overflow:"clip"}),(0,Rt.IO)(":scope > *",[(0,Rt.pV)()],{optional:!0})]),(0,Rt.eR)(":leave",[(0,Rt.oB)({overflow:"clip"}),(0,Rt.IO)(":scope > *",[(0,Rt.pV)()],{optional:!0})])])]}}),u})(),Wt=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,re.e,he,Xe.WD,Ft.eI]]}),u})(),Pt=(()=>{class u{transform(r,f,...L){return f(r,...L)}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiMapper",type:u,pure:!0}),u})(),an=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();function fn(u,b){if(1&u&&(e.GkF(0,3),e.ALo(1,"tuiMapper")),2&u){const r=b.$implicit,f=e.oxw(2);e.Q6J("ngComponentOutlet",r.component.component)("ngComponentOutletInjector",e.xi3(1,2,r,f.mapper))}}function Ke(u,b){if(1&u&&(e.TgZ(0,"div",1),e.YNc(1,fn,2,5,"ng-container",2),e.qZA()),2&u){const r=b.$implicit;e.Q6J("@tuiParentAnimation",void 0),e.xp6(1),e.Q6J("ngForOf",r)}}let ot=(()=>{class u{constructor(r,f,L,me){this.allAlerts=r,this.injector=f,this.destroy$=L,this.cdr=me,this.alerts=[],this.trackBy=jt=>jt,this.mapper=jt=>e.zs3.create({providers:[{provide:Le.yf,useValue:jt}],parent:this.injector})}ngOnInit(){(0,te.a)(this.allAlerts).pipe((0,Y.R)(this.destroy$)).subscribe(r=>{this.alerts=r,this.cdr.detectChanges()})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Xt.bS),e.Y36(e.gxx),e.Y36(Dt.a3,2),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-alert-host"]],features:[e._Bn([Dt.a3])],decls:1,vars:2,consts:[["class","t-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"t-wrapper"],[3,"ngComponentOutlet","ngComponentOutletInjector",4,"ngFor","ngForOf"],[3,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(r,f){1&r&&e.YNc(0,Ke,2,2,"div",0),2&r&&e.Q6J("ngForOf",f.alerts)("ngForTrackBy",f.trackBy)},dependencies:[Oe.sg,Oe.$G,Pt],styles:["tui-alert-host>.t-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-wrapper>*{pointer-events:auto}\n"],encapsulation:2,data:{animation:[ee.Kx]}}),u})(),lt=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,an]]}),u})();var it=c(7941),st=c(6060),V=c(3151);function Pe(u,b){1&u&&(e.O4$(),e._UZ(0,"defs",4)),2&u&&e.Q6J("innerHTML",b.$implicit,e.oJD)}function bt(u,b){if(1&u&&(e.O4$(),e.ynx(0),e.YNc(1,Pe,1,1,"defs",3),e.BQk()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("ngForOf",r.items)}}function gt(u,b){if(1&u&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"svg",6),e.qZA()),2&u){const r=b.$implicit;e.xp6(1),e.Q6J("outerHTML",r,e.oJD)}}function on(u,b){if(1&u&&(e.O4$(),e.YNc(0,gt,2,1,"defs",5)),2&u){const r=e.oxw();e.Q6J("ngForOf",r.items)}}let $t=(()=>{class u{constructor(r,f,L,me){this.svgService=r,this.cdr=f,this.destroy$=L,this.isBrowser=!0,this.isBrowser=!(0,Oe.PM)(me)}ngOnInit(){this.svgService.items$.pipe((0,Y.R)(this.destroy$)).subscribe(r=>{this.items=r.values(),this.cdr.detectChanges()})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(it.K5),e.Y36(e.sBO),e.Y36(Dt.a3,2),e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-svg-defs-host"]],features:[e._Bn([Dt.a3])],decls:4,vars:2,consts:[["version","1.1",0,"xmlns","xlink","http://www.w3.org/1999/xlink","xmlns","http://www.w3.org/2000/svg"],[4,"ngIf","ngIfElse"],["server",""],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[3,"outerHTML"]],template:function(r,f){if(1&r&&(e.O4$(),e.TgZ(0,"svg",0),e.YNc(1,bt,2,1,"ng-container",1),e.YNc(2,on,1,1,"ng-template",null,2,e.W1O),e.qZA()),2&r){const L=e.MAs(3);e.xp6(1),e.Q6J("ngIf",f.isBrowser)("ngIfElse",L)}},dependencies:[Oe.O5,Oe.sg],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0}),u})(),vn=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Xe.WD]]}),u})();var Jt=c(221);function Nn(u,b){1&u&&e.GkF(0)}const Mn=function(u){return{$implicit:u}};function oe(u,b){if(1&u&&(e.TgZ(0,"div",1),e.YNc(1,Nn,1,0,"ng-container",2),e.qZA()),2&u){const r=b.$implicit;e.Q6J("@tuiParentAnimation",void 0)("tuiActiveZoneParent",r.activeZone||null),e.xp6(1),e.Q6J("polymorpheusOutlet",r.component)("polymorpheusOutletContext",e.VKq(4,Mn,r))}}let Q=(()=>{class u{constructor(r,f,L){this.hints$=r,this.destroy$=f,this.cdr=L,this.hints=[]}ngOnInit(){this.hints$.pipe((0,Y.R)(this.destroy$)).subscribe(r=>{this.hints=r,this.cdr.detectChanges()})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(it.BN),e.Y36(Dt.a3,2),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-hints-host"]],hostAttrs:["aria-live","polite"],features:[e._Bn([Dt.a3])],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(r,f){1&r&&e.YNc(0,oe,2,6,"div",0),2&r&&e.Q6J("ngForOf",f.hints)},dependencies:[Oe.sg,Jt.e,Le.Li],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:0}"],data:{animation:[ee.Kx]}}),u})(),H=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,Jt.A]]}),u})();var le=c(126);function Ie(u,b){1&u&&e._UZ(0,"tui-scroll-controls",2)}const rt=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],nt=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];let ut=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,{body:qn},po){this.reducedMotion=r,this.duration=f,this.dialogs=L,this.isMobile=me,this.breakpoint=jt,this.isIOS=Fn,this.isAndroid=Zn,this.isMobileRes$=this.breakpoint.pipe((0,ce.U)(Cr=>"mobile"===Cr)),this.scrollbars$=this.dialogs.length&&!this.isMobile?(0,te.a)([...this.dialogs]).pipe((0,ce.U)(Cr=>!Cr.some(({length:Dr})=>Dr)),(0,V.b)(0)):(0,hn.of)(!this.isMobile),qn.setAttribute("data-tui-theme",po.toLowerCase())}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(st.TK),e.Y36(st.dx),e.Y36(Xt.qY),e.Y36(Xt.fL),e.Y36(it.zE),e.Y36(Xt.FA),e.Y36(Xt.XG),e.Y36(Oe.K0),e.Y36(st.r2))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-root"]],hostAttrs:["data-tui-version","3.61.0"],hostVars:9,hostBindings:function(r,f){1&r&&e.NdJ("$.class._mobile",function(){return f.isMobileRes$}),2&r&&(e.Ikx("$.class._mobile",f.isMobileRes$),e.Udp("--tui-duration",f.duration,"ms"),e.ekj("_ios",f.isIOS)("_android",f.isAndroid)("_reduced-motion",f.reducedMotion))},ngContentSelectors:nt,decls:14,vars:3,consts:[["class","t-root-scrollbar",4,"ngIf"],[1,"t-root-content"],[1,"t-root-scrollbar"]],template:function(r,f){1&r&&(e.F$t(rt),e.YNc(0,Ie,1,0,"tui-scroll-controls",0),e.ALo(1,"async"),e._UZ(2,"tui-svg-defs-host"),e.TgZ(3,"tui-dropdown-host")(4,"div",1),e.Hsn(5),e.qZA(),e.Hsn(6,1),e._UZ(7,"tui-dialog-host"),e.Hsn(8,2),e._UZ(9,"tui-alert-host"),e.Hsn(10,3),e.qZA(),e.Hsn(11,4),e._UZ(12,"tui-hints-host"),e.Hsn(13,5)),2&r&&e.Q6J("ngIf",e.lcZ(1,1,f.scrollbars$))},dependencies:[Ft.tZ,$t,It.qY,xt,ot,Q,Oe.O5,Oe.Ov],styles:['@keyframes tuiPresent{to{content:"1"}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html,.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}body{font:var(--tui-font-text-s);color:var(--tui-text-01);background:var(--tui-base-01);margin:0}tui-root{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;margin:0}.t-root-content{height:100%;isolation:isolate}.t-overscroll-none{overscroll-behavior:none}\n'],encapsulation:2}),u})(),He=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,le.X1,It.mL,vn,H,Wt,lt,Ft.eI]]}),u})();var Ne=c(9941),U=c(4581),I=c(5261);function A(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function $(u,b){if(1&u&&(e.TgZ(0,"label",4),e.YNc(1,A,2,1,"ng-container",5),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.item.label)("polymorpheusOutletContext",r.item)}}function xe(u,b){1&u&&e._UZ(0,"div",6),2&u&&e.Q6J("innerHTML",b.polymorpheusOutlet,e.oJD)}const ct=(0,Qt.N1)(()=>(0,e.f3M)(Xt.fL)?"1rem 1rem 0 auto":"2rem 3rem 0 auto");let dt=(()=>{class u{constructor(r,f,L,me,jt){this.el=r,this.destroy$=f,this.position=L,this.options=me,this.item=jt,this.autoClose="function"==typeof this.item.autoClose?this.item.autoClose(this.item.status):this.item.autoClose,this.animation=this.position.endsWith("auto")?Object.assign(Object.assign({},this.options),{value:"right"}):Object.assign(Object.assign({},this.options),{value:"left"})}ngOnInit(){this.initAutoClose()}close(){this.item.$implicit.complete()}initAutoClose(){this.autoClose&&(0,ne.H)((0,Qt.dt)(this.autoClose)?this.autoClose:3e3).pipe((0,Y.R)((0,U.R)(this.el.nativeElement,"mouseenter")),(0,I.a)(()=>(0,U.R)(this.el.nativeElement,"mouseleave")),(0,Y.R)(this.destroy$)).subscribe(()=>this.close())}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq),e.Y36(Dt.a3,2),e.Y36(ct),e.Y36(st.Pw),e.Y36(Le.yf))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(r,f){2&r&&(e.d8E("@tuiFadeIn",f.options)("@tuiSlideIn",f.animation)("@tuiHeightCollapse",f.animation),e.Udp("margin",f.position))},features:[e._Bn([Dt.a3])],decls:4,vars:7,consts:[[3,"hasIcon","hideClose","icon","status","close"],["automation-id","tui-notification-alert__heading","class","t-heading",4,"ngIf"],["automation-id","tui-notification-alert__content",1,"t-content"],[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification-alert__heading",1,"t-heading"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(r,f){1&r&&(e.TgZ(0,"tui-notification",0),e.NdJ("close",function(){return f.close()}),e.YNc(1,$,2,2,"label",1),e.TgZ(2,"div",2),e.YNc(3,xe,1,1,"div",3),e.qZA()()),2&r&&(e.Q6J("hasIcon",f.item.hasIcon)("hideClose",!f.item.hasCloseButton)("icon",f.item.icon)("status",f.item.status),e.xp6(1),e.Q6J("ngIf",f.item.label),e.xp6(2),e.Q6J("polymorpheusOutlet",f.item.content)("polymorpheusOutletContext",f.item))},dependencies:[Se.L,Oe.O5,Le.Li],styles:["[_nghost-%COMP%]{display:block;box-shadow:var(--tui-shadow-dropdown);border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:bold}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-01);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[Ne.QF,Ne.Gw,Ne.eu]},changeDetection:0}),u})(),Bt=(()=>{class u extends wt.d5{constructor(r,f){super(f),this.defaultOptions=r,this.component=new Le.Al(dt)}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(st.Ln),e.LFG(Dt.ll))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),rn=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({providers:[(0,Xt.XH)(Bt)],imports:[[Oe.ez,Le.wq,Se.H]]}),u})();var en=c(5600),pn=c(7241),In=c(5955),Kn=c(697),mn=c(8499);var ci=c(6148),ri=c(2085),Yn=c(5675);let Qn=(()=>{class u{constructor(r,f){this.focusable=r,this.el=f}get element(){var r;return(null===(r=this.focusable)||void 0===r?void 0:r.nativeFocusableElement)||this.el.nativeElement}get isTextFieldElement(){return this.element.matches("input, textarea, [contenteditable]")}}return u.\u0275fac=function(r){e.$Z()},u.\u0275dir=e.lG2({type:u}),u})(),Wn=(()=>{class u extends Qn{constructor(r,f,L){super(r,f),this.animationFrame$=L}setFocus(){this.isTextFieldElement?function xn(...u){return 1===(u=(0,Kn.k)(u)).length?(0,In.Xf)(u[0]):new pn.y(function $n(u){return b=>{let r=[];for(let f=0;r&&!b.closed&&f{if(r){for(let me=0;methis.element.closest(".ng-animating")),function Xn(u){return(0,ri.e)((b,r)=>{let f=!1,L=0;b.subscribe((0,mn.x)(r,me=>(f||(f=!u(me,L++)))&&r.next(me)))})}(Boolean),(0,ie.q)(1))).subscribe(()=>this.element.focus({preventScroll:!0})):this.element.focus({preventScroll:!0})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Xt.KZ,10),e.Y36(e.SBq),e.Y36(Ut.L1))},u.\u0275dir=e.lG2({type:u,features:[e.qOj]}),u})();const Ti=["type","inputMode","autocomplete","accept","min","max","step","pattern","size","maxlength"];let ti=(()=>{class u extends Qn{constructor(r,f,L,me,jt){super(r,f),this.renderer=L,this.zone=me,this.win=jt,this.patchCssStyles()}setFocus(){this.isTextFieldElement?this.zone.runOutsideAngular(()=>this.iosWebkitAutofocus()):this.element.focus({preventScroll:!0})}iosWebkitAutofocus(){var r;const f=this.makeFakeInput(),L=this.getDurationTimeBeforeFocus();let me=0,jt=0;const Fn=()=>f.focus({preventScroll:!0}),Zn=()=>{clearTimeout(me),me=this.win.setTimeout(()=>{clearTimeout(jt),f.removeEventListener("blur",Fn),f.removeEventListener("focus",Zn),jt=this.win.setTimeout(()=>{this.element.focus({preventScroll:!1}),f.remove()},L)})};f.addEventListener("blur",Fn,{once:!0}),f.addEventListener("focus",Zn),this.insideDialog()?this.win.document.body.appendChild(f):null===(r=this.element.parentElement)||void 0===r||r.appendChild(f),f.focus({preventScroll:!0})}makeFakeInput(){const r=this.renderer.createElement("input"),f=this.element.getBoundingClientRect();return this.patchFakeInputFromFocusableElement(r),r.style.height=(0,Yn.O)(f.height),r.style.width=(0,Yn.O)(f.width/2),r.style.position="fixed",r.style.zIndex="-99999999",r.style.caretColor="transparent",r.style.border="none",r.style.outline="none",r.style.color="transparent",r.style.background="transparent",r.style.cursor="none",r.style.fontSize=(0,Yn.O)(16),r.style.top=(0,Yn.O)(f.top),r.style.left=(0,Yn.O)(f.left),r}getDurationTimeBeforeFocus(){return parseFloat(this.win.getComputedStyle(this.element).getPropertyValue("--tui-duration"))||0}insideDialog(){return!!this.element.closest("tui-dialog")}patchCssStyles(){[this.win.document.documentElement,this.win.document.body].forEach(r=>{r.style.setProperty("overflow","auto"),r.style.setProperty("height","100%")})}patchFakeInputFromFocusableElement(r){Ti.forEach(f=>{const L=this.element.getAttribute(f);(0,Qt.Pc)(L)&&r.setAttribute(f,L)})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Xt.KZ,10),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(Ut.m9))},u.\u0275dir=e.lG2({type:u,features:[e.qOj]}),u})();const to=(0,Qt.JN)({delay:NaN}),Wo=new e.OlP("[TUI_AUTOFOCUS_HANDLER]"),wo=[{provide:Wo,useFactory:(u,b,r,f,L,me,jt)=>jt?new ti(u,b,f,L,me):new Wn(u,b,r),deps:[[new e.FiY,new e.PiD,Xt.KZ],e.SBq,Ut.L1,e.Qsj,e.R0b,Ut.m9,Xt.FA]},Dt.a3];let no=(()=>{class u{constructor(r,f,L){this.handler=r,this.options=f,this.destroy$=L,this.autoFocus=!0}ngAfterViewInit(){(function gn(u){return null!==u&&typeof u<"u"&&"false"!=`${u}`})(this.autoFocus)&&this.focus()}focus(){Number.isNaN(this.options.delay)?Promise.resolve().then(()=>this.handler.setFocus()):(0,ne.H)(this.options.delay).pipe((0,Y.R)(this.destroy$)).subscribe(()=>this.handler.setFocus())}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Wo),e.Y36(to),e.Y36(Dt.a3,2))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiAutoFocus",""]],inputs:{autoFocus:["tuiAutoFocus","autoFocus"]},features:[e._Bn(wo)]}),u})(),qo=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var ui=c(2325),Wi=c(9018),Qi=c(97),yo=c(7766);function Po(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function Vo(u,b){if(1&u&&(e.TgZ(0,"header",6),e.YNc(1,Po,2,1,"ng-container",3),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.header)("polymorpheusOutletContext",r.context)}}function bo(u,b){if(1&u){const r=e.EpF();e.ynx(0),e._UZ(1,"div",7),e.TgZ(2,"div",8)(3,"button",9),e.NdJ("click",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.context.$implicit.complete())}),e._uU(4),e.qZA()(),e.BQk()}if(2&u){const r=b.polymorpheusOutlet,f=e.oxw();let L;e.xp6(1),e.Q6J("innerHTML",r,e.oJD),e.xp6(3),e.hij(" ",(null==(L=f.context.data)?null:L.button)||"OK"," ")}}function ji(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",10)(1,"button",11),e.NdJ("click",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.close$.next())})("mousedown.prevent.silent",function(){return 0}),e.ALo(2,"async"),e.qZA()()}if(2&u){const r=e.oxw();e.xp6(1),e.Q6J("appearance",r.fullscreen?"secondary":"")("icon",r.icons.close)("title",e.lcZ(2,3,r.closeWord$))}}const Li=(0,Qt.JN)(Wi.E),Yi=(0,Qt.JN)({size:"m",required:!1,closeable:!0,dismissible:!0,label:"",header:""});let go=(()=>{class u extends pn.y{constructor(r,f,L){super(me=>(0,W.T)(this.esc$,this.mousedown$).subscribe(me)),this.win=r,this.doc=f,this.el=L,this.esc$=(0,ui.mL)(this.doc,"keydown").pipe((0,_e.h)(me=>{const jt=(0,cn.mA)(me);return"Escape"===me.key&&!me.defaultPrevented&&(this.element.contains(jt)||this.isOutside(jt))})),this.mousedown$=(0,ui.mL)(this.doc,"mousedown").pipe((0,_e.h)(me=>(0,yo.ic)(this.win)-me.clientX>17&&this.isOutside((0,cn.mA)(me))),(0,pe.w)(()=>(0,ui.mL)(this.doc,"mouseup").pipe((0,ie.q)(1),(0,ce.U)(cn.mA),(0,_e.h)(me=>this.isOutside(me)))))}get element(){return this.el.nativeElement}isOutside(r){return(0,cn.ve)(r)&&(!(0,cn.PP)(this.element,r)||r===this.element)}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(Ut.m9),e.LFG(Oe.K0),e.LFG(e.SBq))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})();const Pn=new Error("Required dialog was dismissed");function Nt(u){return(0,Qi.b)(u)?u:(0,hn.of)(u)}const Rn=new Le.Al((()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,qn){this.duration=r,this.isMobile=f,this.context=L,this.closeWord$=Zn,this.icons=qn,this.animation={value:"",params:{start:"40px",duration:this.duration}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:this.duration}},this.close$=new F.x,(0,W.T)(this.close$.pipe((0,pe.w)(()=>Nt(L.closeable))),jt.pipe((0,pe.w)(()=>Nt(L.dismissible))),Fn.pipe((0,ce.U)(ee.Ye))).pipe((0,_e.h)(Boolean),(0,Y.R)(me)).subscribe(()=>{this.close()})}get size(){return this.context.size}get header(){return this.context.header}get slideInTop(){return this.fullscreen||this.isMobile?this.fullscreenAnimation:this.animation}get fullscreen(){return!this.isMobile&&("fullscreen"===this.size||"page"===this.size)}close(){this.context.required?this.context.$implicit.error(Pn):this.context.$implicit.complete()}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(st.dx),e.Y36(Xt.fL),e.Y36(Le.yf),e.Y36(Dt.a3,2),e.Y36(go),e.Y36(Li),e.Y36(st.U0),e.Y36(st.Gs))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(r,f){2&r&&(e.uIk("data-appearance",f.context.appearance)("data-size",f.size),e.d8E("@tuiSlideInTop",f.slideInTop)("@tuiFadeIn",f.slideInTop),e.ekj("_centered",f.header))},features:[e._Bn([Dt.a3,go])],decls:7,vars:6,consts:[["class","t-header",4,"ngIf"],[1,"t-content"],[1,"t-heading",3,"id","textContent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-filler"],["class","t-wrapper",4,"ngIf"],[1,"t-header"],[3,"innerHTML"],[1,"t-buttons"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","shape","rounded","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","icon","title","click","mousedown.prevent.silent"]],template:function(r,f){1&r&&(e.YNc(0,Vo,2,2,"header",0),e.TgZ(1,"div",1),e._UZ(2,"h2",2),e.TgZ(3,"section"),e.YNc(4,bo,5,2,"ng-container",3),e.qZA()(),e._UZ(5,"div",4),e.YNc(6,ji,3,5,"div",5)),2&r&&(e.Q6J("ngIf",f.header),e.xp6(2),e.Q6J("id",f.context.id)("textContent",f.context.label),e.xp6(2),e.Q6J("polymorpheusOutlet",f.context.content)("polymorpheusOutletContext",f.context),e.xp6(2),e.Q6J("ngIf",f.context.closeable))},dependencies:[Ae.v0,Oe.O5,Le.Li,no,Oe.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:auto;border-radius:1rem;border:2.5rem solid transparent}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";border-radius:inherit;pointer-events:none;box-shadow:var(--tui-shadow-modal)}[data-size=auto][_nghost-%COMP%]{width:auto}[data-size=s][_nghost-%COMP%]{width:30rem}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[data-size=s][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}[data-size=m][_nghost-%COMP%]{width:42.5rem}[data-size=m][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.75rem;font:var(--tui-font-heading-4)}[data-size=l][_nghost-%COMP%]{width:55rem}[data-size=l][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=fullscreen][_nghost-%COMP%], [data-size=page][_nghost-%COMP%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-elevation-01);box-shadow:0 4rem var(--tui-elevation-01)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - (45rem / 2))}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}._centered[_nghost-%COMP%]{text-align:center}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%]{min-width:100%;width:100%;max-width:100%;border-radius:0;border:none;margin:auto 0 0}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}.t-heading[_ngcontent-%COMP%]{margin:0;word-wrap:break-word;font:var(--tui-font-heading-3)}.t-heading[_ngcontent-%COMP%]:empty{display:none}.t-header[_ngcontent-%COMP%]{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}[data-size=fullscreen][_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{flex:1}.t-content[_ngcontent-%COMP%]{border-radius:inherit;padding:2rem;background:var(--tui-elevation-01)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:1;order:-1}.t-filler[_ngcontent-%COMP%]{flex-grow:1}.t-close[_ngcontent-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:fixed;top:1.5rem;right:1.5rem;display:none;color:var(--tui-base-01)}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]{animation:tuiFadeIn var(--tui-duration);background:rgba(104,104,104,.96)}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]:hover{background:rgba(159,159,159,.86)}[_nghost-%COMP%]:not([data-size="fullscreen"]).ng-animating .t-close[_ngcontent-%COMP%]{display:none}tui-root._mobile[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-01);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[Ne.X9,Ne.QF]}}),u})());let vi=(()=>{class u extends wt.d5{constructor(){super(...arguments),this.component=Rn,this.defaultOptions=Object.assign(Object.assign({},(0,e.f3M)(Yi)),{data:void 0})}}return u.\u0275fac=function(){let b;return function(f){return(b||(b=e.n5z(u)))(f||u)}}(),u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),Bi=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({providers:[(0,Xt.Q)(vi)],imports:[[Le.wq,Ae.fN,Oe.ez,qo]]}),u})();var xi=c(5432);class Ao{constructor(b,r){this._document=r;const f=this._textarea=this._document.createElement("textarea"),L=f.style;L.position="fixed",L.top=L.opacity="0",L.left="-999em",f.setAttribute("aria-hidden","true"),f.value=b,f.readOnly=!0,this._document.body.appendChild(f)}copy(){const b=this._textarea;let r=!1;try{if(b){const f=this._document.activeElement;b.select(),b.setSelectionRange(0,b.value.length),r=this._document.execCommand("copy"),f&&f.focus()}}catch{}return r}destroy(){const b=this._textarea;b&&(b.remove(),this._textarea=void 0)}}let Co=(()=>{class u{constructor(r){this._document=r}copy(r){const f=this.beginCopy(r),L=f.copy();return f.destroy(),L}beginCopy(r){return new Ao(r,this._document)}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(Oe.K0))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Ki=new e.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let Yo=(()=>{class u{constructor(r,f,L){this._clipboard=r,this._ngZone=f,this.text="",this.attempts=1,this.copied=new e.vpe,this._pending=new Set,L&&null!=L.attempts&&(this.attempts=L.attempts)}copy(r=this.attempts){if(r>1){let f=r;const L=this._clipboard.beginCopy(this.text);this._pending.add(L);const me=()=>{const jt=L.copy();jt||!--f||this._destroyed?(this._currentTimeout=null,this._pending.delete(L),L.destroy(),this.copied.emit(jt)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(me,1))};me()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(r=>r.destroy()),this._pending.clear(),this._destroyed=!0}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Co),e.Y36(e.R0b),e.Y36(Ki,8))},u.\u0275dir=e.lG2({type:u,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(r,f){1&r&&e.NdJ("click",function(){return f.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),u})(),Do=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var So=c(4911);let Ur=(()=>{class u{constructor({nativeElement:r}){return new e.SBq(r)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiElement",""]],exportAs:["elementRef"]}),u})(),Hr=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})(),mr=(()=>{class u extends Ur{}return u.\u0275fac=function(){let b;return function(f){return(b||(b=e.n5z(u)))(f||u)}}(),u.\u0275dir=e.lG2({type:u,selectors:[["","tuiResizeable",""]],features:[e.qOj]}),u})(),zr=(()=>{class u{constructor(r){this.resizeable=r,this.tuiResizer=[0,0],this.tuiSizeChange=new e.vpe,this.x=NaN,this.y=NaN,this.width=0,this.height=0}get cursor(){return this.tuiResizer[0]?this.tuiResizer[1]?this.tuiResizer[0]*this.tuiResizer[1]>0?"nwse-resize":"nesw-resize":"ew-resize":"ns-resize"}onTouchStart({touches:r}){this.onMouseDown(r[0].clientX,r[0].clientY)}onMouseDown(r,f){this.x=r,this.y=f,this.width=this.resizeable.nativeElement.clientWidth,this.height=this.resizeable.nativeElement.clientHeight}onMouseMove({x:r,y:f,buttons:L}){L?this.onMove(r,f):this.onMouseUp()}onTouchMove({touches:r}){this.onMove(r[0].clientX,r[0].clientY)}onMouseUp(){this.x=NaN}onMove(r,f){if(Number.isNaN(this.x))return;const{style:L}=this.resizeable.nativeElement,me=[this.width+this.tuiResizer[0]*(r-this.x),this.height+this.tuiResizer[1]*(f-this.y)];this.tuiResizer[0]&&(L.width=(0,Yn.O)(me[0])),this.tuiResizer[1]&&(L.height=(0,Yn.O)(me[1])),this.tuiSizeChange.emit(me)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(mr))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiResizer",""]],hostVars:4,hostBindings:function(r,f){1&r&&e.NdJ("touchstart.silent.passive",function(me){return f.onTouchStart(me)})("mousedown.silent.prevent",function(me){return f.onMouseDown(me.x,me.y)})("mousemove.silent",function(me){return f.onMouseMove(me)},!1,e.evT)("touchmove.silent",function(me){return f.onTouchMove(me)},!1,e.evT)("mouseup.silent",function(){return f.onMouseUp()},!1,e.evT)("touchend.silent",function(){return f.onMouseUp()},!1,e.evT),2&r&&e.Udp("touch-action","none")("cursor",f.cursor)},inputs:{tuiResizer:"tuiResizer"},outputs:{tuiSizeChange:"tuiSizeChange"}}),u})(),er=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})(),Vr=(()=>{class u{transform(r,f,...L){return r.filter(me=>f(me,...L))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiFilter",type:u,pure:!0}),u})(),To=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})(),jo=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiItem",""]]}),u})(),co=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})(),Sr=(()=>{class u{transform(r,f,L){var me;return null!==(me=null==r?void 0:r.replace(f,L))&&void 0!==me?me:""}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiReplace",type:u,pure:!0}),u})(),Tr=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var tr=c(5648),Ui=c(4358);function _r(u){const b=u.replace("#","").split("").map((r,f,L)=>3===L.length?r+r:r).join("").match(/.{2}/g);return b?b.map(r=>Number.parseInt(r,16)):[0,0,0]}var uo=c(1489),$i=c(3631),ko=c(9811);let Or=(()=>{class u{constructor(r,f,L,me,jt){this.host=r,this.control=f,this.el=L,this.idService=me,this.itemsHandlers=jt,this.disabledItemHandler=null,this.datalist=null}get id(){return this.el.nativeElement.id||this.idService.generate()}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(st.S0),e.Y36(wt.M$),e.Y36(e.SBq),e.Y36(Dt.ll),e.Y36(ko.Ys))},u.\u0275dir=e.lG2({type:u,viewQuery:function(r,f){if(1&r&&e.Gf(q.gX,7,e.Rgc),2&r){let L;e.iGM(L=e.CRH())&&(f.datalist=L.first)}},hostVars:1,hostBindings:function(r,f){2&r&&e.Ikx("id",f.id)},inputs:{disabledItemHandler:"disabledItemHandler"}}),u})();function De(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function Ye(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"button",4,5),e.NdJ("click",function(){const me=e.CHM(r).$implicit,jt=e.oxw(2);return e.KtG(jt.itemClick.emit(me))}),e.TgZ(2,"span",6),e.YNc(3,De,2,1,"ng-container",7),e.qZA()()}if(2&u){const r=b.$implicit,f=e.MAs(1),L=e.oxw(2);e.Q6J("disabled",L.disabledItemHandler(r))("value",r),e.xp6(3),e.Q6J("polymorpheusOutlet",L.itemContent)("polymorpheusOutletContext",L.getContext(r,f))}}function Ct(u,b){if(1&u&&(e.TgZ(0,"tui-data-list",2),e.YNc(1,Ye,4,4,"button",3),e.qZA()),2&u){const r=e.oxw();e.Q6J("emptyContent",r.emptyContent)("size",r.size),e.xp6(1),e.Q6J("ngForOf",r.items)}}function Ot(u,b){1&u&&e._UZ(0,"tui-loader",8)}let sn=(()=>{class u{constructor(r,f){this.itemsHandlers=r,this.defaultSize=f,this.optionsQuery=ee.Mm,this.disabledItemHandler=this.itemsHandlers.disabledItemHandler,this.size=this.defaultSize,this.itemClick=new e.vpe,this.itemContent=({$implicit:L})=>this.itemsHandlers.stringify(L)}getContext(r,{nativeElement:f}){return{$implicit:r,active:(0,yt.V8)(f)}}getOptions(r=!1){return this.optionsQuery.filter(({disabled:f})=>r||!f).map(({value:f})=>f).filter(Qt.Pc)}}return u.\u0275fac=function(r){e.$Z()},u.\u0275dir=e.lG2({type:u,viewQuery:function(r,f){if(1&r&&e.Gf(q.vK,5),2&r){let L;e.iGM(L=e.CRH())&&(f.optionsQuery=L)}},inputs:{disabledItemHandler:"disabledItemHandler",emptyContent:"emptyContent",size:"size",itemContent:"itemContent"},outputs:{itemClick:"itemClick"}}),u})(),T=(()=>{class u extends sn{constructor(r,f){super(r,(null==f?void 0:f.size)||"m"),this.items=[]}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ko.Ys),e.Y36(be.Cs,8))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-data-list-wrapper",3,"labels",""]],inputs:{items:"items"},features:[e._Bn([(0,st.RB)(u),be.Y0]),e.qOj],decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["elementRef","elementRef"],[1,"t-content"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-data-list-wrapper__loader",1,"t-loader"]],template:function(r,f){if(1&r&&(e.YNc(0,Ct,2,3,"tui-data-list",0),e.YNc(1,Ot,1,0,"ng-template",null,1,e.W1O)),2&r){const L=e.MAs(2);e.Q6J("ngIf",f.items)("ngIfElse",L)}},dependencies:[q.qi,q.vK,$e.kM,Oe.O5,Oe.sg,Ur,Le.Li],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),u})(),E=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,Hr,q.pc,$e.dS]]}),u})(),ae=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var ft=c(9900),Dn=c(6640);function zn(u,b){1&u&&e._UZ(0,"tui-svg",2),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function ii(u,b){1&u&&e.GkF(0)}const mi=(0,Qt.JN)({iconSmall:"tuiIconChevronDown",iconLarge:"tuiIconChevronDownLarge"}),qi=new Le.Al((()=>{class u{constructor(r,f,L){this.dropdown=r,this.textfieldSize=f,this.options=L}get rotated(){return this.dropdown.open}get arrowIcon(){return(0,Dn.R9)(this.textfieldSize.size)?this.options.iconLarge:this.options.iconSmall}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(en.o1),e.Y36(be.kI),e.Y36(mi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-arrow"]],hostVars:2,hostBindings:function(r,f){2&r&&e.ekj("_rotated",f.rotated)},decls:3,vars:4,consts:[[3,"src",4,"polymorpheusOutlet"],[4,"ngIf"],[3,"src"]],template:function(r,f){1&r&&(e.YNc(0,zn,1,1,"tui-svg",0),e.YNc(1,ii,1,0,"ng-container",1),e.ALo(2,"async")),2&r&&(e.Q6J("polymorpheusOutlet",f.arrowIcon),e.xp6(1),e.Q6J("ngIf",e.lcZ(2,2,f.dropdown.openChange)))},dependencies:[se.PN,Le.Li,Oe.O5,Oe.Ov],styles:["[_nghost-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;cursor:pointer;pointer-events:none}._rotated[_nghost-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),u})());let yi=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,se.EI,Le.wq]]}),u})();const Zi=(0,Qt.JN)({interactive:qi,disabled:qi});var fo=c(8269);let Zo=(()=>{class u{constructor(r,f){this.el=r,this.destroy$=f}set tuiScrollIntoView(r){r&&(0,ne.H)(0).pipe((0,Y.R)(this.destroy$)).subscribe(()=>{this.el.nativeElement.dispatchEvent(new CustomEvent(fo.fe,{bubbles:!0,detail:this.el.nativeElement}))})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq),e.Y36(Dt.a3,2))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},features:[e._Bn([Dt.a3])]}),u})(),cr=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();function qr(u,b){if(1&u&&e._UZ(0,"tui-svg",3),2&u){const r=e.oxw();e.Q6J("src",r.icons.check)("tuiScrollIntoView",!0)}}function Hn(u,b){1&u&&e._UZ(0,"span",4)}const jn=new Le.Al((()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,qn){this.icons=r,this.context=f,this.host=L,this.el=me,this.option=jt,this.dataList=Fn,this.control=Zn,this.abstractControl=qn,this.changeDetection$=new F.x,this.selected$=(0,W.T)(this.changeDetection$,this.control.valueChanges||Wi.E,(0,ui.mL)(this.el.nativeElement,"animationstart")).pipe((0,de.O)(null),(0,ce.U)(()=>this.selected),(0,Ue.x)())}get matcher(){return this.host.identityMatcher||ee.bg}ngOnInit(){Promise.resolve().then(()=>{var r,f;(0,Qt.Pc)(this.option.value)&&!this.option.disabled&&(null===(f=(r=this.host).checkOption)||void 0===f||f.call(r,this.option.value))})}ngDoCheck(){this.changeDetection$.next()}get value(){var r,f;return null!==(f=null===(r=this.abstractControl)||void 0===r?void 0:r.value)&&void 0!==f?f:this.control.value}get selected(){return(0,Qt.Pc)(this.option.value)&&(0,Qt.Pc)(this.value)&&this.matcher(this.value,this.option.value)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(st.Gs),e.Y36(Le.yf),e.Y36(st.N1),e.Y36(e.SBq),e.Y36(q.vK),e.Y36(q.qi,8),e.Y36(ft.a5),e.Y36(wt.M$,8))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-select-option"]],decls:5,vars:5,consts:[[3,"ngTemplateOutlet"],["automation-id","tui-select-option__checkmark","class","t-checkmark",3,"src","tuiScrollIntoView",4,"ngIf","ngIfElse"],["dummy",""],["automation-id","tui-select-option__checkmark",1,"t-checkmark",3,"src","tuiScrollIntoView"],[1,"t-dummy"]],template:function(r,f){if(1&r&&(e.GkF(0,0),e.YNc(1,qr,1,2,"tui-svg",1),e.ALo(2,"async"),e.YNc(3,Hn,1,0,"ng-template",null,2,e.W1O)),2&r){const L=e.MAs(4);e.Q6J("ngTemplateOutlet",f.context.$implicit),e.xp6(1),e.Q6J("ngIf",e.lcZ(2,3,f.selected$))("ngIfElse",L)}},dependencies:[se.PN,Oe.tP,Oe.O5,Zo,Oe.Ov],styles:['@keyframes _ngcontent-%COMP%_retrigger{0%{left:1px}to{left:2px}}[_nghost-%COMP%]{display:flex;flex:1;align-items:center;max-width:100%;animation:_ngcontent-%COMP%_retrigger 1s}.t-checkmark[_ngcontent-%COMP%]{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-border-start:.25rem solid transparent;border-inline-start:.25rem solid transparent}tui-data-list[data-list-size="s"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="s"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}tui-data-list[data-list-size="m"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="m"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}.t-dummy[_ngcontent-%COMP%]{width:1.75rem}'],changeDetection:0}),u})());let si=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,se.EI,cr]]}),u})();var wi=c(26);function Vi(u,b){1&u&&e.Hsn(0,2,["*ngIf","isMobile"])}function kr(u,b){if(1&u&&e.YNc(0,Vi,1,0,"ng-content",6),2&u){const r=e.oxw();e.Q6J("ngIf",r.isMobile)}}function Ni(u,b){1&u&&e.GkF(0,7)}function Rr(u,b){1&u&&e._UZ(0,"div",10),2&u&&e.Q6J("textContent",b.polymorpheusOutlet)}const Gi=function(u,b){return{$implicit:u,active:b}};function gs(u,b){if(1&u&&(e.TgZ(0,"div",8),e.YNc(1,Rr,1,1,"div",9),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.computedContent)("polymorpheusOutletContext",e.WLB(2,Gi,r.value,r.computedFocused))}}function Es(u,b){1&u&&e.GkF(0)}function ms(u,b){if(1&u&&(e.TgZ(0,"div",11),e.YNc(1,Es,1,0,"ng-container",12),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.arrow)}}const Vs=["*",[["input"]],[["select"]]],js=["*","input","select"],Fo=(0,Qt.JN)({valueContent:""});let J=(()=>{class u extends wt.F9{constructor(r,f,L,me,jt,Fn,Zn,qn){super(r,f),this.textfieldCleaner=L,this.textfieldSize=me,this.arrowMode=jt,this.itemsHandlers=Fn,this.options=Zn,this.isMobile=qn,this.stringify=this.itemsHandlers.stringify,this.identityMatcher=this.itemsHandlers.identityMatcher,this.valueContent=this.options.valueContent}get size(){return this.textfieldSize.size}get arrow(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled}get nativeFocusableElement(){var r,f;return null!==(f=null===(r=this.textfield)||void 0===r?void 0:r.nativeFocusableElement)&&void 0!==f?f:null}get focused(){return(0,yt.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}get nativeDropdownMode(){return!!this.nativeSelect&&this.isMobile}get computedValue(){return null===this.value?"":this.stringify(this.value)||" "}get computedContent(){return this.valueContent||this.computedValue}onValueChange(r){this.value=r||null}onActiveZone(r){this.updateFocused(r)}onKeyDownDelete(){this.textfieldCleaner.cleaner&&(this.value=null)}handleOption(r){var f;this.focusInput(),this.value=r,null===(f=this.hostedDropdown)||void 0===f||f.updateOpen(!1)}focusInput(r=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:r})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ft.a5,10),e.Y36(e.sBO),e.Y36(be.Ym),e.Y36(be.kI),e.Y36(Zi),e.Y36(ko.Ys),e.Y36(Fo),e.Y36(Xt.fL))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-select"]],contentQueries:function(r,f,L){if(1&r&&(e.Suo(L,Or,7),e.Suo(L,q.gX,5,e.Rgc)),2&r){let me;e.iGM(me=e.CRH())&&(f.nativeSelect=me.first),e.iGM(me=e.CRH())&&(f.datalist=me.first)}},viewQuery:function(r,f){if(1&r&&(e.Gf(N.yc,5),e.Gf(en.o1,5)),2&r){let L;e.iGM(L=e.CRH())&&(f.textfield=L.first),e.iGM(L=e.CRH())&&(f.hostedDropdown=L.first)}},hostVars:1,hostBindings:function(r,f){2&r&&e.uIk("data-size",f.size)},inputs:{stringify:"stringify",identityMatcher:"identityMatcher",valueContent:"valueContent"},features:[e._Bn([(0,Xt.FT)(u),(0,wt.wB)(u),(0,st.oE)(u),(0,st.P7)(jn)],[wi.yn]),e.qOj],ngContentSelectors:js,decls:10,vars:15,consts:[[1,"t-hosted",3,"canOpen","content","tuiActiveZoneChange"],["automation-id","tui-select__textfield",1,"t-textfield",3,"disabled","editable","focusable","invalid","nativeId","pseudoActive","pseudoFocus","pseudoHover","readOnly","tuiTextfieldIcon","value","keydown.backspace.prevent","keydown.delete.prevent","valueChange"],["select",""],["ngProjectAs","select",5,["select"],4,"ngTemplateOutlet"],["automation-id","tui-select__value","ngProjectAs","tuiContent","class","t-value",5,["tuiContent"],4,"ngIf"],["icon",""],[4,"ngIf"],["ngProjectAs","select",5,["select"]],["automation-id","tui-select__value","ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value"],["class","t-primitive-value",3,"textContent",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive-value",3,"textContent"],["appearance","icon","tuiWrapper","",1,"t-icon"],[4,"polymorpheusOutlet"]],template:function(r,f){if(1&r&&(e.F$t(Vs),e.TgZ(0,"tui-hosted-dropdown",0),e.NdJ("tuiActiveZoneChange",function(me){return f.onActiveZone(me)}),e.TgZ(1,"tui-primitive-textfield",1),e.NdJ("keydown.backspace.prevent",function(){return f.onKeyDownDelete()})("keydown.delete.prevent",function(){return f.onKeyDownDelete()})("valueChange",function(me){return f.onValueChange(me)}),e.Hsn(2),e.Hsn(3,1,["ngProjectAs","input",5,["input"]]),e.YNc(4,kr,1,1,"ng-template",null,2,e.W1O),e.YNc(6,Ni,1,0,"ng-container",3),e.YNc(7,gs,2,5,"div",4),e.qZA(),e.YNc(8,ms,2,1,"ng-template",null,5,e.W1O),e.qZA()),2&r){const L=e.MAs(5),me=e.MAs(9);e.Q6J("canOpen",f.interactive&&!f.nativeDropdownMode)("content",f.datalist||""),e.xp6(1),e.Q6J("disabled",f.computedDisabled)("editable",!1)("focusable",f.computedFocusable)("invalid",f.computedInvalid)("nativeId",f.nativeId)("pseudoActive",f.pseudoActive)("pseudoFocus",f.computedFocused)("pseudoHover",f.pseudoHover)("readOnly",f.readOnly)("tuiTextfieldIcon",f.arrow?me:"")("value",f.computedValue),e.xp6(5),e.Q6J("ngTemplateOutlet",L),e.xp6(1),e.Q6J("ngIf",null!==f.value)}},dependencies:[en.o1,N.yc,Jt.e,N.B1,be.AW,Oe.O5,Oe.tP,Le.Li,uo.o],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}[_nghost-%COMP%]:not(._readonly) input:not(:disabled){cursor:pointer}._readonly[_nghost-%COMP%] input{cursor:default}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}.t-value[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center}.t-primitive-value[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),u})(),P=(()=>{class u extends $i.D1{get readOnly(){return!0}get value(){return this.host.computedValue}get stringify(){return this.host.stringify}onValueChange(r){this.host.onValueChange(r)}}return u.\u0275fac=function(){let b;return function(f){return(b||(b=e.n5z(u)))(f||u)}}(),u.\u0275dir=e.lG2({type:u,selectors:[["tui-select"]],features:[e._Bn([(0,st.cp)(u)]),e.qOj]}),u})(),ge=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,Jt.A,N.KW,en.jh,si,yi,uo.W,be.cn,E,q.pc,ae]]}),u})();var Je=c(7320),Gt=c(4541),tn=c(3633),An=c(5059),di=c(8491);const _i=["*"];let fi=(()=>{class u{constructor(){this.name="tui-radio-group-"+u.index++}}return u.index=0,u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-radio-group"]],inputs:{name:"name"},ngContentSelectors:_i,decls:1,vars:0,template:function(r,f){1&r&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),u})();const Pi=["focusableElement"],Xi=(0,Qt.JN)({size:"m",appearances:{unchecked:Je.Nm.Outline,checked:Je.Nm.Primary}});let vo=(()=>{class u extends wt.F9{constructor(r,f,L,me){super(r,f),this.options=L,this.radioGroup=me,this.identityMatcher=ee.bg,this.name=null,this.size=this.options.size,this.pseudoDisabled=!1}get appearance(){return this.checked?this.options.appearances.checked:this.options.appearances.unchecked}get computedDisabled(){return this.disabled||this.pseudoDisabled}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,yt.V8)(this.nativeFocusableElement)}get checked(){return null===this.value?null===this.item:null!=this.item&&this.identityMatcher(this.value,this.item)}get computedName(){return this.name||this.radioGroupName||this.controlName||""}get isFocusable(){return!this.readOnly&&this.computedFocusable}onChecked(r){r&&(this.value=void 0!==this.item?this.item:this.fallbackValue)}onFocused(r){this.updateFocused(r)}onFocusVisible(r){this.updateFocusVisible(r)}get radioGroupName(){return null===this.radioGroup?null:this.radioGroup.name}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ft.a5,10),e.Y36(e.sBO),e.Y36(Xi),e.Y36(fi,8))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-radio"]],viewQuery:function(r,f){if(1&r&&e.Gf(Pi,5),2&r){let L;e.iGM(L=e.CRH())&&(f.focusableElement=L.first)}},hostVars:3,hostBindings:function(r,f){2&r&&(e.uIk("data-size",f.size),e.ekj("_disabled",f.computedDisabled))},inputs:{item:"item",identityMatcher:"identityMatcher",name:"name",size:"size",pseudoDisabled:"pseudoDisabled"},features:[e._Bn([(0,Xt.FT)(u),(0,wt.wB)(u)]),e.qOj],decls:4,vars:13,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],[1,"t-mark"],["type","radio",1,"t-native",3,"disabled","id","tuiChecked","tuiFocusable","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(r,f){1&r&&(e.TgZ(0,"div",0),e._UZ(1,"div",1),e.TgZ(2,"input",2,3),e.NdJ("tuiCheckedChange",function(me){return f.onChecked(me)})("tuiFocusedChange",function(me){return f.onFocused(me)})("tuiFocusVisibleChange",function(me){return f.onFocusVisible(me)}),e.qZA()()),2&r&&(e.Q6J("active",f.pseudoActive)("appearance",f.appearance)("disabled",f.computedDisabled)("focus",f.computedFocusVisible)("hover",f.pseudoHover)("invalid",f.computedInvalid),e.xp6(1),e.ekj("t-mark_visible",f.checked),e.xp6(1),e.Q6J("disabled",f.computedDisabled)("id",f.id)("tuiChecked",f.checked)("tuiFocusable",f.isFocusable),e.uIk("name",f.computedName))},dependencies:[uo.o,Gt.t,tn.t,An.U,di.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0;border-radius:100%}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%]{pointer-events:none}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;background-color:currentColor;border-radius:100%;transform:scale(0)}.t-mark_visible[_ngcontent-%COMP%]{transform:scale(1)}[data-size=m][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.25rem;width:.5rem;height:.5rem}[data-size=l][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.4375rem;width:.625rem;height:.625rem}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-native[_ngcontent-%COMP%]{cursor:default}"],changeDetection:0}),u})(),yr=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Gt.S,tn.u,An.F,di.c,uo.W]]}),u})();function Go(u,b){1&u&&e.GkF(0)}const rr=["*"];let Nr=(()=>{class u extends wt.F9{constructor(r,f,L){super(r,f),this.modeDirective=L,this.identityMatcher=ee.bg,this.contentAlign="right",this.size="l",this.hideRadio=!1,this.pseudoDisabled=!1}get nativeFocusableElement(){var r,f;return null!==(f=null===(r=this.radio)||void 0===r?void 0:r.nativeFocusableElement)&&void 0!==f?f:null}get focused(){return!!this.radio&&this.radio.focused}get computedDisabled(){return this.disabled||this.pseudoDisabled}get checked(){var r;return!(null===(r=this.radio)||void 0===r||!r.checked)&&this.hideRadio}get checkboxSize(){return"l"===this.size?"l":"m"}get appearance(){var r;return null!==(r=this.modeDirective)&&void 0!==r&&r.mode?this.checked?Je.Nm.Primary:Je.Nm.Secondary:this.checked?Je.Nm.WhiteblockActive:Je.Nm.Whiteblock}onFocused(r){this.updateFocused(r)}onFocusVisible(r){this.updateFocusVisible(r)}onModelChange(r){this.value=r}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ft.a5,10),e.Y36(e.sBO),e.Y36(R.w,8))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-radio-block"]],viewQuery:function(r,f){if(1&r&&e.Gf(vo,5),2&r){let L;e.iGM(L=e.CRH())&&(f.radio=L.first)}},hostVars:8,hostBindings:function(r,f){2&r&&(e.uIk("data-align",f.contentAlign)("data-size",f.size),e.ekj("_hidden_input",f.hideRadio)("_disabled",f.computedDisabled)("_active",f.checked))},inputs:{item:"item",identityMatcher:"identityMatcher",contentAlign:"contentAlign",size:"size",hideRadio:"hideRadio",pseudoDisabled:"pseudoDisabled"},features:[e._Bn([(0,Xt.FT)(u),(0,wt.wB)(u)]),e.qOj],ngContentSelectors:rr,decls:7,vars:22,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","focus","hover","invalid"],[1,"t-view",3,"focusable","identityMatcher","item","name","nativeId","pseudoActive","pseudoDisabled","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange","focusVisibleChange"],[1,"t-label"],[1,"t-content"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,Go,1,0,"ng-container",0),e.ALo(1,"async"),e.TgZ(2,"label",1)(3,"tui-radio",2),e.NdJ("ngModelChange",function(me){return f.value=me})("focusedChange",function(me){return f.onFocused(me)})("focusVisibleChange",function(me){return f.onFocusVisible(me)}),e.qZA(),e.TgZ(4,"div",3)(5,"div",4),e.Hsn(6),e.qZA()()()),2&r&&(e.Q6J("ngIf",f.modeDirective&&e.lcZ(1,20,f.modeDirective.change$)),e.xp6(2),e.Q6J("active",f.pseudoActive)("appearance",f.appearance)("disabled",f.computedDisabled)("focus",f.computedFocusVisible)("hover",f.pseudoHover)("invalid",f.computedInvalid),e.xp6(1),e.Q6J("focusable",f.focusable)("identityMatcher",f.identityMatcher)("item",f.item)("name",f.computedName||"")("nativeId",f.nativeId)("pseudoActive",f.pseudoActive)("pseudoDisabled",f.computedDisabled)("pseudoFocus",!1)("pseudoHover",f.pseudoHover)("pseudoInvalid",f.computedInvalid)("readOnly",f.readOnly)("size",f.checkboxSize)("ngModel",f.value))},dependencies:[vo,Oe.O5,uo.o,ft.JJ,ft.On,Oe.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);display:inline-block;vertical-align:top;align-items:flex-start;border-radius:var(--tui-radius-m)}[data-size=xs][_nghost-%COMP%]{font:var(--tui-font-text-xs)}[data-size=m][_nghost-%COMP%], [data-size=l][_nghost-%COMP%]{font:var(--tui-font-text-m)}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:inherit;box-sizing:border-box;border-radius:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0 1rem 0 0}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-right:.5rem}[data-align=right][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{flex-direction:row-reverse;padding:0 0 0 1rem}[data-align=right][data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-left:.5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:not(._focused):after{border-width:1px}[data-size=s]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1rem}[data-size=m]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1.5rem}[data-size=l]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 2.25rem}[data-size=xs][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-xs) / 2 - .5rem) .25rem;transform:scale(.75)}[data-size=s][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-s) / 2 - .5rem) .5rem}[data-size=m][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-m) / 2 - .5rem) .75rem}[data-size=l][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-l) / 2 - .75rem) 1rem}._hidden_input[_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{position:absolute;height:1px;width:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(0);clip-path:inset(0)}.t-label[_ngcontent-%COMP%]{display:flex;flex-grow:1;align-self:flex-start;align-items:center;overflow:hidden}[data-size=xs][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-l)}._hidden_input[_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{text-align:center;justify-content:center}.t-content[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),u})(),br=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,ft.u5,yr,uo.W]]}),u})();var ss=c(3063),Gr=c(2130);const pa=["*"];let Bo=(()=>{class u{constructor(r){this.mode$=r,this.size="m",this.status="default",this.hoverable=!1}get padding(){var r;return this.isEmpty?"none":(0,Qt.dt)(null===(r=this.value)||void 0===r?void 0:r.valueOf())?"m":"l"}get outputValue(){var r;const f=null===(r=this.value)||void 0===r?void 0:r.valueOf();return(0,Qt.dt)(f)&&f>99?"99+":(0,Qt.Pc)(this.value)?String(this.value):""}get isEmpty(){return!this.value&&0!==this.value}titleText({offsetWidth:r,scrollWidth:f}){return r{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez]]}),u})(),dr=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();const ta=["focusableElement"];function vs(u,b){if(1&u&&e._UZ(0,"tui-loader",7),2&u){const r=e.oxw();e.Q6J("inheritColor",!0)("showLoader",r.value)("size",r.loaderSize)}}function Os(u,b){1&u&&e._UZ(0,"tui-svg",10),2&u&&e.Q6J("src",b.polymorpheusOutlet)}const xs=function(u){return{$implicit:u}};function Uo(u,b){if(1&u&&(e.TgZ(0,"span",8),e.YNc(1,Os,1,1,"tui-svg",9),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.iconOn)("polymorpheusOutletContext",e.VKq(2,xs,r.size))}}function ws(u,b){if(1&u&&e._UZ(0,"tui-loader",7),2&u){const r=e.oxw();e.Q6J("inheritColor",!0)("showLoader",!r.value)("size",r.loaderSize)}}function as(u,b){1&u&&e._UZ(0,"tui-svg",12),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function Ps(u,b){if(1&u&&(e.TgZ(0,"span",8),e.YNc(1,as,1,1,"tui-svg",11),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.iconOff)("polymorpheusOutletContext",e.VKq(2,xs,r.size))}}const es=(0,Qt.JN)({icons:{toggleOff:({$implicit:u})=>"m"===u?"tuiIconToggleOff":"tuiIconToggleOffLarge",toggleOn:({$implicit:u})=>"m"===u?"tuiIconToggleOn":"tuiIconToggleOnLarge"},appearances:{checked:Je.Nm.Primary,unchecked:Je.Nm.Secondary},singleColor:!1,showIcons:!1,size:"m"});let ma=(()=>{class u extends wt.M${constructor(r,f,L,me){super(r,f),this.modeDirective=L,this.options=me,this.singleColor=this.options.singleColor,this.showIcons=this.options.showIcons,this.showLoader=!1,this.size=this.options.size}get iconOn(){return this.options.icons.toggleOn}get iconOff(){return this.options.icons.toggleOff}get nativeFocusableElement(){var r,f;return null!==(f=null===(r=this.focusableElement)||void 0===r?void 0:r.nativeElement)&&void 0!==f?f:null}get focused(){return(0,yt.V8)(this.nativeFocusableElement)}get appearance(){return this.singleColor||this.value?this.options.appearances.checked:this.options.appearances.unchecked}get sizeM(){return"m"===this.size}get loaderSize(){return this.sizeM?"xs":"s"}get hostMode(){var r,f;return null!==(f=null===(r=this.modeDirective)||void 0===r?void 0:r.mode)&&void 0!==f?f:null}onChecked(r){this.value=r}onFocused(r){this.updateFocused(r)}onFocusVisible(r){this.updateFocusVisible(r)}getFallbackValue(){return!1}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ft.a5,10),e.Y36(e.sBO),e.Y36(R.w,8),e.Y36(es))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-toggle"]],viewQuery:function(r,f){if(1&r&&e.Gf(ta,5),2&r){let L;e.iGM(L=e.CRH())&&(f.focusableElement=L.first)}},hostVars:4,hostBindings:function(r,f){2&r&&(e.uIk("data-size",f.size)("data-mode",f.hostMode),e.ekj("_checked",f.value))},inputs:{singleColor:"singleColor",showIcons:"showIcons",showLoader:"showLoader",size:"size"},features:[e._Bn([(0,Xt.FT)(u),(0,wt.wB)(u)]),e.qOj],decls:9,vars:16,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly"],[1,"t-toggle"],["class","t-loader",3,"inheritColor","showLoader","size",4,"ngIf"],["class","t-icon-wrapper",4,"ngIf"],[1,"t-circle"],["automation-id","tui-toggle__checkbox","role","switch","type","checkbox",1,"t-checkbox",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],[1,"t-loader",3,"inheritColor","showLoader","size"],[1,"t-icon-wrapper"],["automation-id","tui-toggle__check-icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__check-icon",1,"t-icon",3,"src"],["automation-id","tui-toggle__cancel-icon","class","t-icon t-icon_off",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__cancel-icon",1,"t-icon","t-icon_off",3,"src"]],template:function(r,f){1&r&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,vs,1,3,"tui-loader",2),e.YNc(3,Uo,2,4,"span",3),e._UZ(4,"div",4),e.YNc(5,ws,1,3,"tui-loader",2),e.YNc(6,Ps,2,4,"span",3),e.qZA(),e.TgZ(7,"input",5,6),e.NdJ("tuiCheckedChange",function(me){return f.value=me})("tuiFocusedChange",function(me){return f.onFocused(me)})("tuiFocusVisibleChange",function(me){return f.onFocusVisible(me)}),e.qZA()()),2&r&&(e.Q6J("active",f.pseudoActive)("appearance",f.appearance)("disabled",f.computedDisabled)("focus",f.computedFocusVisible)("hover",f.pseudoHover)("invalid",f.computedInvalid)("readOnly",f.readOnly),e.xp6(2),e.Q6J("ngIf",f.showLoader),e.xp6(1),e.Q6J("ngIf",f.showIcons&&!f.showLoader),e.xp6(2),e.Q6J("ngIf",f.showLoader),e.xp6(1),e.Q6J("ngIf",f.showIcons&&!f.showLoader),e.xp6(1),e.Q6J("disabled",f.disabled)("id",f.id)("tuiFocusable",f.focusable)("tuiChecked",f.value),e.uIk("aria-checked",f.value))},dependencies:[$e.kM,se.PN,uo.o,Oe.O5,Le.Li,Gt.t,tn.t,An.U,di.q],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;border-radius:6.25rem}[data-size=m][_nghost-%COMP%]{width:2rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:3rem;height:1.5rem}.t-checkbox[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;height:100%;width:100%;opacity:0;cursor:pointer}.t-checkbox[_ngcontent-%COMP%]:-webkit-autofill, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-checkbox[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.t-toggle[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center}[data-size=m][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:3rem;height:1rem;transform:translate(-1rem)}[data-size=l][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:4.5rem;height:1.5rem;transform:translate(-1.5rem)}._checked[_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{transform:translate(0)}.t-circle[_ngcontent-%COMP%]{margin:.125rem 0;flex-shrink:0;border-radius:100%;background-color:var(--tui-base-01)}._disabled[_nghost-%COMP%] .t-circle_light[_ngcontent-%COMP%]{opacity:.24}[data-size=m][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:.75rem;height:.75rem}[data-size=l][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:1rem;height:1rem}._disabled[_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{background-color:var(--tui-base-01)}.t-loader[_ngcontent-%COMP%]{min-width:auto}[_nghost-%COMP%]:not(._checked) .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-06)}[_nghost-%COMP%]:not(._checked)._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-05)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:.75rem;margin:0 .2rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:1rem;margin:0 .25rem}.t-icon-wrapper[_ngcontent-%COMP%]{display:flex}.t-icon[_ngcontent-%COMP%]{opacity:.8}.t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-06)}._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-05)}[data-mode=onDark][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[data-mode=onLight][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{margin:0 .125rem;width:1.5rem;height:1.5rem}[_nghost-%COMP%]:hover .t-icon[_ngcontent-%COMP%]{opacity:1}"],changeDetection:0}),u})(),us=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,An.F,tn.u,dr,di.c,Gt.S,uo.W,se.EI,$e.dS,Le.wq]]}),u})();var sr=c(4555);function ar(u,b){const[,r=""]=function Ws(u){const b=String(u),[r,f]=b.split("e-");let L=b;if(f){const[,me]=r.split("."),jt=Number(f)+((null==me?void 0:me.length)||0);L=u.toFixed(jt)}return L}(u).split(".");return(0,Qt.dt)(b)?r.slice(0,Math.max(0,b)):r}let g=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiValueAccessor",""]],features:[e._Bn([wi.E2])]}),u})(),x=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var G=c(3402);function Z(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function K(u,b){if(1&u&&(e.TgZ(0,"div",6),e.YNc(1,Z,2,1,"ng-container",7),e.qZA()),2&u){e.oxw();const r=e.MAs(9);e.xp6(1),e.Q6J("polymorpheusOutlet",r)}}function Be(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"section",8)(1,"button",9),e.NdJ("click.prevent",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.onArrow(L.step))})("mousedown.prevent",function(){e.CHM(r);const L=e.oxw();return e.KtG(null==L.nativeFocusableElement?null:L.nativeFocusableElement.focus())}),e._uU(2," + "),e.qZA(),e.TgZ(3,"button",9),e.NdJ("click.prevent",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.onArrow(-L.step))})("mousedown.prevent",function(){e.CHM(r);const L=e.oxw();return e.KtG(null==L.nativeFocusableElement?null:L.nativeFocusableElement.focus())}),e._uU(4," - "),e.qZA()()}if(2&u){const r=e.oxw(),f=e.MAs(1);e.xp6(1),e.Q6J("appearance",f.appearance)("disabled",!r.canIncrement)("focusable",!1)("icon",r.options.icons.up),e.xp6(2),e.Q6J("appearance",f.appearance)("disabled",!r.canDecrement)("focusable",!1)("icon",r.options.icons.down)}}function ke(u,b){1&u&&e.GkF(0)}function ht(u,b){1&u&&e.Hsn(0,2)}const Et=["*",[["input"]],[["tuiContent"]]],ln=["*","input","tuiContent"],_n=(0,Qt.JN)({icons:{up:"tuiIconPlus",down:"tuiIconMinus"},min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,step:0,decimal:"not-zero",precision:2}),pi=new e.OlP("");let hi=(()=>{class u extends wt.F9{constructor(r,f,L,me,jt,Fn,Zn,qn){super(r,f,L),this.options=me,this.numberFormat=jt,this.isIOS=Fn,this.textfieldSize=Zn,this.controller=qn,this.unfinishedValue="",this.min=this.options.min,this.max=this.options.max,this.decimal=this.options.decimal,this.precision=this.options.precision,this.step=this.options.step,this.prefix="",this.postfix="",this.polymorpheusValueContent=ee.Mm}get size(){return this.textfieldSize.size}get computedMin(){return this.computeMin(this.min,this.max)}get computedMax(){return this.computeMax(this.min,this.max)}get nativeFocusableElement(){return!this.textfield||this.computedDisabled?null:this.textfield.nativeFocusableElement}get focused(){var r;return!(null===(r=this.textfield)||void 0===r||!r.focused)}get isNegativeAllowed(){return this.computedMin<0}get inputMode(){return this.isIOS&&this.isNegativeAllowed?"text":"never"===this.decimal?"numeric":"decimal"}get calculatedMaxLength(){return 18+("never"!==this.decimal&&this.nativeValue.includes(this.numberFormat.decimalSeparator)?Math.min(this.precision+1,20):0)+this.numberFormat.thousandSeparator.repeat(5).length}get formattedValue(){return null!==this.value?this.getFormattedValue(this.value||0):""}get computedValue(){return this.focused?this.nativeValue:this.formattedValue}get canDecrement(){return this.interactive&&(this.value||0)>this.computedMin}get canIncrement(){return this.interactive&&(this.value||0)this.computedMax||(this.value=f)}onFocused(r){this.updateFocused(r);const f=this.unfinishedValue?(0,sr.vZ)(this.unfinishedValue,this.numberFormat.decimalSeparator):this.nativeNumberValue;if(this.unfinishedValue=null,Number.isNaN(f))return this.nativeValue=r?this.computedPrefix+this.computedPostfix:"",void(this.value=null);r||(this.value=f,this.nativeValue=this.formattedValue)}getFormattedValue(r){const L=Math.abs(r)%1>0;let me="always"===this.decimal||L&&"never"!==this.decimal?this.precision:0;const jt=L?ar(r,this.precision):"";return this.focused&&"always"!==this.decimal&&(me=jt.length),this.computedPrefix+function _a(u,b={}){const{decimalLimit:r,decimalSeparator:f,thousandSeparator:L,zeroPadding:me,rounding:jt}=Object.assign(Object.assign({},fo.Jl),b),Fn=Number.isFinite(r)?(0,tr.h0)({value:u,precision:r,method:jt}):u,Zn=String(Math.floor(Math.abs(Fn)));let qn=ar(Fn,r);if(Number.isFinite(r))if(me){const Qo=Math.max(r-qn.length,0);qn=`${qn}${"0".repeat(Qo)}`}else qn=qn.replace(/0*$/,"");const po=Zn.length%3;let Dr=(u<0?ee.fv:"")+Zn.charAt(0);for(let Qo=1;Qo3&&(Dr+=L),Dr+=Zn.charAt(Qo);return qn?Dr+f+qn:Dr}(r,Object.assign(Object.assign({},this.numberFormat),{decimalLimit:me})).replace(ee.fv,ee.em)+this.computedPostfix}get isNativeValueNotFinished(){const r=this.nativeNumberValue;return r<0?r>this.computedMax:r[Zn.length,Qo.length-qn.length])]})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ft.a5,10),e.Y36(e.sBO),e.Y36(pi,8),e.Y36(_n),e.Y36(st.HO),e.Y36(Xt.FA),e.Y36(be.kI),e.Y36(be.Cs))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-input-number"]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,Le.Li,5),2&r){let me;e.iGM(me=e.CRH())&&(f.polymorpheusValueContent=me)}},viewQuery:function(r,f){if(1&r&&e.Gf(N.yc,5),2&r){let L;e.iGM(L=e.CRH())&&(f.textfield=L.first)}},hostVars:1,hostBindings:function(r,f){1&r&&e.NdJ("keydown.arrowDown",function(){return f.onArrow(-f.step)})("keydown.arrowUp",function(){return f.onArrow(f.step)}),2&r&&e.uIk("data-size",f.size)},inputs:{min:"min",max:"max",decimal:"decimal",precision:"precision",step:"step",prefix:"prefix",postfix:"postfix"},features:[e._Bn([(0,Xt.FT)(u),(0,wt.wB)(u),be.Y0]),e.qOj],ngContentSelectors:ln,decls:10,vars:14,consts:[["tuiTextfieldPostfix","","tuiTextfieldPrefix","","tuiValueAccessor","",1,"t-textfield",3,"disabled","focusable","invalid","maskito","pseudoActive","pseudoFocus","pseudoHover","readOnly","value","focusedChange","valueChange"],["textfield",""],["ngProjectAs","tuiContent","class","t-value-content",5,["tuiContent"],4,"ngIf"],["class","t-buttons",4,"ngIf"],[4,"ngIf"],["valueContent",""],["ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value-content"],[4,"polymorpheusOutlet"],[1,"t-buttons"],["size","s","tuiIconButton","","type","button",1,"t-button",3,"appearance","disabled","focusable","icon","click.prevent","mousedown.prevent"]],template:function(r,f){1&r&&(e.F$t(Et),e.TgZ(0,"tui-primitive-textfield",0,1),e.NdJ("focusedChange",function(me){return f.onFocused(me)})("valueChange",function(me){return f.onValueChange(me)}),e.Hsn(2),e.Hsn(3,1,["ngProjectAs","input",5,["input"]]),e.YNc(4,K,2,1,"div",2),e.qZA(),e.YNc(5,Be,5,8,"section",3),e.YNc(6,ke,1,0,"ng-container",4),e.ALo(7,"async"),e.YNc(8,ht,1,0,"ng-template",null,5,e.W1O)),2&r&&(e.Q6J("disabled",f.computedDisabled)("focusable",f.focusable)("invalid",f.computedInvalid)("maskito",f.mask)("pseudoActive",f.pseudoActive)("pseudoFocus",f.computedFocused)("pseudoHover",f.pseudoHover)("readOnly",f.readOnly)("value",f.computedValue),e.xp6(4),e.Q6J("ngIf",f.polymorpheusValueContent.length),e.xp6(1),e.Q6J("ngIf",f.step),e.xp6(1),e.Q6J("ngIf",e.lcZ(7,12,f.polymorpheusValueContent.changes)))},dependencies:[N.yc,Ae.v0,N.B1,be.Tq,be.A7,g,G.ro,Oe.O5,Le.Li,Oe.Ov],styles:["[_nghost-%COMP%]{display:flex;border-radius:var(--tui-radius-m);text-align:left}.t-textfield[_ngcontent-%COMP%]{flex:1;max-width:100%;border-radius:inherit;text-align:inherit}.t-textfield[_ngcontent-%COMP%]:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content[_ngcontent-%COMP%]{width:100%}.t-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;margin-left:.125rem;border-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%]{flex-direction:row-reverse}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin:0 0 0 .125rem;border-top-right-radius:inherit;border-bottom-right-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-radius:0}[data-size=m][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-m) * .75)}[data-size=l][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-l) * .75)}.t-button[_ngcontent-%COMP%]{display:flex;flex:1;height:auto;border-radius:0}.t-button[_ngcontent-%COMP%]:first-child{margin-bottom:.125rem;border-top-right-radius:inherit}.t-button[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:inherit}"],changeDetection:0}),(0,So.gn)([Ui.UM],u.prototype,"computeMin",null),(0,So.gn)([Ui.UM],u.prototype,"computeMax",null),(0,So.gn)([Ui.UM],u.prototype,"calculateMask",null),u})(),oi=(()=>{class u extends $i.D1{get value(){return this.host.computedValue}onValueChange(r){this.host.onValueChange(r)}ngDoCheck(){this.host.nativeFocusableElement&&(this.host.nativeFocusableElement.inputMode=this.host.inputMode,this.host.nativeFocusableElement.maxLength=this.host.nativeFocusableElement.maxLength>0?this.host.nativeFocusableElement.maxLength:this.host.calculatedMaxLength)}}return u.\u0275fac=function(){let b;return function(f){return(b||(b=e.n5z(u)))(f||u)}}(),u.\u0275dir=e.lG2({type:u,selectors:[["tui-input-number"]],features:[e._Bn([(0,st.cp)(u)]),e.qOj]}),u})(),Fi=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,G.U5,N.KW,be.cn,x,Le.wq,Ae.fN]]}),u})();var wn=c(3178);const ni=new e.OlP("MutationObserver config");typeof MutationObserver<"u"&&MutationObserver;let hr=(()=>{class u extends pn.y{constructor({nativeElement:r},f){super(L=>{const me=new MutationObserver(jt=>{L.next(jt)});return me.observe(r,f),()=>{me.disconnect()}})}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(e.SBq),e.LFG(ni))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})();var Xo=c(8330),Wr=c(5557),ia=c(8168);const m=["tuiTab",""];function v(u,b){1&u&&e.GkF(0)}const h=["*"];function D(u,b){1&u&&e.GkF(0)}function B(u,b){if(1&u&&e._UZ(0,"tui-underline",2),2&u){const r=e.oxw();e.Q6J("element",r.activeElement)}}function Te(u,b){1&u&&e.GkF(0)}function Tt(u,b){if(1&u&&e.GkF(0,12),2&u){const r=e.oxw().$implicit;e.Q6J("ngTemplateOutlet",r)}}function Kt(u,b){if(1&u&&(e.TgZ(0,"div"),e.GkF(1,12),e.qZA()),2&u){const r=e.oxw(),f=r.index,L=r.$implicit,me=e.oxw();e.ekj("t-overflown",me.isOverflown(f)),e.xp6(1),e.Q6J("ngTemplateOutlet",L)}}function On(u,b){if(1&u&&(e.ynx(0),e.YNc(1,Tt,1,1,"ng-container",10),e.YNc(2,Kt,2,3,"ng-template",null,11,e.W1O),e.BQk()),2&u){const r=b.index,f=e.MAs(3),L=e.oxw();e.xp6(1),e.Q6J("ngIf",r<=L.lastVisibleIndex)("ngIfElse",f)}}function Un(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function Ln(u,b){if(1&u&&(e._uU(0),e.ALo(1,"async"),e._UZ(2,"tui-svg",13)),2&u){const r=e.oxw();e.hij(" ",e.lcZ(1,4,r.moreWord$)," "),e.xp6(2),e.ekj("t-icon_rotated",r.open),e.Q6J("src",r.arrowOptions.iconSmall)}}function ki(u,b){if(1&u&&e.GkF(0,12),2&u){const r=e.oxw().$implicit;e.Q6J("ngTemplateOutlet",r)}}function Ho(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",17),e.NdJ("tui-tab-activate",function(){const me=e.CHM(r).index,jt=e.oxw(2);return e.KtG(jt.onClick(me))}),e.YNc(1,ki,1,1,"ng-container",18),e.qZA()}if(2&u){const r=b.index,f=e.oxw(2);e.xp6(1),e.Q6J("ngIf",f.shouldShow(r))}}function pr(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",14,15),e.NdJ("keydown.arrowDown.prevent",function(L){e.CHM(r);const me=e.MAs(1),jt=e.oxw();return e.KtG(jt.onWrapperArrow(L,me,!1))})("keydown.arrowUp.prevent",function(L){e.CHM(r);const me=e.MAs(1),jt=e.oxw();return e.KtG(jt.onWrapperArrow(L,me,!0))}),e.YNc(2,Ho,2,1,"div",16),e.qZA()}if(2&u){const r=e.oxw();e.xp6(2),e.Q6J("ngForOf",r.items)}}function Jr(u,b){if(1&u&&e._UZ(0,"tui-underline",19),2&u){const r=e.oxw();e.Q6J("element",r.activeElement)}}const wr=new e.OlP("[TUI_TAB_EVENT]"),ts=[Dt.a3,Dt.ku,it.Ok,{provide:wr,deps:[e.SBq,it.Ok,[new e.FiY,hr],[new e.FiY,wn.Od]],useFactory:({nativeElement:u},b,r,f)=>{const L=f&&r?r.pipe((0,_e.h)(()=>f.isActive)):Wi.E;return(0,W.T)(L,b.pipe((0,_e.h)(Xo.y)),u.matches("button")?(0,ui.mL)(u,"click"):Wi.E).pipe((0,ce.U)(()=>u.dispatchEvent(new CustomEvent("tui-tab-activate",{bubbles:!0}))))}},Gr.CV];let ns=(()=>{class u{constructor(r,f,L,me,jt,Fn){this.routerLinkActive=r,this.el=f,this.mode$=L,this.event$=me,this.margin=jt,this.focusVisible=!1,Fn.subscribe(Zn=>{this.focusVisible=Zn})}get isActive(){return!!this.routerLinkActive&&this.routerLinkActive.isActive}ngOnDestroy(){(0,yt.V8)(this.el.nativeElement)&&this.el.nativeElement.blur()}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(wn.Od,8),e.Y36(e.SBq),e.Y36(st.Au),e.Y36(wr),e.Y36(ko.WO),e.Y36(Dt.ku))},u.\u0275cmp=e.Xpm({type:u,selectors:[["a","tuiTab","",3,"routerLink",""],["a","tuiTab","","routerLink","","routerLinkActive",""],["button","tuiTab",""]],hostAttrs:["type","button"],hostVars:8,hostBindings:function(r,f){1&r&&e.NdJ("$.data-mode.attr",function(){return f.mode$}),2&r&&(e.Udp("cursor","pointer")("--tui-tab-margin",f.margin,"px"),e.ekj("_focus-visible",f.focusVisible)("_active",f.isActive))},features:[e._Bn(ts)],attrs:m,ngContentSelectors:h,decls:4,vars:3,consts:[[4,"ngIf"],[1,"t-highlight"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,v,1,0,"ng-container",0),e.ALo(1,"async"),e.TgZ(2,"span",1),e.Hsn(3),e.qZA()),2&r&&e.Q6J("ngIf",e.lcZ(1,1,f.event$))},dependencies:[Oe.O5,Oe.Ov],styles:['._underline[_nghost-%COMP%]:hover, ._underline [_nghost-%COMP%]:hover{box-shadow:inset 0 -2px var(--tui-base-03)}tui-tabs > [_nghost-%COMP%]:first-child, tui-tabs > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, tui-tabs > :first-child[_nghost-%COMP%], tui-tabs > :first-child [_nghost-%COMP%], [tuiTabs] > :first-child[_nghost-%COMP%], [tuiTabs] > :first-child [_nghost-%COMP%]{margin-left:0}[_nghost-%COMP%]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;height:100%;box-sizing:border-box;justify-content:space-between;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:var(--tui-tab-margin, 1.5rem)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[_nghost-%COMP%]:not([data-mode])._active{opacity:1;color:var(--tui-text-01);box-shadow:none}[data-mode=onDark][_nghost-%COMP%]{color:#ffffffb8}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark]._active[_nghost-%COMP%]{color:#fff}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-text-01);color:#fff}._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-selection)}._android[_nghost-%COMP%]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;margin:0;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._android[_nghost-%COMP%]:hover{box-shadow:none}._android._active[_nghost-%COMP%]{opacity:1;color:var(--tui-base-09)}._android[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}._ios[_nghost-%COMP%]{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;margin:0;color:var(--tui-base-01);opacity:1;font-size:.8125rem;font-weight:500;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._ios[_nghost-%COMP%]:hover{box-shadow:none}._ios._active[_nghost-%COMP%]{font-size:.875rem;font-weight:600;color:var(--tui-link)}._ios[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}@media (hover: hover){[_nghost-%COMP%]:hover{color:var(--tui-text-01)}}.t-highlight[_ngcontent-%COMP%]{display:inline-flex;width:100%;align-items:center;justify-content:inherit}.t-highlight[_ngcontent-%COMP%] >*{flex-shrink:0}tui-tabs[data-vertical][_nghost-%COMP%], tui-tabs[data-vertical] [_nghost-%COMP%], [tuiTabs][data-vertical][_nghost-%COMP%], [tuiTabs][data-vertical] [_nghost-%COMP%]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical][_nghost-%COMP%]:after, tui-tabs[data-vertical] [_nghost-%COMP%]:after, [tuiTabs][data-vertical][_nghost-%COMP%]:after, [tuiTabs][data-vertical] [_nghost-%COMP%]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:"";position:absolute;top:0;bottom:0;right:0;width:2px;background:var(--tui-primary);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical][_nghost-%COMP%]:hover, tui-tabs[data-vertical] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical][_nghost-%COMP%]:hover, [tuiTabs][data-vertical] [_nghost-%COMP%]:hover{box-shadow:inset -2px 0 var(--tui-base-03)}tui-tabs[data-vertical]._active[_nghost-%COMP%]:after, tui-tabs[data-vertical] ._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical]._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical] ._active[_nghost-%COMP%]:after{transform:none}tui-tabs[data-vertical="right"][_nghost-%COMP%], tui-tabs[data-vertical="right"] [_nghost-%COMP%], [tuiTabs][data-vertical="right"][_nghost-%COMP%], [tuiTabs][data-vertical="right"] [_nghost-%COMP%]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical="right"][_nghost-%COMP%]:after, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical="right"][_nghost-%COMP%]:hover, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:hover{box-shadow:inset 2px 0 var(--tui-base-03)}'],changeDetection:0}),u})(),Jo=(()=>{class u{constructor(r){this.el=r,this.activeItemIndex=0,this.activeItemIndexChange=new e.vpe}get tabs(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}get activeElement(){return this.tabs[this.activeItemIndex]||null}onActivate(r,f){const L=this.tabs.findIndex(me=>me===f);r.stopPropagation(),L!==this.activeItemIndex&&(this.activeItemIndexChange.emit(L),this.activeItemIndex=L)}moveFocus(r,f){const{tabs:L}=this;(0,yt.VR)(L.indexOf(r),L,f)}ngAfterViewChecked(){const{tabs:r,activeElement:f}=this;r.forEach(L=>{const me=L===f;L.classList.toggle("_active",me),L.setAttribute("tabIndex",me?"0":"-1")})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq))},u.\u0275dir=e.lG2({type:u,selectors:[["tui-tabs"],["nav","tuiTabs",""]],hostBindings:function(r,f){1&r&&e.NdJ("tui-tab-activate",function(me){return f.onActivate(me,me.target)})},inputs:{activeItemIndex:"activeItemIndex"},outputs:{activeItemIndexChange:"activeItemIndexChange"}}),u})();const Ss=(0,Qt.JN)({underline:!0,exposeActive:!0,itemsLimit:1/0,minMoreWidth:0});let Za=(()=>{class u{constructor({nativeElement:r},f,L,me){this.zone=f,this.animationFrame$=L,this.mode$=me,this.el$=new Wr.t(1),this.refresh$=this.el$.pipe((0,pe.w)(jt=>jt?this.animationFrame$.pipe((0,ce.U)(()=>jt),(0,ui.fL)(this.zone)):(0,hn.of)(null)),(0,ve.B)()),this.transition$=(0,le.Gt)(this.el$.pipe((0,ce.U)(jt=>jt&&"all"),(0,V.b)(50))),this.transform$=(0,le.Gt)(this.refresh$.pipe((0,ce.U)(jt=>jt?`translate3d(${jt.offsetLeft}px, 0, 0)`:null))),this.width$=(0,le.Gt)(this.refresh$.pipe((0,ce.U)(jt=>(null==jt?void 0:jt.clientWidth)||0))),r["$.style.transitionProperty"]=this.transition$,r["$.style.transform"]=this.transform$,r["$.style.width.px"]=this.width$}set element(r){this.el$.next(r)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Ut.L1),e.Y36(st.Au))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-underline"]],hostBindings:function(r,f){1&r&&e.NdJ("$.data-mode.attr",function(){return f.mode$})("$.style.transitionProperty",function(){return f.transition$()})("$.style.transform",function(){return f.transform$()})("$.style.width.px",function(){return f.width$()})},inputs:{element:"element"},features:[e._Bn([Gr.CV])],decls:0,vars:0,template:function(r,f){},styles:["[_nghost-%COMP%]{transition-property:none;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:0;height:100%;color:var(--tui-primary);transform:scale(0);box-shadow:inset 0 -.1875rem 0 -.0625rem;pointer-events:none}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}"],changeDetection:0}),u})(),oa=(()=>{class u{constructor(r,f,L,me,jt){this.options=r,this.el=f,this.tabs=L,this.children=ee.Mm,this.underline=this.options.underline,jt.pipe((0,_e.h)(()=>this.underline)).subscribe(()=>{me.detectChanges()})}get activeItemIndex(){return this.tabs.activeItemIndex}set activeItemIndex(r){this.tabs.activeItemIndex=r}get activeElement(){return this.tabs.activeElement}onKeyDownArrow(r,f){this.tabs.moveFocus(r,f)}ngAfterViewChecked(){this.scrollTo(this.tabs.activeItemIndex)}scrollTo(r){const f=this.tabs.tabs[r];if(!f)return;const{offsetLeft:L,offsetWidth:me}=f,{nativeElement:jt}=this.el;Ljt.scrollLeft+jt.offsetWidth&&(jt.scrollLeft=L+me-jt.offsetWidth)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Ss),e.Y36(e.SBq),e.Y36(Jo),e.Y36(e.sBO),e.Y36(Dt.tl))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-tabs",3,"vertical",""],["nav","tuiTabs","",3,"vertical",""]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,ns,4),2&r){let me;e.iGM(me=e.CRH())&&(f.children=me)}},hostVars:2,hostBindings:function(r,f){1&r&&e.NdJ("keydown.arrowRight.prevent",function(me){return f.onKeyDownArrow(me.target,1)})("keydown.arrowLeft.prevent",function(me){return f.onKeyDownArrow(me.target,-1)}),2&r&&e.ekj("_underline",f.underline)},inputs:{underline:"underline"},features:[e._Bn([Dt.a3,Dt.tl,hr,{provide:ni,useValue:{childList:!0}}])],ngContentSelectors:h,decls:4,vars:4,consts:[[4,"ngIf"],["class","t-underline",3,"element",4,"ngIf"],[1,"t-underline",3,"element"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,D,1,0,"ng-container",0),e.ALo(1,"async"),e.Hsn(2),e.YNc(3,B,1,1,"tui-underline",1)),2&r&&(e.Q6J("ngIf",e.lcZ(1,2,f.children.changes)),e.xp6(3),e.Q6J("ngIf",f.underline))},dependencies:[Za,Oe.O5,Oe.Ov],styles:["[_nghost-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);height:var(--tui-height-l);color:var(--tui-text-02);box-shadow:inset 0 -1px var(--tui-base-03);overflow:auto;isolation:isolate}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-underline[_ngcontent-%COMP%]{z-index:-1}"],changeDetection:0}),(0,So.gn)([Ui.UM],u.prototype,"scrollTo",null),u})();const Ja=new e.OlP("[TUI_TABS_REFRESH]"),Oc=[Dt.tl,Dt.a3,hr,(0,et.fx)({align:"right"}),{provide:ni,useValue:{childList:!0,subtree:!0,characterData:!0}},{provide:Ja,deps:[Dt.tl,hr,Dt.a3,Oe.K0,e.SBq,e.sBO],useFactory:(u,b,r,{body:f},{nativeElement:L},me)=>(0,W.T)(u,b.pipe((0,ia.b)(()=>me.detectChanges()))).pipe((0,_e.h)(()=>f.contains(L)),(0,V.b)(0),(0,de.O)(null),(0,Y.R)(r))}];let qu=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn){this.options=r,this.margin=f,this.refresh$=L,this.el=me,this.cdr=jt,this.moreWord$=Fn,this.arrowOptions=Zn,this.maxIndex=1/0,this.underline=this.options.underline,this.itemsLimit=this.options.itemsLimit,this.activeItemIndexChange=new e.vpe,this.items=ee.Mm,this.activeItemIndex=0,this.open=!1}set itemIndex(r){this.activeItemIndex=r,this.maxIndex=this.getMaxIndex()}get tabs(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}get activeElement(){var r;const{tabs:f}=this,L=(0,tr.Ki)(this.activeItemIndex||0,0,f.length-2);return this.options.exposeActive||this.lastVisibleIndex>=L?f[L]||null:(null===(r=this.moreButton)||void 0===r?void 0:r.nativeElement)||null}get isMoreAlone(){return this.lastVisibleIndex<0&&!this.options.exposeActive}get isMoreVisible(){return this.lastVisibleIndex=this.items.length?this.maxIndex:Math.min(this.itemsLimit-(this.itemsLimit-1>this.activeItemIndex||!this.options.exposeActive?1:2),this.maxIndex)}ngAfterViewInit(){this.refresh$.pipe((0,ce.U)(()=>this.getMaxIndex()),(0,_e.h)(r=>this.maxIndex!==r)).subscribe(r=>{this.maxIndex=r,this.cdr.detectChanges()})}onActiveItemIndexChange(r){this.updateActiveItemIndex(r)}onClick(r){this.open=!1,this.focusMore(),this.updateActiveItemIndex(r)}onArrowRight(r){(0,cn.ve)(r.target)&&(0,yt.V8)(r.target)&&this.focusMore()}onArrowLeft(){const{tabs:r}=this;let f=r.length-2;for(;f>=0;){if(r[f].focus(),(0,yt.V8)(r[f]))return;f--}}onWrapperArrow(r,f,L){const jt=(0,yt.BW)({initial:r.target,root:f,previous:L});jt&&jt.focus()}isOverflown(r){return r!==this.activeItemIndex||!this.options.exposeActive}shouldShow(r){return r>this.lastVisibleIndex&&this.isOverflown(r)}focusMore(){this.moreButton&&this.moreButton.nativeElement.focus()}getMaxIndex(){const{tabs:r,activeItemIndex:f,margin:L}=this;if(r.length<2)return 0;const{exposeActive:me,minMoreWidth:jt}=this.options,{clientWidth:Fn}=this.el.nativeElement,Zn=r[f]?r[f].scrollWidth:0,qn=Math.max(r[r.length-1].scrollWidth,jt);let po=r.length-2,Cr=r.reduce((Dr,{scrollWidth:Qo})=>Dr+Qo,0)+po*L-r[r.length-1].scrollWidth;if(Cr<=Fn)return 1/0;for(;po;)if(Cr-=r[po].scrollWidth+L,po--,Cr+(me&&f>po?Zn+L:0)+qn+L+(0,tr.HW)(this.maxIndex===po-1){class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,en.jh,se.EI,tn.u,co]]}),u})();var ks=c(1673),xc=c(9034);const ph=["focusableElement"];function el(u,b){if(1&u&&e._UZ(0,"tui-svg",9),2&u){const r=b.polymorpheusOutlet,f=e.oxw(2);e.ekj("t-icon_open",f.open),e.Q6J("src",r)}}function wc(u,b){if(1&u&&(e.ynx(0),e.YNc(1,el,1,3,"tui-svg",8),e.BQk()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.options.iconLarge)}}function gh(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function Pc(u,b){if(1&u&&(e.TgZ(0,"div",11),e.YNc(1,gh,2,1,"ng-container",12),e.qZA()),2&u){const r=e.oxw(2);e.xp6(1),e.Q6J("polymorpheusOutlet",r.lazyContent)}}function Ac(u,b){if(1&u&&e.YNc(0,Pc,2,1,"div",10),2&u){const r=e.oxw();e.Q6J("ngIf",r.lazyContent)}}function Sc(u,b){1&u&&(e.TgZ(0,"div",13),e.Hsn(1,1),e.qZA())}const ya=["*",[["","tuiAccordionItemContent",""]]],tl=["*","[tuiAccordionItemContent]"],Ic=[[["tui-accordion-item"]]],nl=["tui-accordion-item"];let kc=(()=>{class u extends Le.GL{constructor(r,f){super(r,f)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.Rgc,2),e.Y36(e.sBO))},u.\u0275dir=e.lG2({type:u,selectors:[["ng-template","tuiAccordionItemContent",""]],features:[e.qOj]}),u})(),il=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiAccordionItemContent","",5,"ng-template"]]}),u})(),Rc=(()=>{class u extends wt.Xn{constructor(r,f,L){super(),this.cdr=r,this.mode$=f,this.options=L,this.noPadding=!1,this.showArrow=!0,this.borders="all",this.size="m",this.disabled=!1,this.disableHover=!1,this.open=!1,this.async=!1,this.openChange=new e.vpe}get nativeFocusableElement(){return this.disabled||!this.focusableElement?null:this.focusableElement.nativeElement}get focused(){return(0,yt.V8)(this.nativeFocusableElement)}onFocused(r){this.updateFocused(r)}onFocusVisible(r){this.updateFocusVisible(r)}onRowToggle(){this.disabled||this.updateOpen(!this.open)}onItemKeyDownEsc(r){this.open&&(r.stopPropagation(),this.updateOpen(!1))}close(){this.updateOpen(!1),this.cdr.markForCheck()}updateOpen(r){this.open!==r&&(this.open=r,this.openChange.emit(r))}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.sBO),e.Y36(st.Au),e.Y36(mi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-accordion-item"]],contentQueries:function(r,f,L){if(1&r&&(e.Suo(L,il,5),e.Suo(L,kc,5)),2&r){let me;e.iGM(me=e.CRH())&&(f.eagerContent=me.first),e.iGM(me=e.CRH())&&(f.lazyContent=me.first)}},viewQuery:function(r,f){if(1&r&&e.Gf(ph,5),2&r){let L;e.iGM(L=e.CRH())&&(f.focusableElement=L.first)}},hostVars:8,hostBindings:function(r,f){1&r&&e.NdJ("$.data-mode.attr",function(){return f.mode$}),2&r&&(e.uIk("data-borders",f.borders)("data-size",f.size),e.ekj("_no-padding",f.noPadding)("_has-arrow",f.showArrow)("_disabled",f.disabled))},inputs:{noPadding:"noPadding",showArrow:"showArrow",borders:"borders",size:"size",disabled:"disabled",disableHover:"disableHover",open:"open",async:"async"},outputs:{openChange:"openChange"},features:[e._Bn([(0,Xt.FT)(u),Gr.CV]),e.qOj],ngContentSelectors:tl,decls:9,vars:10,consts:[["automation-id","tui-accordion__item-wrapper",1,"t-wrapper"],["automation-id","tui-accordion__item-header","type","button",1,"t-header",3,"disabled","tuiFocusable","click","keydown.esc","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],["automation-id","tui-accordion__item-title",1,"t-title"],[4,"ngIf"],[3,"async","expanded"],["tuiExpandContent",""],["class","t-content",4,"ngIf"],["automation-id","tui-accordion__item-arrow","class","t-icon",3,"t-icon_open","src",4,"polymorpheusOutlet"],["automation-id","tui-accordion__item-arrow",1,"t-icon",3,"src"],["automation-id","tui-accordion__item-content","class","t-content",4,"ngIf"],["automation-id","tui-accordion__item-content",1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content"]],template:function(r,f){1&r&&(e.F$t(ya),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return f.onRowToggle()})("keydown.esc",function(me){return f.onItemKeyDownEsc(me)})("tuiFocusedChange",function(me){return f.onFocused(me)})("tuiFocusVisibleChange",function(me){return f.onFocusVisible(me)}),e.TgZ(3,"span",3),e.Hsn(4),e.qZA(),e.YNc(5,wc,2,1,"ng-container",4),e.qZA(),e.TgZ(6,"tui-expand",5),e.YNc(7,Ac,1,1,"ng-template",6),e.YNc(8,Sc,2,0,"div",7),e.qZA()()),2&r&&(e.xp6(1),e.ekj("t-header_hoverable",!f.disableHover)("t-header_open",f.open),e.Q6J("disabled",f.computedDisabled)("tuiFocusable",f.computedFocusable),e.xp6(4),e.Q6J("ngIf",f.showArrow),e.xp6(1),e.Q6J("async",f.async)("expanded",f.open),e.xp6(2),e.Q6J("ngIf",f.eagerContent))},dependencies:[se.PN,qe,tn.t,An.U,di.q,Oe.O5,Le.Li,mt],styles:['[_nghost-%COMP%]{position:relative;display:block;overflow:hidden;border-radius:var(--tui-radius-l)}[data-borders=top-bottom][_nghost-%COMP%]{border-radius:0!important}.t-wrapper[_ngcontent-%COMP%]{position:relative;border-radius:inherit}.t-wrapper[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;border:1px solid var(--tui-base-04);pointer-events:none}[_nghost-%COMP%]:not([data-borders]) .t-wrapper[_ngcontent-%COMP%]:after{border-width:0}[data-borders=all][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-borders=top-bottom][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0}[data-borders=top][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0;border-bottom-width:0}[data-borders=bottom][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0;border-top-width:0}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-color:var(--tui-base-03)}[data-mode=onLight][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-color:var(--tui-text-01)}._focus-visible[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border:2px solid var(--tui-focus)}[_nghost-%COMP%]:not([data-mode]) .t-wrapper[_ngcontent-%COMP%]{background:var(--tui-base-01)}.t-header[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:100%;font:var(--tui-font-text-l);align-items:center;box-sizing:border-box;border-bottom:1px solid var(--tui-base-04);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-01);cursor:pointer;text-align:left;outline:none}[data-mode=onDark][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{color:var(--tui-text-01-night);border-color:var(--tui-base-03)}[data-mode=onLight][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{border-color:var(--tui-text-01)}[_nghost-%COMP%]:not([data-borders]) .t-header[_ngcontent-%COMP%]{border-bottom-width:0;box-shadow:none}._has-arrow[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-right:.75rem}[data-mode=onDark][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}[data-mode=onLight][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-clear)}[data-size=s][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-m);min-height:var(--tui-height-m);padding:.625rem .75rem .625rem 1rem}._no-padding[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-left:0;padding-right:0}._disabled[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{cursor:default}.t-wrapper[_ngcontent-%COMP%]:hover:not([data-mode]) > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-base-02)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onDark] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onLight] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear)}.t-title[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}._has-arrow[_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{margin-right:.5rem}.t-icon[_ngcontent-%COMP%]{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.t-icon_open[_ngcontent-%COMP%]{transform:rotate(180deg)}[data-mode][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[_nghost-%COMP%]:hover[data-mode] .t-icon[_ngcontent-%COMP%]{opacity:.8}[data-mode=onDark][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01)}[_nghost-%COMP%]:hover:not([data-mode]) .t-icon[_ngcontent-%COMP%]{color:var(--tui-base-07)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);padding:1rem}'],changeDetection:0}),u})(),Lc=(()=>{class u{constructor(r){this.destroy$=r,this.closeOthers=!0,this.rounded=!0,this.accordionItems=ee.Mm}ngAfterContentInit(){const{accordionItems:r}=this,f=(0,ui.ll)(r),L=f.pipe((0,xc.G)(),(0,ce.U)(([jt,Fn])=>Fn.find(Zn=>!jt.includes(Zn)&&Zn.open)),(0,_e.h)(Qt.Pc));(0,W.T)(f.pipe((0,pe.w)(jt=>(0,W.T)(...jt.map(Fn=>Fn.openChange.pipe((0,_e.h)(Xo.y),(0,ce.U)(()=>Fn)))))),L).pipe((0,_e.h)(()=>this.closeOthers),(0,Y.R)(this.destroy$)).subscribe(jt=>{r.forEach(Fn=>{jt!==Fn&&Fn.close()})})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Dt.a3,2))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-accordion"]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,Rc,4),2&r){let me;e.iGM(me=e.CRH())&&(f.accordionItems=me)}},inputs:{closeOthers:"closeOthers",rounded:"rounded"},features:[e._Bn([Dt.a3])],ngContentSelectors:nl,decls:2,vars:2,consts:[["automation-id","tui-accordion__group","orientation","vertical","size","l","tuiGroup","",1,"t-group",3,"collapsed","rounded"]],template:function(r,f){1&r&&(e.F$t(Ic),e.TgZ(0,"div",0),e.Hsn(1),e.qZA()),2&r&&e.Q6J("collapsed",!0)("rounded",f.rounded)},dependencies:[ze.gZ],styles:["[_nghost-%COMP%]{display:block}.t-group[_ngcontent-%COMP%]{display:flex}"],changeDetection:0}),u})(),Nc=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,An.F,di.c,tn.u,Le.wq,se.EI,ze.n6,Ge]]}),u})();const mh=["input"];function _h(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function qa(u,b){if(1&u&&(e.TgZ(0,"div",6),e.YNc(1,_h,2,1,"ng-container",7),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.leftContent)}}function vh(u,b){if(1&u&&e._UZ(0,"tui-loader",8),2&u){const r=e.oxw();e.Q6J("inheritColor",!0)("size",r.loaderSize)}}function yh(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-svg",9),e.NdJ("click",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.remove(L))})("mousedown.stop.prevent.silent",function(){return 0}),e.qZA()}if(2&u){const r=e.oxw();e.Q6J("src",r.icons.close)}}function bh(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"input",10,11),e.NdJ("blur",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.onBlur())})("keydown",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onKeyDown(L))})("ngModelChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onInput(L))}),e.qZA()}if(2&u){const r=e.oxw();e.Q6J("ngModel",r.editedText),e.uIk("maxLength",r.maxLength)}}const Bc=(0,Qt.JN)({size:"m",status:"default",autoColor:!1});let ol=(()=>{class u{constructor(r,f,L,me){this.el=r,this.mode$=f,this.options=L,this.icons=me,this.value="",this.editable=!1,this.separator=",",this.maxLength=null,this.size=this.options.size,this.showLoader=!1,this.status=this.options.status,this.hoverable=!1,this.removable=!1,this.disabled=!1,this.autoColor=this.options.autoColor,this.edited=new e.vpe,this.editing=!1,this.editedText=null}set input(r){r&&r.nativeElement.focus()}get backgroundColor(){return this.autoColor?function Qa(u){if(""===u)return"";let b=0;for(let me=0;me1?this.save(String(f)):this.editedText=r}onKeyDown(r){switch(r.stopPropagation(),r.key.toLowerCase()){case"enter":r.preventDefault(),this.save(this.editedText||"");break;case"escape":case"esc":r.preventDefault(),this.stopEditing(),this.el.nativeElement.focus()}}onBlur(){null!==this.editedText&&this.save(this.editedText)}get canEdit(){return this.editable&&!this.disabled&&!this.showLoader}stopEditing(){this.editing=!1,this.editedText=null}save(r){this.stopEditing(),this.edited.emit(r.trim())}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq),e.Y36(st.Au),e.Y36(Bc),e.Y36(st.Gs))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-tag"],["a","tuiTag",""],["button","tuiTag",""]],viewQuery:function(r,f){if(1&r&&e.Gf(mh,5,e.SBq),2&r){let L;e.iGM(L=e.CRH())&&(f.input=L.first)}},hostVars:10,hostBindings:function(r,f){1&r&&e.NdJ("$.data-mode.attr",function(){return f.mode$})("keydown.enter",function(me){return f.edit(me)})("keydown.delete",function(me){return f.remove(me)})("keydown.backspace",function(me){return f.remove(me)}),2&r&&(e.uIk("data-size",f.size)("data-status",f.status),e.ekj("_hoverable",f.hoverable)("_disabled",f.disabled)("_autocolor",f.autoColor)("_editing",f.editing))},inputs:{value:"value",editable:"editable",separator:"separator",maxLength:"maxLength",size:"size",showLoader:"showLoader",status:"status",hoverable:"hoverable",removable:"removable",disabled:"disabled",autoColor:"autoColor",leftContent:"leftContent"},outputs:{edited:"edited"},features:[e._Bn([Gr.CV])],decls:6,vars:7,consts:[[1,"t-tag",3,"dblclick"],["class","t-content",4,"ngIf"],["automation-id","tui-tag__text",1,"t-text",3,"textContent"],["class","t-content",3,"inheritColor","size",4,"ngIf"],["automation-id","tui-tag__remove","class","t-icon",3,"src","click","mousedown.stop.prevent.silent",4,"ngIf"],["automation-id","tui-tag__edit","type","text","class","t-edit",3,"ngModel","blur","keydown","ngModelChange",4,"ngIf"],[1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content",3,"inheritColor","size"],["automation-id","tui-tag__remove",1,"t-icon",3,"src","click","mousedown.stop.prevent.silent"],["automation-id","tui-tag__edit","type","text",1,"t-edit",3,"ngModel","blur","keydown","ngModelChange"],["input",""]],template:function(r,f){1&r&&(e.TgZ(0,"div",0),e.NdJ("dblclick",function(me){return f.edit(me)}),e.YNc(1,qa,2,1,"div",1),e._UZ(2,"span",2),e.YNc(3,vh,1,2,"tui-loader",3),e.YNc(4,yh,1,1,"tui-svg",4),e.qZA(),e.YNc(5,bh,2,2,"input",5)),2&r&&(e.Udp("background-color",f.backgroundColor),e.xp6(1),e.Q6J("ngIf",f.leftContent),e.xp6(1),e.Q6J("textContent",f.displayText),e.xp6(1),e.Q6J("ngIf",f.showLoader),e.xp6(1),e.Q6J("ngIf",f.canRemove),e.xp6(1),e.Q6J("ngIf",f.editing))},dependencies:[$e.kM,se.PN,Oe.O5,Le.Li,ft.Fj,ft.JJ,ft.On],styles:['[_nghost-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;font:var(--tui-font-text-s);line-height:1.25rem;max-width:100%;cursor:default;outline:none;text-decoration:none;padding:0;border:0}[_nghost-%COMP%]:after{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;pointer-events:none}._hoverable[_nghost-%COMP%]:hover[data-status=custom]:after, ._hoverable[_nghost-%COMP%]:active[data-status=custom]:after{background-color:var(--tui-clear)}[_nghost-%COMP%]:focus:after{border:2px solid var(--tui-focus)}[data-size=s][_nghost-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;border-radius:var(--tui-radius-xs)}[data-size=m][_nghost-%COMP%]{border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{border-radius:var(--tui-radius-s)}[data-status=primary][_nghost-%COMP%]{background-color:var(--tui-primary);color:var(--tui-primary-text)}[data-status=primary]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-primary-hover)}[data-status=primary]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-primary-active)}[data-status=error][_nghost-%COMP%]{background-color:var(--tui-error-bg);color:var(--tui-text-01)}[data-status=error]._hoverable[_nghost-%COMP%]:hover, [data-status=error]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-hover)}[data-status=error][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}[data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-night-hover)}[data-status=success][_nghost-%COMP%]{background-color:var(--tui-success-bg);color:var(--tui-text-01)}[data-status=success]._hoverable[_nghost-%COMP%]:hover, [data-status=success]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-hover)}[data-status=success][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}[data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-night-hover)}[data-status=warning][_nghost-%COMP%]{background-color:var(--tui-warning-bg);color:var(--tui-text-01)}[data-status=warning]._hoverable[_nghost-%COMP%]:hover, [data-status=warning]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-hover)}[data-status=warning][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}[data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-night-hover)}[data-status=default][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-base-06)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}[data-status=default][data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-clear-inverse)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-inverse-hover)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-inverse-active)}[data-status=default][data-mode=onDark][_nghost-%COMP%]:focus:after{border:2px solid var(--tui-base-01)}[data-status=default][data-mode=onLight][_nghost-%COMP%]{background-color:var(--tui-clear);color:var(--tui-text-01)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-hover)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-active)}._editing[_nghost-%COMP%]{background:transparent!important}._disabled[_nghost-%COMP%]{pointer-events:none;opacity:var(--tui-disabled-opacity)}._hoverable[_nghost-%COMP%]{cursor:pointer}._autocolor[_nghost-%COMP%]{color:#000c}.t-text[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:.02em}.t-tag[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:flex;width:auto;align-items:center;font:inherit;border-radius:inherit}[data-size=s][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:1.25rem;padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-xs);padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-s);padding:0 .75rem}._editing[_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{visibility:hidden}.t-edit[_ngcontent-%COMP%]{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;font:inherit;color:var(--tui-text-01);width:100%;height:100%;box-sizing:border-box;padding:0 .5rem}.t-edit[_ngcontent-%COMP%]:-webkit-autofill, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[data-size=s][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .75rem}.t-icon[_ngcontent-%COMP%]{width:1rem;height:100%;cursor:pointer;pointer-events:all;opacity:var(--tui-disabled-opacity);-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}.t-icon[_ngcontent-%COMP%]:hover{opacity:1}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{-webkit-margin-start:0;margin-inline-start:0}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%] svg{transform:scale(.75)}.t-content[_ngcontent-%COMP%]{width:1rem;height:1rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}'],changeDetection:0}),u})(),eu=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,ft.u5,se.EI,$e.dS,Le.wq]]}),u})();const rl=["tuiSidebar",""];function sl(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}let Yr=(()=>{class u extends Le.GL{constructor(r,f,L,me){super(r,me),this.content=r,this.injector=f,this.portalService=L,this.component=new Le.Al(Uc,this.injector),this.sidebarRef=null,this.direction="left",this.autoWidth=!1}set tuiSidebar(r){r?this.show():this.hide()}ngOnDestroy(){this.hide()}show(){null===this.sidebarRef&&(this.sidebarRef=this.portalService.add(this.component),this.sidebarRef.changeDetectorRef.detectChanges())}hide(){null!==this.sidebarRef&&(this.portalService.remove(this.sidebarRef),this.sidebarRef=null)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.Rgc),e.Y36(e.zs3),e.Y36(It.ae),e.Y36(e.sBO))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiSidebar",""]],inputs:{direction:["tuiSidebarDirection","direction"],autoWidth:["tuiSidebarAutoWidth","autoWidth"],tuiSidebar:"tuiSidebar"},features:[e.qOj]}),u})(),Uc=(()=>{class u{constructor(r,f){this.options=r,this.directive=f,this.left=Object.assign(Object.assign({},this.options),{value:"left"}),this.right=Object.assign(Object.assign({},this.options),{value:"right"})}get animation(){return"left"===this.direction?this.left:this.right}get directionHostClass(){return`t-${this.directive.direction}`}get direction(){return this.directive.direction}get content(){return this.directive.content}get autoWidth(){return this.directive.autoWidth}ngDoCheck(){this.directive.check()}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(st.Pw),e.Y36(Yr))},u.\u0275cmp=e.Xpm({type:u,selectors:[["aside","tuiSidebar",""]],hostVars:3,hostBindings:function(r,f){2&r&&(e.d8E("@tuiSlideIn",f.animation),e.Tol(f.directionHostClass))},attrs:rl,decls:2,vars:3,consts:[["tuiActiveZone","",1,"t-wrapper"],[4,"polymorpheusOutlet"]],template:function(r,f){1&r&&(e.TgZ(0,"div",0),e.YNc(1,sl,2,1,"ng-container",1),e.qZA()),2&r&&(e.ekj("t-wrapper_auto-width",f.autoWidth),e.xp6(1),e.Q6J("polymorpheusOutlet",f.content))},dependencies:[Jt.e,Le.Li],styles:['[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;content:"";height:100%;background:rgba(0,0,0,.38);animation:tuiFadeIn var(--tui-duration)}[_nghost-%COMP%]:before{left:-100%;width:200%}[_nghost-%COMP%]:after{left:100%}.ng-animating[_nghost-%COMP%]:before, .ng-animating[_nghost-%COMP%]:after{opacity:0;transition:opacity var(--tui-duration)}.t-right[_nghost-%COMP%]{justify-content:flex-end}.t-left[_nghost-%COMP%]{justify-content:flex-start}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;background:var(--tui-base-01);box-shadow:0 10rem var(--tui-base-01);width:17.25rem}.t-wrapper_auto-width[_ngcontent-%COMP%]{width:auto}'],data:{animation:[Ne.Gw]},changeDetection:0}),u})(),Hc=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Jt.A,Le.wq]]}),u})(),zc=(()=>{class u{constructor(r,{nativeElement:f},L){this.readyToScroll$=L,this.scroll$=new Wr.t(1),this.readyToScroll$.pipe((0,_e.h)(Boolean),(0,pe.w)(()=>this.scroll$),(0,V.b)(750),(0,_e.h)(me=>me&&!!(0,cn.PU)(f)),(0,Y.R)(r)).subscribe(()=>{f.scrollIntoView()})}set tuiScrollIntoViewLink(r){this.scroll$.next(r)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Dt.a3,2),e.Y36(e.SBq),e.Y36(s.V1))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiScrollIntoViewLink",""]],inputs:{tuiScrollIntoViewLink:"tuiScrollIntoViewLink"},features:[e._Bn([Dt.a3])]}),u})(),al=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();const ll="Taiga UI",cl=(0,Qt.JN)("tuiTheme"),jc=(0,Qt.JN)(ll);let $c=(()=>{class u extends z.X{constructor(r,f,L){super(L.getItem(f)||r),this.initialTheme=r,this.key=f,this.storage=L}next(r){this.storage.setItem(this.key,r),super.next(r)}get isDefaultTheme(){return this.value===ll}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(jc),e.LFG(cl),e.LFG(Ut.H3))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const nu=(0,Qt.JN)("tuiNight"),dl=(0,Qt.JN)(!0);let iu=(()=>{class u extends z.X{constructor(r,f,L,me){super("true"===f.getItem(L)||null===f.getItem(L)&&r.matchMedia("(prefers-color-scheme: dark)").matches),this.win=r,this.storage=f,this.key=L,this.useDefaultNightTheme=me}next(r){this.storage.setItem(this.key,String(r)),super.next(r)}toggle(){this.next(!this.value)}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(Ut.m9),e.LFG(Ut.H3),e.LFG(nu),e.LFG(dl))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function gr(u,b){if(1&u&&(e.TgZ(0,"p",2),e._uU(1),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.hij(" ",r.filename,"\n")}}function ra(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"pre",3),e._uU(1," "),e._UZ(2,"code",4),e._uU(3,"\n "),e.TgZ(4,"div",5),e._uU(5,"\n "),e.TgZ(6,"button",6),e.NdJ("click",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.copy$.next())}),e.ALo(7,"async"),e._uU(8,"\n "),e.qZA(),e._uU(9,"\n "),e.Hsn(10),e._uU(11,"\n "),e.qZA(),e._uU(12,"\n"),e.qZA()}if(2&u){const r=b.$implicit,f=e.oxw();e.xp6(2),e.Q6J("lineNumbers",!0)("highlight",r),e.xp6(4),e.Q6J("icon",e.lcZ(7,4,f.icon$)||"tuiIconCopyLarge")("cdkCopyToClipboard",r)}}const ys=["*"],Wc=["content"],fl=["resizer"];function Yc(u,b){if(1&u&&(e._uU(0),e.TgZ(1,"a",11)(2,"code"),e._uU(3,"tuiMode"),e.qZA()()),2&u){const r=e.oxw();e.hij(" ",r.texts[0]," ")}}function hl(u,b){if(1&u&&e._UZ(0,"tui-data-list-wrapper",14),2&u){const r=e.oxw(2);e.Q6J("items",r.items)}}function Kc(u,b){if(1&u){const r=e.EpF();e.ynx(0),e.TgZ(1,"tui-select",12),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onModeChange(L))}),e._uU(2," tuiMode "),e.YNc(3,hl,1,1,"tui-data-list-wrapper",13),e.qZA(),e.BQk()}if(2&u){const r=e.oxw(),f=e.MAs(2);e.xp6(1),e.Q6J("ngModel",r.mode)("tuiHintContent",f)("tuiTextfieldCleaner",!0)}}function pl(u,b){if(1&u){const r=e.EpF();e._uU(0," tuiMode: "),e._UZ(1,"tui-tooltip",15),e.TgZ(2,"div",16)(3,"tui-radio-block",17),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onModeChange(L))}),e._uU(4," null "),e.qZA(),e.TgZ(5,"tui-radio-block",18),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onModeChange(L))}),e._uU(6," onDark "),e.qZA(),e.TgZ(7,"tui-radio-block",19),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onModeChange(L))}),e._uU(8," onLight "),e.qZA()()}if(2&u){const r=e.oxw(),f=e.MAs(2);e.xp6(1),e.Q6J("content",f),e.xp6(1),e.Q6J("collapsed",!0),e.xp6(1),e.Q6J("hideRadio",!0)("item",null)("ngModel",r.mode),e.xp6(2),e.Q6J("hideRadio",!0)("ngModel",r.mode),e.xp6(2),e.Q6J("hideRadio",!0)("ngModel",r.mode)}}function Zc(u,b){if(1&u&&e._UZ(0,"tui-svg",27),2&u){const r=e.oxw(2);e.ekj("t-icon_rotated",r.expanded),e.Q6J("src",r.options.iconSmall)}}function Xc(u,b){if(1&u&&e._UZ(0,"tui-data-list-wrapper",14),2&u){const r=e.oxw(3);e.Q6J("items",r.updateOnVariants)}}const ou=function(){return{standalone:!0}};function ru(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"pre",28),e._uU(1),e.ALo(2,"json"),e.qZA(),e.TgZ(3,"div",29)(4,"tui-select",30),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw(2);return e.KtG(me.updateOnChange(L))}),e._uU(5," updateOn "),e.YNc(6,Xc,1,1,"tui-data-list-wrapper",13),e.qZA(),e.TgZ(7,"button",31),e._uU(8," Reset "),e.qZA(),e.TgZ(9,"button",32),e._uU(10," Submit "),e.qZA()()}if(2&u){const r=e.oxw(2);e.xp6(1),e.hij("Form data: ",e.lcZ(2,3,r.testForm.value),""),e.xp6(3),e.Q6J("ngModel",r.updateOn)("ngModelOptions",e.DdM(5,ou))}}function Jc(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"form",20)(1,"div",21),e.GkF(2,22),e.qZA(),e.TgZ(3,"button",23),e.NdJ("click",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.toggleDetails())}),e._uU(4),e.qZA(),e.YNc(5,Zc,1,3,"ng-template",null,24,e.W1O),e.TgZ(7,"tui-expand",25),e.YNc(8,ru,11,6,"ng-template",26),e.qZA()()}if(2&u){const r=e.MAs(6),f=e.oxw();e.Q6J("formGroup",f.testForm),e.xp6(2),e.Q6J("ngTemplateOutlet",f.template),e.xp6(1),e.Q6J("iconRight",r),e.xp6(1),e.hij(" ",f.texts[2]," "),e.xp6(3),e.Q6J("expanded",f.expanded)}}const sa=function(){return[1,0]};function Qc(u,b){if(1&u&&(e.TgZ(0,"h1",2),e._uU(1),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.hij(" ",r.heading,"\n")}}function qc(u,b){if(1&u&&(e.TgZ(0,"th",10),e._uU(1),e.qZA()),2&u){const r=e.oxw(3);e.xp6(1),e.hij(" ",r.texts[3]," ")}}function su(u,b){1&u&&e._UZ(0,"tui-badge",22)}function au(u,b){1&u&&e._UZ(0,"tui-badge",23)}function gl(u,b){if(1&u&&(e.TgZ(0,"a",26),e._uU(1),e.qZA()),2&u){const r=e.oxw().$implicit;e.uIk("href",r.reference,e.LSH),e.xp6(1),e.hij(" ",r.type," ")}}function Zs(u,b){if(1&u&&e._uU(0),2&u){const r=e.oxw().$implicit;e.hij(" ",r.type," ")}}function uu(u,b){1&u&&(e.TgZ(0,"span"),e._uU(1,"\xa0|\xa0"),e.qZA())}function ml(u,b){if(1&u&&(e.ynx(0),e.YNc(1,gl,2,2,"a",24),e.YNc(2,Zs,1,1,"ng-template",null,25,e.W1O),e.YNc(4,uu,2,0,"span",1),e.BQk()),2&u){const r=b.$implicit,f=b.last,L=e.MAs(3);e.xp6(1),e.Q6J("ngIf",r.reference)("ngIfElse",L),e.xp6(3),e.Q6J("ngIf",!f)}}function ed(u,b){if(1&u&&e._UZ(0,"tui-data-list-wrapper",36),2&u){e.oxw(2);const r=e.MAs(3),f=e.oxw(2).$implicit;e.Q6J("itemContent",r)("items",f.documentationPropertyValues)}}function lu(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-select",33),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw(3).$implicit;return e.KtG(me.onValueChange(L))}),e.ALo(1,"tuiShowCleanerPipe"),e.TgZ(2,"code",34),e._uU(3,"null"),e.qZA(),e.YNc(4,ed,1,2,"tui-data-list-wrapper",35),e.qZA()}if(2&u){e.oxw();const r=e.MAs(3),f=e.oxw(2).$implicit;e.Q6J("nativeId",f.attrName)("ngModel",f.documentationPropertyValue)("tuiTextfieldCleaner",e.lcZ(1,5,f.documentationPropertyType))("tuiTextfieldLabelOutside",!0)("valueContent",r)}}function td(u,b){if(1&u&&(e.TgZ(0,"code"),e._uU(1),e.ALo(2,"tuiInspectAny"),e.qZA()),2&u){const r=b.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,r))}}function nd(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-toggle",43),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw(4).$implicit;return e.KtG(me.onValueChange(L))}),e.qZA()}if(2&u){const r=e.oxw(4).$implicit;e.Q6J("nativeId",r.attrName)("ngModel",r.documentationPropertyValue)("showIcons",!0)}}function id(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-primitive-textfield",44),e.NdJ("valueChange",function(L){e.CHM(r);const me=e.oxw(4).$implicit;return e.KtG(me.onValueChange(L))}),e.qZA()}if(2&u){const r=e.oxw(4).$implicit;e.Q6J("nativeId",r.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",r.documentationPropertyValue||"")}}function od(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",45)(1,"tui-primitive-textfield",46),e.NdJ("valueChange",function(L){e.CHM(r);const me=e.oxw(4).$implicit,jt=e.oxw(3);return e.KtG(jt.onColorChange(me,L))}),e.ALo(2,"tuiGetOpacity"),e.ALo(3,"tuiGetColorPipe"),e._UZ(4,"input",47),e.qZA(),e.TgZ(5,"tui-input-number",48),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw(4).$implicit,jt=e.oxw(3);return e.KtG(jt.onOpacityChange(me,L))}),e.ALo(6,"tuiGetOpacity"),e._uU(7," Opacity "),e.qZA()()}if(2&u){const r=e.oxw(4).$implicit;e.xp6(1),e.Q6J("tuiInputOpacity",e.lcZ(2,8,r.documentationPropertyValue))("tuiTextfieldLabelOutside",!0)("value",e.lcZ(3,10,r.documentationPropertyValue)),e.uIk("id",r.attrName),e.xp6(4),e.Q6J("max",100)("min",0)("ngModel",e.lcZ(6,12,r.documentationPropertyValue))("step",1)}}function rd(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-input-number",49),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw(4).$implicit;return e.KtG(me.onValueChange(L||0))}),e.qZA()}if(2&u){const r=e.oxw(4).$implicit;e.Q6J("nativeId",r.attrName)("ngModel",r.documentationPropertyValue)("step",1)("tuiTextfieldLabelOutside",!0)}}function sd(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-primitive-textfield",44),e.NdJ("valueChange",function(L){e.CHM(r);const me=e.oxw(5).$implicit;return e.KtG(me.onValueChange(L))}),e._uU(1," Default content "),e.qZA()}if(2&u){const r=e.oxw(5).$implicit;e.Q6J("nativeId",r.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",r.documentationPropertyValue.toString())}}function _l(u,b){if(1&u&&(e.ynx(0),e.YNc(1,sd,2,4,"tui-primitive-textfield",50),e.ALo(2,"tuiIsPrimitivePolymorpheusContentPipe"),e.BQk()),2&u){const r=e.oxw(4).$implicit;e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,r.documentationPropertyValue))}}function cu(u,b){if(1&u&&(e.ynx(0,37),e.YNc(1,nd,1,3,"tui-toggle",38),e.YNc(2,id,1,4,"tui-primitive-textfield",39),e.YNc(3,od,8,14,"div",40),e.YNc(4,rd,1,4,"tui-input-number",41),e.YNc(5,_l,3,3,"ng-container",42),e.BQk()),2&u){const r=e.oxw(3).$implicit;e.Q6J("ngSwitch",r.documentationPropertyType),e.xp6(1),e.Q6J("ngSwitchCase","boolean"),e.xp6(1),e.Q6J("ngSwitchCase","string"),e.xp6(1),e.Q6J("ngSwitchCase","color"),e.xp6(1),e.Q6J("ngSwitchCase","number"),e.xp6(1),e.Q6J("ngSwitchCase","PolymorpheusContent")}}function vl(u,b){if(1&u&&(e.ynx(0),e.YNc(1,lu,5,7,"tui-select",30),e.YNc(2,td,3,3,"ng-template",null,31,e.W1O),e.YNc(4,cu,6,6,"ng-template",null,32,e.W1O),e.BQk()),2&u){const r=e.MAs(5),f=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngIf",f.hasItems)("ngIfElse",r)}}function du(u,b){if(1&u&&(e.TgZ(0,"tui-notification",51),e.ALo(1,"async"),e._uU(2," Emit! "),e.qZA()),2&u){const r=e.oxw(2).$implicit;e.Q6J("@emitEvent",e.lcZ(1,1,r.emits$))}}function ad(u,b){if(1&u&&(e.TgZ(0,"td",27),e.YNc(1,vl,6,2,"ng-container",28),e.YNc(2,du,3,3,"ng-template",null,29,e.W1O),e.qZA()),2&u){const r=e.MAs(3),f=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",f.shouldShowValues)("ngIfElse",r)}}function ud(u,b){if(1&u&&(e.TgZ(0,"tr",11)(1,"td",12)(2,"div",13)(3,"code",14),e._uU(4),e.ALo(5,"tuiStripOptionalPipe"),e.qZA(),e.YNc(6,su,1,0,"tui-badge",15),e.ALo(7,"tuiIsOptionalPipe"),e.YNc(8,au,1,0,"tui-badge",16),e.qZA(),e.GkF(9,17),e.qZA(),e.TgZ(10,"td",12)(11,"span",18)(12,"code",19),e.YNc(13,ml,5,3,"ng-container",20),e.ALo(14,"tuiDocTypeReference"),e.qZA()()(),e.YNc(15,ad,4,2,"td",21),e.qZA()),2&u){const r=b.$implicit,f=e.oxw(3);e.ekj("t-deprecated",r.documentationPropertyDeprecated),e.xp6(3),e.Udp("color","var(--tui-accent-active)"),e.xp6(1),e.hij(" ",e.lcZ(5,10,r.attrName)," "),e.xp6(2),e.Q6J("ngIf",e.lcZ(7,12,r.attrName)),e.xp6(2),e.Q6J("ngIf",r.documentationPropertyDeprecated),e.xp6(1),e.Q6J("ngTemplateOutlet",r.template),e.xp6(4),e.Q6J("ngForOf",e.lcZ(14,14,r.documentationPropertyType)),e.xp6(2),e.Q6J("ngIf",f.showValues)}}function yl(u,b){if(1&u&&(e.TgZ(0,"table",4)(1,"tr",5)(2,"th",6),e._uU(3),e.qZA(),e.TgZ(4,"th",7),e._uU(5),e.qZA(),e.YNc(6,qc,2,1,"th",8),e.qZA(),e.YNc(7,ud,16,16,"tr",9),e.qZA()),2&u){const r=e.oxw().ngIf,f=e.oxw();e.xp6(3),e.Oqu(f.texts[2]),e.xp6(2),e.Oqu(f.type),e.xp6(1),e.Q6J("ngIf",f.showValues&&!f.isAPI),e.xp6(1),e.Q6J("ngForOf",r)}}function bl(u,b){if(1&u&&(e.ynx(0),e.YNc(1,yl,8,4,"table",3),e.BQk()),2&u){const r=b.ngIf;e.xp6(1),e.Q6J("ngIf",r.length)}}function Rs(u,b){1&u&&e._UZ(0,"span",8),2&u&&e.Q6J("textContent",b.polymorpheusOutlet)}function Cl(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"button",9),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(2);return e.KtG(L.copyExampleLink())}),e.ALo(1,"async"),e.qZA()}if(2&u){const r=e.oxw(2);e.Q6J("icon",r.options.linkIcon)("title",e.lcZ(1,2,r.copy$))}}function Dl(u,b){if(1&u&&(e.TgZ(0,"h3",5),e.YNc(1,Rs,1,1,"span",6),e.YNc(2,Cl,2,4,"button",7),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.heading),e.xp6(1),e.Q6J("ngIf",r.id)}}function ld(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function Th(u,b){if(1&u&&(e.TgZ(0,"h4",10),e.YNc(1,ld,2,1,"ng-container",11),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.description)}}function ba(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function cd(u,b){if(1&u&&(e.TgZ(0,"button",21),e.YNc(1,ba,2,1,"ng-container",11),e.qZA()),2&u){const r=e.oxw().$implicit,f=e.oxw(4);e.xp6(1),e.Q6J("polymorpheusOutlet",f.getTabTitle(r))}}function Tl(u,b){1&u&&(e.ynx(0),e.YNc(1,cd,2,1,"button",20),e.BQk())}function Ml(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function El(u,b){if(1&u&&(e.ynx(0),e.YNc(1,Ml,2,1,"ng-container",11),e.BQk()),2&u){const r=b.ngIf;e.xp6(1),e.Q6J("polymorpheusOutlet",r)}}function fu(u,b){if(1&u&&(e.TgZ(0,"button",25),e._uU(1),e.qZA()),2&u){const r=e.oxw(5);e.xp6(1),e.hij(" Edit on ",r.codeEditor.name," ")}}function Ol(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-loader",22),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(3).ngIf,me=e.oxw();return e.KtG(me.edit(L))}),e.ALo(1,"async"),e.YNc(2,El,2,1,"ng-container",23),e.YNc(3,fu,2,1,"ng-template",null,24,e.W1O),e.qZA()}if(2&u){const r=e.MAs(4),f=e.oxw(4);e.Q6J("overlay",!0)("showLoader",!!e.lcZ(1,4,f.loading$)),e.xp6(2),e.Q6J("ngIf",null==f.codeEditor?null:f.codeEditor.content)("ngIfElse",r)}}function Ca(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",16)(1,"tui-tabs-with-more",17),e.NdJ("activeItemIndexChange",function(L){e.CHM(r);const me=e.oxw(3);return e.KtG(me.activeItemIndex=L)}),e.YNc(2,Tl,2,0,"ng-container",18),e.qZA(),e.YNc(3,Ol,5,6,"tui-loader",19),e.ALo(4,"tuiMapper"),e.qZA()}if(2&u){const r=e.oxw().ngIf,f=e.oxw().ngIf,L=e.oxw();e.xp6(1),e.Q6J("activeItemIndex",L.activeItemIndex),e.xp6(1),e.Q6J("ngForOf",r),e.xp6(1),e.Q6J("ngIf",e.xi3(4,3,f,L.visible))}}function Da(u,b){if(1&u&&e.GkF(0,29),2&u){e.oxw(4);const r=e.MAs(5);e.Q6J("ngTemplateOutlet",r)}}const hu=function(u){return{$implicit:u}};function pu(u,b){if(1&u&&e.GkF(0,30),2&u){const r=e.oxw(2).ngIf,f=e.oxw().ngIf,L=e.oxw(),me=e.MAs(7);e.Q6J("ngTemplateOutlet",me)("ngTemplateOutletContext",e.VKq(2,hu,(null==f?null:f[r[L.activeItemIndex]])||""))}}function gu(u,b){if(1&u&&(e.TgZ(0,"div",26),e.YNc(1,Da,1,1,"ng-container",27),e.YNc(2,pu,1,4,"ng-template",null,28,e.W1O),e.qZA()),2&u){const r=b.index,f=e.MAs(3),L=e.oxw(3);e.ekj("t-content_animated",!L.isE2E)("t-content_visible",L.activeItemIndex===r),e.xp6(1),e.Q6J("ngIf",r===L.defaultTabIndex)("ngIfElse",f)}}function mu(u,b){if(1&u&&(e.ynx(0),e.YNc(1,Ca,5,6,"div",14),e.YNc(2,gu,4,6,"div",15),e.BQk()),2&u){const r=b.ngIf;e.xp6(1),e.Q6J("ngIf",r.length>1),e.xp6(1),e.Q6J("ngForOf",r)}}function aa(u,b){if(1&u&&(e.TgZ(0,"div",12),e.YNc(1,mu,3,2,"ng-container",13),e.ALo(2,"tuiDocExampleGetTabs"),e.qZA()),2&u){const r=b.ngIf,f=e.oxw();e.xp6(1),e.Q6J("ngIf",e.xi3(2,1,r,f.defaultTab))}}function dd(u,b){1&u&&(e.TgZ(0,"div",31),e.Hsn(1),e.qZA())}function xl(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function fd(u,b){if(1&u&&(e.ynx(0),e.YNc(1,xl,2,1,"ng-container",33),e.BQk()),2&u){const r=b.$implicit,f=e.oxw().$implicit;e.xp6(1),e.Q6J("polymorpheusOutlet",r)("polymorpheusOutletContext",e.VKq(2,hu,f))}}function hd(u,b){if(1&u&&(e.TgZ(0,"tui-doc-code",32),e.YNc(1,fd,2,4,"ng-container",18),e.qZA()),2&u){const r=b.$implicit,f=e.oxw();e.Q6J("code",r),e.xp6(1),e.Q6J("ngForOf",f.codeActions)}}function pd(u,b){1&u&&e._UZ(0,"tui-svg",16),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function wl(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"a",14),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(4),me=e.MAs(1);return e.KtG(L.onClick(me))}),e._uU(1),e.YNc(2,pd,1,1,"tui-svg",15),e.qZA()}if(2&u){const r=b.$implicit;e.Q6J("fragment",r.fragment)("routerLink",r.route),e.xp6(1),e.hij(" ",r.title," "),e.xp6(1),e.Q6J("polymorpheusOutlet",r.icon)}}function Pl(u,b){if(1&u&&(e.TgZ(0,"tui-opt-group",12),e.YNc(1,wl,3,4,"a",13),e.qZA()),2&u){const r=b.$implicit,f=b.index,L=e.oxw(3);e.Q6J("label",L.labels[f]||""),e.xp6(1),e.Q6J("ngForOf",r)}}function Ta(u,b){if(1&u&&(e.TgZ(0,"tui-data-list"),e.YNc(1,Pl,2,2,"tui-opt-group",11),e.ALo(2,"async"),e.qZA()),2&u){const r=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,r.filtered$))}}function _u(u,b){1&u&&(e.ynx(0),e.YNc(1,Ta,3,3,"tui-data-list",10),e.BQk())}const Ls=function(u,b){return{item:u,index:b}};function gd(u,b){if(1&u&&e.GkF(0,21),2&u){const r=b.$implicit,f=b.index,L=e.oxw(2).index;e.oxw();const me=e.MAs(12);e.Q6J("ngTemplateOutlet",me)("ngTemplateOutletContext",e.WLB(2,Ls,r,100*L+f))}}function md(u,b){if(1&u&&(e.TgZ(0,"div",20),e.YNc(1,gd,1,5,"ng-container",8),e.qZA()),2&u){const r=e.oxw().index,f=e.oxw();e.xp6(1),e.Q6J("ngForOf",f.items[r])}}function Mh(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-accordion-item",17),e.NdJ("openChange",function(L){const jt=e.CHM(r).index,Fn=e.oxw();return e.KtG(!!(Fn.openPagesArr[jt]=L))}),e.TgZ(1,"span",18)(2,"strong"),e._uU(3),e.qZA()(),e.YNc(4,md,2,1,"ng-template",19),e.qZA()}if(2&u){const r=b.$implicit,f=b.index,L=e.oxw();e.Q6J("borders",null)("open",!!L.openPagesArr[f]),e.xp6(3),e.Oqu(r)}}function _d(u,b){if(1&u&&e.GkF(0,21),2&u){const r=b.$implicit,f=b.index,L=e.oxw(),me=e.MAs(12);e.Q6J("ngTemplateOutlet",me)("ngTemplateOutletContext",e.WLB(2,Ls,r,L.items.length-1+f))}}function vu(u,b){1&u&&e._UZ(0,"tui-svg",16),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function vd(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"a",24),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(2);return e.KtG(L.closeMenu())}),e._uU(1),e.YNc(2,vu,1,1,"tui-svg",15),e.qZA()}if(2&u){const r=e.oxw().item,f=e.oxw();e.Q6J("routerLink",r.route)("tuiScrollIntoViewLink",f.isActive(r.route)),e.xp6(1),e.hij(" ",r.title," "),e.xp6(1),e.Q6J("polymorpheusOutlet",r.icon)}}function Al(u,b){1&u&&e._UZ(0,"tui-svg",16),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function Ma(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(2).index,me=e.oxw();return e.KtG(me.onGroupClick(L))}),e._UZ(1,"tui-svg",31),e._uU(2),e.YNc(3,Al,1,1,"tui-svg",15),e.qZA()}if(2&u){const r=e.oxw(2),f=r.index,L=r.item,me=e.oxw();e.xp6(1),e.ekj("t-chevron_active",!!me.openPagesGroupsArr[f]),e.Q6J("src",me.icons.more),e.xp6(1),e.hij(" ",L.title," "),e.xp6(1),e.Q6J("polymorpheusOutlet",L.icon)}}function yu(u,b){1&u&&e._UZ(0,"tui-svg",16),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function Sl(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"a",32),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(3);return e.KtG(L.closeMenu())}),e._uU(1),e.YNc(2,yu,1,1,"tui-svg",15),e.qZA()}if(2&u){const r=b.$implicit,f=e.oxw(3);e.Q6J("fragment",r.fragment)("routerLink",r.route)("tuiScrollIntoViewLink",f.isActive(r.route)),e.xp6(1),e.hij(" ",r.title," "),e.xp6(1),e.Q6J("polymorpheusOutlet",r.icon)}}const Il=function(){return{exact:!1}};function kl(u,b){if(1&u&&(e.TgZ(0,"div",25),e.YNc(1,Ma,4,5,"button",26),e.TgZ(2,"tui-expand",27)(3,"div",28),e.YNc(4,Sl,3,5,"a",29),e.qZA()()()),2&u){const r=e.oxw(),f=r.item,L=r.index,me=e.oxw();e.Q6J("routerLinkActiveOptions",e.DdM(4,Il)),e.xp6(1),e.Q6J("ngIf",f.subPages),e.xp6(1),e.Q6J("expanded",!!me.openPagesGroupsArr[L]),e.xp6(2),e.Q6J("ngForOf",me.$pages(f.subPages))}}function Ns(u,b){if(1&u&&(e.YNc(0,vd,3,4,"a",22),e.YNc(1,kl,5,5,"ng-template",null,23,e.W1O)),2&u){const r=b.item,f=e.MAs(2);e.Q6J("ngIf",!r.subPages)("ngIfElse",f)}}const yd=["tuiDocHeader",""];function bd(u,b){1&u&&e._UZ(0,"tui-doc-navigation",4)}function Cd(u,b){1&u&&e._UZ(0,"img",5),2&u&&e.Q6J("src",b.polymorpheusOutlet,e.LSH)}function Dd(u,b){1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u&&(e.xp6(1),e.Oqu(", "))}function Td(u,b){if(1&u&&(e.ynx(0),e._UZ(1,"a",2),e.YNc(2,Dd,2,1,"ng-container",3),e.BQk()),2&u){const r=b.$implicit,f=b.last,L=e.oxw();e.xp6(1),e.Q6J("innerText",r)("routerLink",L.getRouterLink(r)),e.xp6(1),e.Q6J("ngIf",!f)}}function ls(u,b){if(1&u&&e._UZ(0,"a",1),2&u){const r=b.polymorpheusOutlet,f=e.oxw();e.Q6J("href",r,e.LSH)("icon",f.icons.code)("title",f.text)}}function Md(u,b){1&u&&e._UZ(0,"tui-theme-night")}const Ed=[[["tuiDocNavigation"]],[["tuiDocHeader"]],[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],Od=["tuiDocNavigation","tuiDocHeader","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];function xd(u,b){1&u&&e._UZ(0,"tui-tag",9)}function wd(u,b){if(1&u&&e._UZ(0,"tui-tag",10),2&u){const r=e.oxw();e.Q6J("autoColor",!0)("value",r.package)}}const Rl=function(u){return{exact:u}};function Pd(u,b){if(1&u&&(e.TgZ(0,"a",14),e.ALo(1,"tuiReplace"),e._uU(2),e.qZA()),2&u){const r=e.oxw().ngIf,f=e.oxw().first,L=e.oxw(2);e.Q6J("routerLink",f?"./":e.Dn7(1,3,r,L.from,L.to))("routerLinkActiveOptions",e.VKq(7,Rl,f)),e.xp6(2),e.hij(" ",r," ")}}function Ad(u,b){1&u&&(e.ynx(0),e.YNc(1,Pd,3,9,"a",13),e.BQk())}function Sd(u,b){if(1&u&&(e.ynx(0),e.YNc(1,Ad,2,0,"ng-container",12),e.BQk()),2&u){const r=b.$implicit,f=b.index,L=e.oxw(2);e.xp6(1),e.Q6J("ngIf",r.pageTab||L.defaultTabs[f])}}function Id(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-tabs-with-more",11),e.NdJ("activeItemIndexChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.activeItemIndex=L)}),e.YNc(1,Sd,2,1,"ng-container",8),e.qZA()}if(2&u){const r=e.oxw();e.Q6J("activeItemIndex",r.activeItemIndex),e.xp6(1),e.Q6J("ngForOf",r.tabConnectors)}}function Ea(u,b){if(1&u&&e._UZ(0,"tui-doc-see-also",15),2&u){const r=e.oxw();e.Q6J("seeAlso",r.seeAlso)}}function cs(u,b){if(1&u&&e.GkF(0,17),2&u){const r=e.oxw().$implicit;e.Q6J("ngTemplateOutlet",r.template)}}function ua(u,b){if(1&u&&(e.ynx(0),e.YNc(1,cs,1,1,"ng-container",16),e.BQk()),2&u){const r=b.index,f=e.oxw();e.xp6(1),e.Q6J("ngIf",r===f.activeItemIndex)}}let bu=(()=>{class u{constructor(r){this.markdownCodeProcessor=r,this.rawLoader$$=new z.X(""),this.filename="",this.copy$=new F.x,this.icon$=this.copy$.pipe((0,pe.w)(()=>(0,ne.H)(2e3).pipe((0,ce.U)(()=>"tuiIconCopyLarge"),(0,de.O)("tuiIconCheckLarge")))),this.processor$=this.rawLoader$$.pipe((0,pe.w)(k.JQ),(0,ce.U)(f=>this.markdownCodeProcessor(f)))}set code(r){this.rawLoader$$.next(r)}get hasFilename(){return!!this.filename}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.Es))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-code"]],hostVars:2,hostBindings:function(r,f){2&r&&e.ekj("_has-filename",f.hasFilename)},inputs:{filename:"filename",code:"code"},ngContentSelectors:ys,decls:3,vars:4,consts:[["class","t-header",4,"ngIf"],["class","t-code",4,"ngFor","ngForOf"],[1,"t-header"],[1,"t-code"],[3,"lineNumbers","highlight"],[1,"t-code-actions"],["tuiIconButton","","appearance","icon","size","xs",1,"t-copy-button",3,"icon","cdkCopyToClipboard","click"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,gr,2,1,"p",0),e.YNc(1,ra,13,6,"pre",1),e.ALo(2,"async")),2&r&&(e.Q6J("ngIf",f.filename),e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,2,f.processor$)))},dependencies:[Ae.v0,Oe.O5,Oe.sg,xi.y$,Yo,Oe.Ov],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}.t-header[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{border-radius:.25rem}.t-code[_ngcontent-%COMP%]{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-base-03)}.t-code[_ngcontent-%COMP%] .hljs-ln{width:-webkit-max-content;width:max-content}.t-code[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{margin-top:1rem}.t-code-actions[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}tui-root._mobile[_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%]{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-base-04)}.t-copy-button[_ngcontent-%COMP%] +*:not(:empty){margin-right:.375rem}.hljs[_ngcontent-%COMP%]:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar, .hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty), tui-root._mobile [_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){padding:1rem}.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:var(--tui-base-01)}@supports (background: color-mix(in srgb,var(--tui-base-01),#222 2%)){.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:color-mix(in srgb,var(--tui-base-01),#222 2%)}}"],changeDetection:0}),u})(),Cu=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,se.EI,xi._l,Ae.fN,Do]]}),u})(),Oh=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Ae.fN]]}),u})(),Du=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn){var qn,po;this.options=r,this.isMobile=f,this.el=L,this.locationRef=me,this.urlSerializer=jt,this.texts=Fn,this.urlStateHandler=Zn,this.control=null,this.sticky=!0,this.template=null,this.updateOnVariants=["change","blur","submit"],this.updateOn=this.params.updateOn||this.updateOnVariants[0],this.opaque=(0,k.cd)(null===(qn=this.params.sandboxOpaque)||void 0===qn||qn),this.expanded=(0,k.cd)(null!==(po=this.params.sandboxExpanded)&&void 0!==po&&po),this.mode=this.params.tuiMode||null,this.sandboxWidth=(0,tr.oY)(this.params.sandboxWidth),this.change$=new F.x,this.items=["onLight","onDark"]}onResize(){this.updateWidth(),this.onMouseUp()}onMouseUp(){this.updateUrl({sandboxWidth:this.sandboxWidth})}ngOnInit(){this.createForm(),this.updateWidth(this.sandboxWidth+this.delta)}onModeChange(r){this.mode=r,this.updateUrl({sandboxWidth:this.sandboxWidth}),this.change$.next()}toggleDetails(){this.expanded=!this.expanded,this.updateUrl({sandboxExpanded:this.expanded})}changeOpaque(r){this.opaque=r,this.updateUrl({sandboxOpaque:this.opaque})}updateOnChange(r){this.updateOn=r,this.updateUrl({updateOn:r}),this.createForm()}updateWidth(r=NaN){if(!this.resizer||!this.resizeable||!this.content)return;const f=r||this.resizeable.nativeElement.clientWidth,L=this.el.nativeElement.clientWidth,me=Math.round((0,tr.Ki)(f,160,L))-this.delta,jt=fu)}])],ngContentSelectors:ys,decls:16,vars:14,consts:[[1,"t-bg-toggle",3,"tuiMode"],["tooltip",""],[4,"ngIf","ngIfElse"],["desktop",""],["size","m",1,"t-checkbox",3,"ngModel","ngModelChange"],["tuiResizeable","",1,"t-wrapper"],["id","demo-content",1,"t-content"],["content",""],["class","t-form",3,"formGroup",4,"ngIf"],[1,"t-resizer",3,"tuiResizer","tuiSizeChange"],["resizer",""],["routerLink","/directives/mode","tuiLink","","tuiMode","onDark"],["tuiTextfieldSize","s",1,"t-mode",3,"ngModel","tuiHintContent","tuiTextfieldCleaner","ngModelChange"],[3,"items",4,"tuiDataList"],[3,"items"],["describeId","form",3,"content"],["tuiGroup","",1,"t-group",3,"collapsed"],["nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","item","ngModel","ngModelChange"],["item","onDark","nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","ngModel","ngModelChange"],["item","onLight","nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","ngModel","ngModelChange"],[1,"t-form",3,"formGroup"],[1,"t-input-wrapper"],[3,"ngTemplateOutlet"],["automation-id","tui-demo-button__toggle-details","size","s","tuiButton","","type","button",1,"t-button",3,"iconRight","click"],["icon",""],[1,"t-expand",3,"expanded"],["tuiExpandContent",""],[1,"t-icon",3,"src"],[1,"t-value"],["tuiGroup","",1,"t-form-controls"],["automation-id","tui-demo-select__expand-update-on","tuiTextfieldSize","s",1,"t-select",3,"ngModel","ngModelOptions","ngModelChange"],["automation-id","tui-demo-button__reset-state","size","s","tuiButton","","type","reset",1,"tui-group__auto-width-item"],["automation-id","tui-demo-button__submit-state","size","s","tuiButton","","type","submit",1,"tui-group__auto-width-item"]],template:function(r,f){if(1&r&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,Yc,4,1,"ng-template",null,1,e.W1O),e.YNc(3,Kc,4,3,"ng-container",2),e.YNc(4,pl,9,9,"ng-template",null,3,e.W1O),e.TgZ(6,"tui-checkbox-labeled",4),e.NdJ("ngModelChange",function(me){return f.changeOpaque(me)}),e._uU(7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",6)(10,"div",null,7),e.YNc(12,Jc,9,5,"form",8),e.Hsn(13),e.qZA()(),e.TgZ(14,"div",9,10),e.NdJ("tuiSizeChange",function(me){return f.updateWidth(me[0])}),e.qZA()()),2&r){const L=e.MAs(5);e.Q6J("tuiMode",null),e.xp6(3),e.Q6J("ngIf",f.isMobile)("ngIfElse",L),e.xp6(3),e.Q6J("ngModel",f.opaque),e.xp6(1),e.hij(" ",f.texts[1]," "),e.xp6(1),e.ekj("t-wrapper_dark","onDark"===f.mode)("t-wrapper_gray","onLight"===f.mode)("t-wrapper_transparent",!f.opaque),e.xp6(4),e.Q6J("ngIf",f.testForm),e.xp6(2),e.Q6J("tuiResizer",e.DdM(13,sa))}},dependencies:[Ve.V,J,T,je.w,Nr,ss.p,Ae.v0,se.PN,qe,R.w,wn.yS,Oe.O5,P,be.sz,ft.JJ,ft.On,S.bZ,be.be,q.gX,ze.gZ,mr,ft._Y,ft.JL,ft.sg,Oe.tP,mt,zr,Oe.Ts],styles:['[_nghost-%COMP%]{position:relative;display:block;min-width:100%;margin:1.5rem 0}.t-bg-toggle[_ngcontent-%COMP%]{position:absolute;bottom:calc(100% + .75rem);display:flex;align-items:center;justify-content:flex-end;pointer-events:none;width:100%}.t-bg-toggle[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:auto}.t-wrapper[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-dropdown);display:flex;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);max-width:100%;min-height:6rem;width:100%;min-width:10rem;background-color:var(--tui-base-01);overflow:hidden}.t-wrapper.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-02) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-02) 75%);background-size:1.25rem 1.25rem;background-position:0 0,0 .625rem,.625rem -.625rem,-.625rem 0}.t-wrapper.t-wrapper_dark[_ngcontent-%COMP%]{background-color:#454e58;color:var(--tui-base-01)}.t-wrapper.t-wrapper_gray[_ngcontent-%COMP%]{background-color:#e5e7ea}.t-wrapper.t-wrapper_dark.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-focus) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-focus) 75%)}.t-wrapper.t-wrapper_gray.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-05) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-05) 75%)}tui-root._mobile[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:auto}.t-content[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;padding:1.5rem;box-sizing:border-box;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1rem}.t-form[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:flex-start}.t-input-wrapper[_ngcontent-%COMP%]{width:100%;margin-bottom:.5rem}.t-expand[_ngcontent-%COMP%]{width:100%}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}.t-icon_rotated[_ngcontent-%COMP%]{transform:rotate(180deg)}.t-value[_ngcontent-%COMP%]{flex:1;background:var(--tui-clear-inverse);padding:.75rem;border-radius:.25rem}.t-mode[_ngcontent-%COMP%]{width:12.5rem}.t-select[_ngcontent-%COMP%]{max-width:15rem}.t-resizer[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-dropdown);position:relative;width:3.5rem;min-height:inherit;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-left:1px solid var(--tui-base-03);outline:none;background:var(--tui-base-01);color:var(--tui-text-01)}.t-resizer[_ngcontent-%COMP%]:before, .t-resizer[_ngcontent-%COMP%]:after{content:"";position:absolute;top:.75rem;left:50%;bottom:calc(50% + 1rem);width:1px;background:var(--tui-base-04);box-shadow:-.25rem 0 var(--tui-base-04);transform:translate(0)}.t-resizer[_ngcontent-%COMP%]:after{bottom:.75rem;top:calc(50% + 1rem)}tui-root._mobile[_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%]{display:none}.t-resizer-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);position:relative;z-index:1;padding:.75rem;background:var(--tui-base-01)}.wrapper_light[_ngcontent-%COMP%] .t-resizer-text[_ngcontent-%COMP%]{background:#3e464e}.t-group[_ngcontent-%COMP%], .t-checkbox[_ngcontent-%COMP%]{margin-left:.75rem}.t-button[_ngcontent-%COMP%], .t-form-controls[_ngcontent-%COMP%]{margin-top:.75rem}@supports ((position: -webkit-sticky) or (position: sticky)){@media screen and (min-height: 37.5rem){._sticky[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:4.625rem;z-index:2}}}'],changeDetection:0}),(0,So.gn)([Ui.UM],u.prototype,"updateUrl",null),u})(),Tu=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,ft.UX,ft.u5,wn.Bz,Ve.j,Ae.fN,ge,Ge,ze.n6,je.Q,R.z,br,ss.s,se.EI,E,q.pc,be.cn,S.go,er]]}),u})(),Ll=(()=>{class u{constructor(r,f,L,me,jt,Fn){this.template=r,this.locationRef=f,this.activatedRoute=L,this.urlSerializer=me,this.urlStateHandler=jt,this.alerts=Fn,this.documentationPropertyName="",this.documentationPropertyMode=null,this.documentationPropertyType="",this.documentationPropertyDeprecated=!1,this.documentationPropertyValues=null,this.documentationPropertyValueChange=new e.vpe,this.changed$=new F.x,this.emits$=new z.X(1)}ngOnInit(){this.parseParams(this.activatedRoute.snapshot.queryParams)}get attrName(){switch(this.documentationPropertyMode){case"input":return`[${this.documentationPropertyName}]`;case"output":return`(${this.documentationPropertyName})`;case"input-output":return`[(${this.documentationPropertyName})]`;default:return this.documentationPropertyName}}get hasItems(){return!!this.documentationPropertyValues}get shouldShowValues(){return"output"!==this.documentationPropertyMode}ngOnChanges(){this.changed$.next()}onValueChange(r){this.documentationPropertyValue=r,this.documentationPropertyValueChange.emit(r),this.setQueryParam(r)}emitEvent(r){let f;console.info(this.attrName,r),this.emits$.next(this.emits$.value+1),void 0!==r&&(f=(0,k.sj)(r,2)),this.alerts.open(f,{label:this.attrName}).subscribe()}parseParams(r){const f=r[this.documentationPropertyName],L=r[`${this.documentationPropertyName}$`];if(!f&&!L)return;let me=L&&this.documentationPropertyValues?this.documentationPropertyValues[L]:(0,k.p8)(f);"string"===this.documentationPropertyType&&(0,Qt.dt)(me)&&(me=me.toString()),this.onValueChange(me)}setQueryParam(r){const f=this.urlSerializer.parse(this.locationRef.path()),L=r instanceof Object,me=L&&this.documentationPropertyValues?this.documentationPropertyValues.indexOf(r):r,Fn=this.documentationPropertyName+(L?"$":"");f.queryParams=Object.assign(Object.assign({},f.queryParams),{[Fn]:me}),this.locationRef.go(this.urlStateHandler(f))}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.Rgc),e.Y36(Oe.Ye),e.Y36(wn.gz),e.Y36(wn.Hx),e.Y36(s.Ii),e.Y36(Bt))},u.\u0275dir=e.lG2({type:u,selectors:[["ng-template","documentationPropertyName",""]],inputs:{documentationPropertyName:"documentationPropertyName",documentationPropertyMode:"documentationPropertyMode",documentationPropertyType:"documentationPropertyType",documentationPropertyValue:"documentationPropertyValue",documentationPropertyDeprecated:"documentationPropertyDeprecated",documentationPropertyValues:"documentationPropertyValues"},outputs:{documentationPropertyValueChange:"documentationPropertyValueChange"},exportAs:["documentationProperty"],features:[e.TTD]}),u})(),Eu=(()=>{class u{transform(r){return 4===r.length?r.split("").reduce((L,me)=>[...L,me,me],[]).join("").replace("#",""):r.startsWith("#")?r:"transparent"===r?"#000000":function ir(u,b,r){return`#${[u,b,r].map(f=>f.toString(16).padStart(2,"0")).join("")}`}(...r.replace("rgb(","").replace("rgba(","").replace(")","").replace(" ","").split(",").map(L=>Number.parseInt(L,10)))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiGetColorPipe",type:u,pure:!0}),u})(),Ou=(()=>{class u{transform(r){if(r.startsWith("#")||r.startsWith("rgb("))return 100;if("transparent"===r)return 0;const f=r.lastIndexOf(","),L=r.slice(f).replace(")","").replace(" ","").replace(",","");return Math.round(100*Number.parseFloat(L))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiGetOpacity",type:u,pure:!0}),u})(),Rd=(()=>{class u{constructor(r,f){this.renderer=r,this.focusable=f}set tuiInputOpacity(r){const{nativeFocusableElement:f}=this.focusable;f&&this.renderer.setStyle(f,"opacity",r/100)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.Qsj),e.Y36(Xt.KZ))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiInputOpacity",""]],inputs:{tuiInputOpacity:"tuiInputOpacity"}}),u})(),Nl=(()=>{class u{transform(r){return r.replace("?","")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiStripOptionalPipe",type:u,pure:!0}),u})(),Oa=(()=>{class u{transform(r){return r.includes("?")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiIsOptionalPipe",type:u,pure:!0}),u})(),Fl=(()=>{class u{constructor(r,f){this.parser=r,this.linkHandler=f}transform(r){return this.parser(r).map(({type:f,extracted:L})=>{var me,jt;return{type:f,extracted:L,reference:null!==(jt=null===(me=this.linkHandler)||void 0===me?void 0:me.call(this,L))&&void 0!==jt?jt:null}}).sort((f,L)=>{var me,jt,Fn;return null!==(Fn=null===(me=L.reference)||void 0===me?void 0:me.localeCompare(null!==(jt=f.reference)&&void 0!==jt?jt:""))&&void 0!==Fn?Fn:-1})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.B$,16),e.Y36(s.x9,16))},u.\u0275pipe=e.Yjl({name:"tuiDocTypeReference",type:u,pure:!0}),u})(),xu=(()=>{class u{transform(r){return r.includes("null")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiShowCleanerPipe",type:u,pure:!0}),u})(),Ld=(()=>{class u{constructor(r){this.isE2E=r}transform(r,f=2){return this.isE2E&&"function"==typeof r?"\u03bb(x) => y":(0,k.sj)(r,f)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Xt.oD,16))},u.\u0275pipe=e.Yjl({name:"tuiInspectAny",type:u,pure:!0}),u})(),Oo=(()=>{class u{transform(r){return(0,Qt.Aj)(r)||(0,Qt.dt)(r)}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiIsPrimitivePolymorpheusContentPipe",type:u,pure:!0}),u})(),Bl=(()=>{class u{constructor(r,f,L,me,jt,Fn){this.cdr=r,this.texts=f,this.excludedProperties=L,this.destroy$=me,this.getColor=jt,this.getOpacity=Fn,this.heading="",this.showValues=!0,this.isAPI=!1,this.propertiesConnectors=ee.Mm,this.activeItemIndex=0,this.matcher=(Zn,qn)=>!qn.has(Zn.documentationPropertyName)}ngAfterContentInit(){(0,ui.ll)(this.propertiesConnectors).pipe((0,pe.w)(r=>(0,W.T)(...r.map(({changed$:f})=>f))),(0,ui.NA)(this.cdr),(0,Y.R)(this.destroy$)).subscribe()}get type(){return this.isAPI?this.texts[0]:this.texts[1]}onColorChange(r,f){const L=this.getOpacity.transform(r.documentationPropertyValue||"");if(100===L)return void r.onValueChange(f);const jt=`rgba(${_r(f).join(", ")}, ${L/100})`;r.onValueChange(jt)}onOpacityChange(r,f){const jt=`rgba(${_r(this.getColor.transform(r.documentationPropertyValue||""))}, ${(f||0)/100})`;r.onValueChange(jt)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.sBO),e.Y36(s.IK),e.Y36(s.et),e.Y36(Dt.a3,2),e.Y36(Eu),e.Y36(Ou))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-documentation"]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,Ll,4),2&r){let me;e.iGM(me=e.CRH())&&(f.propertiesConnectors=me)}},inputs:{heading:"heading",showValues:"showValues",isAPI:"isAPI"},features:[e._Bn([Eu,Ou,Dt.a3])],ngContentSelectors:ys,decls:4,vars:6,consts:[["class","t-heading",4,"ngIf"],[4,"ngIf"],[1,"t-heading"],["class","t-table",4,"ngIf"],[1,"t-table"],[1,"t-row","t-row_header"],[1,"t-th","t-cell","t-cell_prop"],[1,"t-th"],["class","t-th t-cell t-th_value",4,"ngIf"],["class","t-row",3,"t-deprecated",4,"ngFor","ngForOf"],[1,"t-th","t-cell","t-th_value"],[1,"t-row"],[1,"t-cell"],["automation-id","tui-documentation__property-name",1,"t-property","t-additional-info"],[1,"t-property-code"],["size","s","status","neutral","value","Optional",4,"ngIf"],["size","s","status","error","value","Deprecated",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"type"],[1,"t-code-type"],[4,"ngFor","ngForOf"],["class","t-cell t-cell_value",4,"ngIf"],["size","s","status","neutral","value","Optional"],["size","s","status","error","value","Deprecated"],["target","_blank","class","t-code-reference",4,"ngIf","ngIfElse"],["default",""],["target","_blank",1,"t-code-reference"],[1,"t-cell","t-cell_value"],[4,"ngIf","ngIfElse"],["elseEmitter",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange",4,"ngIf","ngIfElse"],["selectContent",""],["noItems",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange"],[1,"t-exception"],[3,"itemContent","items",4,"tuiDataList"],[3,"itemContent","items"],[3,"ngSwitch"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngSwitchCase"],["tuiGroup","",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange"],["tuiGroup",""],["tuiTextfieldSize","m",3,"tuiInputOpacity","tuiTextfieldLabelOutside","value","valueChange"],["tuiTextfield","","type","text"],["tuiTextfieldSize","m",3,"max","min","ngModel","step","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngIf"],[1,"t-output"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,Qc,2,1,"h1",0),e.Hsn(1),e.YNc(2,bl,2,1,"ng-container",1),e.ALo(3,"tuiFilter")),2&r&&(e.Q6J("ngIf",f.heading),e.xp6(2),e.Q6J("ngIf",e.Dn7(3,2,f.propertiesConnectors,f.matcher,f.excludedProperties)))},dependencies:[Bo,J,T,ma,N.yc,N.MB,hi,Se.L,Oe.O5,Oe.sg,Oe.tP,P,et.Ek,be.sz,ft.JJ,ft.On,be.be,be.xT,q.gX,Oe.RF,Oe.n9,N.B1,ze.gZ,Rd,oi,Vr,Nl,Oa,Fl,xu,Ld,Ou,Eu,Oo,Oe.Ov],styles:['[_nghost-%COMP%]{display:block;min-width:100%}.t-table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}.t-row[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--tui-base-03)}tui-root._mobile[_nghost-%COMP%] .t-row[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}tui-root._mobile[_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%]{display:none}.t-cell[_ngcontent-%COMP%]{padding:1rem 1rem .875rem}.t-cell[_ngcontent-%COMP%]:first-child{padding-left:0}.t-cell[_ngcontent-%COMP%]:last-child{padding-right:0}.t-cell_prop[_ngcontent-%COMP%]{width:40%}.t-cell_value[_ngcontent-%COMP%]{text-align:right}tui-root._mobile[_nghost-%COMP%] .t-cell[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-cell[_ngcontent-%COMP%]{width:100%;height:auto;padding:.5rem 0;text-align:left}.t-th[_ngcontent-%COMP%]{padding:.5rem 1rem;color:var(--tui-text-02);font-weight:normal;text-align:left}.t-th_value[_ngcontent-%COMP%]{max-width:20rem;text-align:right}tui-root._mobile[_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%]{width:9.375rem}.t-property[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-bottom:.25rem;font-family:monospace;color:#8f75d1}tui-root._mobile[_nghost-%COMP%] .t-property[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-property[_ngcontent-%COMP%]{padding:.5rem 0}.t-type[_ngcontent-%COMP%]{font-family:monospace}.t-deprecated[_ngcontent-%COMP%] .t-property-code[_ngcontent-%COMP%]{text-decoration:line-through}.t-deprecated-label[_ngcontent-%COMP%]{margin-right:.125rem;color:var(--tui-error-fill);font-size:.75rem}.t-additional-info[_ngcontent-%COMP%]{display:flex;grid-gap:.3125rem;gap:.3125rem;align-items:center}.t-exception[_ngcontent-%COMP%]{display:block;width:-webkit-max-content;width:max-content}.t-output[_ngcontent-%COMP%]{text-align:left;opacity:0}.t-heading[_ngcontent-%COMP%]{font:var(--tui-font-heading-4)}.t-code-type[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start}.t-code-reference[_ngcontent-%COMP%]{display:inline-flex;color:var(--tui-link);text-decoration:none;align-items:center;justify-content:center;grid-gap:3px;gap:3px}.t-code-reference[_ngcontent-%COMP%]:after{content:"";font-size:1rem;width:1rem;height:1rem;background:currentColor;-webkit-mask:url(\'data:image/svg+xml,\') center / 100%;mask:url(\'data:image/svg+xml,\') center / 100%}'],data:{animation:[(0,Rt.X$)("emitEvent",[(0,Rt.eR)(":increment",[(0,Rt.oB)({opacity:1}),(0,Rt.jt)("500ms ease-in")])])]},changeDetection:0}),u})(),Nd=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})(),wu=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,ft.u5,wn.Bz,Gs,ge,us,Ve.j,Fi,R.z,ze.n6,Nd,N.KW,be.cn,et.dp,q.pc,E,Se.H,To]]}),u})();const Pu={codeEditorVisibilityHandler:u=>Boolean(u.TypeScript&&u.HTML),tabTitles:new Map,fullsize:!0,linkIcon:"tuiIconLink"},Ul=(0,Qt.JN)(Pu);function Fd(u){return(0,Qt.vK)(Ul,u,Pu)}let Bd=(()=>{class u{transform(r,f){return[f,...Object.keys(r)]}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiDocExampleGetTabs",type:u,pure:!0}),u})(),Ud=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,qn,po,Cr,Dr,Qo,Bs){this.clipboard=r,this.alerts=f,this.location=L,this.copyTexts$=me,this.texts=jt,this.codeEditor=Fn,this.processContent=Zn,this.isE2E=qn,this.codeActions=po,this.router=Cr,this.route=Dr,this.ngLocation=Qo,this.options=Bs,this.rawLoader$$=new z.X({}),this.id=null,this.fullsize=this.options.fullsize,this.componentName=this.location.pathname.slice(1),this.defaultTabIndex=0,this.defaultTab=this.texts[this.defaultTabIndex],this.activeItemIndex=this.defaultTabIndex,this.copy$=this.copyTexts$.pipe((0,ce.U)(([is])=>is)),this.processor$=this.rawLoader$$.pipe((0,pe.w)(k.vP),(0,ce.U)(is=>this.processContent(is))),this.loading$=new F.x,this.visible=is=>Boolean(this.codeEditor&&this.options.codeEditorVisibilityHandler(is))}set content(r){this.rawLoader$$.next(r)}getTabTitle(r){return this.options.tabTitles.get(r)||r}copyExampleLink(){const r=this.location.href.indexOf("#"),L=`${r>-1?this.location.href.slice(0,Math.max(0,r)):this.location.href}#${this.id}`;this.setFragmentWithoutRedirect(this.id),this.clipboard.copy(L),this.alerts.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}edit(r){var f;this.loading$.next(!0),null===(f=this.codeEditor)||void 0===f||f.edit(this.componentName,this.id||"",r).then(()=>this.loading$.next(!1)).catch(()=>this.loading$.next(!1))}setFragmentWithoutRedirect(r){const f=this.router.createUrlTree([],{relativeTo:this.route,fragment:r||""}).toString();this.ngLocation.go(f)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Co),e.Y36(Bt),e.Y36(Ut.Ct),e.Y36(ko.UV),e.Y36(s.mv),e.Y36(s.lW,8),e.Y36(s.$_),e.Y36(Xt.oD),e.Y36(s.mT),e.Y36(wn.F0),e.Y36(wn.gz),e.Y36(Oe.Ye),e.Y36(Ul))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-example"]],hostVars:2,hostBindings:function(r,f){2&r&&e.ekj("_fullsize",f.fullsize)},inputs:{id:"id",heading:"heading",description:"description",content:"content",fullsize:"fullsize",componentName:"componentName"},ngContentSelectors:ys,decls:8,vars:5,consts:[["class","t-title",4,"ngIf"],["class","t-description",4,"ngIf"],["class","t-example",4,"ngIf"],["preview",""],["codeSection",""],[1,"t-title"],[3,"textContent",4,"polymorpheusOutlet"],["appearance","icon","size","xs","tuiIconButton","","type","button","class","t-link-icon",3,"icon","title","click",4,"ngIf"],[3,"textContent"],["appearance","icon","size","xs","tuiIconButton","","type","button",1,"t-link-icon",3,"icon","title","click"],[1,"t-description"],[4,"polymorpheusOutlet"],[1,"t-example"],[4,"ngIf"],["class","t-tabs-wrapper",4,"ngIf"],["class","t-content",3,"t-content_animated","t-content_visible",4,"ngFor","ngForOf"],[1,"t-tabs-wrapper"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngFor","ngForOf"],["size","xs",3,"overlay","showLoader","click",4,"ngIf"],["tuiTab","",4,"tuiItem"],["tuiTab",""],["size","xs",3,"overlay","showLoader","click"],[4,"ngIf","ngIfElse"],["defaultEditContent",""],["appearance","flat","size","s","tuiButton","","type","button"],[1,"t-content"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["anotherTab",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["automation-id","tui-doc-example",1,"t-demo"],[3,"code"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,Dl,3,2,"h3",0),e.YNc(1,Th,2,1,"h4",1),e.YNc(2,aa,3,4,"div",2),e.ALo(3,"async"),e.YNc(4,dd,2,0,"ng-template",null,3,e.W1O),e.YNc(6,hd,2,2,"ng-template",null,4,e.W1O)),2&r&&(e.Q6J("ngIf",f.heading),e.xp6(1),e.Q6J("ngIf",f.description),e.xp6(1),e.Q6J("ngIf",e.lcZ(3,3,f.processor$)))},dependencies:[Ae.v0,qu,ns,$e.kM,bu,Oe.O5,Le.Li,Oe.sg,jo,Oe.tP,Oe.Ov,Bd,Pt],styles:["[_nghost-%COMP%]{position:relative;display:block;padding-top:3.5rem;clear:right}[_nghost-%COMP%]:target{animation:1s .3s tuiShaking}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{padding-top:2rem}.t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-5);margin:0 0 .5rem}tui-root._mobile[_nghost-%COMP%] .t-title[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-6)}.t-description[_ngcontent-%COMP%]{font:var(--tui-font-text-m);font-weight:normal;margin:0}.t-title[_ngcontent-%COMP%]:first-letter, .t-description[_ngcontent-%COMP%]:first-letter{text-transform:capitalize}.t-example[_ngcontent-%COMP%]{position:relative;margin-top:1.5rem;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem #0000001a;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-example[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-example[_ngcontent-%COMP%]{margin-top:.75rem}.t-tabs-wrapper[_ngcontent-%COMP%]{display:flex;padding:0 .875rem 0 2rem;box-shadow:inset 0 -1px var(--tui-base-03);justify-content:space-between;align-items:center}tui-root._mobile[_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%]{padding:0 .875rem 0 1rem}.t-tabs[_ngcontent-%COMP%]{flex-grow:1}.t-demo[_ngcontent-%COMP%]{padding:2rem;max-width:100%;box-sizing:border-box;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar, .t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .t-demo[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-demo[_ngcontent-%COMP%]{padding:1rem}[_nghost-%COMP%]:not(._fullsize) .t-demo[_ngcontent-%COMP%]{width:-webkit-min-content;width:min-content;min-width:20rem}.t-link-icon[_ngcontent-%COMP%]{margin-left:.3rem;vertical-align:baseline}.t-content[_ngcontent-%COMP%]{will-change:opacity;height:0;visibility:hidden;opacity:0}.t-content_animated[_ngcontent-%COMP%]{transition:opacity .3s ease-in-out}.t-content_visible[_ngcontent-%COMP%]{height:auto;visibility:visible;opacity:1}"],changeDetection:0}),u})(),Hl=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Do,Is,Ae.fN,Oh,Cu,Le.wq,an,$e.dS]]}),u})();function Hd(u){return u.map(({section:b})=>b).filter(Qt.Pc).filter((b,r,f)=>f.indexOf(b)===r)}const zd=new e.OlP("[NAVIGATION_TITLE]"),Js=new e.OlP("[NAVIGATION_LABELS]"),xa=new e.OlP("[NAVIGATION_ITEMS]"),Au=[Dt.a3,{provide:zd,deps:[wn.F0,wn.gz,s.Yx,Dt.a3],useFactory:(u,b,r,f)=>u.events.pipe((0,_e.h)(L=>L instanceof wn.m2),(0,ce.U)(()=>b.firstChild),(0,_e.h)(Qt.Pc),(0,ue.z)(({data:L})=>L),(0,ce.U)(({title:L})=>`${r}${L}`),(0,Y.R)(f))},{provide:Js,deps:[s.V5],useFactory:Hd},{provide:xa,deps:[s.V5],useFactory:u=>[...Hd(u).map(r=>u.filter(({section:f})=>f===r)),u.filter(r=>!r.section)]}];let Su=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,qn,po,Cr,Dr,Qo,Bs,is,jd){this.title$=L,this.mode=me,this.sidebar=jt,this.labels=Fn,this.items=Zn,this.searchText=qn,this.router=po,this.activatedRoute=Cr,this.destroy$=Dr,this.readyToScroll$=Qo,this.docIcons=Bs,this.icons=is,this.doc=jd,this.menuOpen=!1,this.openPagesArr=[],this.openPagesGroupsArr=[],this.active="",this.search=new ft.NI(""),this.filtered$=(0,ui.EK)(this.search).pipe((0,_e.h)(Kr=>Kr.trim().length>2),(0,ce.U)(Kr=>this.filterItems(this.flattenSubPages(this.items),Kr))),this.mode$=this.mode.change$.pipe((0,de.O)(null),(0,ce.U)(()=>this.mode.mode||"onLight")),L.subscribe(Kr=>{r.markForCheck(),f.setTitle(Kr),this.openActivePageGroup()}),(0,te.a)([this.router.events.pipe((0,_e.h)(Kr=>Kr instanceof wn.Xs)),this.title$.pipe((0,pe.w)(()=>this.readyToScroll$.pipe((0,_e.h)(Boolean))))]).pipe((0,ie.q)(1),(0,ce.U)(([Kr])=>Kr.anchor||""),(0,_e.h)(Boolean),(0,Y.R)(this.destroy$)).subscribe(Kr=>this.navigateToAnchorLink(Kr))}get canOpen(){var r,f;return(null!==(f=null===(r=this.search.value)||void 0===r?void 0:r.length)&&void 0!==f?f:0)>2}get itemsWithoutSections(){return this.items[this.items.length-1]}$pages(r){return r}isActive(r){return r===this.active}onGroupClick(r){this.openPagesGroupsArr[r]=!this.openPagesGroupsArr[r]}closeMenu(){this.menuOpen=!1}onClick(r){r.open=!1,this.menuOpen=!1,this.search.setValue(""),this.openActivePageGroup()}filterItems(r,f){return r.map(L=>(0,Qt.pf)(L.filter(({title:me,keywords:jt=""})=>(f=f.toLowerCase().trim(),jt=jt.toLowerCase(),(me=me.toLowerCase()).includes(f)||jt.includes(f)||me.includes((0,k.OO)(f))||jt.includes((0,k.OO)(f))||f.replace(/-/gi,"").includes(me)||me.includes(f.replace(/\s|tui/g,""))||jt.includes(f.replace(/\s|tui/g,""))||f.split(/\s/).find(Fn=>me.includes(Fn)))),"title"))}flattenSubPages(r){return r.reduce((f,L)=>[...f,L.reduce((me,jt)=>"subPages"in jt?[...me,...jt.subPages]:[...me,jt],[])],[])}isActiveRoute(r){return this.router.isActive(r,{paths:"subset",queryParams:"subset",fragment:"ignored",matrixParams:"ignored"})}openActivePageGroup(){this.items.forEach((r,f)=>{r.forEach((L,me)=>{"route"in L&&this.isActiveRoute(L.route)&&(this.openPagesArr[f]=!0,this.active=L.route),"subPages"in L&&L.subPages.forEach(jt=>{this.isActiveRoute(jt.route)&&(this.openPagesArr[f]=!0,this.openPagesGroupsArr[100*f+me]=!0,this.active=jt.route)})})})}navigateToAnchorLink(r){const f=r?this.doc.querySelectorAll(`#${r}`):[];if(!f.length||!f[f.length-1])return;const me=this.doc.createElement("a");me.href=`${this.doc.location.pathname}#${r}`,me.style.display="none",me.style.position="absolute",this.doc.body.appendChild(me),me.click(),me.remove()}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.sBO),e.Y36(Zt.Dx),e.Y36(zd),e.Y36(R.w),e.Y36(Yr,8),e.Y36(Js),e.Y36(xa),e.Y36(s.EI),e.Y36(wn.F0),e.Y36(wn.gz),e.Y36(Dt.a3,2),e.Y36(s.V1),e.Y36(s.oq),e.Y36(st.Gs),e.Y36(Oe.K0))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-navigation"]],hostVars:2,hostBindings:function(r,f){2&r&&e.ekj("_open",f.menuOpen)},features:[e._Bn(Au)],ngContentSelectors:ys,decls:14,vars:14,consts:[["tuiTextfieldSize","m",1,"t-input",3,"formControl","tuiAutoFocus","tuiTextfieldCleaner","tuiTextfieldIconLeft","tuiTextfieldLabelOutside"],["input",""],[4,"ngIf"],[1,"t-navigation"],[1,"t-scrollbar",3,"tuiMode"],[3,"closeOthers","rounded"],["size","s",3,"borders","open","openChange",4,"ngFor","ngForOf"],[1,"t-items-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngFor","ngForOf"],["pages",""],[4,"tuiDataList"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["tuiOption","",3,"fragment","routerLink","click",4,"ngFor","ngForOf"],["tuiOption","",3,"fragment","routerLink","click"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],["size","s",3,"borders","open","openChange"],[1,"t-label"],["tuiAccordionItemContent",""],[1,"t-section"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink",3,"routerLink","tuiScrollIntoViewLink","click",4,"ngIf","ngIfElse"],["subPagesTemplate",""],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink",3,"routerLink","tuiScrollIntoViewLink","click"],["routerLinkActive","",1,"t-subsection",3,"routerLinkActiveOptions"],["tuiLink","","type","button","class","t-sublink t-sublink_subsection",3,"click",4,"ngIf"],[1,"t-expand",3,"expanded"],[1,"t-section","t-section_bordered"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click",4,"ngFor","ngForOf"],["tuiLink","","type","button",1,"t-sublink","t-sublink_subsection",3,"click"],[1,"t-chevron",3,"src"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink","t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click"]],template:function(r,f){1&r&&(e.F$t(),e.TgZ(0,"tui-input",0,1),e._uU(2),e.YNc(3,_u,2,0,"ng-container",2),e.qZA(),e.TgZ(4,"nav",3)(5,"tui-scrollbar",4),e.ALo(6,"async"),e.TgZ(7,"tui-accordion",5),e.YNc(8,Mh,5,3,"tui-accordion-item",6),e.qZA(),e.TgZ(9,"div",7),e.YNc(10,_d,1,5,"ng-container",8),e.qZA(),e.YNc(11,Ns,3,2,"ng-template",null,9,e.W1O),e.qZA()(),e.Hsn(13)),2&r&&(e.Q6J("formControl",f.search)("tuiAutoFocus",!!f.sidebar)("tuiTextfieldCleaner",!0)("tuiTextfieldIconLeft",f.docIcons.search)("tuiTextfieldLabelOutside",!0),e.xp6(2),e.hij(" ",f.searchText," "),e.xp6(1),e.Q6J("ngIf",f.canOpen),e.xp6(2),e.Q6J("tuiMode",e.lcZ(6,12,f.mode$)),e.xp6(2),e.Q6J("closeOthers",!1)("rounded",!1),e.xp6(1),e.Q6J("ngForOf",f.labels),e.xp6(2),e.Q6J("ngForOf",f.itemsWithoutSections))},dependencies:[ks.K3,q.qi,q.vK,se.PN,pt.IB,Lc,Rc,Ve.V,qe,ks.wU,be.sz,ft.JJ,ft.oH,no,be.be,be.aR,be.xT,Oe.O5,q.gX,Oe.sg,q.Rs,wn.yS,Le.Li,R.w,kc,Oe.tP,wn.Od,zc,Oe.Ov],styles:["[_nghost-%COMP%]{z-index:1;display:flex;flex-direction:column;text-align:center;background:var(--tui-base-01)}.t-input[_ngcontent-%COMP%]{margin:1.25rem}.t-navigation[_ngcontent-%COMP%]{display:flex;max-height:100%;min-height:0;flex:1 1 0;text-align:left}.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:smooth;width:100%}tui-root._reduced-motion[_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%], tui-root._reduced-motion [_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:auto}.t-items-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 1rem}.t-label[_ngcontent-%COMP%]{margin-left:.5rem}.t-expand[_ngcontent-%COMP%]{margin-left:.25rem}.t-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;margin:-1rem 0 -.5rem}.t-section_bordered[_ngcontent-%COMP%]{margin:.5rem 0;border-left:1px solid var(--tui-base-03)}.t-subsection[_ngcontent-%COMP%]{margin-left:.5rem}.t-sublink[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:1rem 0 0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-m);margin-left:.5rem}.t-sublink_small[_ngcontent-%COMP%]{margin-left:1rem;line-height:1.5rem;padding-top:.5rem}.t-sublink_subsection[_ngcontent-%COMP%]{margin-left:0;line-height:1.6rem}.t-sublink.t-sublink.t-sublink_active[_ngcontent-%COMP%]{color:var(--tui-text-01)}.t-icon[_ngcontent-%COMP%]{margin-left:.5rem}.t-chevron[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1rem;height:1rem;margin:-.25rem .25rem 0 -.1875rem}.t-chevron_active[_ngcontent-%COMP%]{transform:rotate(90deg)}"],changeDetection:0}),(0,So.gn)([Ui.UM],u.prototype,"filterItems",null),(0,So.gn)([Ui.UM],u.prototype,"flattenSubPages",null),u})(),zl=(()=>{class u{constructor(r,f,L,me,jt){this.icons=r,this.logo=f,this.menu=L,this.router=me,this.swipes$=jt,this.stream$=new F.x,this.open$=(0,W.T)(this.router.events.pipe((0,ce.U)(ee.Iy)),this.stream$,this.swipes$.pipe((0,_e.h)(Fn=>"left"===Fn.direction||"right"===Fn.direction),(0,ce.U)(Fn=>"right"===Fn.direction))).pipe((0,de.O)(!1),(0,Ue.x)())}onClick(){this.stream$.next(!0)}onActiveZone(r){r||this.stream$.next(!1)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.oq),e.Y36(s.Or),e.Y36(s.gG),e.Y36(wn.F0),e.Y36(Dt.$D))},u.\u0275cmp=e.Xpm({type:u,selectors:[["header","tuiDocHeader",""]],attrs:yd,ngContentSelectors:ys,decls:6,vars:6,consts:[["appearance","icon","tuiIconButton","","type","button",1,"t-menu",3,"icon","title","click","tuiActiveZoneChange"],["class","t-navigation",4,"tuiSidebar"],[1,"t-logo"],["alt","Logo","class","t-img",3,"src",4,"polymorpheusOutlet"],[1,"t-navigation"],["alt","Logo",1,"t-img",3,"src"]],template:function(r,f){1&r&&(e.F$t(),e.TgZ(0,"button",0),e.NdJ("click",function(){return f.onClick()})("tuiActiveZoneChange",function(me){return f.onActiveZone(me)}),e.YNc(1,bd,1,0,"tui-doc-navigation",1),e.ALo(2,"async"),e.qZA(),e.TgZ(3,"div",2),e.YNc(4,Cd,1,1,"img",3),e.qZA(),e.Hsn(5)),2&r&&(e.Q6J("icon",f.icons.menu)("title",f.menu),e.xp6(1),e.Q6J("tuiSidebar",!!e.lcZ(2,4,f.open$)),e.xp6(3),e.Q6J("polymorpheusOutlet",f.logo))},dependencies:[Ae.v0,Su,Jt.e,Yr,Le.Li,Oe.Ov],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;right:0;z-index:1;display:flex;box-shadow:var(--tui-shadow-navigation);height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-base-01);border-bottom:1px solid var(--tui-base-03)}@supports (background: color-mix(in srgb,var(--tui-base-01),transparent 50%)){[_nghost-%COMP%]{background:color-mix(in srgb,var(--tui-base-01),transparent 50%);-webkit-backdrop-filter:blur(1.25rem);backdrop-filter:blur(1.25rem)}}.t-logo[_ngcontent-%COMP%]{margin-right:auto;font:var(--tui-font-heading-5)}.t-img[_ngcontent-%COMP%]{display:block}.t-menu[_ngcontent-%COMP%]{margin-left:-1.25rem}@media screen and (min-width: 48em){.t-menu[_ngcontent-%COMP%]{display:none}}.t-navigation[_ngcontent-%COMP%]{min-height:100%}"],changeDetection:0}),u})(),Vl=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,ft.UX,wn.Bz,Le.wq,al,Ae.fN,ks.Qf,be.cn,Jt.A,Xe.WD,R.z,Ve.j,Ge,en.jh,et.dp,Nc,pt.Jy,se.EI,q.pc,qo]]}),u})(),Vd=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,Ae.fN,Hc,Jt.A,Vl]]}),u})(),jl=(()=>{class u{constructor(r,f){this.text=r,this.pages=f,this.seeAlso=[]}getRouterLink(r){var f,L;return null!==(L=null===(f=this.pages.get(r))||void 0===f?void 0:f.route)&&void 0!==L?L:""}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.VX),e.Y36(s._Z))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-see-also"]],inputs:{seeAlso:"seeAlso"},decls:3,vars:2,consts:[[1,"t-header"],[4,"ngFor","ngForOf"],["tuiLink","",3,"innerText","routerLink"],[4,"ngIf"]],template:function(r,f){1&r&&(e.TgZ(0,"h5",0),e._uU(1),e.qZA(),e.YNc(2,Td,3,3,"ng-container",1)),2&r&&(e.xp6(1),e.Oqu(f.text),e.xp6(1),e.Q6J("ngForOf",f.seeAlso))},dependencies:[Ve.V,Oe.sg,wn.yS,Oe.O5],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font-size:.6875rem;line-height:1rem;text-transform:uppercase;letter-spacing:.075em;color:var(--tui-text-02);margin:0 0 .5rem;white-space:nowrap}"],changeDetection:0}),u})(),$l=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,wn.Bz,Ve.j]]}),u})(),Iu=(()=>{class u{constructor(r,f,L){this.icons=r,this.sourceCode=f,this.text=L,this.header="",this.package="",this.type="",this.path=""}get pathOptions(){return this.getPathOptions(this.header,this.package,this.type,this.path)}pathIsUrl(r){return r.startsWith("http")}getPathOptions(r,f,L,me){return{header:r,package:f,type:L,path:me}}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.oq),e.Y36(s.yO),e.Y36(s.as))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-source-code"]],inputs:{header:"header",package:"package",type:"type",path:"path"},decls:1,vars:2,consts:[["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title"]],template:function(r,f){1&r&&e.YNc(0,ls,1,3,"a",0),2&r&&e.Q6J("polymorpheusOutlet",f.pathIsUrl(f.path)?f.path:f.sourceCode)("polymorpheusOutletContext",f.pathOptions)},dependencies:[Ae.v0,Le.Li],encapsulation:2,changeDetection:0}),(0,So.gn)([Ui.UM],u.prototype,"pathIsUrl",null),(0,So.gn)([Ui.UM],u.prototype,"getPathOptions",null),u})(),wh=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,Ae.fN]]}),u})(),ku=(()=>{class u{constructor(r,f,L){this.icons=r,this.theme=f,this.night=L,this.change$=this.night,this.night$=this.change$.pipe((0,de.O)(null),(0,ce.U)(()=>this.night.value),(0,Ue.x)(),(0,ve.B)())}get mode(){return this.night.value?"onDark":null}get icon(){return this.night.value?this.icons.day:this.icons.night}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.oq),e.Y36($c),e.Y36(iu))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-main"]],hostVars:1,hostBindings:function(r,f){2&r&&e.uIk("data-mode",f.mode)},features:[e._Bn([{provide:R.w,useExisting:(0,e.Gpc)(()=>u)},Dt.$D])],ngContentSelectors:Od,decls:21,vars:4,consts:[[4,"ngIf"],[1,"tui-doc-page"],[1,"tui-doc-navigation"],[1,"tui-doc-content"],[1,"tui-doc-outlet"],["tuiDocHeader",""],["appearance","secondary","shape","rounded","size","s","tuiIconButton","","tuiMode","onLight","type","button",1,"tui-doc-night-mode-switch",3,"icon","click"],["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverPortals",5,["tuiOverPortals"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(r,f){1&r&&(e.F$t(Ed),e.YNc(0,Md,1,0,"tui-theme-night",0),e.ALo(1,"async"),e.TgZ(2,"tui-root")(3,"div",1)(4,"tui-doc-navigation",2),e.Hsn(5),e.qZA(),e.TgZ(6,"div",3),e._UZ(7,"router-outlet",4),e.qZA()(),e.TgZ(8,"header",5),e.Hsn(9,1),e.TgZ(10,"button",6),e.NdJ("click",function(){return f.night.toggle()}),e.qZA()(),e.ynx(11,7),e.Hsn(12,2),e.BQk(),e.ynx(13,8),e.Hsn(14,3),e.BQk(),e.ynx(15,9),e.Hsn(16,4),e.BQk(),e.ynx(17,10),e.Hsn(18,5),e.BQk(),e.ynx(19,11),e.Hsn(20,6),e.BQk(),e.qZA()),2&r&&(e.Q6J("ngIf",f.theme.isDefaultTheme&&f.night.useDefaultNightTheme&&e.lcZ(1,2,f.night$)),e.xp6(10),e.Q6J("icon",f.icon))},dependencies:[Cn,ut,Su,zl,Ae.v0,Oe.O5,wn.lC,R.w,Oe.Ov],styles:['@keyframes tuiShaking{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-.3125rem)}20%,40%,60%,80%{transform:translate(.3125rem)}}html,body{scroll-padding-top:4rem;background:var(--tui-base-01);height:auto}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}tui-doc-main{display:block}code:not(pre code):not(.hljs):not([class*="language-"]){transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:inline-flex;background:var(--tui-base-02);color:var(--tui-text-02);vertical-align:middle;align-items:center;border-radius:.25rem;font-weight:500;outline:1px solid var(--tui-base-04);font-size:.75rem;padding:0 .3125rem;margin:.125rem .1875rem;text-wrap:wrap}tui-notification code:not(pre code):not(.hljs):not([class*="language-"]){mix-blend-mode:luminosity}a code:not(pre code):not(.hljs):not([class*="language-"]){color:var(--tui-link)}button:focus code,a:focus code{background:var(--tui-base-01)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-base-03)}@media screen and (max-width: 47.9625em){tui-doc-navigation.tui-doc-navigation{display:none}}.tui-doc-content{margin-left:16.25rem}@media screen and (max-width: 47.9625em){.tui-doc-content{margin-left:0}}.tui-doc-outlet+*{display:block}.tui-doc-night-mode-switch{margin-left:1rem}.tui-doc-night-mode-switch tui-svg{color:var(--tui-text-02)}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-01);background-color:var(--tui-clear)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:normal;color:var(--tui-text-01)}tui-doc-code .hljs-property{color:var(--tui-support-14)}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-02);font-style:italic}tui-doc-code .hljs-meta{color:#e38162}tui-doc-code .hljs-section,tui-doc-code .hljs-name,tui-doc-code .hljs-literal,tui-doc-code .hljs-keyword,tui-doc-code .hljs-selector-tag,tui-doc-code .hljs-type,tui-doc-code .hljs-selector-id,tui-doc-code .hljs-selector-class{font-weight:bold;color:var(--tui-link)}tui-doc-code .hljs-attr{color:var(--tui-link)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link,tui-doc-code .hljs-built_in{font-weight:bold;color:var(--tui-support-06)}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:normal}tui-doc-code .hljs-string{color:var(--tui-positive);font-weight:bold}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-01);background:var(--tui-base-02);font-style:italic}tui-doc-code .hljs-doctag{text-decoration:underline}tui-doc-code .hljs-variable,tui-doc-code .hljs-template-variable{color:var(--tui-link-hover)}tui-doc-code [data-mode=onDark] .hljs-variable,tui-doc-code [data-mode=onDark] .hljs-template-variable{color:var(--tui-warning-fill)}tui-doc-code .hljs-addition{background:var(--tui-success-bg)}tui-doc-code .hljs-deletion{background:var(--tui-error-bg)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:bold}tui-doc-code .hljs .hljs-line-numbers{padding:0}tui-doc-code .hljs-ln-numbers{vertical-align:top;opacity:.3;text-align:right;padding-right:1em!important}\n'],encapsulation:2}),u})(),Wl=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,wn.Bz,St,Vd,He,Bi,rn,Ae.fN,R.z,Vl]]}),u})();const Ru=new e.OlP("[PAGE_SEE_ALSO]"),Fs=[{provide:Ru,deps:[e.SBq,s.UL],useFactory:({nativeElement:u},b)=>{const r=u.getAttribute("header"),f=b.filter(me=>me.includes(r))||[],L=new Set(f.join().split(",").filter(me=>me&&me!==r));return Array.from(L)}}];let Yl=(()=>{class u{constructor(r){this.template=r}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","pageTab",""]],inputs:{pageTab:"pageTab"}}),u})(),Lu=(()=>{class u{constructor(r,f){this.defaultTabs=r,this.seeAlso=f,this.header="",this.package="",this.type="",this.path="",this.deprecated=!1,this.tabConnectors=ee.Mm,this.activeItemIndex=0,this.from=/ /g,this.to="_"}get showSeeAlso(){return!!this.seeAlso.length&&0===this.activeItemIndex}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.AC),e.Y36(Ru))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-page"]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,Yl,4),2&r){let me;e.iGM(me=e.CRH())&&(f.tabConnectors=me)}},inputs:{header:"header",package:"package",type:"type",path:"path",deprecated:"deprecated"},features:[e._Bn(Fs)],ngContentSelectors:ys,decls:11,vars:10,consts:[[1,"t-header"],[1,"t-title"],["status","custom","value","deprecated","class","t-tag t-tag_deprecated",4,"ngIf"],["status","custom","class","t-tag t-tag_package",3,"autoColor","value",4,"ngIf"],["class","t-tabs",3,"activeItemIndex","activeItemIndexChange",4,"ngIf"],[1,"t-source-code",3,"header","package","path","type"],[1,"t-content"],["class","t-see-also",3,"seeAlso",4,"ngIf"],[4,"ngFor","ngForOf"],["status","custom","value","deprecated",1,"t-tag","t-tag_deprecated"],["status","custom",1,"t-tag","t-tag_package",3,"autoColor","value"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngIf"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions",4,"tuiItem"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions"],[1,"t-see-also",3,"seeAlso"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(r,f){1&r&&(e.F$t(),e.TgZ(0,"header",0)(1,"h1",1),e._uU(2),e.YNc(3,xd,1,0,"tui-tag",2),e.YNc(4,wd,1,2,"tui-tag",3),e.qZA(),e.YNc(5,Id,2,2,"tui-tabs-with-more",4),e._UZ(6,"tui-doc-source-code",5),e.qZA(),e.TgZ(7,"div",6),e.Hsn(8),e.YNc(9,Ea,1,1,"tui-doc-see-also",7),e.YNc(10,ua,2,1,"ng-container",8),e.qZA()),2&r&&(e.xp6(2),e.hij(" ",f.header," "),e.xp6(1),e.Q6J("ngIf",!!f.deprecated||""===f.deprecated),e.xp6(1),e.Q6J("ngIf",f.package),e.xp6(1),e.Q6J("ngIf",f.tabConnectors.length),e.xp6(1),e.Q6J("header",f.header)("package",f.package)("path",f.path)("type",f.type),e.xp6(3),e.Q6J("ngIf",f.showSeeAlso),e.xp6(1),e.Q6J("ngForOf",f.tabConnectors))},dependencies:[ol,qu,ns,Iu,jl,Oe.O5,Oe.sg,jo,wn.yS,wn.Od,Oe.tP,Sr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;min-height:0;flex-basis:0;flex-grow:1}.t-header[_ngcontent-%COMP%]{display:flex;font:var(--tui-font-heading-3);flex-wrap:wrap;min-height:7.25rem;color:var(--tui-text-01);box-shadow:inset 0 -1px 0 0 var(--tui-base-03);padding:3.75rem 0 0;box-sizing:border-box;flex-shrink:0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-heading-4);min-height:4.5rem;padding:1.25rem 1.25rem 0;margin:0}.t-title[_ngcontent-%COMP%]{min-width:100%;font-size:inherit;margin:0}.t-tag[_ngcontent-%COMP%]{vertical-align:middle;text-transform:uppercase;margin-right:.5rem}.t-tag_deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-fill);color:#fff}.t-tag.t-tag_package[_ngcontent-%COMP%]{color:#000}.t-tabs[_ngcontent-%COMP%]{flex:1;margin:1.125rem .3125rem 0 0}tui-root._mobile[_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%]{margin-top:.25rem}.t-content[_ngcontent-%COMP%]{padding:2rem 0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:2rem 1.25rem;margin:0}.t-see-also[_ngcontent-%COMP%]{min-width:18.75rem;width:30%;float:right;margin-left:1.5rem}tui-root._mobile[_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%]{float:none;width:100%;margin:0 0 1.5rem}.t-source-code[_ngcontent-%COMP%]{align-self:flex-end;line-height:2.75rem;margin-left:auto}"],changeDetection:0}),u})(),wa=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,wn.Bz,$l,Is,eu,wh,Tr]]}),u})()},4548:(Ht,Fe,c)=>{"use strict";c.d(Fe,{$_:()=>Ue,AC:()=>Y,B$:()=>S,EI:()=>Oe,Es:()=>ve,IK:()=>se,Ii:()=>q,Or:()=>tt,UL:()=>qe,V1:()=>we,V5:()=>mt,VX:()=>_t,Yx:()=>R,_Z:()=>At,as:()=>vt,et:()=>Ae,gG:()=>$e,lW:()=>de,mT:()=>ce,mv:()=>ee,oq:()=>ue,ru:()=>je,x9:()=>be,yO:()=>Ge});var e=c(1927),s=c(4537),k=c(2497),z=c(8330),F=c(3072),ne=c(1995),W=c(4945),te=c(1528),pe=c(6060);const ce=(0,e.JN)(""),de=new s.OlP("[TUI_DOC_CODE_EDITOR]"),Y=(0,e.JN)([]),ue=(0,e.JN)({search:"tuiIconSearch",day:"tuiIconSun",night:"tuiIconMoon",code:"tuiIconCode",menu:"tuiIconMenuLarge"}),Ue=(0,e.JN)(z.y),ve=(0,e.JN)(k.vi),Ae=(0,e.JN)(new Set([])),je=(0,e.JN)(["Read more more about modes: ","Background","Form value"]),se=(0,e.JN)(["Argument","Type","Name and description","Value","Learn about our dynamic templates from "]),ee=(0,e.JN)(["Preview","Link to a sample was successfully copied","Done"]),$e=(0,e.JN)("Menu"),Oe=(0,e.JN)("Search"),_t=(0,e.JN)("See also"),vt=(0,e.JN)("Source code"),tt=(0,e.JN)(""),we=(0,e.JN)((0,F.P)(()=>(0,ne.H)(200).pipe((0,te.w)(()=>(0,W.of)(!0))))),mt=(0,e.JN)([]),At=(0,e.N1)(()=>(0,k.S4)((0,s.f3M)(mt))),qe=((0,e.N1)(()=>(0,s.f3M)(pe.TK)?"auto":"smooth"),(0,e.JN)([])),Ge=(0,e.JN)(null),R=(0,e.JN)(""),be=(0,e.JN)(null),S=(0,e.JN)(k.TN),q=(0,e.JN)(String)},2497:(Ht,Fe,c)=>{"use strict";c.d(Fe,{p8:()=>ws,cd:()=>dr,Ve:()=>as,sj:()=>es,JQ:()=>us,vP:()=>sr,S4:()=>Ws,OO:()=>_a,vi:()=>ma,TN:()=>Ys});var e={};c.r(e),c.d(e,{decode:()=>te,encode:()=>Y,format:()=>_e,parse:()=>mt});var s={};c.r(s),c.d(s,{Any:()=>Qe,Cc:()=>qe,Cf:()=>Ge,P:()=>At,Z:()=>R});var k={};c.r(k),c.d(k,{arrayReplaceAt:()=>vn,assign:()=>$t,escapeHtml:()=>U,escapeRE:()=>A,fromCodePoint:()=>Nn,has:()=>on,isMdAsciiPunct:()=>dt,isPunctChar:()=>ct,isSpace:()=>$,isString:()=>bt,isValidEntityCode:()=>Jt,isWhiteSpace:()=>xe,lib:()=>Yt,normalizeReference:()=>Bt,unescapeAll:()=>rt,unescapeMd:()=>Ie});var z={};c.r(z),c.d(z,{parseLinkDestination:()=>en,parseLinkLabel:()=>rn,parseLinkTitle:()=>gn});const F={};function W(l,g){"string"!=typeof g&&(g=W.defaultChars);const x=function ne(l){let g=F[l];if(g)return g;g=F[l]=[];for(let x=0;x<128;x++){const G=String.fromCharCode(x);g.push(G)}for(let x=0;x=55296&&ln<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(ln),K+=6;continue}}if(240==(248&ke)&&K+91114111?Z+="\ufffd\ufffd\ufffd\ufffd":(nn-=65536,Z+=String.fromCharCode(55296+(nn>>10),56320+(1023&nn))),K+=9;continue}}Z+="\ufffd"}}return Z})}W.defaultChars=";/?:@&=+$,#",W.componentChars="";const te=W,pe={};function de(l,g,x){"string"!=typeof g&&(x=g,g=de.defaultChars),typeof x>"u"&&(x=!0);const G=function ce(l){let g=pe[l];if(g)return g;g=pe[l]=[];for(let x=0;x<128;x++){const G=String.fromCharCode(x);/^[0-9a-z]$/i.test(G)?g.push(G):g.push("%"+("0"+x.toString(16).toUpperCase()).slice(-2))}for(let x=0;x=55296&&ke<=57343){if(ke>=55296&&ke<=56319&&K+1=56320&&ht<=57343){Z+=encodeURIComponent(l[K]+l[K+1]),K++;continue}}Z+="%EF%BF%BD"}else Z+=encodeURIComponent(l[K])}return Z}de.defaultChars=";/?:@&=+$,-_.!~*'()#",de.componentChars="-_.!~*'()";const Y=de;function _e(l){let g="";return g+=l.protocol||"",g+=l.slashes?"//":"",g+=l.auth?l.auth+"@":"",l.hostname&&-1!==l.hostname.indexOf(":")?g+="["+l.hostname+"]":g+=l.hostname||"",g+=l.port?":"+l.port:"",g+=l.pathname||"",g+=l.search||"",g+=l.hash||"",g}function ue(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const ie=/^([a-z0-9.+-]+:)/i,Ue=/:[0-9]*$/,ve=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ve=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),je=["'"].concat(Ve),se=["%","/","?",";","#"].concat(je),ee=["/","?","#"],Oe=/^[+a-z0-9A-Z_-]{0,63}$/,_t=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,vt={javascript:!0,"javascript:":!0},tt={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};ue.prototype.parse=function(l,g){let x,G,Z,K=l;if(K=K.trim(),!g&&1===l.split("#").length){const Et=ve.exec(K);if(Et)return this.pathname=Et[1],Et[2]&&(this.search=Et[2]),this}let Be=ie.exec(K);if(Be&&(Be=Be[0],x=Be.toLowerCase(),this.protocol=Be,K=K.substr(Be.length)),(g||Be||K.match(/^\/\/[^@\/]+@[^@\/]+/))&&(Z="//"===K.substr(0,2),Z&&!(Be&&vt[Be])&&(K=K.substr(2),this.slashes=!0)),!vt[Be]&&(Z||Be&&!tt[Be])){let ln,nn,Et=-1;for(let un=0;un127?Fi+="x":Fi+=oi[wn];if(!Fi.match(Oe)){const wn=un.slice(0,pi),ni=un.slice(pi+1),Bn=oi.match(_t);Bn&&(wn.push(Bn[1]),ni.unshift(Bn[2])),ni.length&&(K=ni.join(".")+K),this.hostname=wn.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),En&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const ke=K.indexOf("#");-1!==ke&&(this.hash=K.substr(ke),K=K.slice(0,ke));const ht=K.indexOf("?");return-1!==ht&&(this.search=K.substr(ht),K=K.slice(0,ht)),K&&(this.pathname=K),tt[x]&&this.hostname&&!this.pathname&&(this.pathname=""),this},ue.prototype.parseHost=function(l){let g=Ue.exec(l);g&&(g=g[0],":"!==g&&(this.port=g.substr(1)),l=l.substr(0,l.length-g.length)),l&&(this.hostname=l)};const mt=function we(l,g){if(l&&l instanceof ue)return l;const x=new ue;return x.parse(l,g),x},At=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Qe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,qe=/[\0-\x1F\x7F-\x9F]/,Ge=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,R=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,be=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\u{1d504}rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\u{1d538}plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\u{1d49c}ign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\u{1d505}pf;\uc000\u{1d539}eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\u{1d49e}p\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\u{1d507}\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\u{1d53b}\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\u{1d49f}rok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\u{1d508}rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\u{1d53c}silon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\u{1d509}lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\u{1d53d}All;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\u{1d50a};\u62d9pf;\uc000\u{1d53e}eater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\u{1d4a2};\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\u{1d540}a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\u{1d50d}pf;\uc000\u{1d541}\u01e3\u07c7\0\u07ccr;\uc000\u{1d4a5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\u{1d50e}pf;\uc000\u{1d542}cr;\uc000\u{1d4a6}\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\u{1d50f}\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\u{1d543}er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\u{1d510}nusPlus;\u6213pf;\uc000\u{1d544}c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\u{1d511}\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\u{1d4a9}ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\u{1d512}rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\u{1d546}enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\u{1d4aa}ash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\u{1d513}i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\u{1d4ab};\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\u{1d514}pf;\u611acr;\uc000\u{1d4ac}\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\u{1d516}ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\u{1d54a}\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\u{1d4ae}ar;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\u{1d517}\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\u{1d54b}ipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\u{1d4af}rok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\u{1d518}rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\u{1d54c}\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\u{1d4b0}ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\u{1d519}pf;\uc000\u{1d54d}cr;\uc000\u{1d4b1}dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\u{1d51a}pf;\uc000\u{1d54e}cr;\uc000\u{1d4b2}\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\u{1d51b};\u439epf;\uc000\u{1d54f}cr;\uc000\u{1d4b3}\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\u{1d51c}pf;\uc000\u{1d550}cr;\uc000\u{1d4b4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\u{1d4b5}\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\u{1d51e}rave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\u{1d552}\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\u{1d4b6};\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\u{1d51f}g\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\u{1d553}\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\u{1d4b7}mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\u{1d520}\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\u{1d554}o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\u{1d4b8}\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\u{1d521}ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\u{1d555}\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\u{1d4b9};\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\u{1d522}\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\u{1d556}\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\u{1d523}lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\u{1d557}\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\u{1d4bb}\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\u{1d524}\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\u{1d558}\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\u{1d525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\u{1d559}bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\u{1d4bd}as\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\u{1d526}rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\u{1d55a}a;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\u{1d4be}n\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\u{1d527}ath;\u4237pf;\uc000\u{1d55b}\u01e3\u23ec\0\u23f1r;\uc000\u{1d4bf}rcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\u{1d528}reen;\u4138cy;\u4445cy;\u445cpf;\uc000\u{1d55c}cr;\uc000\u{1d4c0}\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\u{1d529}\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\u{1d55d}us;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\u{1d4c1}m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\u{1d52a}o;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\u{1d55e}\u0100ct\u28f8\u28fdr;\uc000\u{1d4c2}pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\u{1d52b}\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\u{1d55f}\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\u{1d4c3}ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\u{1d52c}\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\u{1d560}\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\u{1d52d}\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\u{1d561}nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\u{1d4c5};\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\u{1d52e}pf;\uc000\u{1d562}rime;\u6057cr;\uc000\u{1d4c6}\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\u{1d52f}\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\u{1d563}us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\u{1d4c7}\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\u{1d530}\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\u{1d564}a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\u{1d4c8}tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\u{1d531}\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\u{1d565}rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\u{1d4c9};\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\u{1d532}rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\u{1d566}\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\u{1d4ca}\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\u{1d533}tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\u{1d567}ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\u{1d4cb}\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\u{1d534}pf;\uc000\u{1d568}\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\u{1d4cc}\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\u{1d535}\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\u{1d569}im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\u{1d4cd}\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\u{1d536}cy;\u4457pf;\uc000\u{1d56a}cr;\uc000\u{1d4ce}\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\u{1d537}cy;\u4436grarr;\u61ddpf;\uc000\u{1d56b}cr;\uc000\u{1d4cf}\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(l=>l.charCodeAt(0))),S=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(l=>l.charCodeAt(0)));var q;const ze=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),N=null!==(q=String.fromCodePoint)&&void 0!==q?q:function(l){let g="";return l>65535&&(l-=65536,g+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),g+=String.fromCharCode(l),g};var pt=(()=>{return(l=pt||(pt={}))[l.NUM=35]="NUM",l[l.SEMI=59]="SEMI",l[l.EQUALS=61]="EQUALS",l[l.ZERO=48]="ZERO",l[l.NINE=57]="NINE",l[l.LOWER_A=97]="LOWER_A",l[l.LOWER_F=102]="LOWER_F",l[l.LOWER_X=120]="LOWER_X",l[l.LOWER_Z=122]="LOWER_Z",l[l.UPPER_A=65]="UPPER_A",l[l.UPPER_F=70]="UPPER_F",l[l.UPPER_Z=90]="UPPER_Z",pt;var l})(),Cn=(()=>{return(l=Cn||(Cn={}))[l.VALUE_LENGTH=49152]="VALUE_LENGTH",l[l.BRANCH_LENGTH=16256]="BRANCH_LENGTH",l[l.JUMP_TABLE=127]="JUMP_TABLE",Cn;var l})();function St(l){return l>=pt.ZERO&&l<=pt.NINE}var Zt=(()=>{return(l=Zt||(Zt={}))[l.EntityStart=0]="EntityStart",l[l.NumericStart=1]="NumericStart",l[l.NumericDecimal=2]="NumericDecimal",l[l.NumericHex=3]="NumericHex",l[l.NamedEntity=4]="NamedEntity",Zt;var l})(),Ut=(()=>{return(l=Ut||(Ut={}))[l.Legacy=0]="Legacy",l[l.Strict=1]="Strict",l[l.Attribute=2]="Attribute",Ut;var l})();class Dt{constructor(g,x,G){this.decodeTree=g,this.emitCodePoint=x,this.errors=G,this.state=Zt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ut.Strict}startEntity(g){this.decodeMode=g,this.state=Zt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(g,x){switch(this.state){case Zt.EntityStart:return g.charCodeAt(x)===pt.NUM?(this.state=Zt.NumericStart,this.consumed+=1,this.stateNumericStart(g,x+1)):(this.state=Zt.NamedEntity,this.stateNamedEntity(g,x));case Zt.NumericStart:return this.stateNumericStart(g,x);case Zt.NumericDecimal:return this.stateNumericDecimal(g,x);case Zt.NumericHex:return this.stateNumericHex(g,x);case Zt.NamedEntity:return this.stateNamedEntity(g,x)}}stateNumericStart(g,x){return x>=g.length?-1:(32|g.charCodeAt(x))===pt.LOWER_X?(this.state=Zt.NumericHex,this.consumed+=1,this.stateNumericHex(g,x+1)):(this.state=Zt.NumericDecimal,this.stateNumericDecimal(g,x))}addToNumericResult(g,x,G,Z){if(x!==G){const K=G-x;this.result=this.result*Math.pow(Z,K)+parseInt(g.substr(x,K),Z),this.consumed+=K}}stateNumericHex(g,x){const G=x;for(;x=pt.UPPER_A&&l<=pt.UPPER_F||l>=pt.LOWER_A&&l<=pt.LOWER_F)))return this.addToNumericResult(g,G,x,16),this.emitNumericEntity(Z,3);x+=1}var l;return this.addToNumericResult(g,G,x,16),-1}stateNumericDecimal(g,x){const G=x;for(;x=55296&&l<=57343||l>1114111?65533:null!==(g=ze.get(l))&&void 0!==g?g:l}(this.result),this.consumed),this.errors&&(g!==pt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(g,x){const{decodeTree:G}=this;let Z=G[this.treeIndex],K=(Z&Cn.VALUE_LENGTH)>>14;for(;x=pt.UPPER_A&&l<=pt.UPPER_Z||l>=pt.LOWER_A&&l<=pt.LOWER_Z||St(l)}(l)))?0:this.emitNotTerminatedNamedEntity();if(Z=G[this.treeIndex],K=(Z&Cn.VALUE_LENGTH)>>14,0!==K){if(Be===pt.SEMI)return this.emitNamedEntityData(this.treeIndex,K,this.consumed+this.excess);this.decodeMode!==Ut.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var l;return-1}emitNotTerminatedNamedEntity(){var g;const{result:x,decodeTree:G}=this;return this.emitNamedEntityData(x,(G[x]&Cn.VALUE_LENGTH)>>14,this.consumed),null===(g=this.errors)||void 0===g||g.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(g,x,G){const{decodeTree:Z}=this;return this.emitCodePoint(1===x?Z[g]&~Cn.VALUE_LENGTH:Z[g+1],G),3===x&&this.emitCodePoint(Z[g+2],G),G}end(){var g;switch(this.state){case Zt.NamedEntity:return 0===this.result||this.decodeMode===Ut.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Zt.NumericDecimal:return this.emitNumericEntity(0,2);case Zt.NumericHex:return this.emitNumericEntity(0,3);case Zt.NumericStart:return null===(g=this.errors)||void 0===g||g.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Zt.EntityStart:return 0}}}function Xt(l){let g="";const x=new Dt(l,G=>g+=N(G));return function(Z,K){let Be=0,ke=0;for(;(ke=Z.indexOf("&",ke))>=0;){g+=Z.slice(Be,ke),x.startEntity(K);const Et=x.write(Z,ke+1);if(Et<0){Be=ke+x.end();break}Be=ke+Et,ke=0===Et?Be+1:Be}const ht=g+Z.slice(Be);return g="",ht}}function Qt(l,g,x,G){const Z=(g&Cn.BRANCH_LENGTH)>>7,K=g&Cn.JUMP_TABLE;if(0===Z)return 0!==K&&G===K?x:-1;if(K){const ht=G-K;return ht<0||ht>=Z?-1:l[x+ht]-1}let Be=x,ke=Be+Z-1;for(;Be<=ke;){const ht=Be+ke>>>1,Et=l[ht];if(EtG))return l[ht+Z];ke=ht-1}}return-1}const hn=Xt(be);function yt(l,g=Ut.Legacy){return hn(l,g)}function Xe(l){for(let g=1;g'"]/g,new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]])),qt(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),qt(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));const gt=Object.prototype.hasOwnProperty;function on(l,g){return gt.call(l,g)}function $t(l){return Array.prototype.slice.call(arguments,1).forEach(function(x){if(x){if("object"!=typeof x)throw new TypeError(x+"must be object");Object.keys(x).forEach(function(G){l[G]=x[G]})}}),l}function vn(l,g,x){return[].concat(l.slice(0,g),x,l.slice(g+1))}function Jt(l){return!(l>=55296&&l<=57343||l>=64976&&l<=65007||65535==(65535&l)||65534==(65535&l)||l>=0&&l<=8||11===l||l>=14&&l<=31||l>=127&&l<=159||l>1114111)}function Nn(l){return l>65535?(l-=65536,String.fromCharCode(55296+(l>>10),56320+(1023&l))):String.fromCharCode(l)}const Mn=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Q=new RegExp(Mn.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),H=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Ie(l){return l.indexOf("\\")<0?l:l.replace(Mn,"$1")}function rt(l){return l.indexOf("\\")<0&&l.indexOf("&")<0?l:l.replace(Q,function(g,x,G){return x||function le(l,g){if(35===g.charCodeAt(0)&&H.test(g)){const G="x"===g[1].toLowerCase()?parseInt(g.slice(2),16):parseInt(g.slice(1),10);return Jt(G)?Nn(G):l}const x=yt(l);return x!==l?x:l}(g,G)})}const nt=/[&<>"]/,ut=/[&<>"]/g,He={"&":"&","<":"<",">":">",'"':"""};function Ne(l){return He[l]}function U(l){return nt.test(l)?l.replace(ut,Ne):l}const I=/[.?*+^$[\]\\(){}|-]/g;function A(l){return l.replace(I,"\\$&")}function $(l){switch(l){case 9:case 32:return!0}return!1}function xe(l){if(l>=8192&&l<=8202)return!0;switch(l){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function ct(l){return At.test(l)}function dt(l){switch(l){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Bt(l){return l=l.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(l=l.replace(/\u1e9e/g,"\xdf")),l.toLowerCase().toUpperCase()}const Yt={mdurl:e,ucmicro:s};function rn(l,g,x){let G,Z,K,Be;const ke=l.posMax,ht=l.pos;for(l.pos=g+1,G=1;l.pos32))return K;if(41===G){if(0===Be)break;Be--}Z++}return g===Z||0!==Be||(K.str=rt(l.slice(g,Z)),K.pos=Z,K.ok=!0),K}function gn(l,g,x){let G,Z,K=0,Be=g;const ke={ok:!1,pos:0,lines:0,str:""};if(Be>=x||(Z=l.charCodeAt(Be),34!==Z&&39!==Z&&40!==Z))return ke;for(Be++,40===Z&&(Z=41);Be"+U(K.content)+""},pn.code_block=function(l,g,x,G,Z){return""+U(l[g].content)+"\n"},pn.fence=function(l,g,x,G,Z){const K=l[g],Be=K.info?rt(K.info).trim():"";let Et,ke="",ht="";if(Be){const ln=Be.split(/(\s+)/g);ke=ln[0],ht=ln.slice(2).join("")}if(Et=x.highlight&&x.highlight(K.content,ke,ht)||U(K.content),0===Et.indexOf("${Et}\n`}return`
${Et}
\n`},pn.image=function(l,g,x,G,Z){const K=l[g];return K.attrs[K.attrIndex("alt")][1]=Z.renderInlineAsText(K.children,x,G),Z.renderToken(l,g,x)},pn.hardbreak=function(l,g,x){return x.xhtmlOut?"
\n":"
\n"},pn.softbreak=function(l,g,x){return x.breaks?x.xhtmlOut?"
\n":"
\n":"\n"},pn.text=function(l,g){return U(l[g].content)},pn.html_block=function(l,g){return l[g].content},pn.html_inline=function(l,g){return l[g].content},In.prototype.renderAttrs=function(g){let x,G,Z;if(!g.attrs)return"";for(Z="",x=0,G=g.attrs.length;x\n":">",K},In.prototype.renderInline=function(l,g,x){let G="";const Z=this.rules;for(let K=0,Be=l.length;K=0&&(G=this.attrs[x][1]),G},$n.prototype.attrJoin=function(g,x){const G=this.attrIndex(g);G<0?this.attrPush([g,x]):this.attrs[G][1]=this.attrs[G][1]+" "+x};const ci=$n;function ri(l,g,x){this.src=l,this.env=x,this.tokens=[],this.inlineMode=!1,this.md=g}ri.prototype.Token=ci;const Xn=ri,Yn=/\r\n?|\n/g,Qn=/\0/g;function Ti(l){return/^\s]/i.test(l)}function ti(l){return/^<\/a\s*>/i.test(l)}const to=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ri=/\((c|tm|r)\)/i,Wo=/\((c|tm|r)\)/gi,wo={c:"\xa9",r:"\xae",tm:"\u2122"};function no(l,g){return wo[g.toLowerCase()]}function qo(l){let g=0;for(let x=l.length-1;x>=0;x--){const G=l[x];"text"===G.type&&!g&&(G.content=G.content.replace(Wo,no)),"link_open"===G.type&&"auto"===G.info&&g--,"link_close"===G.type&&"auto"===G.info&&g++}}function lr(l){let g=0;for(let x=l.length-1;x>=0;x--){const G=l[x];"text"===G.type&&!g&&to.test(G.content)&&(G.content=G.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===G.type&&"auto"===G.info&&g--,"link_close"===G.type&&"auto"===G.info&&g++}}const Wi=/['"]/,Qi=/['"]/g,yo="\u2019";function Po(l,g,x){return l.slice(0,g)+x+l.slice(g+1)}function Vo(l,g){let x;const G=[];for(let Z=0;Z=0&&!(G[x].level<=Be);x--);if(G.length=x+1,"text"!==K.type)continue;let ke=K.content,ht=0,Et=ke.length;e:for(;ht=0)un=ke.charCodeAt(ln.index-1);else for(x=Z-1;x>=0&&"softbreak"!==l[x].type&&"hardbreak"!==l[x].type;x--)if(l[x].content){un=l[x].content.charCodeAt(l[x].content.length-1);break}let pi=32;if(ht=48&&un<=57&&(_n=nn=!1),nn&&_n&&(nn=hi,_n=oi),nn||_n){if(_n)for(x=G.length-1;x>=0;x--){let ni=G[x];if(G[x].level=0;Be--){const ke=Z[Be];if("link_close"!==ke.type){if("html_inline"===ke.type&&(Ti(ke.content)&&K>0&&K--,ti(ke.content)&&K++),!(K>0)&&"text"===ke.type&&l.md.linkify.test(ke.content)){const ht=ke.content;let Et=l.md.linkify.match(ht);const ln=[];let nn=ke.level,_n=0;Et.length>0&&0===Et[0].index&&Be>0&&"text_special"===Z[Be-1].type&&(Et=Et.slice(1));for(let En=0;En_n){const Bn=new l.Token("text","",0);Bn.content=ht.slice(_n,oi),Bn.level=nn,ln.push(Bn)}const Fi=new l.Token("link_open","a",1);Fi.attrs=[["href",pi]],Fi.level=nn++,Fi.markup="linkify",Fi.info="auto",ln.push(Fi);const wn=new l.Token("text","",0);wn.content=hi,wn.level=nn,ln.push(wn);const ni=new l.Token("link_close","a",-1);ni.level=--nn,ni.markup="linkify",ni.info="auto",ln.push(ni),_n=Et[En].lastIndex}if(_n=0;g--)"inline"===l.tokens[g].type&&(Ri.test(l.tokens[g].content)&&qo(l.tokens[g].children),to.test(l.tokens[g].content)&&lr(l.tokens[g].children))}],["smartquotes",function bo(l){if(l.md.options.typographer)for(let g=l.tokens.length-1;g>=0;g--)"inline"!==l.tokens[g].type||!Wi.test(l.tokens[g].content)||Vo(l.tokens[g].children,l)}],["text_join",function ji(l){let g,x;const G=l.tokens,Z=G.length;for(let K=0;K0&&this.level++,this.tokens.push(G),G},Si.prototype.isEmpty=function(g){return this.bMarks[g]+this.tShift[g]>=this.eMarks[g]},Si.prototype.skipEmptyLines=function(g){for(let x=this.lineMax;gx;)if(!$(this.src.charCodeAt(--g)))return g+1;return g},Si.prototype.skipChars=function(g,x){for(let G=this.src.length;gG;)if(x!==this.src.charCodeAt(--g))return g+1;return g},Si.prototype.getLines=function(g,x,G,Z){if(g>=x)return"";const K=new Array(x-g);for(let Be=0,ke=g;keG?new Array(ht-G+1).join(" ")+this.src.slice(ln,nn):this.src.slice(ln,nn)}return K.join("")},Si.prototype.Token=ci;const oo=Si;function go(l,g){return l.src.slice(l.bMarks[g]+l.tShift[g],l.eMarks[g])}function Pn(l){const g=[],x=l.length;let G=0,Z=l.charCodeAt(G),K=!1,Be=0,ke="";for(;G=G)return-1;let K=l.src.charCodeAt(Z++);if(K<48||K>57)return-1;for(;;){if(Z>=G)return-1;if(K=l.src.charCodeAt(Z++),!(K>=48&&K<=57)){if(41===K||46===K)break;return-1}if(Z-x>=10)return-1}return Z`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Vr="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Tr=new RegExp("^(?:"+er+"|"+Vr+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),tr=new RegExp("^(?:"+er+"|"+Vr+")"),Ui=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(tr.source+"\\s*$"),/^$/,!1]],Mr=[["table",function Nt(l,g,x,G){if(g+2>x)return!1;let Z=g+1;if(l.sCount[Z]=4)return!1;let K=l.bMarks[Z]+l.tShift[Z];if(K>=l.eMarks[Z])return!1;const Be=l.src.charCodeAt(K++);if(124!==Be&&45!==Be&&58!==Be||K>=l.eMarks[Z])return!1;const ke=l.src.charCodeAt(K++);if(124!==ke&&45!==ke&&58!==ke&&!$(ke)||45===Be&&$(ke))return!1;for(;K=4)return!1;Et=Pn(ht),Et.length&&""===Et[0]&&Et.shift(),Et.length&&""===Et[Et.length-1]&&Et.pop();const nn=Et.length;if(0===nn||nn!==ln.length)return!1;if(G)return!0;const _n=l.parentType;l.parentType="table";const En=l.md.block.ruler.getRules("blockquote"),pi=[g,0];l.push("table_open","table",1).map=pi,l.push("thead_open","thead",1).map=[g,g+1],l.push("tr_open","tr",1).map=[g,g+1];for(let wn=0;wn=4)break;Et=Pn(ht),Et.length&&""===Et[0]&&Et.shift(),Et.length&&""===Et[Et.length-1]&&Et.pop(),Z===g+2&&(l.push("tbody_open","tbody",1).map=Fi=[g+2,0]),l.push("tr_open","tr",1).map=[Z,Z+1];for(let Bn=0;Bn=4))break;G++,Z=G}l.line=Z;const K=l.push("code_block","code",0);return K.content=l.getLines(g,Z,4+l.blkIndent,!1)+"\n",K.map=[g,l.line],!0}],["fence",function Rn(l,g,x,G){let Z=l.bMarks[g]+l.tShift[g],K=l.eMarks[g];if(l.sCount[g]-l.blkIndent>=4||Z+3>K)return!1;const Be=l.src.charCodeAt(Z);if(126!==Be&&96!==Be)return!1;let ke=Z;Z=l.skipChars(Z,Be);let ht=Z-ke;if(ht<3)return!1;const Et=l.src.slice(ke,Z),ln=l.src.slice(Z,K);if(96===Be&&ln.indexOf(String.fromCharCode(Be))>=0)return!1;if(G)return!0;let nn=g,_n=!1;for(;nn++,!(nn>=x||(Z=ke=l.bMarks[nn]+l.tShift[nn],K=l.eMarks[nn],Z=4||(Z=l.skipChars(Z,Be),Z-ke=4||62!==l.src.charCodeAt(Z))return!1;if(G)return!0;const ke=[],ht=[],Et=[],ln=[],nn=l.md.block.ruler.getRules("blockquote"),_n=l.parentType;l.parentType="blockquote";let un,En=!1;for(un=g;un=K)break;if(62===l.src.charCodeAt(Z++)&&!wn){let ro,Ci,Bn=l.sCount[un]+1;32===l.src.charCodeAt(Z)?(Z++,Bn++,Ci=!1,ro=!0):9===l.src.charCodeAt(Z)?(ro=!0,(l.bsCount[un]+Bn)%4==3?(Z++,Bn++,Ci=!1):Ci=!0):ro=!1;let Xr=Bn;for(ke.push(l.bMarks[un]),l.bMarks[un]=Z;Z=K,ht.push(l.bsCount[un]),l.bsCount[un]=l.sCount[un]+1+(ro?1:0),Et.push(l.sCount[un]),l.sCount[un]=Xr-Bn,ln.push(l.tShift[un]),l.tShift[un]=Z-l.bMarks[un];continue}if(En)break;let ni=!1;for(let Bn=0,ro=nn.length;Bn";const oi=[g,0];hi.map=oi,l.md.block.tokenize(l,g,un),l.push("blockquote_close","blockquote",-1).markup=">",l.lineMax=Be,l.parentType=_n,oi[1]=l.line;for(let wn=0;wn=4)return!1;let K=l.bMarks[g]+l.tShift[g];const Be=l.src.charCodeAt(K++);if(42!==Be&&45!==Be&&95!==Be)return!1;let ke=1;for(;K=4||l.listIndent>=0&&l.sCount[ht]-l.listIndent>=4&&l.sCount[ht]=l.blkIndent&&(ln=!0),(En=xi(l,ht))>=0){if(nn=!0,Be=l.bMarks[ht]+l.tShift[ht],_n=Number(l.src.slice(Be,En-1)),ln&&1!==_n)return!1}else{if(!((En=Bi(l,ht))>=0))return!1;nn=!1}if(ln&&l.skipSpaces(En)>=l.eMarks[ht])return!1;if(G)return!0;const un=l.src.charCodeAt(En-1),pi=l.tokens.length;nn?(ke=l.push("ordered_list_open","ol",1),1!==_n&&(ke.attrs=[["start",_n]])):ke=l.push("bullet_list_open","ul",1);const hi=[ht,0];ke.map=hi,ke.markup=String.fromCharCode(un);let oi=!1;const Fi=l.md.block.ruler.getRules("list"),wn=l.parentType;for(l.parentType="list";ht=Z?1:Bn-ni,Ci>4&&(Ci=1);const Xr=ni+Ci;ke=l.push("list_item_open","li",1),ke.markup=String.fromCharCode(un);const hr=[ht,0];ke.map=hr,nn&&(ke.info=l.src.slice(Be,En-1));const va=l.tight,Xo=l.tShift[ht],Wr=l.sCount[ht],ia=l.listIndent;if(l.listIndent=l.blkIndent,l.blkIndent=Xr,l.tight=!0,l.tShift[ht]=ro-l.bMarks[ht],l.sCount[ht]=Bn,ro>=Z&&l.isEmpty(ht+1)?l.line=Math.min(l.line+2,x):l.md.block.tokenize(l,ht,x,!0),(!l.tight||oi)&&(Et=!1),oi=l.line-ht>1&&l.isEmpty(l.line-1),l.blkIndent=l.listIndent,l.listIndent=ia,l.tShift[ht]=Xo,l.sCount[ht]=Wr,l.tight=va,ke=l.push("list_item_close","li",-1),ke.markup=String.fromCharCode(un),ht=l.line,hr[1]=ht,ht>=x||l.sCount[ht]=4)break;let m=!1;for(let v=0,h=Fi.length;v=4||91!==l.src.charCodeAt(K))return!1;for(;++K3||l.sCount[ke]<0)continue;let Bn=!1;for(let ro=0,Ci=Et.length;ro"u"&&(l.env.references={}),typeof l.env.references[ni]>"u"&&(l.env.references[ni]={title:wn,href:un}),l.parentType=ln,l.line=g+Z+1),!0)}],["html_block",function _r(l,g,x,G){let Z=l.bMarks[g]+l.tShift[g],K=l.eMarks[g];if(l.sCount[g]-l.blkIndent>=4||!l.md.options.html||60!==l.src.charCodeAt(Z))return!1;let Be=l.src.slice(Z,K),ke=0;for(;ke=4)return!1;let Be=l.src.charCodeAt(Z);if(35!==Be||Z>=K)return!1;let ke=1;for(Be=l.src.charCodeAt(++Z);35===Be&&Z6||ZZ&&$(l.src.charCodeAt(ht-1))&&(K=ht),l.line=g+1;const Et=l.push("heading_open","h"+String(ke),1);Et.markup="########".slice(0,ke),Et.map=[g,l.line];const ln=l.push("inline","",0);return ln.content=l.src.slice(Z,K).trim(),ln.map=[g,l.line],ln.children=[],l.push("heading_close","h"+String(ke),-1).markup="########".slice(0,ke),!0},["paragraph","reference","blockquote"]],["lheading",function Ir(l,g,x){const G=l.md.block.ruler.getRules("paragraph");if(l.sCount[g]-l.blkIndent>=4)return!1;const Z=l.parentType;l.parentType="paragraph";let Be,K=0,ke=g+1;for(;ke3)continue;if(l.sCount[ke]>=l.blkIndent){let En=l.bMarks[ke]+l.tShift[ke];const un=l.eMarks[ke];if(En=un))){K=61===Be?1:2;break}}if(l.sCount[ke]<0)continue;let _n=!1;for(let En=0,un=G.length;En3||l.sCount[K]<0)continue;let Et=!1;for(let ln=0,nn=G.length;ln=x||l.sCount[Be]=K){l.line=x;break}const ht=l.line;let Et=!1;for(let ln=0;ln=l.line)throw new Error("block rule didn't increment state.line");break}if(!Et)throw new Error("none of the block rules matched");l.tight=!ke,l.isEmpty(l.line-1)&&(ke=!0),Be=l.line,Be0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],Z={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(G),this.tokens_meta.push(Z),G},Hi.prototype.scanDelims=function(l,g){let x,G,Z=!0,K=!0;const Be=this.posMax,ke=this.src.charCodeAt(l),ht=l>0?this.src.charCodeAt(l-1):32;let Et=l;for(;Et?@[]^_`{|}~-".split("").forEach(function(l){Er[l.charCodeAt(0)]=1});const Mo={tokenize:function ko(l,g){const G=l.src.charCodeAt(l.pos);if(g||126!==G)return!1;const Z=l.scanDelims(l.pos,!0);let K=Z.length;const Be=String.fromCharCode(G);if(K<2)return!1;let ke;K%2&&(ke=l.push("text","",0),ke.content=Be,K--);for(let ht=0;ht=0;G--){const Z=g[G];if(95!==Z.marker&&42!==Z.marker||-1===Z.end)continue;const K=g[Z.end],Be=G>0&&g[G-1].end===Z.end+1&&g[G-1].marker===Z.marker&&g[G-1].token===Z.token-1&&g[Z.end+1].token===K.token+1,ke=String.fromCharCode(Z.marker),ht=l.tokens[Z.token];ht.type=Be?"strong_open":"em_open",ht.tag=Be?"strong":"em",ht.nesting=1,ht.markup=Be?ke+ke:ke,ht.content="";const Et=l.tokens[K.token];Et.type=Be?"strong_close":"em_close",Et.tag=Be?"strong":"em",Et.nesting=-1,Et.markup=Be?ke+ke:ke,Et.content="",Be&&(l.tokens[g[G-1].token].content="",l.tokens[g[Z.end+1].token].content="",G--)}}const j={tokenize:function Ee(l,g){const G=l.src.charCodeAt(l.pos);if(g||95!==G&&42!==G)return!1;const Z=l.scanDelims(l.pos,42===G);for(let K=0;K\x00-\x20]*)$/,M=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,ae=/^&([a-z][a-z0-9]{1,31});/i;function Dn(l){const g={},x=l.length;if(!x)return;let G=0,Z=-2;const K=[];for(let Be=0;Beht;Et-=K[Et]+1){const nn=l[Et];if(nn.marker===ke.marker&&nn.open&&nn.end<0){let _n=!1;if((nn.close||ke.open)&&(nn.length+ke.length)%3==0&&(nn.length%3!=0||ke.length%3!=0)&&(_n=!0),!_n){const En=Et>0&&!l[Et-1].open?K[Et-1]+1:0;K[Be]=Be-Et+En,K[Et]=En,ke.open=!1,nn.end=Be,nn.close=!1,ln=-1,Z=-2;break}}}-1!==ln&&(g[ke.marker][(ke.open?3:0)+(ke.length||0)%3]=ln)}}const Di=[["text",function ao(l,g){let x=l.pos;for(;x0)return!1;const x=l.pos;if(x+3>l.posMax||58!==l.src.charCodeAt(x)||47!==l.src.charCodeAt(x+1)||47!==l.src.charCodeAt(x+2))return!1;const Z=l.pending.match(ir);if(!Z)return!1;const K=Z[1],Be=l.md.linkify.matchAtStart(l.src.slice(x-K.length));if(!Be)return!1;let ke=Be.url;if(ke.length<=K.length)return!1;ke=ke.replace(/\*+$/,"");const ht=l.md.normalizeLink(ke);if(!l.md.validateLink(ht))return!1;if(!g){l.pending=l.pending.slice(0,-K.length);const Et=l.push("link_open","a",1);Et.attrs=[["href",ht]],Et.markup="linkify",Et.info="auto",l.push("text","",0).content=l.md.normalizeLinkText(ke);const nn=l.push("link_close","a",-1);nn.markup="linkify",nn.info="auto"}return l.pos+=ke.length-K.length,!0}],["newline",function jr(l,g){let x=l.pos;if(10!==l.src.charCodeAt(x))return!1;const G=l.pending.length-1,Z=l.posMax;if(!g)if(G>=0&&32===l.pending.charCodeAt(G))if(G>=1&&32===l.pending.charCodeAt(G-1)){let K=G-1;for(;K>=1&&32===l.pending.charCodeAt(K-1);)K--;l.pending=l.pending.slice(0,K),l.push("hardbreak","br",0)}else l.pending=l.pending.slice(0,-1),l.push("softbreak","br",0);else l.push("softbreak","br",0);for(x++;x=G))return!1;let Z=l.src.charCodeAt(x);if(10===Z){for(g||l.push("hardbreak","br",0),x++;x=55296&&Z<=56319&&x+1=56320&&ke<=57343&&(K+=l.src[x+1],x++)}const Be="\\"+K;if(!g){const ke=l.push("text_special","",0);ke.content=Z<256&&0!==Er[Z]?K:Be,ke.markup=Be,ke.info="escape"}return l.pos=x+1,!0}],["backticks",function $i(l,g){let x=l.pos;if(96!==l.src.charCodeAt(x))return!1;const Z=x;x++;const K=l.posMax;for(;x=nn)return!1;if(ht=un,Z=l.md.helpers.parseLinkDestination(l.src,un,l.posMax),Z.ok){for(Be=l.md.normalizeLink(Z.str),l.md.validateLink(Be)?un=Z.pos:Be="",ht=un;un=nn||41!==l.src.charCodeAt(un))&&(Et=!0),un++}if(Et){if(typeof l.env.references>"u")return!1;if(un=0?G=l.src.slice(ht,un++):un=En+1):un=En+1,G||(G=l.src.slice(_n,En)),K=l.env.references[Bt(G)],!K)return l.pos=ln,!1;Be=K.href,ke=K.title}if(!g){l.pos=_n,l.posMax=En;const hi=[["href",Be]];l.push("link_open","a",1).attrs=hi,ke&&hi.push(["title",ke]),l.linkLevel++,l.md.inline.tokenize(l),l.linkLevel--,l.push("link_close","a",-1)}return l.pos=un,l.posMax=nn,!0}],["image",function Ye(l,g){let x,G,Z,K,Be,ke,ht,Et,ln="";const nn=l.pos,_n=l.posMax;if(33!==l.src.charCodeAt(l.pos)||91!==l.src.charCodeAt(l.pos+1))return!1;const En=l.pos+2,un=l.md.helpers.parseLinkLabel(l,l.pos+1,!1);if(un<0)return!1;if(K=un+1,K<_n&&40===l.src.charCodeAt(K)){for(K++;K<_n&&(x=l.src.charCodeAt(K),$(x)||10===x);K++);if(K>=_n)return!1;for(Et=K,ke=l.md.helpers.parseLinkDestination(l.src,K,l.posMax),ke.ok&&(ln=l.md.normalizeLink(ke.str),l.md.validateLink(ln)?K=ke.pos:ln=""),Et=K;K<_n&&(x=l.src.charCodeAt(K),$(x)||10===x);K++);if(ke=l.md.helpers.parseLinkTitle(l.src,K,l.posMax),K<_n&&Et!==K&&ke.ok)for(ht=ke.str,K=ke.pos;K<_n&&(x=l.src.charCodeAt(K),$(x)||10===x);K++);else ht="";if(K>=_n||41!==l.src.charCodeAt(K))return l.pos=nn,!1;K++}else{if(typeof l.env.references>"u")return!1;if(K<_n&&91===l.src.charCodeAt(K)?(Et=K+1,K=l.md.helpers.parseLinkLabel(l,K),K>=0?Z=l.src.slice(Et,K++):K=un+1):K=un+1,Z||(Z=l.src.slice(En,un)),Be=l.env.references[Bt(Z)],!Be)return l.pos=nn,!1;ln=Be.href,ht=Be.title}if(!g){G=l.src.slice(En,un);const pi=[];l.md.inline.parse(G,l.md,l.env,pi);const hi=l.push("image","img",0),oi=[["src",ln],["alt",""]];hi.attrs=oi,hi.children=pi,hi.content=G,ht&&oi.push(["title",ht])}return l.pos=K,l.posMax=_n,!0}],["autolink",function Vt(l,g){let x=l.pos;if(60!==l.src.charCodeAt(x))return!1;const G=l.pos,Z=l.posMax;for(;;){if(++x>=Z)return!1;const Be=l.src.charCodeAt(x);if(60===Be)return!1;if(62===Be)break}const K=l.src.slice(G+1,x);if(Ot.test(K)){const Be=l.md.normalizeLink(K);if(!l.md.validateLink(Be))return!1;if(!g){const ke=l.push("link_open","a",1);ke.attrs=[["href",Be]],ke.markup="autolink",ke.info="auto",l.push("text","",0).content=l.md.normalizeLinkText(K);const Et=l.push("link_close","a",-1);Et.markup="autolink",Et.info="auto"}return l.pos+=K.length+2,!0}if(Ct.test(K)){const Be=l.md.normalizeLink("mailto:"+K);if(!l.md.validateLink(Be))return!1;if(!g){const ke=l.push("link_open","a",1);ke.attrs=[["href",Be]],ke.markup="autolink",ke.info="auto",l.push("text","",0).content=l.md.normalizeLinkText(K);const Et=l.push("link_close","a",-1);Et.markup="autolink",Et.info="auto"}return l.pos+=K.length+2,!0}return!1}],["html_inline",function E(l,g){if(!l.md.options.html)return!1;const x=l.posMax,G=l.pos;if(60!==l.src.charCodeAt(G)||G+2>=x)return!1;const Z=l.src.charCodeAt(G+1);if(33!==Z&&63!==Z&&47!==Z&&!function T(l){const g=32|l;return g>=97&&g<=122}(Z))return!1;const K=l.src.slice(G).match(Tr);if(!K)return!1;if(!g){const Be=l.push("html_inline","",0);Be.content=K[0],function sn(l){return/^\s]/i.test(l)}(Be.content)&&l.linkLevel++,function kn(l){return/^<\/a\s*>/i.test(l)}(Be.content)&&l.linkLevel--}return l.pos+=K[0].length,!0}],["entity",function ft(l,g){const x=l.pos,G=l.posMax;if(38!==l.src.charCodeAt(x)||x+1>=G)return!1;if(35===l.src.charCodeAt(x+1)){const K=l.src.slice(x).match(M);if(K){if(!g){const Be="x"===K[1][0].toLowerCase()?parseInt(K[1].slice(1),16):parseInt(K[1],10),ke=l.push("text_special","",0);ke.content=Jt(Be)?Nn(Be):Nn(65533),ke.markup=K[0],ke.info="entity"}return l.pos+=K[0].length,!0}}else{const K=l.src.slice(x).match(ae);if(K){const Be=yt(K[0]);if(Be!==K[0]){if(!g){const ke=l.push("text_special","",0);ke.content=Be,ke.markup=K[0],ke.info="entity"}return l.pos+=K[0].length,!0}}}return!1}]],mi=[["balance_pairs",function zn(l){const g=l.tokens_meta,x=l.tokens_meta.length;Dn(l.delimiters);for(let G=0;G0&&G++,"text"===Z[g].type&&g+1=l.pos)throw new Error("inline rule didn't increment state.pos");break}}else l.pos=l.posMax;Be||l.pos++,K[g]=l.pos},_o.prototype.tokenize=function(l){const g=this.ruler.getRules(""),x=g.length,G=l.posMax,Z=l.md.options.maxNesting;for(;l.pos=l.pos)throw new Error("inline rule didn't increment state.pos");break}if(Be){if(l.pos>=G)break}else l.pending+=l.src[l.pos++]}l.pending&&l.pushPending()},_o.prototype.parse=function(l,g,x,G){const Z=new this.State(l,g,x,G);this.tokenize(Z);const K=this.ruler2.getRules(""),Be=K.length;for(let ke=0;ke=3&&":"===l[g-3]||g>=3&&"/"===l[g-3]?0:G.match(x.re.no_http)[0].length:0}},"mailto:":{validate:function(l,g,x){const G=l.slice(g);return x.re.mailto||(x.re.mailto=new RegExp("^"+x.re.src_email_name+"@"+x.re.src_host_strict,"i")),x.re.mailto.test(G)?G.match(x.re.mailto)[0].length:0}}},jn="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",si="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function Lo(l){const g=l.re=function qi(l){const g={};l=l||{},g.src_Any=Qe.source,g.src_Cc=qe.source,g.src_Z=R.source,g.src_P=At.source,g.src_ZPCc=[g.src_Z,g.src_P,g.src_Cc].join("|"),g.src_ZCc=[g.src_Z,g.src_Cc].join("|");return g.src_pseudo_letter="(?:(?![><\uff5c]|"+g.src_ZPCc+")"+g.src_Any+")",g.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",g.src_auth="(?:(?:(?!"+g.src_ZCc+"|[@/\\[\\]()]).)+@)?",g.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",g.src_host_terminator="(?=$|[><\uff5c]|"+g.src_ZPCc+")(?!"+(l["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+g.src_ZPCc+"))",g.src_path="(?:[/?#](?:(?!"+g.src_ZCc+"|[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+g.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+g.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+g.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+g.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+g.src_ZCc+"|[']).)+\\'|\\'(?="+g.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+g.src_ZCc+"|[.]|$)|"+(l["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+g.src_ZCc+"|$)|;(?!"+g.src_ZCc+"|$)|\\!+(?!"+g.src_ZCc+"|[!]|$)|\\?(?!"+g.src_ZCc+"|[?]|$))+|\\/)?",g.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',g.src_xn="xn--[a-z0-9\\-]{1,59}",g.src_domain_root="(?:"+g.src_xn+"|"+g.src_pseudo_letter+"{1,63})",g.src_domain="(?:"+g.src_xn+"|(?:"+g.src_pseudo_letter+")|(?:"+g.src_pseudo_letter+"(?:-|"+g.src_pseudo_letter+"){0,61}"+g.src_pseudo_letter+"))",g.src_host="(?:(?:(?:(?:"+g.src_domain+")\\.)*"+g.src_domain+"))",g.tpl_host_fuzzy="(?:"+g.src_ip4+"|(?:(?:(?:"+g.src_domain+")\\.)+(?:%TLDS%)))",g.tpl_host_no_ip_fuzzy="(?:(?:(?:"+g.src_domain+")\\.)+(?:%TLDS%))",g.src_host_strict=g.src_host+g.src_host_terminator,g.tpl_host_fuzzy_strict=g.tpl_host_fuzzy+g.src_host_terminator,g.src_host_port_strict=g.src_host+g.src_port+g.src_host_terminator,g.tpl_host_port_fuzzy_strict=g.tpl_host_fuzzy+g.src_port+g.src_host_terminator,g.tpl_host_port_no_ip_fuzzy_strict=g.tpl_host_no_ip_fuzzy+g.src_port+g.src_host_terminator,g.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+g.src_ZPCc+"|>|$))",g.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+g.src_ZCc+")("+g.src_email_name+"@"+g.tpl_host_fuzzy_strict+")",g.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+g.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+g.tpl_host_port_fuzzy_strict+g.src_path+")",g.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+g.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+g.tpl_host_port_no_ip_fuzzy_strict+g.src_path+")",g}(l.__opts__),x=l.__tlds__.slice();function G(ke){return ke.replace("%TLDS%",g.src_tlds)}l.onCompile(),l.__tlds_replaced__||x.push(jn),x.push(g.src_xn),g.src_tlds=x.join("|"),g.email_fuzzy=RegExp(G(g.tpl_email_fuzzy),"i"),g.link_fuzzy=RegExp(G(g.tpl_link_fuzzy),"i"),g.link_no_ip_fuzzy=RegExp(G(g.tpl_link_no_ip_fuzzy),"i"),g.host_fuzzy_test=RegExp(G(g.tpl_host_fuzzy_test),"i");const Z=[];function K(ke,ht){throw new Error('(LinkifyIt) Invalid schema "'+ke+'": '+ht)}l.__compiled__={},Object.keys(l.__schemas__).forEach(function(ke){const ht=l.__schemas__[ke];if(null===ht)return;const Et={validate:null,link:null};if(l.__compiled__[ke]=Et,function or(l){return"[object Object]"===eo(l)}(ht))return function fo(l){return"[object RegExp]"===eo(l)}(ht.validate)?Et.validate=function $o(l){return function(g,x){const G=g.slice(x);return l.test(G)?G.match(l)[0].length:0}}(ht.validate):Zo(ht.validate)?Et.validate=ht.validate:K(ke,ht),void(Zo(ht.normalize)?Et.normalize=ht.normalize:ht.normalize?K(ke,ht):Et.normalize=function(l,g){g.normalize(l)});!function Zi(l){return"[object String]"===eo(l)}(ht)?K(ke,ht):Z.push(ke)}),Z.forEach(function(ke){l.__compiled__[l.__schemas__[ke]]&&(l.__compiled__[ke].validate=l.__compiled__[l.__schemas__[ke]].validate,l.__compiled__[ke].normalize=l.__compiled__[l.__schemas__[ke]].normalize)}),l.__compiled__[""]={validate:null,normalize:function(l,g){g.normalize(l)}};const Be=Object.keys(l.__compiled__).filter(function(ke){return ke.length>0&&l.__compiled__[ke]}).map(cr).join("|");l.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+g.src_ZPCc+"))("+Be+")","i"),l.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+g.src_ZPCc+"))("+Be+")","ig"),l.re.schema_at_start=RegExp("^"+l.re.schema_search.source,"i"),l.re.pretest=RegExp("("+l.re.schema_test.source+")|("+l.re.host_fuzzy_test.source+")|@","i"),function wi(l){l.__index__=-1,l.__text_cache__=""}(l)}function Oi(l,g){const x=l.__index__,G=l.__last_index__,Z=l.__text_cache__.slice(x,G);this.schema=l.__schema__.toLowerCase(),this.index=x+g,this.lastIndex=G+g,this.raw=Z,this.text=Z,this.url=Z}function $r(l,g){const x=new Oi(l,g);return l.__compiled__[x.schema].normalize(x,l),x}function Eo(l,g){if(!(this instanceof Eo))return new Eo(l,g);g||function Hn(l){return Object.keys(l||{}).reduce(function(g,x){return g||qr.hasOwnProperty(x)},!1)}(l)&&(g=l,l={}),this.__opts__=yi({},qr,g),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=yi({},Vn,l),this.__compiled__={},this.__tlds__=si,this.__tlds_replaced__=!1,this.re={},Lo(this)}Eo.prototype.add=function(g,x){return this.__schemas__[g]=x,Lo(this),this},Eo.prototype.set=function(g){return this.__opts__=yi(this.__opts__,g),this},Eo.prototype.test=function(g){if(this.__text_cache__=g,this.__index__=-1,!g.length)return!1;let x,G,Z,K,Be,ke,ht,Et,ln;if(this.re.schema_test.test(g))for(ht=this.re.schema_search,ht.lastIndex=0;null!==(x=ht.exec(g));)if(K=this.testSchemaAt(g,x[2],ht.lastIndex),K){this.__schema__=x[2],this.__index__=x.index+x[1].length,this.__last_index__=x.index+x[0].length+K;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(Et=g.search(this.re.host_fuzzy_test),Et>=0&&(this.__index__<0||Et=0&&null!==(Z=g.match(this.re.email_fuzzy))&&(Be=Z.index+Z[1].length,ke=Z.index+Z[0].length,(this.__index__<0||Bethis.__last_index__)&&(this.__schema__="mailto:",this.__index__=Be,this.__last_index__=ke))),this.__index__>=0},Eo.prototype.pretest=function(g){return this.re.pretest.test(g)},Eo.prototype.testSchemaAt=function(g,x,G){return this.__compiled__[x.toLowerCase()]?this.__compiled__[x.toLowerCase()].validate(g,G,this):0},Eo.prototype.match=function(g){const x=[];let G=0;this.__index__>=0&&this.__text_cache__===g&&(x.push($r(this,G)),G=this.__last_index__);let Z=G?g.slice(G):g;for(;this.test(Z);)x.push($r(this,G)),Z=Z.slice(this.__last_index__),G+=this.__last_index__;return x.length?x:null},Eo.prototype.matchAtStart=function(g){if(this.__text_cache__=g,this.__index__=-1,!g.length)return null;const x=this.re.schema_at_start.exec(g);if(!x)return null;const G=this.testSchemaAt(g,x[2],x[0].length);return G?(this.__schema__=x[2],this.__index__=x.index+x[1].length,this.__last_index__=x.index+x[0].length+G,$r(this,0)):null},Eo.prototype.tlds=function(g,x){return g=Array.isArray(g)?g:[g],x?(this.__tlds__=this.__tlds__.concat(g).sort().filter(function(G,Z,K){return G!==K[Z-1]}).reverse(),Lo(this),this):(this.__tlds__=g.slice(),this.__tlds_replaced__=!0,Lo(this),this)},Eo.prototype.normalize=function(g){g.schema||(g.url="http://"+g.url),"mailto:"===g.schema&&!/^mailto:/i.test(g.url)&&(g.url="mailto:"+g.url)},Eo.prototype.onCompile=function(){};const ho=Eo,No=2147483647,Vs=/^xn--/,js=/[^\0-\x7F]/,$s=/[\x2E\u3002\uFF0E\uFF61]/g,_s={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Fo=Math.floor,O=String.fromCharCode;function J(l){throw new RangeError(_s[l])}function ge(l,g){const x=l.split("@");let G="";x.length>1&&(G=x[0]+"@",l=x[1]);const K=function P(l,g){const x=[];let G=l.length;for(;G--;)x[G]=g(l[G]);return x}((l=l.replace($s,".")).split("."),g).join(".");return G+K}function Je(l){const g=[];let x=0;const G=l.length;for(;x=55296&&Z<=56319&&x=48&&l<58?l-48+26:l>=65&&l<91?l-65:l>=97&&l<123?l-97:36},An=function(l,g){return l+22+75*(l<26)-((0!=g)<<5)},di=function(l,g,x){let G=0;for(l=x?Fo(l/700):l>>1,l+=Fo(l/g);l>455;G+=36)l=Fo(l/35);return Fo(G+36*l/(l+38))},_i=function(l){const g=[],x=l.length;let G=0,Z=128,K=72,Be=l.lastIndexOf("-");Be<0&&(Be=0);for(let ke=0;ke=128&&J("not-basic"),g.push(l.charCodeAt(ke));for(let ke=Be>0?Be+1:0;ke=x&&J("invalid-input");const _n=tn(l.charCodeAt(ke++));_n>=36&&J("invalid-input"),_n>Fo((No-G)/ln)&&J("overflow"),G+=_n*ln;const En=nn<=K?1:nn>=K+26?26:nn-K;if(_nFo(No/un)&&J("overflow"),ln*=un}const Et=g.length+1;K=di(G-ht,Et,0==ht),Fo(G/Et)>No-Z&&J("overflow"),Z+=Fo(G/Et),G%=Et,g.splice(G++,0,Z)}return String.fromCodePoint(...g)},fi=function(l){const g=[],x=(l=Je(l)).length;let G=128,Z=0,K=72;for(const ht of l)ht<128&&g.push(O(ht));const Be=g.length;let ke=Be;for(Be&&g.push("-");ke=G&&lnFo((No-Z)/Et)&&J("overflow"),Z+=(ht-G)*Et,G=ht;for(const ln of l)if(lnNo&&J("overflow"),ln===G){let nn=Z;for(let _n=36;;_n+=36){const En=_n<=K?1:_n>=K+26?26:_n-K;if(nnString.fromCodePoint(...l)},decode:_i,encode:fi,toASCII:function(l){return ge(l,function(g){return js.test(g)?"xn--"+fi(g):g})},toUnicode:function(l){return ge(l,function(g){return Vs.test(g)?_i(g.slice(4).toLowerCase()):g})}},Go={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},rr=/^(vbscript|javascript|file|data):/,Nr=/^data:image\/(gif|png|jpeg|webp);/;function br(l){const g=l.trim().toLowerCase();return!rr.test(g)||Nr.test(g)}const ss=["http:","https:","mailto:"];function Gr(l){const g=mt(l,!0);if(g.hostname&&(!g.protocol||ss.indexOf(g.protocol)>=0))try{g.hostname=Xi.toASCII(g.hostname)}catch{}return Y(_e(g))}function pa(l){const g=mt(l,!0);if(g.hostname&&(!g.protocol||ss.indexOf(g.protocol)>=0))try{g.hostname=Xi.toUnicode(g.hostname)}catch{}return te(_e(g),te.defaultChars+"%")}function Bo(l,g){if(!(this instanceof Bo))return new Bo(l,g);g||bt(l)||(g=l||{},l="default"),this.inline=new Ro,this.block=new mo,this.core=new Yi,this.renderer=new Kn,this.linkify=new ho,this.validateLink=br,this.normalizeLink=Gr,this.normalizeLinkText=pa,this.utils=k,this.helpers=$t({},z),this.options={},this.configure(l),g&&this.set(g)}Bo.prototype.set=function(l){return $t(this.options,l),this},Bo.prototype.configure=function(l){const g=this;if(bt(l)){const x=l;if(!(l=Go[x]))throw new Error('Wrong `markdown-it` preset "'+x+'", check name')}if(!l)throw new Error("Wrong `markdown-it` preset, can't be empty");return l.options&&g.set(l.options),l.components&&Object.keys(l.components).forEach(function(x){l.components[x].rules&&g[x].ruler.enableOnly(l.components[x].rules),l.components[x].rules2&&g[x].ruler2.enableOnly(l.components[x].rules2)}),this},Bo.prototype.enable=function(l,g){let x=[];Array.isArray(l)||(l=[l]),["core","block","inline"].forEach(function(Z){x=x.concat(this[Z].ruler.enable(l,!0))},this),x=x.concat(this.inline.ruler2.enable(l,!0));const G=l.filter(function(Z){return x.indexOf(Z)<0});if(G.length&&!g)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+G);return this},Bo.prototype.disable=function(l,g){let x=[];Array.isArray(l)||(l=[l]),["core","block","inline"].forEach(function(Z){x=x.concat(this[Z].ruler.disable(l,!0))},this),x=x.concat(this.inline.ruler2.disable(l,!0));const G=l.filter(function(Z){return x.indexOf(Z)<0});if(G.length&&!g)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+G);return this},Bo.prototype.use=function(l){const g=[this].concat(Array.prototype.slice.call(arguments,1));return l.apply(l,g),this},Bo.prototype.parse=function(l,g){if("string"!=typeof l)throw new Error("Input data should be a String");const x=new this.core.State(l,this,g);return this.core.process(x),x.tokens},Bo.prototype.render=function(l,g){return this.renderer.render(this.parse(l,g=g||{}),this.options,g)},Bo.prototype.parseInline=function(l,g){const x=new this.core.State(l,this,g);return x.inlineMode=!0,this.core.process(x),x.tokens},Bo.prototype.renderInline=function(l,g){return this.renderer.render(this.parseInline(l,g=g||{}),this.options,g)};const Gs=Bo;var ea=c(4911);function dr(l){return"true"===(null==l?void 0:l.toString())}function ws(l){const g=String(l).trim();if(function ta(l){return["undefined","null","NaN"].includes(l)}(g))return null;if(function vs(l){return"true"===l||"false"===l}(g))return"true"===String(g);if(function Os(l){return!!l.trim()&&!Number.isNaN(Number(l))&&!l.startsWith("+")}(g))return Number(g);const x=decodeURIComponent(g);try{return function xs(l){return l.startsWith("[")&&l.endsWith("]")}(x)||function Uo(l){return l.startsWith("{")&&l.endsWith("}")}(x)?JSON.parse(x):x}catch{return x}}function as(l){return[{path:"",component:l,children:[{path:":tab",component:l}]}]}function es(l,g){if(null===l)return"null";switch(typeof l){case"string":return`'${l}'`;case"undefined":case"number":case"boolean":case"function":return String(l)}return l instanceof RegExp?String(l):Array.isArray(l)?function Ps(l,g){if(0===g)return"[\u2026]";let x="",G=!0;for(let Z=0;Z"code"===G&&"fence"===Z).map(({content:G})=>G.trim());return x.length?x:[l]}function us(l){return(0,ea.mG)(this,void 0,void 0,function*(){return l instanceof Promise?(yield l).default:l})}function sr(l){return(0,ea.mG)(this,void 0,void 0,function*(){const g={};for(const[x,G]of Object.entries(l))G&&(g[x]=yield us(G));return g})}function Ws(l){const g=new Map;return l.forEach(x=>{"subPages"in x?x.subPages.forEach(G=>{g.set(G.title,G)}):g.set(x.title,x)}),g}const ar={\u0430:"f",\u0431:",",\u0432:"d",\u0433:"u",\u0434:"l",\u0435:"t",\u0451:"`",\u0436:";",\u0437:"p",\u0438:"b",\u0439:"q",\u043a:"r",\u043b:"k",\u043c:"v",\u043d:"y",\u043e:"j",\u043f:"g",\u0440:"h",\u0441:"c",\u0442:"n",\u0443:"e",\u0444:"a",\u0445:"[",\u0446:"w",\u0447:"x",\u0448:"i",\u0449:"o",\u044a:"]",\u044b:"s",\u044c:"m",\u044e:".",\u044f:"z"};function _a(l){let g="";for(let x=0;x]+)>/g);return(g?g.reduce((G,Z)=>G.replace(Z,Z.replace(/\|/g,"&")),l).split("|").map(G=>G.trim()):l.split("|").map(G=>G.trim())).reduce((G,Z)=>{var K,Be,ke,ht,Et,ln,nn,_n,En,un,pi,hi;let oi=Z.trim().replace(/readonly /g,"").replace(/\[\]/g,"");return oi=null!==(ht=null===(ke=null===(Be=null===(K=oi.match(/ReadonlyArray<([^>]+)>/))||void 0===K?void 0:K[1])||void 0===Be?void 0:Be.split("&"))||void 0===ke?void 0:ke[0])&&void 0!==ht?ht:oi,oi=null!==(_n=null===(nn=null===(ln=null===(Et=oi.match(/\[([^\]]+)\]/))||void 0===Et?void 0:Et[1])||void 0===ln?void 0:ln.split(","))||void 0===nn?void 0:nn[0])&&void 0!==_n?_n:oi,oi=null!==(hi=null===(pi=null!==(un=null===(En=oi.split("<"))||void 0===En?void 0:En[0])&&void 0!==un?un:oi)||void 0===pi?void 0:pi.trim())&&void 0!==hi?hi:"",oi=Number.isNaN(parseFloat(oi))?oi:"number",oi=/^'(.+)'$|^"(.+)"$|^`(.+)`$/.test(oi)?"string":oi,oi=1===oi.length?"unknown":oi,G.concat({type:Z.replace(/&/g,"|"),extracted:oi})},[])}},6480:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Er:()=>qe,F9:()=>At,FX:()=>$e,GM:()=>Ge,M$:()=>Oe,N9:()=>Qe,QJ:()=>vt,Xn:()=>ee,d5:()=>tt,wB:()=>_t});var e=c(4537),s=c(9900),z=(c(8939),c(3770)),F=c(1927),ne=c(8023),W=c(1860),te=c(7241),pe=c(4121),ce=c(3517),de=c(3674),Y=c(7969),_e=c(4970),ue=c(2147),ie=c(1528),Ue=c(3528),ve=c(9669),Ae=c(7788),Ve=c(8692);const je=["viewContainer"];let ee=(()=>{class R{constructor(){this.pseudoHover=null,this.pseudoActive=null,this.pseudoFocus=null,this.focusable=!0,this.nativeId="",this.focusedChange=new e.vpe,this.focusVisibleChange=new e.vpe,this.focusVisible=!1,this.autoIdString=`tui_interactive_${R.autoId++}${Date.now()}`}get computedDisabled(){return this.disabled}get computedFocusable(){return!this.computedDisabled&&(this.focusable||this.focused)}get computedFocused(){var S;return!this.computedDisabled&&(null!==(S=this.pseudoFocus)&&void 0!==S?S:this.focused)}get computedFocusVisible(){var S;return!this.computedDisabled&&(null!==(S=this.pseudoFocus)&&void 0!==S?S:this.focusVisible)}get id(){return this.nativeId||this.autoIdString}updateFocused(S){this.focusedChange.emit(S)}updateFocusVisible(S){this.focusVisible!==S&&(this.focusVisible=S,this.focusVisibleChange.emit(S))}}return R.autoId=0,R.\u0275fac=function(S){return new(S||R)},R.\u0275dir=e.lG2({type:R,hostVars:7,hostBindings:function(S,q){2&S&&(e.uIk("data-focused",q.pseudoFocus),e.ekj("_disabled",q.computedDisabled)("_focused",q.computedFocused)("_focus-visible",q.computedFocusVisible))},inputs:{pseudoHover:"pseudoHover",pseudoActive:"pseudoActive",pseudoFocus:"pseudoFocus",focusable:"focusable",nativeId:"nativeId"},outputs:{focusedChange:"focusedChange",focusVisibleChange:"focusVisibleChange"}}),R})();class $e{}let Oe=(()=>{class R extends ee{constructor(S,q,ze){super(),this.ngControl=S,this.cdr=q,this.valueTransformer=ze,this.refresh$=new ne.x,this.onTouched=z.iD,this.onChange=z.iD,this.fallbackValue=this.getFallbackValue(),this.destroy$=new ne.x,this.readOnly=!1,this.pseudoInvalid=null,this.ngControl&&(this.ngControl.valueAccessor=this)}get computedInvalid(){return this.interactive&&(null!==this.pseudoInvalid?this.pseudoInvalid:this.touched&&this.invalid)}get value(){var S;return null!==(S=this.previousInternalValue)&&void 0!==S?S:this.fallbackValue}set value(S){this.updateValue(S)}get safeCurrentValue(){var S;return null!==(S=this.rawValue)&&void 0!==S?S:this.fallbackValue}get invalid(){return this.safeNgControlData(({invalid:S})=>S,!1)}get valid(){return this.safeNgControlData(({valid:S})=>S,!1)}get touched(){return this.safeNgControlData(({touched:S})=>S,!1)}get disabled(){return this.safeNgControlData(({disabled:S})=>S,!1)}get interactive(){return!this.readOnly&&!this.computedDisabled}get control(){return this.safeNgControlData(({control:S})=>S,null)}get computedName(){var S,q;return null!==(q=null===(S=this.controlName)||void 0===S?void 0:S.toString())&&void 0!==q?q:null}get controlName(){var S,q,ze;return null!==(ze=null===(q=null===(S=this.ngControl)||void 0===S?void 0:S.name)||void 0===q?void 0:q.toString())&&void 0!==ze?ze:null}get rawValue(){const{ngControl:S}=this;if(null!==S)return this.fromControlValue(S instanceof s.On&&void 0===this.previousInternalValue?S.viewModel:S.value)}ngOnInit(){this.refresh$.pipe((0,ce.g)(0),(0,de.O)(null),(0,Y.U)(()=>{var S;return null===(S=this.ngControl)||void 0===S?void 0:S.control}),(0,_e.h)(F.Pc),(0,ue.x)(),(0,ie.w)(S=>(0,W.T)(S.valueChanges,S.statusChanges)),(0,Ue.R)(this.destroy$)).subscribe(()=>{this.refreshLocalValue(this.safeCurrentValue)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}checkControlUpdate(){this.cdr.markForCheck()}registerOnChange(S){this.onChange=q=>{S(this.toControlValue(q))},this.refresh$.next()}registerOnTouched(S){this.onTouched=S}setDisabledState(){this.checkControlUpdate()}writeValue(S){this.refreshLocalValue(this.fromControlValue(this.ngControl instanceof s.On&&void 0===this.previousInternalValue?this.ngControl.model:S))}updateFocused(S){S||this.controlMarkAsTouched(),super.updateFocused(S)}updateValue(S){this.disabled||this.valueIdenticalComparator(this.value,S)||(this.previousInternalValue=S,this.controlSetValue(S))}valueIdenticalComparator(S,q){return S===q}safeNgControlData(S,q){var ze;return null!==(ze=this.ngControl&&S(this.ngControl))&&void 0!==ze?ze:q}controlMarkAsTouched(){this.onTouched(),this.checkControlUpdate()}controlSetValue(S){this.onChange(S),this.checkControlUpdate()}refreshLocalValue(S){this.previousInternalValue=S,this.checkControlUpdate()}fromControlValue(S){return this.valueTransformer?this.valueTransformer.fromControlValue(S):S}toControlValue(S){return this.valueTransformer?this.valueTransformer.toControlValue(S):S}}return R.\u0275fac=function(S){return new(S||R)(e.Y36(s.a5,8),e.Y36(e.sBO),e.Y36($e,8))},R.\u0275dir=e.lG2({type:R,hostVars:4,hostBindings:function(S,q){2&S&&e.ekj("_readonly",q.readOnly)("_invalid",q.computedInvalid)},inputs:{readOnly:"readOnly",pseudoInvalid:"pseudoInvalid"},features:[e.qOj]}),R})();function _t(R){return{provide:Oe,useExisting:R}}let vt=(()=>{class R{constructor(){this.change$=new ne.x}ngOnChanges(){this.change$.next()}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275dir=e.lG2({type:R,features:[e.TTD]}),R})(),tt=(()=>{class R extends te.y{constructor(S){super(q=>this.dialogs$.subscribe(q)),this.idService=S,this.dialogs$=new pe.X([])}open(S,q={}){return new te.y(ze=>{const Se=Object.assign(Object.assign(Object.assign({},this.defaultOptions),q),{content:S,completeWith:et=>{ze.next(et),ze.complete()},$implicit:ze,component:this.component,createdAt:Date.now(),id:this.idService.generate()});return this.dialogs$.next([...this.dialogs$.value,Se]),()=>{this.dialogs$.next(this.dialogs$.value.filter(et=>et!==Se))}})}}return R.\u0275fac=function(S){return new(S||R)(e.LFG(ve.ll))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})(),At=(()=>{class R extends Oe{getFallbackValue(){return null}}return R.\u0275fac=function(){let be;return function(q){return(be||(be=e.n5z(R)))(q||R)}}(),R.\u0275dir=e.lG2({type:R,features:[e.qOj]}),R})(),Qe=(()=>{class R{get safeHost(){if(!this.host)throw new Ae.ZB;return this.host}attach(S){this.host=S}add(S){return this.safeHost.addComponentChild(S)}remove({hostView:S}){S.destroyed||S.destroy()}addTemplate(S,q){return this.safeHost.addTemplateChild(S,q)}removeTemplate(S){S.destroyed||S.destroy()}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})(),qe=(()=>{class R{constructor(S,q,ze){this.injector=S,this.el=q,ze.attach(this)}get clientRect(){return this.el.nativeElement.getBoundingClientRect()}addComponentChild(S){const q=S.createInjector(this.injector),N=q.get(e._Vd).resolveComponentFactory(S.component),et=e.zs3.create({parent:q,providers:[{provide:R,useValue:this}]}),pt=this.vcr.createComponent(N,void 0,et);return pt.changeDetectorRef.detectChanges(),pt}addTemplateChild(S,q){return this.vcr.createEmbeddedView(S,q)}}return R.\u0275fac=function(S){return new(S||R)(e.Y36(e.gxx),e.Y36(e.SBq),e.Y36(Qe))},R.\u0275dir=e.lG2({type:R,viewQuery:function(S,q){if(1&S&&e.Gf(je,5,e.s_b),2&S){let ze;e.iGM(ze=e.CRH())&&(q.vcr=ze.first)}}}),R})(),Ge=(()=>{class R{constructor(S){if(this.doc=S,null!==this.style)return void this.addTheme();const q=this.doc.head.querySelectorAll("style");this.constructor.style=q[q.length-1]}get style(){return this.constructor.style}ngOnDestroy(){this.removeTheme()}addTheme(){this.style&&this.doc.head.appendChild(this.style)}removeTheme(){var S;null===(S=this.style)||void 0===S||S.remove()}}return R.style=null,R.\u0275fac=function(S){return new(S||R)(e.Y36(Ve.K0))},R.\u0275dir=e.lG2({type:R}),R})()},8939:(Ht,Fe,c)=>{"use strict";c.d(Fe,{T:()=>k,z:()=>s});var e=c(3770);const s={enabled:!1,get assert(){return e.iD}};class k{constructor(F,ne={}){this.message=F,this.context=ne}}},5122:(Ht,Fe,c)=>{"use strict";c.d(Fe,{ae:()=>z,mL:()=>ne,qY:()=>F});var e=c(4537),s=c(6480);const k=["*"];let z=(()=>{class W extends s.N9{}return W.\u0275fac=function(){let te;return function(ce){return(te||(te=e.n5z(W)))(ce||W)}}(),W.\u0275prov=e.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),F=(()=>{class W extends s.Er{}return W.\u0275fac=function(){let te;return function(ce){return(te||(te=e.n5z(W)))(ce||W)}}(),W.\u0275cmp=e.Xpm({type:W,selectors:[["tui-dropdown-host"]],features:[e._Bn([{provide:s.N9,useExisting:z},{provide:s.Er,useExisting:W}]),e.qOj],ngContentSelectors:k,decls:3,vars:0,consts:[["viewContainer",""]],template:function(pe,ce){1&pe&&(e.F$t(),e.Hsn(0),e.GkF(1,null,0))},styles:['[_nghost-%COMP%]{position:relative;z-index:0;display:block;height:100%}[_nghost-%COMP%]:before{content:"";display:block;overflow:hidden}.t-position-fixed-offset[_ngcontent-%COMP%]{position:fixed;left:0;top:0;pointer-events:none;visibility:hidden;width:100%;height:100%}'],changeDetection:0}),W})(),ne=(()=>{class W{}return W.\u0275fac=function(pe){return new(pe||W)},W.\u0275mod=e.oAB({type:W}),W.\u0275inj=e.cJS({}),W})()},1359:(Ht,Fe,c)=>{"use strict";c.d(Fe,{eI:()=>_t,ex:()=>Oe,tZ:()=>ee});var e=c(4537),s=c(2579),k=c(2325),z=c(8033),F=c(7969),ne=c(1528),W=c(3528),te=c(6148),pe=c(3674),ce=c(2147),de=c(8692),Y=c(3770),_e=c(9669),ue=c(1860);function ie(vt,tt){if(1&vt&&(e.TgZ(0,"div",3),e._UZ(1,"div",4),e.qZA()),2&vt){const we=e.oxw().ngIf;e.ekj("t-bar_has-horizontal",we[1])}}function Ue(vt,tt){if(1&vt&&(e.TgZ(0,"div",5),e._UZ(1,"div",6),e.qZA()),2&vt){const we=e.oxw().ngIf;e.ekj("t-bar_has-vertical",we[0])}}function ve(vt,tt){if(1&vt&&(e.ynx(0),e.YNc(1,ie,2,2,"div",1),e.YNc(2,Ue,2,2,"div",2),e.BQk()),2&vt){const we=tt.ngIf;e.xp6(1),e.Q6J("ngIf",we[0]),e.xp6(1),e.Q6J("ngIf",we[1])}}let se=(()=>{class vt{constructor(we,mt,At,Qe,qe,Ge){this.container=Qe,this.doc=qe,this.el=Ge,this.tuiScrollbar="vertical";const{nativeElement:R}=this.el,be=(0,k.mL)(R,"mousedown"),S=(0,k.mL)(this.doc,"mousemove"),q=(0,k.mL)(this.doc,"mouseup"),ze=(0,k.mL)(this.wrapper,"mousedown");(0,ue.T)(ze.pipe((0,F.U)(N=>this.getScrolled(N,.5,.5))),be.pipe((0,k.vm)(),(0,ne.w)(N=>{const Se=R.getBoundingClientRect(),et=function Ve({clientY:vt},{top:tt,height:we}){return(vt-tt)/we}(N,Se),pt=function je({clientX:vt},{left:tt,width:we}){return(vt-tt)/we}(N,Se);return S.pipe((0,F.U)(wt=>this.getScrolled(wt,et,pt)),(0,W.R)(q))}))).pipe((0,k.fL)(we),(0,W.R)(mt)).subscribe(([N,Se])=>{"vertical"===this.tuiScrollbar?this.element.scrollTop=N:this.element.scrollLeft=Se}),(0,ue.T)(At.pipe((0,te.p)(Y.Yg)),(0,k.pt)(this.element)).pipe((0,k.fL)(we),(0,W.R)(mt)).subscribe(()=>{"vertical"===this.tuiScrollbar?(R.style.top=100*this.thumb+"%",R.style.height=100*this.view+"%"):(R.style.left=100*this.thumb+"%",R.style.width=100*this.view+"%")})}get wrapper(){return this.el.nativeElement.parentElement}get scrolled(){const{scrollTop:we,scrollHeight:mt,clientHeight:At,scrollLeft:Qe,scrollWidth:qe,clientWidth:Ge}=this.element;return"vertical"===this.tuiScrollbar?we/(mt-At):Qe/(qe-Ge)}get compensation(){const{clientHeight:we,scrollHeight:mt,clientWidth:At,scrollWidth:Qe}=this.element;return we*we/mt>24&&"vertical"===this.tuiScrollbar||At*At/Qe>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/we:24/At}get thumb(){return this.scrolled*(1-(this.compensation||this.view))}get view(){const{clientHeight:we,scrollHeight:mt,clientWidth:At,scrollWidth:Qe}=this.element;return"vertical"===this.tuiScrollbar?Math.ceil(we/mt*100)/100:Math.ceil(At/Qe*100)/100}get element(){return this.container.nativeElement}getScrolled({clientY:we,clientX:mt},At,Qe){const{offsetHeight:qe,offsetWidth:Ge}=this.el.nativeElement,{top:R,left:be,width:S,height:q}=this.wrapper.getBoundingClientRect();return[(we-R-qe*At)/(q-qe)*(this.element.scrollHeight-q),(mt-be-Ge*Qe)/(S-Ge)*(this.element.scrollWidth-S)]}}return vt.\u0275fac=function(we){return new(we||vt)(e.Y36(e.R0b),e.Y36(_e.a3,2),e.Y36(s.L1),e.Y36(z.$_),e.Y36(de.K0),e.Y36(e.SBq))},vt.\u0275dir=e.lG2({type:vt,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},features:[e._Bn([_e.a3])]}),vt})(),ee=(()=>{class vt{constructor(we,mt,At){this.zone=we,this.scrollRef=mt,this.animationFrame$=At,this.refresh$=this.animationFrame$.pipe((0,te.p)(300),(0,F.U)(()=>this.scrollbars),(0,pe.O)([!1,!1]),(0,ce.x)((Qe,qe)=>Qe[0]===qe[0]&&Qe[1]===qe[1]),(0,k.Yr)(this.zone))}get scrollbars(){const{clientHeight:we,scrollHeight:mt,clientWidth:At,scrollWidth:Qe}=this.scrollRef.nativeElement;return[Math.ceil(we/mt*100)<100,Math.ceil(At/Qe*100)<100]}}return vt.\u0275fac=function(we){return new(we||vt)(e.Y36(e.R0b),e.Y36(z.$_),e.Y36(s.L1))},vt.\u0275cmp=e.Xpm({type:vt,selectors:[["tui-scroll-controls"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(we,mt){1&we&&(e.YNc(0,ve,3,2,"ng-container",0),e.ALo(1,"async")),2&we&&e.Q6J("ngIf",e.lcZ(1,1,mt.refresh$))},dependencies:[de.O5,se,de.Ov],styles:["[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:0;left:0;z-index:1;min-width:calc(100% - 1px);min-height:calc(100% - 1px);max-width:calc(100% - 1px);max-height:calc(100% - 1px);float:left;-webkit-margin-end:calc(-100% + 1px);margin-inline-end:calc(-100% + 1px);pointer-events:none}.t-bar[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0;pointer-events:auto;animation:tuiFadeIn var(--tui-duration, .3s) ease-in-out}.t-bar_vertical[_ngcontent-%COMP%]{top:0;width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%]{left:0;height:.875rem}.t-bar_has-horizontal[_ngcontent-%COMP%]{bottom:.5rem}.t-bar_has-vertical[_ngcontent-%COMP%]{right:.5rem}.t-thumb[_ngcontent-%COMP%]{position:absolute;border-radius:6.25rem;border:.25rem solid transparent;cursor:pointer;pointer-events:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition:all var(--tui-duration, .3s) ease-in-out;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{right:0;width:.75rem;min-height:1.25rem}.t-bar_vertical[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{bottom:0;height:.75rem;min-width:1.25rem}.t-bar_horizontal[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{height:.875rem}"],changeDetection:0}),vt})(),Oe=(()=>{class vt{}return vt.\u0275fac=function(we){return new(we||vt)},vt.\u0275dir=e.lG2({type:vt,selectors:[["","tuiScrollRef",""]],features:[e._Bn([{provide:z.$_,useExisting:e.SBq}])]}),vt})(),_t=(()=>{class vt{}return vt.\u0275fac=function(we){return new(we||vt)},vt.\u0275mod=e.oAB({type:vt}),vt.\u0275inj=e.cJS({imports:[[de.ez]]}),vt})()},3770:(Ht,Fe,c)=>{"use strict";c.d(Fe,{F:()=>se,Iy:()=>k,Jy:()=>ce,Kx:()=>Ue,LZ:()=>te,Lw:()=>Ve,Ml:()=>Ge,Mm:()=>W,Ye:()=>z,Yg:()=>Ae,bg:()=>ie,em:()=>vt,f$:()=>je,fv:()=>_t,iD:()=>pe,yZ:()=>de});var e=c(4537),s=c(4091);const k=()=>!1,z=()=>!0,ne={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},W=new e.n_E,te=[],pe=()=>{},ce=Object.assign(Object.assign({},ne),{toJSON:()=>ne}),de=R=>String(R),ie=(R,be)=>R===be||function Y(R,be){return Array.isArray(R)&&Array.isArray(be)&&!R.length&&!be.length}(R,be),Ue=(0,s.X$)("tuiParentAnimation",[(0,s.eR)(":leave",[(0,s.IO)(":scope > *",[(0,s.pV)()],{optional:!0})])]),Ae=((0,s.X$)("tuiParentStop",[(0,s.eR)(":enter",[])]),1e3/15),Ve=R=>"ownerSVGElement"in R?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,je="\xa0",se="\u2013",_t="-",vt="\u2212",Ge="3.61.0"},4358:(Ht,Fe,c)=>{"use strict";c.d(Fe,{UM:()=>pe});var e=c(7788);function te(Y,_e,ue=!0){return function(){const Ue=Y.call(this);return Object.defineProperty(this,_e,{enumerable:ue,value:Ue}),Ue}}function pe(Y,_e,ue){if("function"==typeof Y){const je=_e;if("getter"===je.kind)return te(Y,je.name);if("method"===je.kind)return function W(Y){let ie,_e=[],ue=!1;return function(...ve){return ue&&_e.length===ve.length&&ve.every((Ve,je)=>Ve===_e[je])||(_e=ve,ie=Y.apply(this,ve),ue=!0),ie}}(Y);throw new e.jw}const{get:ie,enumerable:Ue,value:ve}=ue,Ae=_e;if(ie)return{configurable:!0,enumerable:Ue,get:te(ie,Ae,Ue)};if("function"!=typeof ve)throw new e.jw;const Ve=ve;return{configurable:!0,enumerable:Ue,get(){let ee,je=[],se=!1;const $e=(...Oe)=>(se&&je.length===Oe.length&&Oe.every((vt,tt)=>vt===je[tt])||(je=Oe,ee=Ve.apply(this,Oe),se=!0),ee);return Object.defineProperty(this,Ae,{configurable:!0,value:$e}),$e}}}},221:(Ht,Fe,c)=>{"use strict";c.d(Fe,{A:()=>Y,e:()=>de});var e=c(4911),s=c(4537),k=c(4358),z=c(2325),F=c(8033),ne=c(1927),W=c(7969),te=c(3674),pe=c(2147),ce=c(1588);let de=(()=>{class _e{constructor(ie,Ue,ve,Ae){var Ve;this.active$=ie,this.zone=Ue,this.el=ve,this.directParentActiveZone=Ae,this.subActiveZones=[],this.tuiActiveZoneParent=null,this.tuiActiveZoneChange=this.active$.pipe((0,W.U)(je=>!!je&&this.contains(je)),(0,te.O)(!1),(0,pe.x)(),(0,ce.T)(1),(0,z.Yr)(this.zone)),null===(Ve=this.directParentActiveZone)||void 0===Ve||Ve.addSubActiveZone(this)}set tuiActiveZoneParentSetter(ie){this.setZone(ie)}ngOnDestroy(){var ie,Ue;null===(ie=this.directParentActiveZone)||void 0===ie||ie.removeSubActiveZone(this),null===(Ue=this.tuiActiveZoneParent)||void 0===Ue||Ue.removeSubActiveZone(this)}contains(ie){return this.el.nativeElement.contains(ie)||this.subActiveZones.some((Ue,ve,Ae)=>Ae.indexOf(Ue)===ve&&Ue.contains(ie))}setZone(ie){var Ue;null===(Ue=this.tuiActiveZoneParent)||void 0===Ue||Ue.removeSubActiveZone(this),null==ie||ie.addSubActiveZone(this),this.tuiActiveZoneParent=ie}addSubActiveZone(ie){this.subActiveZones=[...this.subActiveZones,ie]}removeSubActiveZone(ie){this.subActiveZones=(0,ne.WX)(this.subActiveZones,this.subActiveZones.indexOf(ie))}}return _e.\u0275fac=function(ie){return new(ie||_e)(s.Y36(F.wk),s.Y36(s.R0b),s.Y36(s.SBq),s.Y36(_e,12))},_e.\u0275dir=s.lG2({type:_e,selectors:[["","tuiActiveZone","",5,"ng-container"],["","tuiActiveZoneChange","",5,"ng-container"],["","tuiActiveZoneParent","",5,"ng-container"]],inputs:{tuiActiveZoneParentSetter:["tuiActiveZoneParent","tuiActiveZoneParentSetter"]},outputs:{tuiActiveZoneChange:"tuiActiveZoneChange"},exportAs:["tuiActiveZone"]}),(0,e.gn)([k.UM],_e.prototype,"setZone",null),_e})(),Y=(()=>{class _e{}return _e.\u0275fac=function(ie){return new(ie||_e)},_e.\u0275mod=s.oAB({type:_e}),_e.\u0275inj=s.cJS({}),_e})()},4541:(Ht,Fe,c)=>{"use strict";c.d(Fe,{S:()=>k,t:()=>s});var e=c(4537);let s=(()=>{class z{constructor(){this.indeterminate=!1,this.checked=!1,this.tuiCheckedChange=new e.vpe}get isChecked(){return this.checked}get isIndeterminate(){return this.indeterminate}set tuiChecked(ne){this.checked=ne||!1,this.indeterminate=null===ne}onChange({checked:ne}){this.checked=ne,this.indeterminate=!1,this.tuiCheckedChange.emit(ne)}}return z.\u0275fac=function(ne){return new(ne||z)},z.\u0275dir=e.lG2({type:z,selectors:[["input","tuiChecked",""],["input","tuiCheckedChange",""]],hostVars:2,hostBindings:function(ne,W){1&ne&&e.NdJ("change",function(pe){return W.onChange(pe.target)}),2&ne&&e.Ikx("checked",W.isChecked)("indeterminate",W.isIndeterminate)},inputs:{tuiChecked:"tuiChecked"},outputs:{tuiCheckedChange:"tuiCheckedChange"}}),z})(),k=(()=>{class z{}return z.\u0275fac=function(ne){return new(ne||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({}),z})()},8491:(Ht,Fe,c)=>{"use strict";c.d(Fe,{c:()=>z,q:()=>k});var e=c(4537),s=c(9669);let k=(()=>{class F{constructor(W){this.tuiFocusVisibleChange=W}}return F.\u0275fac=function(W){return new(W||F)(e.Y36(s.ku))},F.\u0275dir=e.lG2({type:F,selectors:[["","tuiFocusVisibleChange",""]],outputs:{tuiFocusVisibleChange:"tuiFocusVisibleChange"},features:[e._Bn([s.a3,s.ku])]}),F})(),z=(()=>{class F{}return F.\u0275fac=function(W){return new(W||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({}),F})()},3633:(Ht,Fe,c)=>{"use strict";c.d(Fe,{t:()=>s,u:()=>k});var e=c(4537);let s=(()=>{class z{constructor(){this.focusable=!0}get tabIndex(){return this.focusable?0:-1}}return z.\u0275fac=function(ne){return new(ne||z)},z.\u0275dir=e.lG2({type:z,selectors:[["","tuiFocusable",""]],hostVars:1,hostBindings:function(ne,W){2&ne&&e.Ikx("tabIndex",W.tabIndex)},inputs:{focusable:["tuiFocusable","focusable"]}}),z})(),k=(()=>{class z{}return z.\u0275fac=function(ne){return new(ne||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({}),z})()},5059:(Ht,Fe,c)=>{"use strict";c.d(Fe,{F:()=>ce,U:()=>pe});var e=c(4537),s=c(2325),k=c(7179),z=c(1860),F=c(7969),ne=c(3674),W=c(2147),te=c(1588);let pe=(()=>{class de{constructor({nativeElement:_e},ue){this.tuiFocusedChange=(0,z.T)((0,s.mL)(_e,"focusin"),(0,s.mL)(_e,"focusout")).pipe((0,F.U)(()=>(0,k.V8)(_e)),(0,ne.O)(!1),(0,W.x)(),(0,te.T)(1),(0,s.Yr)(ue))}}return de.\u0275fac=function(_e){return new(_e||de)(e.Y36(e.SBq),e.Y36(e.R0b))},de.\u0275dir=e.lG2({type:de,selectors:[["","tuiFocusedChange",""]],outputs:{tuiFocusedChange:"tuiFocusedChange"}}),de})(),ce=(()=>{class de{}return de.\u0275fac=function(_e){return new(_e||de)},de.\u0275mod=e.oAB({type:de}),de.\u0275inj=e.cJS({}),de})()},6111:(Ht,Fe,c)=>{"use strict";c.d(Fe,{VE:()=>_e,co:()=>Y,gs:()=>de});var e=c(4537),s=c(3770),k=c(2325),z=c(4493),F=c(7241),ne=c(1860),W=c(7969),te=c(4970),pe=c(2147);function ce({currentTarget:ue,relatedTarget:ie}){return!(0,z.ve)(ie)||!(0,z.ve)(ue)||!ue.contains(ie)}let de=(()=>{class ue extends F.y{constructor(Ue,ve){super(Ae=>this.stream$.subscribe(Ae)),this.el=Ue,this.zone=ve,this.stream$=(0,ne.T)((0,k.mL)(this.el.nativeElement,"mouseenter").pipe((0,W.U)(s.Ye)),(0,k.mL)(this.el.nativeElement,"mouseleave").pipe((0,W.U)(s.Iy)),(0,k.mL)(this.el.nativeElement,"mouseout").pipe((0,te.h)(ce),(0,W.U)(s.Iy))).pipe((0,pe.x)(),(0,k.Yr)(this.zone))}}return ue.\u0275fac=function(Ue){return new(Ue||ue)(e.LFG(e.SBq),e.LFG(e.R0b))},ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})(),Y=(()=>{class ue{constructor(Ue){this.tuiHoveredChange=Ue}}return ue.\u0275fac=function(Ue){return new(Ue||ue)(e.Y36(de))},ue.\u0275dir=e.lG2({type:ue,selectors:[["","tuiHoveredChange",""]],outputs:{tuiHoveredChange:"tuiHoveredChange"},features:[e._Bn([de])]}),ue})(),_e=(()=>{class ue{}return ue.\u0275fac=function(Ue){return new(Ue||ue)},ue.\u0275mod=e.oAB({type:ue}),ue.\u0275inj=e.cJS({}),ue})()},2668:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Ls:()=>k,WD:()=>z});var e=c(4537);class s{constructor(ne){this.internalDirectiveInstance=ne}get $implicit(){return this.internalDirectiveInstance.tuiLet}get tuiLet(){return this.internalDirectiveInstance.tuiLet}}let k=(()=>{class F{constructor(W,te){W.createEmbeddedView(te,new s(this))}static ngTemplateContextGuard(W,te){return!0}}return F.\u0275fac=function(W){return new(W||F)(e.Y36(e.s_b),e.Y36(e.Rgc))},F.\u0275dir=e.lG2({type:F,selectors:[["","tuiLet",""]],inputs:{tuiLet:"tuiLet"}}),F})(),z=(()=>{class F{}return F.\u0275fac=function(W){return new(W||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({}),F})()},1486:(Ht,Fe,c)=>{"use strict";c.d(Fe,{W:()=>pe,e:()=>ce});var e=c(4537),s=c(2325),k=c(9669),z=c(4493),F=c(4970),ne=c(3528),W=c(1528),te=c(8168);let pe=(()=>{class de{constructor({nativeElement:_e},ue,ie){this.mode="scroll",(0,s.mL)(_e,"wheel",{passive:!1}).pipe((0,F.h)(()=>this.enabled),(0,s.fL)(ue),(0,ne.R)(ie)).subscribe(Ue=>{this.processEvent(Ue,!!Ue.deltaY,Ue.deltaY?Ue.deltaY<0:Ue.deltaX<0)}),(0,s.mL)(_e,"touchstart",{passive:!0}).pipe((0,W.w)(({touches:Ue})=>{let se,{clientX:ve,clientY:Ae}=Ue[0],Ve=0,je=0;return(0,s.mL)(_e,"touchmove",{passive:!1}).pipe((0,F.h)(()=>this.enabled),(0,te.b)(ee=>{const $e=ee.changedTouches[0];Ve=ve-$e.clientX,je=Ae-$e.clientY,ve=$e.clientX,Ae=$e.clientY,void 0===se&&(se=Math.abs(je)>Math.abs(Ve)),this.processEvent(ee,se,se?je<0:Ve<0)}))}),(0,s.fL)(ue),(0,ne.R)(ie)).subscribe()}get enabled(){return"none"!==this.mode}get overscrollBehavior(){return this.enabled?"contain":null}processEvent(_e,ue,ie){var Ue;const{target:ve,currentTarget:Ae,cancelable:Ve}=_e;if(Ve&&(0,z.ve)(ve)&&"range"!==(null===(Ue=ve)||void 0===Ue?void 0:Ue.type)){if("all"===this.mode&&(ue&&!Ae.contains((0,z.Hs)(ve))||!ue&&!Ae.contains((0,z.Hs)(ve,!1))))return void _e.preventDefault();if(ue&&(ie&&!(0,z.ty)(ve,Ae,!0,!1)||!ie&&!(0,z.ty)(ve,Ae,!0,!0)))return void _e.preventDefault();!ue&&(ie&&!(0,z.ty)(ve,Ae,!1,!1)||!ie&&!(0,z.ty)(ve,Ae,!1,!0))&&_e.preventDefault()}}}return de.\u0275fac=function(_e){return new(_e||de)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(k.a3,2))},de.\u0275dir=e.lG2({type:de,selectors:[["","tuiOverscroll",""]],hostVars:2,hostBindings:function(_e,ue){2&_e&&e.Udp("overscroll-behavior",ue.overscrollBehavior)},inputs:{mode:["tuiOverscroll","mode"]},features:[e._Bn([k.a3])]}),de})(),ce=(()=>{class de{}return de.\u0275fac=function(_e){return new(_e||de)},de.\u0275mod=e.oAB({type:de}),de.\u0275inj=e.cJS({}),de})()},6424:(Ht,Fe,c)=>{"use strict";c.d(Fe,{B:()=>s,L:()=>e});var e=(()=>{return(k=e||(e={}))[k.Sunday=0]="Sunday",k[k.Monday=1]="Monday",k[k.Tuesday=2]="Tuesday",k[k.Wednesday=3]="Wednesday",k[k.Thursday=4]="Thursday",k[k.Friday=5]="Friday",k[k.Saturday=6]="Saturday",e;var k})(),s=(()=>{return(k=s||(s={}))[k.January=0]="January",k[k.February=1]="February",k[k.March=2]="March",k[k.April=3]="April",k[k.May=4]="May",k[k.June=5]="June",k[k.July=6]="July",k[k.August=7]="August",k[k.September=8]="September",k[k.October=9]="October",k[k.November=10]="November",k[k.December=11]="December",s;var k})()},7788:(Ht,Fe,c)=>{"use strict";c.d(Fe,{AM:()=>z,I4:()=>k,JY:()=>F,ZB:()=>ne,aq:()=>W,j2:()=>de,jw:()=>te});class e extends Error{constructor(){super("")}}class s extends Error{constructor(){super("")}}class k extends Error{constructor(ie){super("")}}class z extends Error{constructor(ie){super("")}}class F extends Error{constructor(ie){super("")}}class ne extends Error{constructor(){super("")}}class W extends Error{constructor(){super("")}}class te extends Error{constructor(){super("")}}class pe extends Error{constructor(){super("")}}class ce extends Error{constructor(){super("")}}class de extends Error{constructor(){super("")}}class Y extends Error{constructor(){super("")}}class _e extends Error{constructor(){super("")}}},2325:(Ht,Fe,c)=>{"use strict";c.d(Fe,{EK:()=>$e,NA:()=>pt,Xd:()=>Ge,Yr:()=>St,fL:()=>Cn,fw:()=>R,ix:()=>qe,ll:()=>be,mL:()=>Oe,pt:()=>Se,vm:()=>et});var e=c(7788),s=c(7241),k=c(4581),z=c(7824),F=c(1995),ne=c(1860),W=c(3729),te=c(9018),pe=c(3674),ce=c(1528),de=c(7969),Y=c(2147),_e=c(6466),ue=c(5598),ie=c(4970),Ue=c(9087),ve=c(853),Ae=c(7470),Ve=c(8168),je=c(1927),se=c(3770),ee=c(7179);function $e(Ft){return new s.y(It=>{if(!Ft.valueChanges)throw new e.j2;Ft.valueChanges.pipe((0,pe.O)(Ft.value)).subscribe(It)})}function Oe(Ft,It,Rt={}){return(0,k.R)(Ft,It,Rt)}function mt(Ft=0){return(0,z.z)((0,ce.w)(()=>(0,F.H)(Ft).pipe((0,de.U)(se.Iy),(0,pe.O)(!0))),(0,Y.x)())}let At,Qe;function qe(Ft){const It=Oe(Ft,"blur"),{ownerDocument:Rt}=Ft;if(!Rt)throw new e.aq;return(!Qe||!At)&&(At=Oe(Rt,"mouseup",{capture:!0}).pipe(mt(),(0,pe.O)(!1),(0,_e.d)({bufferSize:1,refCount:!0})),Qe=Oe(Rt,"mousedown",{capture:!0}).pipe(mt(),(0,pe.O)(!1),(0,_e.d)({bufferSize:1,refCount:!0}))),(0,ne.T)((0,W.z)(Oe(Ft,"focus").pipe((0,ue.q)(1)),It.pipe((0,ie.h)(()=>!(0,ee.V8)(Ft)),(0,ue.q)(1),(0,Ue.l)())).pipe((0,ve.r)(),(0,Ae.M)(Qe,At,(Zt,Ut,Dt)=>Ut||Dt),(0,ie.h)(je.Mv))).pipe((0,ce.w)(()=>It.pipe((0,de.U)(se.Iy),(0,ue.q)(1),(0,pe.O)(!0))),(0,Y.x)())}function Ge(Ft,It=Boolean){return(0,z.z)((0,ce.w)(Rt=>It(Rt)?Ft(Rt):te.E))}function R(Ft){var It,Rt;return"observed"in Ft?Ft.observed:!(null===(Rt=null===(It=Ft)||void 0===It?void 0:It.observers)||void 0===Rt||!Rt.length)}function be(Ft){return Ft.changes.pipe((0,pe.O)(null),(0,de.U)(()=>(0,je.gD)(Ft)))}function Se(Ft){return Oe(Ft===Ft.ownerDocument.documentElement?Ft.ownerDocument:Ft,"scroll")}function et(){return(0,Ve.b)(Ft=>{Ft.stopPropagation()})}function pt(Ft){return(0,Ve.b)(()=>{Ft.markForCheck()})}function Cn(Ft){return It=>new s.y(Rt=>Ft.runOutsideAngular(()=>It.subscribe(Rt)))}function St(Ft){return(0,z.z)(Cn(Ft),function wt(Ft){return It=>new s.y(Rt=>It.subscribe({next:Zt=>Ft.run(()=>Rt.next(Zt)),error:Zt=>Ft.run(()=>Rt.error(Zt)),complete:()=>Ft.run(()=>Rt.complete())}))}(Ft))}},9669:(Ht,Fe,c)=>{"use strict";c.d(Fe,{a3:()=>Se,gH:()=>et,ku:()=>pt,ll:()=>Cn,AQ:()=>Ft,b0:()=>St,tl:()=>Rt,Fr:()=>Qt,$D:()=>hn});var e=c(4537),s=c(5557),k=c(7241),z=c(3072),F=c(1860),ne=c(4581),W=c(985),te=c(2325),pe=c(3528),ce=c(3517),de=c(6148),Y=c(7969),_e=c(3674),ue=c(2147),ie=c(3568),Ue=c(3151),ve=c(815),Ae=c(1528),Ve=c(6466),je=c(9034),se=c(4970),ee=c(2579),$e=c(3770),Oe=c(4493),_t=c(8692);const tt=new e.OlP("Box model to observe changes",{providedIn:"root",factory:()=>"content-box"}),we=new e.OlP("Resize Observer API support",{providedIn:"root",factory:()=>!!(0,e.f3M)(ee.m9).ResizeObserver});let mt=(()=>{class Re extends k.y{constructor({nativeElement:re},Xe,Le,fe){let We;return super(ye=>{if(Le)return We=new ResizeObserver(at=>{Xe.run(()=>{ye.next(at)})}),We.observe(re,{box:fe}),()=>{We.disconnect()};ye.error("ResizeObserver is not supported in your browser")}),this.pipe((0,ve.B)())}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(e.SBq),e.LFG(e.R0b),e.LFG(we),e.LFG(tt))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})();var R=c(1927),be=c(4911),S=c(8499),q=c(5955),N=c(8033);let Se=(()=>{class Re extends s.t{constructor(){super(1)}ngOnDestroy(){this.next(),this.complete()}}return Re.\u0275fac=function(re){return new(re||Re)},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})(),et=(()=>{class Re{constructor(re,Xe){this.resolver=re,this.injector=Xe,this.map=new Map}addComponent(re){this.map.has(re)||this.map.set(re,this.resolver.resolveComponentFactory(re).create(this.injector))}ngOnDestroy(){this.map.forEach(re=>re.destroy())}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(e._Vd),e.LFG(e.gxx))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),pt=(()=>{class Re extends k.y{constructor({nativeElement:re},Xe,Le){super(fe=>this.focusVisible$.subscribe(fe)),this.focusVisible$=(0,te.ix)(re).pipe((0,te.NA)(Xe),(0,pe.R)(Le))}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(e.SBq),e.LFG(e.sBO),e.LFG(Se,2))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})(),Cn=(()=>{class Re{generate(){return`tui_${Re.autoId++}${Date.now()}`}}return Re.autoId=0,Re.\u0275fac=function(re){return new(re||Re)},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),St=(()=>{class Re extends k.y{constructor(re,Xe){super(Le=>this.callback$.subscribe(Le)),this.callback$=(0,z.P)(()=>{let{nativeElement:Le}=re;const fe=[Xe,Le];for(;Le.parentElement;)Le=Le.parentElement,fe.push(Le);return(0,F.T)(...fe.map(We=>(0,te.mL)(We,"scroll")))})}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(e.SBq),e.LFG(ee.m9))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})(),Ft=(()=>{class Re extends k.y{constructor(re,{nativeElement:Xe},Le,fe,We,ye){super(at=>this.obscured$.subscribe(at)),this.obscured$=(0,F.T)((0,F.T)(re,(0,ne.R)(fe,"resize")).pipe((0,ce.g)(0)),ye.pipe((0,de.p)($e.Yg))).pipe((0,Y.U)(()=>(0,Oe.PU)(Xe)),(0,_e.O)(null),(0,ue.x)(),(0,te.Yr)(Le),(0,pe.R)(We))}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(St,2),e.LFG(e.SBq),e.LFG(e.R0b),e.LFG(ee.m9),e.LFG(Se,2),e.LFG(ee.L1))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})(),Rt=(()=>{class Re extends mt{constructor(re,Xe,Le,fe,We,ye){return super(re,Xe,fe,We),this.pipe((0,ie.K)(()=>ye.pipe((0,de.p)($e.Yg),(0,Y.U)(()=>`${re.nativeElement.clientWidth} ${re.nativeElement.clientHeight}`),(0,ue.x)(),(0,Y.U)(()=>$e.LZ))),(0,Ue.b)(0),(0,te.fL)(Xe),(0,ve.B)(),(0,pe.R)(Le))}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(e.SBq),e.LFG(e.R0b),e.LFG(Se,2),e.LFG(we),e.LFG(tt),e.LFG(ee.L1))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})(),Qt=(()=>{class Re{constructor(re,Xe){this.win=re,this.platformId=Xe,this.cache=new Map}request(re){const Xe=this.cache.get(re);if(Xe)return Xe;const fe=("AbortController"in this.win||(0,_t.PM)(this.platformId)?function ze(Re,he={}){const{selector:re}=he,Xe=(0,be._T)(he,["selector"]);return new k.y(Le=>{const fe=new AbortController,{signal:We}=fe;let ye=!0;const{signal:at}=Xe;if(at)if(at.aborted)fe.abort();else{const Lt=()=>{We.aborted||fe.abort()};at.addEventListener("abort",Lt),Le.add(()=>at.removeEventListener("abort",Lt))}const kt=Object.assign(Object.assign({},Xe),{signal:We}),qt=Lt=>{ye=!1,Le.error(Lt)};return fetch(Re,kt).then(Lt=>{re?(0,q.Xf)(re(Lt)).subscribe((0,S.x)(Le,void 0,()=>{ye=!1,Le.complete()},qt)):(ye=!1,Le.next(Lt),Le.complete())}).catch(qt),()=>{ye&&fe.abort()}})}(re):(0,z.P)(()=>(0,W.D)(fetch(re)))).pipe((0,Ae.w)(We=>(0,be.mG)(this,void 0,void 0,function*(){if(We.ok)return We.text();throw new Error(`Failed to load ${re} (${We.statusText})`)})),(0,Ve.d)({bufferSize:1,refCount:!1}));return this.cache.set(re,fe),fe}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(ee.m9),e.LFG(e.Lbi))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),hn=(()=>{class Re extends k.y{constructor({nativeElement:re},{timeout:Xe,threshold:Le},fe){super(We=>{(0,F.T)((0,te.mL)(re,"touchstart",{passive:!0}),(0,te.mL)(fe,"touchend")).pipe((0,je.G)(),(0,se.h)(([ye,at])=>!!ye.touches.length&&ye.touches[0].identifier===at.changedTouches[0].identifier),(0,Y.U)(([ye,at])=>{const Wt=ye.touches[0].clientX-at.changedTouches[0].clientX,Pt=ye.touches[0].clientY-at.changedTouches[0].clientY,an=at.timeStamp-ye.timeStamp;return(Math.abs(Wt)>Le||Math.abs(Pt)>Le)&&an{"use strict";c.d(Fe,{wk:()=>R,bS:()=>be,I2:()=>q,qY:()=>N,KZ:()=>pt,tS:()=>Cn,XG:()=>Zt,TN:()=>Ut,oD:()=>hn,FA:()=>St,fL:()=>Rt,jF:()=>Re,$_:()=>Le,s6:()=>fe,fM:()=>at,XH:()=>S,Q:()=>Se,FT:()=>wt});var e=c(8692),s=c(4537),k=c(2579),z=c(2325),F=c(1927),ne=c(4493);const te=/ipad|iphone|ipod/;function pe(Lt){return te.test(Lt.userAgent.toLowerCase())||function W(Lt){return Lt.platform.startsWith("Mac")||"iPhone"===Lt.platform}(Lt)&&Lt.maxTouchPoints>1}const ce=/^((?!chrome|android).)*safari/i;var Y=c(4121),_e=c(1995),ue=c(1860),ie=c(4945),Ue=c(985),ve=c(9018),Ae=c(1528),Ve=c(7969),je=c(3674),se=c(815),ee=c(4970),$e=c(3528),Oe=c(5261),_t=c(7470),vt=c(5598),tt=c(2147),we=c(6466),mt=c(763),At=c(3770);const Qe=(0,F.N1)(()=>{const Lt={onRemovalComplete:()=>{}},xt=new Y.X(null),Wt=(0,s.f3M)(mt.Th,s.XFs.Optional)||Lt,{onRemovalComplete:Pt=Lt.onRemovalComplete}=Wt;return Wt.onRemovalComplete=(an,fn)=>{xt.next(an),Pt.call(Wt,an,fn)},xt.pipe((0,Ae.w)(an=>(0,_e.H)(0).pipe((0,Ve.U)(()=>null),(0,je.O)(an))),(0,se.B)())});function qe(Lt,xt=null){return!((0,ne.Wf)(Lt).activeElement===Lt||Lt.matches(":disabled")||null!=xt&&xt.contains(Lt))}const R=(0,F.N1)(()=>{const Lt=(0,s.f3M)(Qe),xt=(0,s.f3M)(k.m9),Wt=(0,s.f3M)(e.K0),Pt=(0,z.mL)(xt,"focusout"),an=(0,z.mL)(xt,"focusin"),fn=(0,z.mL)(xt,"blur"),Ke=(0,z.mL)(xt,"mousedown"),ot=(0,z.mL)(xt,"mouseup");return(0,ue.T)(Pt.pipe((0,$e.R)(Ke),(0,Oe.a)(()=>ot),(0,_t.M)(Lt),(0,ee.h)(([lt,it])=>qe((0,ne.mA)(lt),it)),(0,Ve.U)(([{relatedTarget:lt}])=>lt)),fn.pipe((0,Ve.U)(()=>Wt.activeElement),(0,ee.h)(lt=>!(null==lt||!lt.matches("iframe")))),an.pipe((0,Ae.w)(lt=>{const it=(0,ne.mA)(lt),st=(0,ne.Wf)(it);return st===Wt?(0,ie.of)(it):function Ge(Lt){return(0,ue.T)((0,z.mL)(Lt,"focusin").pipe((0,Ve.U)(({target:xt})=>xt)),(0,z.mL)(Lt,"focusout").pipe((0,ee.h)(({target:xt,relatedTarget:Wt})=>!!Wt&&qe(xt)),(0,Ve.U)(({relatedTarget:xt})=>xt)))}(st).pipe((0,je.O)(it))})),Ke.pipe((0,Ae.w)(lt=>{const it=(0,ne.mA)(lt);return Wt.activeElement&&Wt.activeElement!==Wt.body?Pt.pipe((0,vt.q)(1),(0,Ve.U)(()=>it),(0,$e.R)((0,_e.H)(0))):(0,ie.of)(it)}))).pipe((0,tt.x)(),(0,se.B)())}),be=(0,F.JN)([]);function S(Lt){return{provide:be,multi:!0,useExisting:Lt}}const q=(0,F.N1)(()=>{var Lt,xt;return null!==(xt=null===(Lt=(0,s.f3M)(e.K0).querySelector("base"))||void 0===Lt?void 0:Lt.href)&&void 0!==xt?xt:""}),N=((0,F.N1)(()=>(0,s.f3M)(s.FYo).createRenderer(null,null)),(0,F.JN)([]));function Se(Lt){return{provide:N,multi:!0,useExisting:Lt}}(0,F.N1)(()=>{var Lt;const xt=null===(Lt=(0,s.f3M)(e.K0).querySelector("base"))||void 0===Lt?void 0:Lt.href;if(xt)return xt;const Wt=(0,s.f3M)(e.K0).createElement("a");return Wt.href="",Wt.pathname});const pt=new s.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function wt(Lt){return{provide:pt,useExisting:Lt}}const Cn=new s.OlP("[TUI_FONTS_READY]",{factory:()=>{var Lt;return(0,Ue.D)((null===(Lt=(0,s.f3M)(e.K0).fonts)||void 0===Lt?void 0:Lt.ready)||ve.E).pipe((0,we.d)({bufferSize:1,refCount:!1}))}}),St=(0,F.N1)(()=>pe((0,s.f3M)(k.s5))),Ft=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,It=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,Rt=(0,F.N1)(()=>Ft.test((0,s.f3M)(k.yZ).toLowerCase())||It.test((0,s.f3M)(k.yZ).slice(0,4).toLowerCase())),Zt=(0,F.N1)(()=>(0,s.f3M)(Rt)&&!(0,s.f3M)(St)),Ut=(0,F.N1)(()=>function de(Lt){return pe(Lt)||ce.test(Lt.userAgent.toLowerCase())}((0,s.f3M)(k.s5))),Xt=((0,F.N1)(()=>!!(0,s.f3M)(k.m9).chrome),(0,F.N1)(()=>!!(0,s.f3M)(k.m9).Cypress)),Qt=(0,F.N1)(At.Iy),hn=(0,F.N1)(()=>(0,s.f3M)(Xt)||(0,s.f3M)(Qt)),Re=((0,F.N1)(()=>{var Lt;return typeof(null===(Lt=(0,s.f3M)(k.m9))||void 0===Lt?void 0:Lt.mozCancelFullScreen)<"u"}),(0,F.N1)(()=>(0,s.f3M)(k.m9).location.host.endsWith("stackblitz.io")),(0,F.N1)(()=>{var Lt;return!(null===(Lt=(0,s.f3M)(k.m9))||void 0===Lt||!Lt.webkitConvertPointFromNodeToPage)}));(0,F.JN)("web"),(0,F.N1)(()=>(0,e.NF)((0,s.f3M)(s.Lbi))?new Range:{});const Le=(0,F.N1)(()=>new s.SBq((0,s.f3M)(e.K0).documentElement)),fe=(0,F.JN)({timeout:500,threshold:30}),at=((0,F.N1)(At.Ye),(0,F.N1)(()=>(0,s.f3M)(k.m9).matchMedia("(any-pointer: coarse)").matches),new s.OlP("[TUI_WINDOW_SIZE]",{factory:()=>{const Lt=(0,s.f3M)(k.m9);return(0,z.mL)(Lt,"resize").pipe((0,je.O)(null),(0,Ve.U)(()=>{var xt,Wt;const Pt=Math.max(Lt.document.documentElement.clientWidth||0,Lt.innerWidth||0,(null===(xt=Lt.visualViewport)||void 0===xt?void 0:xt.width)||0),an=Math.max(Lt.document.documentElement.clientHeight||0,Lt.innerHeight||0,(null===(Wt=Lt.visualViewport)||void 0===Wt?void 0:Wt.height)||0);return{width:Pt,height:an,top:0,left:0,right:Pt,bottom:an}}),(0,we.d)({bufferSize:1,refCount:!0}))}}));(0,F.N1)(()=>(0,s.f3M)(at).pipe((0,Ve.U)(({height:Lt})=>Lt))),(0,F.JN)({wheelSensitivity:.01})},1213:(Ht,Fe,c)=>{"use strict";function z(ne){return ne.toLowerCase().includes("firefox")}function F({ownerDocument:ne}){var W,te,pe,ce,de,Y,_e,ue;const ie=null==ne?void 0:ne.defaultView,Ue=typeof ie.safari<"u"&&"[object SafariRemoteNotification]"===(null===(te=null===(W=ie.safari)||void 0===W?void 0:W.pushNotification)||void 0===te?void 0:te.toString()),ve=!(null===(ce=null===(pe=ie.navigator)||void 0===pe?void 0:pe.vendor)||void 0===ce||!ce.includes("Apple")||null!==(Y=null===(de=ie.navigator)||void 0===de?void 0:de.userAgent)&&void 0!==Y&&Y.includes("CriOS")||null!==(ue=null===(_e=ie.navigator)||void 0===_e?void 0:_e.userAgent)&&void 0!==ue&&ue.includes("FxiOS"));return Ue||ve}c.d(Fe,{Ex:()=>F,oK:()=>z})},4493:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Hn:()=>$e,Hs:()=>je,PP:()=>W,PU:()=>Ae,UP:()=>tt,Wf:()=>ve,YX:()=>Ve,dD:()=>vt,dW:()=>Y,mA:()=>ue,ty:()=>ne,ve:()=>de});var e=c(5648),s=c(1927);function ne(we,mt,At,Qe){return At?function z(we,mt,At){let Qe=we;for(;Qe!==mt.parentElement;){if(Math.floor(Qe.scrollTop)>0&&!At||Math.ceil(Qe.scrollTop+Qe.clientHeight)0&&!At||Math.ceil(Qe.scrollLeft+Qe.clientWidth)!we.contains(wt));return 4===pt.length?pt:null}function Ve(we,mt){let{offsetTop:At,offsetLeft:Qe,offsetParent:qe}=mt;for(;Y(qe)&&qe!==we;)At+=qe.offsetTop,Qe+=qe.offsetLeft,qe=qe.offsetParent;return{offsetTop:At,offsetLeft:Qe}}function je(we,mt=!0){return null===we?null:mt&&we.scrollHeight>we.clientHeight||!mt&&we.scrollWidth>we.clientWidth?we:je(we.parentElement,mt)}function $e(we){return function ce(we){return function te(we){return we.matches("input")}(we)||function pe(we){return we.matches("textarea")}(we)}(we)&&!we.readOnly||!!we.isContentEditable}function vt(we=0,mt=0){const At={x:we,y:mt,left:we,right:we,top:mt,bottom:mt,width:0,height:0};return Object.assign(Object.assign({},At),{toJSON:()=>At})}function tt(we){return"explicitOriginalTarget"in we?(null==we?void 0:we.explicitOriginalTarget)!==we.target:"pointerId"in we?-1===we.pointerId:"detail"in we&&"webkitForce"in we&&0===(null==we?void 0:we.detail)}c(8939)},7179:(Ht,Fe,c)=>{"use strict";c.d(Fe,{BW:()=>W,Pg:()=>de,V8:()=>te,VR:()=>ce,dT:()=>F,hp:()=>z,ie:()=>k,zb:()=>pe});var e=c(4493),s=c(3770);function k({activeElement:Y}){if(null==Y||!Y.shadowRoot)return Y;let _e=Y.shadowRoot.activeElement;for(;null!=_e&&_e.shadowRoot;)_e=_e.shadowRoot.activeElement;return _e}function z(Y){const _e=k(Y);(0,e.dW)(_e)&&_e.blur()}function F(Y){if(Y.hasAttribute("disabled")||"-1"===Y.getAttribute("tabIndex"))return!1;if((0,e.dW)(Y)&&Y.isContentEditable||"0"===Y.getAttribute("tabIndex"))return!0;switch(Y.tagName){case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"VIDEO":case"AUDIO":return Y.hasAttribute("controls");case"INPUT":return"hidden"!==Y.getAttribute("type");case"A":case"LINK":return Y.hasAttribute("href");default:return!1}}function ne(Y){return!Y.hasAttribute("disabled")&&("-1"===Y.getAttribute("tabIndex")||F(Y))}function W({initial:Y,root:_e,previous:ue=!1,keyboard:ie=!0}){if(!_e.ownerDocument)return null;const Ue=ie?F:ne,ve=_e.ownerDocument.createTreeWalker(_e,NodeFilter.SHOW_ELEMENT,s.Lw);for(ve.currentNode=Y;ue?ve.previousNode():ve.nextNode();)if((0,e.dW)(ve.currentNode)&&(Y=ve.currentNode),(0,e.dW)(Y)&&Ue(Y))return Y;return null}function te(Y){return!(null==Y||!Y.ownerDocument)&&k(Y.ownerDocument)===Y&&Y.ownerDocument.hasFocus()}function pe(Y){if(!Y.ownerDocument||!Y.contains)return!1;const _e=k(Y.ownerDocument);return null!==_e&&Y.contains(_e)&&Y.ownerDocument.hasFocus()}function ce(Y,_e,ue){for(Y+=ue;Y>=0&&Y<_e.length;){if(_e[Y].focus(),te(_e[Y]))return;Y+=ue}}function de(Y,_e=!0,ue=!1){if(Y.ownerDocument){if("function"==typeof Event)Y.dispatchEvent(new Event("mousedown",{bubbles:!0,cancelable:!0}));else{const ie=Y.ownerDocument.createEvent("Event");ie.initEvent("mousedown",!0,!0),Y.dispatchEvent(ie)}_e?Y.focus({preventScroll:ue}):Y.blur()}}},5675:(Ht,Fe,c)=>{"use strict";function s(k){return`${k}px`}c.d(Fe,{O:()=>s}),c(8939)},5648:(Ht,Fe,c)=>{"use strict";function s(ve,Ae,Ve){return Math.min(Ve,Math.max(Ae,ve))}function k(ve,Ae,Ve){return ve>=Ae&&ve=Ve?Ve:Math.round(ve)}c.d(Fe,{G1:()=>z,HW:()=>ue,Ki:()=>s,h0:()=>Y,oY:()=>ie,wf:()=>k}),c(8939);const ne=292;function W(ve,Ae,Ve){if(ve===1/0)return ve;Ae=Math.min(Ae,ne);const je=`${ve}e`.split("e"),ee=`${Ve(Number(`${je[0]}e${Number(je[1])+Ae}`))}e`.split("e");return Number(`${ee[0]}e${Number(ee[1])-Ae}`)}function Y({value:ve,precision:Ae,method:Ve}){switch(Ve){case"round":return function te(ve,Ae=0){return W(ve,Ae,Math.round)}(ve,Ae);case"ceil":return function pe(ve,Ae=0){return W(ve,Ae,Math.ceil)}(ve,Ae);case"floor":return function ce(ve,Ae=0){return W(ve,Ae,Math.floor)}(ve,Ae);default:return function de(ve,Ae=0){return W(ve,Ae,Math.trunc)}(ve,Ae)}}function ue(ve){return ve?1:0}function ie(ve){return parseInt(ve,10)}},1927:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Aj:()=>F,JN:()=>te,M8:()=>Ue,Mv:()=>ve,N1:()=>pe,Pc:()=>je,WX:()=>s,dt:()=>Ae,gD:()=>ie,pf:()=>vt,vK:()=>_t,xT:()=>W});var e=c(4537);function s(tt,we){return tt.slice(0,Math.max(we,0)).concat(tt.slice(Math.max(we+1,0)))}function F(tt){return"string"==typeof tt}function W(tt){return JSON.parse(JSON.stringify(tt,(we,mt)=>function ne(tt){const we=F(tt)?tt.trim():tt;return[void 0,null,NaN,""].includes(we)}(mt)?void 0:mt))}function te(tt){return pe(()=>tt)}function pe(tt){return new e.OlP("",{factory:tt})}function ie(tt){let we=[];return tt.find((mt,At,Qe)=>(we=Qe,!0)),we}function Ue(tt,we){return Math.abs(we)>Math.abs(tt)?we>0?"top":"bottom":tt>0?"left":"right"}function ve(tt){return!tt}function Ae(tt){return"number"==typeof tt}function je(tt){return null!=tt}function _t(tt,we,mt){return{provide:tt,deps:[[new e.FiY,new e.tp0,tt]],useFactory:At=>Object.assign(Object.assign({},At||mt),we)}}function vt(tt,we){return Array.from(tt.reduce((mt,At)=>mt.has(At[we])?mt:mt.set(At[we],At),new Map).values())}},8192:(Ht,Fe,c)=>{"use strict";c.d(Fe,{N:()=>ne});var e=c(1927);function ne(W,te=function s(){return Math.floor(Math.random()*Date.now())}(),pe="rgba(0, 0, 0, 0.7)"){if((0,e.Aj)(W)){const de=function z(W){var te;const pe=(null!==(te=W.match(/url\(("?)('*)#(.*?)('*)\)/g))&&void 0!==te?te:[]).map(ce=>ce.slice(4,ce.length-1).replace(/['"#]+/g,""));return Array.from(new Set(pe))}(W).reduce((Y,_e)=>{const ue=function k(W){return W.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(_e),ie=`id_${te}_${_e}`;return Y.replace(new RegExp(`"${ue}"`,"g"),`"${ie}"`).replace(new RegExp(`'${ue}'`,"g"),`'${ie}'`).replace(new RegExp(`url\\('#${ue}'\\)`,"g"),`url('#${ie}')`).replace(new RegExp(`url\\("#${ue}"\\)`,"g"),`url("#${ie}")`).replace(new RegExp(`url\\(#${ue}\\)`,"g"),`url(#${ie})`)},W);return function F(W,te){try{const pe=(new DOMParser).parseFromString(W,"text/html");return pe.body.querySelectorAll("[fill^=url]").forEach(ce=>ce.setAttribute("fill",`${ce.getAttribute("fill")} ${te}`.trim())),pe.body.innerHTML.trim()}catch{return W}}(de,pe)}return W}},3631:(Ht,Fe,c)=>{"use strict";c.d(Fe,{D1:()=>_e,FP:()=>Y,Fe:()=>de,Ic:()=>je,O4:()=>ve,P7:()=>Ue,Sv:()=>Ve,UK:()=>pe,Wk:()=>Ae,c2:()=>ce,ei:()=>ie,kk:()=>te,uG:()=>ue});var e=c(4537),s=c(9669),k=c(6480),z=c(7241),F=c(1860),ne=c(2147),W=c(3528);class te extends z.y{}function pe(se){return{provide:te,multi:!0,useExisting:se}}class ce{}function de(se){return{provide:ce,multi:!0,useExisting:se}}let Y=(()=>{class se{constructor($e,Oe,_t){this.destroy$=$e,this.drivers=Oe,this.vehicles=_t}ngOnInit(){const $e=this.vehicles.find(({type:Oe})=>Oe===this.type);(0,F.T)(...this.drivers.filter(({type:Oe})=>Oe===this.type)).pipe((0,ne.x)(),(0,W.R)(this.destroy$)).subscribe(Oe=>{null==$e||$e.toggle(Oe)})}}return se.\u0275fac=function($e){return new($e||se)(e.Y36(s.a3,2),e.Y36(te),e.Y36(ce))},se.\u0275dir=e.lG2({type:se}),se})(),_e=(()=>{class se{constructor($e){this.host=$e}get readOnly(){return this.host.readOnly}get disabled(){return this.host.computedDisabled}get invalid(){return this.host.computedInvalid}get focusable(){return this.host.computedFocusable}get inputMode(){return"text"}get value(){var $e;return(null===($e=this.host.value)||void 0===$e?void 0:$e.toString())||""}process($e){}}return se.\u0275fac=function($e){return new($e||se)(e.Y36(k.M$))},se.\u0275dir=e.lG2({type:se}),se})();class ue{}function ie(se){return{provide:ue,deps:[[new e.tp0,ue]],useFactory:ee=>ee.find($e=>$e.type===se)}}function Ue(se){return{provide:ue,multi:!0,useExisting:se}}class ve{}function Ae(se,ee){return{provide:ve,deps:[[new e.tp0,ve],ee],useFactory:Ve(se)}}function Ve(se){return(ee,$e)=>ee.find(Oe=>Oe!==$e&&Oe.type===se)||$e}function je(se){return{provide:ve,multi:!0,useExisting:se}}},9941:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Gw:()=>ve,QF:()=>pe,X9:()=>ee,eu:()=>F,i9:()=>_e});var e=c(4091);const s="{{duration}}ms ease-in-out",k={params:{duration:300}},z=300,F=(0,e.X$)("tuiHeightCollapse",[(0,e.eR)(":enter",[(0,e.oB)({height:0}),(0,e.jt)(s,(0,e.oB)({height:"*"}))],k),(0,e.eR)(":leave",[(0,e.oB)({height:"*"}),(0,e.jt)(s,(0,e.oB)({height:0}))],k)]),pe=((0,e.X$)("tuiHeightCollapseList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({height:0}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({height:"*"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({height:"*"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({height:0}))])],{optional:!0})],k)]),(0,e.X$)("tuiWidthCollapse",[(0,e.eR)(":enter",[(0,e.oB)({width:0}),(0,e.jt)(s,(0,e.oB)({width:"*"}))],k),(0,e.eR)(":leave",[(0,e.oB)({width:"*"}),(0,e.jt)(s,(0,e.oB)({width:0}))],k)]),(0,e.X$)("tuiWidthCollapseList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({width:0}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({width:"*"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({width:"*"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({width:0}))])],{optional:!0})],k)]),(0,e.X$)("tuiFadeIn",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0}),(0,e.jt)(s,(0,e.oB)({opacity:1}))],k),(0,e.eR)(":leave",[(0,e.oB)({opacity:1}),(0,e.jt)(s,(0,e.oB)({opacity:0}))],k)])),_e=((0,e.X$)("tuiFadeInList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({opacity:0}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({opacity:1}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({opacity:1}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({opacity:0}))])],{optional:!0})],k)]),(0,e.X$)("tuiFadeInTop",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateY(-10px)",opacity:0}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)",opacity:1}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateY(0)",opacity:1}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(-10px)",opacity:0}))],k)]),(0,e.X$)("tuiFadeInBottom",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateY(10px)",opacity:0}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)",opacity:1}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateY(0)",opacity:1}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(10px)",opacity:0}))],k)]),(0,e.X$)("tuiDropdownAnimation",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateY(-10px)",opacity:0}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)",opacity:1}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateY(0)",opacity:1}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(-10px)",opacity:0}))],k)])),ve=((0,e.X$)("tuiScaleIn",[(0,e.eR)(":enter",[(0,e.oB)({transform:"scale(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"scale(1)"}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"scale(1)"}),(0,e.jt)(s,(0,e.oB)({transform:"scale(0)"}))],k)]),(0,e.X$)("tuiPop",[(0,e.eR)(":enter",[(0,e.oB)({transform:"scale(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"scale(1.1)"})),(0,e.jt)(s,(0,e.oB)({transform:"scale(1)"}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"scale(1)"}),(0,e.jt)(s,(0,e.oB)({transform:"scale(1.1)"})),(0,e.jt)(s,(0,e.oB)({transform:"scale(0)"}))],k)]),(0,e.X$)("tuiScaleInList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({transform:"scale(0)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"scale(1)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"scale(0)"}))])],{optional:!0})],k)]),(0,e.X$)("tuiSlideIn",[(0,e.eR)("* => left",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))],k),(0,e.eR)("left => *",[(0,e.oB)({transform:"translateX(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(-100%)"}))],k),(0,e.eR)("* => right",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))],k),(0,e.eR)("right => *",[(0,e.oB)({transform:"translateX(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(100%)"}))],k)])),ee=((0,e.X$)("tuiSlideInLeft",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateX(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(-100%)"}))],k)]),(0,e.X$)("tuiSlideInLeftList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],k)]),(0,e.X$)("tuiSlideInRight",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateX(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(100%)"}))],k)]),(0,e.X$)("tuiSlideInRightList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateX(100%)"}))])],{optional:!0})],k)]),(0,e.X$)("tuiSlideInTop",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translate3d(0,{{start}},0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,e.eR)(":leave",[(0,e.oB)({transform:"translate3d(0,{{end}},0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,e.X$)("tuiSlideInTopList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({transform:"translateY(100%)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateY(0)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateY(100%)"}))])],{optional:!0})],k)]),(0,e.X$)("tuiSlideInBottom",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateY(-100%)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)"}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateY(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(-100%)"}))],k)]),(0,e.X$)("tuiSlideInBottomList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({transform:"translateY(-100%)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateY(0)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],k)])},2628:(Ht,Fe,c)=>{"use strict";c.d(Fe,{fN:()=>At,v0:()=>mt});var e=c(4537),s=c(1927),k=c(6480),z=c(7179),F=c(8033),ne=c(9669),W=c(5452),te=c(9018),pe=c(3674),ce=c(7969),de=c(2147),Y=c(7320),_e=c(4789),ue=c(719),ie=c(8692),Ue=c(1489),ve=c(9570);const Ae=["tuiButton",""];function Ve(Qe,qe){1&Qe&&e.GkF(0)}function je(Qe,qe){1&Qe&&e._UZ(0,"tui-svg",8),2&Qe&&e.Q6J("src",qe.polymorpheusOutlet)}function se(Qe,qe){if(1&Qe&&(e.TgZ(0,"span",6),e.YNc(1,je,1,1,"tui-svg",7),e.qZA()),2&Qe){const Ge=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",Ge.icon)}}function ee(Qe,qe){1&Qe&&e._UZ(0,"tui-svg",8),2&Qe&&e.Q6J("src",qe.polymorpheusOutlet)}function $e(Qe,qe){if(1&Qe&&(e.TgZ(0,"span",9),e.YNc(1,ee,1,1,"tui-svg",7),e.qZA()),2&Qe){const Ge=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",Ge.iconRight)}}function Oe(Qe,qe){if(1&Qe&&e._UZ(0,"tui-loader",10),2&Qe){const Ge=e.oxw();e.Q6J("inheritColor",!0)("size",Ge.loaderSize)}}const _t=["*"],tt=(0,s.JN)({size:"l",shape:null,appearance:Y.Nm.Primary});let mt=(()=>{class Qe extends k.Xn{constructor(Ge,R,be){var S;super(),this.mode=Ge,this.el=R,this.options=be,this.mode$=(null===(S=this.mode)||void 0===S?void 0:S.change$)||te.E,this.appearance=null,this.disabled=!1,this.shape=this.options.shape,this.showLoader=!1,this.size=this.options.size,this.appearance$=this.mode$.pipe((0,pe.O)(null),(0,ce.U)(()=>this.computedAppearance),(0,de.x)())}get nativeFocusableElement(){return this.nativeDisabled?null:this.el.nativeElement}get focused(){return!this.showLoader&&(0,z.V8)(this.el.nativeElement)}get loaderSize(){return"l"===this.size||"xl"===this.size?"m":"s"}get computedAppearance(){var Ge;return null!==(Ge=this.appearance)&&void 0!==Ge?Ge:this.options.appearance||""}get nativeDisabled(){return this.computedDisabled||this.showLoader?"":null}get tabIndex(){return this.focusable?0:-1}onFocused(Ge){this.updateFocused(Ge)}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.Y36(W.w,8),e.Y36(e.SBq),e.Y36(tt))},Qe.\u0275cmp=e.Xpm({type:Qe,selectors:[["button","tuiButton",""],["button","tuiIconButton",""],["a","tuiButton",""],["a","tuiIconButton",""]],hostVars:7,hostBindings:function(Ge,R){1&Ge&&e.NdJ("focusin",function(){return R.onFocused(!0)})("focusout",function(){return R.onFocused(!1)}),2&Ge&&(e.Ikx("tabIndex",R.tabIndex),e.uIk("data-shape",R.shape)("data-size",R.size)("data-appearance",R.computedAppearance)("disabled",R.nativeDisabled),e.ekj("_loading",R.showLoader))},inputs:{appearance:"appearance",disabled:"disabled",icon:"icon",iconRight:"iconRight",shape:"shape",showLoader:"showLoader",size:"size"},features:[e._Bn([(0,F.FT)(Qe),ne.a3]),e.qOj],attrs:Ae,ngContentSelectors:_t,decls:8,vars:10,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","hover"],[1,"t-content"],["class","t-left",4,"ngIf"],["class","t-right",4,"ngIf"],["class","t-loader",3,"inheritColor","size",4,"ngIf"],[1,"t-left"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],[1,"t-right"],[1,"t-loader",3,"inheritColor","size"]],template:function(Ge,R){1&Ge&&(e.F$t(),e.YNc(0,Ve,1,0,"ng-container",0),e.ALo(1,"async"),e.TgZ(2,"div",1)(3,"span",2),e.YNc(4,se,2,1,"span",3),e.Hsn(5),e.YNc(6,$e,2,1,"span",4),e.qZA(),e.YNc(7,Oe,1,2,"tui-loader",5),e.qZA()),2&Ge&&(e.Q6J("ngIf",e.lcZ(1,8,R.appearance$)),e.xp6(2),e.Q6J("active",R.pseudoActive)("appearance",R.computedAppearance)("disabled",R.computedDisabled)("hover",R.pseudoHover),e.xp6(2),e.Q6J("ngIf",R.icon),e.xp6(2),e.Q6J("ngIf",R.iconRight),e.xp6(1),e.Q6J("ngIf",R.showLoader))},dependencies:[_e.PN,ue.kM,ie.O5,Ue.o,ve.Li,ie.Ov],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:inline-block;flex-shrink:0;vertical-align:top;border-radius:var(--tui-radius-m);-webkit-user-select:none;-moz-user-select:none;user-select:none;outline:none;color:inherit}[data-shape=rounded][_nghost-%COMP%]{border-radius:6.25rem}[data-size=xs][_nghost-%COMP%]{height:var(--tui-height-xs);font-weight:normal}[data-size=xs][data-shape=square][_nghost-%COMP%], [data-size=xs][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%]{height:var(--tui-height-s);font-weight:normal}[data-size=s][data-shape=square][_nghost-%COMP%], [data-size=s][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{height:var(--tui-height-m);font:var(--tui-font-text-m);font-weight:bold}[data-size=m][data-shape=square][_nghost-%COMP%], [data-size=m][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{height:var(--tui-height-l);font:var(--tui-font-text-m);font-weight:bold}[data-size=l][data-shape=square][_nghost-%COMP%], [data-size=l][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-l)}[data-size=xl][_nghost-%COMP%]{height:3.75rem;font:var(--tui-font-text-m);font-weight:bold}[data-size=xl][data-shape=square][_nghost-%COMP%], [data-size=xl][tuiIconButton][_nghost-%COMP%]{width:3.75rem}[tuiIconButton][_nghost-%COMP%]{font-size:0!important}[tuiIconButton][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0!important}.t-loader[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.t-left[_ngcontent-%COMP%]{margin-right:.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.375rem}[data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.25rem}.t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .25rem}[data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .375rem}[data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.125rem 0 .25rem}.t-icon[_ngcontent-%COMP%]{display:flex;max-width:100%;max-height:100%;align-items:center;justify-content:center}.t-left[_ngcontent-%COMP%], .t-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1rem;height:1rem}[tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.t-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;isolation:isolate}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .375rem)}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .75rem)}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 1.5rem)}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.25rem)}[data-size=xl][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.5rem)}[data-shape=square][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center;text-align:center}._loading[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{opacity:0}"],changeDetection:0}),Qe})(),At=(()=>{class Qe{}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275mod=e.oAB({type:Qe}),Qe.\u0275inj=e.cJS({imports:[[ie.ez,ve.wq,Ue.W,_e.EI,ue.dS]]}),Qe})()},5111:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Rs:()=>At,gX:()=>we,pc:()=>Qe,qi:()=>tt,vK:()=>vt});var e=c(4911),s=c(4537),k=c(7179),z=c(3770),F=c(2325),ne=c(1927),W=c(4493),te=c(4358),pe=c(8940),ce=c(6060),de=c(7969),Y=c(8952),_e=c(126),ue=c(4789),ie=c(9570),Ue=c(8692);const ve=["tuiOption",""];function Ae(qe,Ge){if(1&qe&&(s.ynx(0),s._uU(1),s.BQk()),2&qe){const R=Ge.polymorpheusOutlet;s.xp6(1),s.hij(" ",R,"\n")}}function Ve(qe,Ge){if(1&qe&&s._UZ(0,"tui-svg",3),2&qe){const R=s.oxw(2);s.Q6J("src",R.icons.more)}}function je(qe,Ge){if(1&qe&&(s.Hsn(0),s.YNc(1,Ve,1,1,"tui-svg",2)),2&qe){const R=s.oxw();s.xp6(1),s.Q6J("ngIf",R.dropdown)}}const se=function(qe){return{$implicit:qe}},ee=["*"];function $e(qe,Ge){if(1&qe&&(s.ynx(0),s._uU(1),s.BQk()),2&qe){const R=Ge.polymorpheusOutlet;s.xp6(1),s.hij(" ",R," ")}}function Oe(qe,Ge){if(1&qe&&(s.TgZ(0,"div",2),s.YNc(1,$e,2,1,"ng-container",3),s.ALo(2,"async"),s.qZA()),2&qe){const R=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",R.emptyContent||s.lcZ(2,1,R.defaultEmptyContent$))}}function _t({currentTarget:qe}){return!(0,k.V8)(qe)}let vt=(()=>{class qe{constructor(R,be,S,q,ze,N){this.content=R,this.dataList=be,this.el=S,this.host=q,this.dropdown=ze,this.icons=N,this.size=null,this.role="option",this.disabled=!1}get active(){return!!this.dropdown&&!!this.dropdown.dropdownBoxRef}onClick(){this.host&&void 0!==this.value&&this.host.handleOption(this.value)}onMouseMove({currentTarget:R}){R.focus({preventScroll:!0})}ngOnDestroy(){var R;null===(R=this.dataList)||void 0===R||R.handleFocusLossIfNecessary(this.el.nativeElement)}}return qe.\u0275fac=function(R){return new(R||qe)(s.Y36(ce.IQ,8),s.Y36((0,s.Gpc)(()=>tt),8),s.Y36(s.SBq),s.Y36(ce.N1,8),s.Y36(Y.td,10),s.Y36(ce.Gs))},qe.\u0275cmp=s.Xpm({type:qe,selectors:[["button","tuiOption",""],["a","tuiOption",""]],hostAttrs:["tabIndex","-1","type","button"],hostVars:5,hostBindings:function(R,be){1&R&&s.NdJ("click",function(){return be.onClick()})("mousemove.silent",function(q){return be.onMouseMove(q)}),2&R&&(s.uIk("disabled",be.disabled||null)("data-size",be.size)("role",be.role),s.ekj("_with-dropdown",be.active))},inputs:{size:"size",role:"role",disabled:"disabled",value:"value"},attrs:ve,ngContentSelectors:ee,decls:3,vars:4,consts:[[4,"polymorpheusOutlet","polymorpheusOutletContext"],["base",""],["class","t-arrow",3,"src",4,"ngIf"],[1,"t-arrow",3,"src"]],template:function(R,be){if(1&R&&(s.F$t(),s.YNc(0,Ae,2,1,"ng-container",0),s.YNc(1,je,2,1,"ng-template",null,1,s.W1O)),2&R){const S=s.MAs(2);s.Q6J("polymorpheusOutlet",be.content||S)("polymorpheusOutletContext",s.VKq(2,se,S))}},dependencies:[ue.PN,ie.Li,Ue.O5],styles:['[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;justify-content:space-between;text-align:left;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[_nghost-%COMP%]:focus, ._with-dropdown[_nghost-%COMP%]{background-color:var(--tui-clear)}[_nghost-%COMP%] [data-list-size="s"][_nghost-%COMP%], [data-list-size="s"] [_nghost-%COMP%], [_nghost-%COMP%] [data-list-size="xs"][_nghost-%COMP%], [data-list-size="xs"] [_nghost-%COMP%], [data-size=s][data-size=s][_nghost-%COMP%], [data-size=xs][data-size=xs][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}[_nghost-%COMP%] [data-list-size="m"][_nghost-%COMP%], [data-list-size="m"] [_nghost-%COMP%], [data-size=m][data-size=m][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}[_nghost-%COMP%] [data-list-size="l"][_nghost-%COMP%], [data-list-size="l"] [_nghost-%COMP%], [data-size=l][data-size=l][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}.t-arrow[_ngcontent-%COMP%]{margin:0 -.5rem 0 .75rem}'],changeDetection:0}),(0,e.gn)([(0,_e.uX)(_t)],qe.prototype,"onMouseMove",null),qe})(),tt=(()=>{class qe{constructor(R,be,S){var q;this.controller=R,this.el=be,this.defaultEmptyContent$=S,this.options=z.Mm,this.role="listbox",this.size=(null===(q=this.controller)||void 0===q?void 0:q.size)||"m"}get empty$(){return(0,F.ll)(this.options).pipe((0,de.U)(({length:R})=>!R))}onFocusIn(R,be){!be.contains(R)&&!this.origin&&(this.origin=R)}noop(){}onKeyDownArrow(R,be){const{elements:S}=this;(0,k.VR)(S.indexOf(R),S,be)}handleFocusLossIfNecessary(R=this.el.nativeElement){this.origin&&(0,k.zb)(R)&&(0,k.Pg)(this.origin,!0,!0)}getOptions(R=!1){return this.options.filter(({disabled:be})=>R||!be).map(({value:be})=>be).filter(ne.Pc)}onFocus({target:R},be){if(!(0,W.ve)(R))return;const{elements:S}=this;(0,k.VR)(be?-1:S.length,S,be?1:-1),this.handleFocusLossIfNecessary(R)}get elements(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiOption]"))}}return qe.\u0275fac=function(R){return new(R||qe)(s.Y36(pe.Cs,8),s.Y36(s.SBq),s.Y36(ce.PH))},qe.\u0275cmp=s.Xpm({type:qe,selectors:[["tui-data-list"]],contentQueries:function(R,be,S){if(1&R&&s.Suo(S,vt,5),2&R){let q;s.iGM(q=s.CRH())&&(be.options=q)}},hostVars:2,hostBindings:function(R,be){1&R&&s.NdJ("focusin",function(q){return be.onFocusIn(q.relatedTarget,q.currentTarget)})("mousedown.prevent",function(){return be.noop()})("keydown.arrowDown.prevent",function(q){return be.onKeyDownArrow(q.target,1)})("keydown.arrowUp.prevent",function(q){return be.onKeyDownArrow(q.target,-1)})("wheel.silent.passive",function(){return be.handleFocusLossIfNecessary()})("mouseleave",function(q){return be.handleFocusLossIfNecessary(q.target)}),2&R&&s.uIk("role",be.role)("data-list-size",be.size)},inputs:{role:"role",emptyContent:"emptyContent",size:"size"},features:[s._Bn([(0,ce.RB)(qe),pe.Y0])],ngContentSelectors:ee,decls:5,vars:3,consts:[["tabindex","0",1,"t-trap",3,"focusin"],["class","t-empty",4,"ngIf"],[1,"t-empty"],[4,"polymorpheusOutlet"]],template:function(R,be){1&R&&(s.F$t(),s.TgZ(0,"div",0),s.NdJ("focusin",function(q){return be.onFocus(q,!0)}),s.qZA(),s.Hsn(1),s.YNc(2,Oe,3,3,"div",1),s.ALo(3,"async"),s.TgZ(4,"div",0),s.NdJ("focusin",function(q){return be.onFocus(q,!1)}),s.qZA()),2&R&&(s.xp6(2),s.Q6J("ngIf",s.lcZ(3,1,be.empty$)))},dependencies:[Ue.O5,ie.Li,Ue.Ov],styles:['tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-03)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-list-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-list-size=s]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-list-size=m]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-list-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-list-size=l]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-02);flex-direction:column;line-height:1rem}tui-data-list[data-list-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-list-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-list-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);height:1px;background:var(--tui-base-03)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-top:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=""]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:""}tui-opt-group[data-label=""]:before,tui-opt-group:not([data-label]):before{padding:0;margin:0}\n'],encapsulation:2,changeDetection:0}),(0,e.gn)([te.UM],qe.prototype,"empty$",null),qe})(),we=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275dir=s.lG2({type:qe,selectors:[["ng-template","tuiDataList",""]]}),qe})(),At=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275dir=s.lG2({type:qe,selectors:[["tui-opt-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(R,be){2&R&&s.uIk("data-label",be.label)},inputs:{label:"label"}}),qe})(),Qe=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275mod=s.oAB({type:qe}),qe.\u0275inj=s.cJS({imports:[[Ue.ez,ue.EI,ie.wq]]}),qe})()},5974:(Ht,Fe,c)=>{"use strict";c.d(Fe,{gZ:()=>F,n6:()=>ne});var e=c(4537),s=c(9669),k=c(8692);let z=(()=>{class W{}return W.\u0275fac=function(pe){return new(pe||W)},W.\u0275cmp=e.Xpm({type:W,selectors:[["ng-component"]],hostAttrs:[1,"tui-group-styles"],decls:0,vars:0,template:function(pe,ce){},styles:[".tui-group{position:relative;display:flex;isolation:isolate}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group.tui-group>*:nth-child(n){border-radius:0}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin-right:-1px}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.tui-group_collapsed>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.tui-group_collapsed>*._invalid{z-index:2}.tui-group_collapsed>*._invalid:hover,.tui-group_collapsed>*._invalid._hovered,.tui-group_collapsed>*._invalid._pressed{z-index:4}.tui-group_collapsed>*._hosted_dropdown_focused,.tui-group_collapsed>*._focus-visible,.tui-group_collapsed>*._focused.ng-touched,.tui-group_collapsed>*._focused.ng-untouched{z-index:5}.tui-group_collapsed>*._active,.tui-group_collapsed>*[data-appearance=whiteblock-active]{z-index:6}.tui-group_collapsed>*._focus-visible._focused,.tui-group_collapsed>*._focus-visible._active,.tui-group_collapsed>*._focus-visible[data-appearance=whiteblock-active]{z-index:7}.tui-group_orientation_vertical{display:inline-flex;flex-direction:column}.tui-group_orientation_vertical>*{min-height:auto;flex:0 0 auto}.tui-group_orientation_vertical>*:not(:last-child){margin-right:0;margin-bottom:.125rem}.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-bottom-left-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:last-child{border-top-right-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--tui-radius-m);border-top-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:last-child{border-bottom-left-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-m)}}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_vertical{width:100%}.tui-group_adaptive.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical>*:not(:last-child){margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_horizontal{flex-direction:column;width:100%}.tui-group_adaptive.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal>*:not(:last-child){margin-right:0;margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}.tui-group__auto-width-item{min-width:auto;flex:0 0 auto}.tui-group .tui-group__inherit-item{border-radius:inherit}\n"],encapsulation:2,changeDetection:0}),W})(),F=(()=>{class W{constructor(pe){this.orientation="horizontal",this.adaptive=!1,this.collapsed=!1,this.rounded=!0,this.size="m",pe.addComponent(z)}get orientationHorizontal(){return"horizontal"===this.orientation}get orientationVertical(){return"vertical"===this.orientation}get sizeLarge(){return"l"===this.size}}return W.\u0275fac=function(pe){return new(pe||W)(e.Y36(s.gH))},W.\u0275dir=e.lG2({type:W,selectors:[["","tuiGroup","",5,"ng-container"]],hostAttrs:["role","group",1,"tui-group"],hostVars:12,hostBindings:function(pe,ce){2&pe&&e.ekj("tui-group_adaptive",ce.adaptive)("tui-group_collapsed",ce.collapsed)("tui-group_rounded",ce.rounded)("tui-group_orientation_horizontal",ce.orientationHorizontal)("tui-group_orientation_vertical",ce.orientationVertical)("tui-group_radius_large",ce.sizeLarge)},inputs:{orientation:"orientation",adaptive:"adaptive",collapsed:"collapsed",rounded:"rounded",size:"size"}}),W})(),ne=(()=>{class W{}return W.\u0275fac=function(pe){return new(pe||W)},W.\u0275mod=e.oAB({type:W}),W.\u0275inj=e.cJS({imports:[[k.ez]]}),W})()},5600:(Ht,Fe,c)=>{"use strict";c.d(Fe,{o1:()=>wt,jh:()=>Cn});var e=c(4537),s=c(3631),k=c(2668),z=c(221),F=c(2325),ne=c(9669),W=c(8023),te=c(7969);let pe=(()=>{class St{constructor(It,Rt){this.enabled$=new W.x;const Zt=Rt.pipe((0,te.U)(Ut=>!!Ut&&(!It||!Ut.length||Ut.every(Dt=>!It.contains(Dt)))));this.tuiObscured=this.enabled$.pipe((0,F.Xd)(()=>Zt))}set tuiObscuredEnabled(It){this.enabled$.next(It)}}return St.\u0275fac=function(It){return new(It||St)(e.Y36(z.e,8),e.Y36(ne.AQ,2))},St.\u0275dir=e.lG2({type:St,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},features:[e._Bn([ne.AQ,ne.b0,ne.a3])]}),St})(),ce=(()=>{class St{}return St.\u0275fac=function(It){return new(It||St)},St.\u0275mod=e.oAB({type:St}),St.\u0275inj=e.cJS({}),St})();var de=c(4493),Y=c(7179),_e=c(8033),ue=c(8952),ie=c(4970),Ue=c(3528),ve=c(1528),Ae=c(3517),Ve=c(1588),je=c(2147),se=c(815),ee=c(4121),$e=c(5696),Oe=c(4945),_t=c(9018),vt=c(1860),tt=c(4911),we=c(6640),mt=c(126),At=c(9570),Qe=c(8692);const qe=["wrapper"];function Ge(St,Ft){if(1&St&&(e.TgZ(0,"div",8),e._uU(1),e.qZA()),2&St){const It=Ft.polymorpheusOutlet;e.xp6(1),e.hij(" ",It," ")}}const R=function(St,Ft){return{$implicit:St,close:Ft}};function be(St,Ft){if(1&St){const It=e.EpF();e.TgZ(0,"div",5,6),e.NdJ("keydown",function(Zt){e.CHM(It);const Ut=e.oxw(2);return e.KtG(Ut.onKeydown(Zt))}),e.YNc(2,Ge,2,1,"div",7),e.qZA(),e._UZ(3,"div")}if(2&St){e.oxw();const It=e.MAs(1),Rt=e.oxw();e.xp6(2),e.Q6J("polymorpheusOutlet",Rt.content)("polymorpheusOutletContext",e.WLB(2,R,It,Rt.close))}}function S(St,Ft){if(1&St){const It=e.EpF();e.TgZ(0,"div",1,2),e.NdJ("tuiActiveZoneChange",function(Zt){e.CHM(It);const Ut=e.oxw();return e.KtG(Ut.onActiveZone(Zt))})("tuiObscured",function(Zt){e.CHM(It);const Ut=e.oxw();return e.KtG(Ut.onHostObscured(Zt))}),e.Hsn(2),e.YNc(3,be,4,5,"ng-template",3,4,e.W1O),e.qZA()}if(2&St){const It=Ft.tuiLet,Rt=e.MAs(4),Zt=e.oxw();e.Q6J("tuiDropdown",Rt)("tuiDropdownManual",It&&Zt.canOpen)("tuiDropdownSided",Zt.sided)("tuiObscuredEnabled",It),e.xp6(3),e.Q6J("polymorpheus",Zt.context)}}const q=["*"];let ze=(()=>{class St extends s.uG{constructor(){super(...arguments),this.type="dummy"}getPosition(){return[0,0]}}return St.\u0275fac=function(){let Ft;return function(Rt){return(Ft||(Ft=e.n5z(St)))(Rt||St)}}(),St.\u0275dir=e.lG2({type:St,selectors:[["","tuiAccessorProxy",""]],features:[e._Bn([{provide:s.uG,multi:!0,deps:[[new e.FiY,new e.tp0,St],St],useFactory:(Ft,It)=>Ft||It}]),e.qOj]}),St})();const N=new e.OlP("[TUI_HOSTED_DROPDOWN_COMPONENT]");let Se=(()=>{class St{constructor(It,Rt,Zt,Ut){null==Ut||Ut.tuiDropdownOpenChange.pipe((0,ie.h)(Dt=>Dt&&Ut.dropdown===Zt&&!Rt.focused),(0,Ue.R)(It)).subscribe(()=>{var Dt;null===(Dt=Rt.nativeFocusableElement)||void 0===Dt||Dt.focus(),Rt.updateOpen(!0)})}}return St.\u0275fac=function(It){return new(It||St)(e.Y36(ne.a3,2),e.Y36(N),e.Y36(ue.td,2),e.Y36(ue.oH,8))},St.\u0275dir=e.lG2({type:St,selectors:[["","tuiDropdownOpenMonitor",""]],features:[e._Bn([ne.a3])]}),St})(),et=(()=>{class St{}return St.\u0275fac=function(It){return new(It||St)},St.\u0275dir=e.lG2({type:St,selectors:[["","tuiHostedDropdownHost",""]]}),St})();function pt(St){var Ft;return"key"in St&&"escape"===St.key.toLowerCase()&&this.canOpen&&this.open&&!(null!==(Ft=this.dropdown)&&void 0!==Ft&&Ft.nextElementSibling)}let wt=(()=>{class St{constructor(It,Rt){this.hover$=It,this.el=Rt,this.openChange$=new ee.X(!1),this.hostHover$=(0,$e.a)([(0,F.mL)(this.el.nativeElement,"mouseover").pipe((0,te.U)(Zt=>this.computedHost.contains((0,de.mA)(Zt))),(0,ve.w)(Zt=>{var Ut,Dt;return(0,Oe.of)(Zt).pipe((0,Ae.g)((Zt?null===(Ut=this.hover$)||void 0===Ut?void 0:Ut.showDelay:null===(Dt=this.hover$)||void 0===Dt?void 0:Dt.hideDelay)||0))})),this.hover$||_t.E]).pipe((0,te.U)(([Zt,Ut])=>Zt&&Ut)),this.sided=!1,this.canOpen=!0,this.open$=(0,vt.T)(this.openChange$,this.hostHover$).pipe((0,Ve.T)(1),(0,je.x)(),(0,se.B)()),this.focusedChange=new e.vpe,this.focus$=new ee.X(!1),this.openChange=this.openChange$,this.close=()=>this.updateOpen(!1)}set open(It){this.openChange.next(It)}get open(){return this.openChange.value}get host(){var It;return(null===(It=this.dropdownHost)||void 0===It?void 0:It.nativeElement)||this.el.nativeElement}get computedHost(){var It;return(null===(It=this.dropdownHost)||void 0===It?void 0:It.nativeElement)||this.nativeFocusableElement||this.el.nativeElement}get dropdown(){var It,Rt;return null===(Rt=null===(It=this.dropdownDirective)||void 0===It?void 0:It.dropdownBoxRef)||void 0===Rt?void 0:Rt.location.nativeElement}get nativeFocusableElement(){return(0,Y.dT)(this.host)?this.host:(0,Y.BW)({initial:this.host,root:this.el.nativeElement})}get focused(){return(0,Y.zb)(this.host)||this.open&&!!this.wrapper&&(0,Y.zb)(this.wrapper.nativeElement)}onFocusInOut(){this.focus$.next(this.focused)}onFocusIn(It){this.computedHost.contains(It)||this.updateOpen(!1)}onClick(It){var Rt;!this.hostEditable&&this.computedHost.contains(It)&&(null===(Rt=this.hover$)||void 0===Rt||!Rt.hovered)&&this.updateOpen(!this.open)}onKeyDownEsc(It){It.preventDefault(),this.closeDropdown()}onArrow(It,Rt){this.focusDropdown(It,Rt)}onKeydown({key:It,target:Rt,defaultPrevented:Zt}){!Zt&&(0,we.kL)(It)&&this.hostEditable&&(0,de.dW)(Rt)&&!(0,de.Hn)(Rt)&&this.focusHost()}onActiveZone(It){this.updateFocused(It),It||this.updateOpen(!1)}onHostObscured(It){It&&this.closeDropdown()}updateOpen(It){(!It||this.canOpen)&&(this.open=It)}get hostEditable(){return(0,de.Hn)(this.computedHost)}focusDropdown(It,Rt){const Zt=this.nativeFocusableElement;if(!(Zt&&(0,de.dW)(Zt)&&(0,de.ve)(It.target)&&Zt.contains(It.target)))return;if(!(this.wrapper&&this.open&&this.dropdown&&(0,de.dW)(this.wrapper.nativeElement.nextElementSibling)))return this.updateOpen(!0),void((0,de.Hn)(Zt)||It.preventDefault());const Dt=(0,Y.BW)({initial:Rt?this.wrapper.nativeElement:this.wrapper.nativeElement.nextElementSibling,root:this.wrapper.nativeElement,previous:!Rt});Dt&&(Dt.focus(),It.preventDefault())}closeDropdown(){this.focused&&this.focusHost(),this.updateOpen(!1)}focusHost(){const It=this.nativeFocusableElement;It&&It.focus({preventScroll:!0})}updateFocused(It){this.focusedChange.emit(It)}}return St.\u0275fac=function(It){return new(It||St)(e.Y36(ue.E$,10),e.Y36(e.SBq))},St.\u0275cmp=e.Xpm({type:St,selectors:[["tui-hosted-dropdown"]],contentQueries:function(It,Rt,Zt){if(1&It&&e.Suo(Zt,et,5,e.SBq),2&It){let Ut;e.iGM(Ut=e.CRH())&&(Rt.dropdownHost=Ut.first)}},viewQuery:function(It,Rt){if(1&It&&(e.Gf(qe,5,e.SBq),e.Gf(ue.td,5),e.Gf(z.e,5)),2&It){let Zt;e.iGM(Zt=e.CRH())&&(Rt.wrapper=Zt.first),e.iGM(Zt=e.CRH())&&(Rt.dropdownDirective=Zt.first),e.iGM(Zt=e.CRH())&&(Rt.activeZone=Zt.first)}},hostVars:1,hostBindings:function(It,Rt){1&It&&e.NdJ("$.class._hosted_dropdown_focused",function(){return Rt.focus$})("focusin.capture.silent",function(){return Rt.onFocusInOut()})("focusout.capture.silent",function(){return Rt.onFocusInOut()})("focusin",function(Ut){return Rt.onFocusIn(Ut.target)})("click",function(Ut){return Rt.onClick(Ut.target)})("keydown.silent.capture",function(Ut){return Rt.onKeyDownEsc(Ut)},!1,e.evT)("keydown.arrowDown",function(Ut){return Rt.onArrow(Ut,!0)})("keydown.arrowUp",function(Ut){return Rt.onArrow(Ut,!1)}),2&It&&e.Ikx("$.class._hosted_dropdown_focused",Rt.focus$)},inputs:{content:"content",sided:"sided",canOpen:"canOpen",open:"open"},outputs:{open$:"openChange",focusedChange:"focusedChange"},features:[e._Bn([(0,_e.FT)(St),{provide:ze,deps:[[new e.FiY,new e.PiD,s.uG]],useFactory:Ft=>null==Ft?void 0:Ft[0]},{provide:N,useExisting:St}])],ngContentSelectors:q,decls:2,vars:3,consts:[["tuiAccessorProxy","","tuiDropdownOpenMonitor","","class","t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured",4,"tuiLet"],["tuiAccessorProxy","","tuiDropdownOpenMonitor","",1,"t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured"],["activeZone","tuiActiveZone"],[3,"polymorpheus"],["dropdown","polymorpheus"],[1,"t-dropdown",3,"keydown"],["wrapper",""],["class","t-primitive",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive"]],template:function(It,Rt){if(1&It&&(e.F$t(),e.YNc(0,S,5,5,"div",0),e.ALo(1,"async")),2&It){let Zt;e.Q6J("tuiLet",null!==(Zt=e.lcZ(1,1,Rt.open$))&&void 0!==Zt?Zt:Rt.openChange.value)}},dependencies:[k.Ls,ze,Se,ue.td,ue.VC,ue.Tp,ue.Cw,z.e,pe,At.GL,At.Li,Qe.Ov],styles:["[_nghost-%COMP%]{display:inline-flex}.t-wrapper[_ngcontent-%COMP%]{border-radius:inherit;height:inherit;flex:1 1 auto;width:100%}.t-dropdown[_ngcontent-%COMP%]{height:100%}.t-primitive[_ngcontent-%COMP%]{padding:1rem}"],changeDetection:0}),(0,tt.gn)([(0,mt.uX)(pt)],St.prototype,"onKeyDownEsc",null),St})(),Cn=(()=>{class St{}return St.\u0275fac=function(It){return new(It||St)},St.\u0275mod=e.oAB({type:St}),St.\u0275inj=e.cJS({imports:[[Qe.ez,At.wq,k.WD,ce,z.A,ue.dp]]}),St})()},2847:(Ht,Fe,c)=>{"use strict";c.d(Fe,{V:()=>ve,j:()=>Ae});var e=c(4537),s=c(2325),k=c(3770),z=c(7179),F=c(9669),ne=c(8033),W=c(2130),te=c(6060),pe=c(1860),ce=c(7969),de=c(4789),Y=c(8692);const _e=["tuiLink",""];function ue(Ve,je){if(1&Ve&&e._UZ(0,"tui-svg",3),2&Ve){const se=e.oxw();e.Q6J("src",se.icon||"")}}function ie(Ve,je){if(1&Ve&&e._UZ(0,"tui-svg",4),2&Ve){const se=e.oxw();e.Q6J("src",se.icon||"")}}const Ue=["*"];let ve=(()=>{class Ve{constructor(se,ee,$e){this.el=se,this.mode$=ee,this.pseudo=!1,this.icon="",this.iconAlign="right",this.iconRotated=!1,this.mode=null,this.focusVisible=!1,this.focusedChange=(0,pe.T)((0,s.mL)(this.el.nativeElement,"focusin").pipe((0,ce.U)(k.Ye)),(0,s.mL)(this.el.nativeElement,"focusout").pipe((0,ce.U)(k.Iy))),$e.subscribe(Oe=>{this.focusVisible=Oe})}get nativeFocusableElement(){return this.el.nativeElement}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get hasIcon(){return!!this.icon}get iconAlignLeft(){return this.hasIcon&&"left"===this.iconAlign}get iconAlignRight(){return this.hasIcon&&"right"===this.iconAlign}}return Ve.\u0275fac=function(se){return new(se||Ve)(e.Y36(e.SBq),e.Y36(te.Au),e.Y36(F.ku))},Ve.\u0275cmp=e.Xpm({type:Ve,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostVars:7,hostBindings:function(se,ee){1&se&&e.NdJ("$.data-mode.attr",function(){return ee.mode$}),2&se&&(e.uIk("data-host-mode",ee.mode),e.ekj("_pseudo",ee.pseudo)("_icon-rotated",ee.iconRotated)("_focus-visible",ee.focusVisible))},inputs:{pseudo:"pseudo",icon:"icon",iconAlign:"iconAlign",iconRotated:"iconRotated",mode:"mode"},exportAs:["tuiLink"],features:[e._Bn([(0,ne.FT)(Ve),F.ku,F.a3,W.CV])],attrs:_e,ngContentSelectors:Ue,decls:4,vars:2,consts:[["class","t-icon t-icon_left",3,"src",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_right",3,"src",4,"ngIf"],[1,"t-icon","t-icon_left",3,"src"],[1,"t-icon","t-icon_right",3,"src"]],template:function(se,ee){1&se&&(e.F$t(),e.YNc(0,ue,1,1,"tui-svg",0),e.TgZ(1,"span",1),e.Hsn(2),e.qZA(),e.YNc(3,ie,1,1,"tui-svg",2)),2&se&&(e.Q6J("ngIf",ee.iconAlignLeft),e.xp6(3),e.Q6J("ngIf",ee.iconAlignRight))},dependencies:[de.PN,Y.O5],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);text-align:left;text-transform:inherit;font-weight:inherit;cursor:pointer;outline:none}[_nghost-%COMP%]:hover{color:var(--tui-link-hover)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(0,0,0,.48);text-decoration-color:#0000007a}[data-mode=onLight]._pseudo[_nghost-%COMP%]:hover, [data-mode=onLight]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative-night)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:hover, [data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:active, [data-mode=onLight][data-host-mode=negative]._active[_nghost-%COMP%]{color:var(--tui-negative-night-hover)}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark][_nghost-%COMP%]:active, [data-mode=onDark]._active[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(255,255,255,.48);text-decoration-color:#ffffff7a}[data-mode=onDark]._pseudo[_nghost-%COMP%]:hover, [data-mode=onDark]._pseudo[_nghost-%COMP%]:active, [data-mode=onDark]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:hover, [data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:active, [data-mode=onDark][data-host-mode=positive]._active[_nghost-%COMP%]{color:var(--tui-positive-night-hover)}[data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative)}[data-host-mode=negative][_nghost-%COMP%]:hover{color:var(--tui-negative-hover)}[data-host-mode=negative]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(222,76,30,.48);text-decoration-color:#de4c1e7a}[data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive)}[data-host-mode=positive][_nghost-%COMP%]:hover{color:var(--tui-positive-hover)}[data-host-mode=positive]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(58,169,129,.48);text-decoration-color:#3aa9817a}._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-selection)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear);color:var(--tui-text-01)}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}[data-host-mode=positive]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-success-bg)}[data-host-mode=negative]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-error-bg)}._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding-bottom:.15em;-webkit-text-decoration:underline dashed rgba(51,111,238,.48);text-decoration:underline dashed rgba(51,111,238,.48);text-underline-offset:.2em;text-decoration-thickness:.7px}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--tui-link-icon-size, 1.5rem);height:var(--tui-link-icon-size, 1.5rem);margin-top:-.125rem}.t-icon_left[_ngcontent-%COMP%]{margin-right:.25rem}.t-icon_right[_ngcontent-%COMP%]{margin-left:.25rem}._icon-rotated[_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),Ve})(),Ae=(()=>{class Ve{}return Ve.\u0275fac=function(se){return new(se||Ve)},Ve.\u0275mod=e.oAB({type:Ve}),Ve.\u0275inj=e.cJS({imports:[[Y.ez,de.EI]]}),Ve})()},719:(Ht,Fe,c)=>{"use strict";c.d(Fe,{dS:()=>ve,kM:()=>Ue});var e=c(8692),s=c(4537),k=c(1927),z=c(1213),F=c(7179),ne=c(8033),W=c(6640),te=c(9570);function pe(Ae,Ve){if(1&Ae&&(s.ynx(0),s._uU(1),s.BQk()),2&Ae){const je=Ve.polymorpheusOutlet;s.xp6(1),s.hij(" ",je," ")}}function ce(Ae,Ve){if(1&Ae&&(s.O4$(),s.kcU(),s.TgZ(0,"div",6),s.YNc(1,pe,2,1,"ng-container",7),s.qZA()),2&Ae){const je=s.oxw(2);s.ekj("t-text_horizontal",je.isHorizontal),s.xp6(1),s.Q6J("polymorpheusOutlet",je.textContent)}}function de(Ae,Ve){if(1&Ae&&(s.TgZ(0,"div",2),s.O4$(),s.TgZ(1,"svg",3),s._UZ(2,"circle",4),s.qZA(),s.YNc(3,ce,2,3,"div",5),s.qZA()),2&Ae){const je=s.oxw();s.ekj("t-loader_horizontal",je.isHorizontal)("t-loader_inherit-color",je.inheritColor),s.uIk("data-size",je.size),s.xp6(3),s.Q6J("ngIf",je.hasText)}}const Y=["*"],ue=(0,k.JN)({size:"m",inheritColor:!1,overlay:!1});let Ue=(()=>{class Ae{constructor(je,se,ee,$e){this.doc=je,this.el=se,this.isIos=ee,this.options=$e,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay,this.loading=!0,this.isApple=(0,z.Ex)(this.el.nativeElement)||this.isIos}set showLoader(je){je&&this.focused&&(0,F.hp)(this.doc),this.loading=je}get hasOverlay(){return this.overlay&&this.loading}get hasText(){return!!this.textContent}get isHorizontal(){return!(0,W.R9)(this.size)}get focused(){return(0,F.zb)(this.el.nativeElement)}}return Ae.\u0275fac=function(je){return new(je||Ae)(s.Y36(e.K0),s.Y36(s.SBq),s.Y36(ne.FA),s.Y36(ue))},Ae.\u0275cmp=s.Xpm({type:Ae,selectors:[["tui-loader"]],hostVars:2,hostBindings:function(je,se){2&je&&s.ekj("_loading",se.loading)},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},ngContentSelectors:Y,decls:3,vars:7,consts:[[1,"t-content",3,"disabled"],["class","t-loader",3,"t-loader_horizontal","t-loader_inherit-color",4,"ngIf"],[1,"t-loader"],["automation-id","tui-loader__loader","focusable","false","viewBox","0 0 100 100","xmlns","http://www.w3.org/2000/svg",1,"t-icon"],["cx","50","cy","50","r","50","stroke-dasharray","314",1,"t-circle"],["automation-id","tui-loader__text","class","t-text",3,"t-text_horizontal",4,"ngIf"],["automation-id","tui-loader__text",1,"t-text"],[4,"polymorpheusOutlet"]],template:function(je,se){1&je&&(s.F$t(),s.TgZ(0,"fieldset",0),s.Hsn(1),s.qZA(),s.YNc(2,de,4,6,"div",1)),2&je&&(s.ekj("t-content_has-overlay",se.hasOverlay)("t-content_loading",se.loading),s.Q6J("disabled",se.loading&&!se.isApple),s.uIk("inert",se.loading||null),s.xp6(2),s.Q6J("ngIf",se.loading))},dependencies:[e.O5,te.Li],styles:["@keyframes _ngcontent-%COMP%_tuiLoaderDashOffset{0%{stroke-dashoffset:-66}50%{stroke-dashoffset:-314}to{stroke-dashoffset:-66}}@keyframes _ngcontent-%COMP%_tuiLoaderRotate{0%{transform:rotate(0)}50%{transform:rotate(1turn)}to{transform:rotate(3turn)}}[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem}._loading[_nghost-%COMP%]{overflow:hidden}.t-content[_ngcontent-%COMP%]{z-index:0;min-width:100%;height:100%;padding:0;margin:0;border:none}.t-content_has-overlay[_ngcontent-%COMP%]{opacity:.3}.t-content_loading[_ngcontent-%COMP%]{pointer-events:none}.t-loader[_ngcontent-%COMP%]{position:relative;left:-100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100%;flex-shrink:0;align-self:center;color:var(--tui-text-01);stroke:var(--tui-primary);animation:tuiFadeIn var(--tui-duration)}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-loader[data-size=xs][_ngcontent-%COMP%]{font-size:.75rem;stroke-width:38}.t-loader[data-size=s][_ngcontent-%COMP%]{font-size:1rem;stroke-width:25}.t-loader[data-size=m][_ngcontent-%COMP%]{font-size:1.5rem;stroke-width:17}.t-loader[data-size=l][_ngcontent-%COMP%]{font-size:2.5rem;stroke-width:15}.t-loader[data-size=xl][_ngcontent-%COMP%]{font-size:3.5rem;stroke-width:14}.t-loader[data-size=xxl][_ngcontent-%COMP%]{font-size:5rem;stroke-width:10}.t-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}.t-icon[_ngcontent-%COMP%]{display:block;min-width:1em;max-width:1em;min-height:1em;max-height:1em;margin:.25rem -.5em;border-radius:100%;overflow:hidden;transform:scaleY(-1);animation:_ngcontent-%COMP%_tuiLoaderRotate 3s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}.t-circle[_ngcontent-%COMP%]{fill:none;stroke:inherit;stroke-width:inherit;animation:_ngcontent-%COMP%_tuiLoaderDashOffset 3s linear infinite}"],changeDetection:0}),Ae})(),ve=(()=>{class Ae{}return Ae.\u0275fac=function(je){return new(je||Ae)},Ae.\u0275mod=s.oAB({type:Ae}),Ae.\u0275inj=s.cJS({imports:[[e.ez,te.wq]]}),Ae})()},885:(Ht,Fe,c)=>{"use strict";c.d(Fe,{H:()=>ue,L:()=>_e});var e=c(4537),s=c(2325),k=c(6060),z=c(4789),F=c(2628),ne=c(8692),W=c(9570);function te(ie,Ue){1&ie&&e._UZ(0,"tui-svg",4),2&ie&&e.Q6J("src",Ue.polymorpheusOutlet)}const pe=function(ie){return{$implicit:ie}};function ce(ie,Ue){if(1&ie&&(e.ynx(0),e.YNc(1,te,1,1,"tui-svg",3),e.BQk()),2&ie){const ve=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",ve.icon)("polymorpheusOutletContext",e.VKq(2,pe,ve.status))}}function de(ie,Ue){if(1&ie){const ve=e.EpF();e.TgZ(0,"button",5),e.NdJ("click",function(){e.CHM(ve);const Ve=e.oxw();return e.KtG(Ve.close.emit())}),e.ALo(1,"async"),e.qZA()}if(2&ie){const ve=e.oxw();e.Q6J("icon",ve.icons.close)("title",e.lcZ(1,2,ve.closeWord$))}}const Y=["*"];let _e=(()=>{class ie{constructor(ve,Ae,Ve){this.closeWord$=ve,this.icons=Ae,this.options=Ve,this.hasIcon=this.options.hasIcon,this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new e.vpe}get hasClose(){return!this.hideClose&&(0,s.fw)(this.close)}}return ie.\u0275fac=function(ve){return new(ve||ie)(e.Y36(k.U0),e.Y36(k.Gs),e.Y36(k.Ln))},ie.\u0275cmp=e.Xpm({type:ie,selectors:[["tui-notification"]],hostVars:2,hostBindings:function(ve,Ae){2&ve&&e.uIk("data-status",Ae.status)("data-size",Ae.size)},inputs:{hasIcon:"hasIcon",icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},ngContentSelectors:Y,decls:4,vars:2,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"icon","title","click",4,"ngIf"],["automation-id","tui-notification__icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"src"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"icon","title","click"]],template:function(ve,Ae){1&ve&&(e.F$t(),e.YNc(0,ce,2,4,"ng-container",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,de,2,4,"button",2)),2&ve&&(e.Q6J("ngIf",Ae.icon&&Ae.hasIcon),e.xp6(3),e.Q6J("ngIf",Ae.hasClose))},dependencies:[z.PN,F.v0,ne.O5,W.Li,ne.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:flex;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}[data-status=success][_nghost-%COMP%]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}[data-status=error][_nghost-%COMP%]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-neutral-fill);background:linear-gradient(var(--tui-neutral-bg),var(--tui-neutral-bg)),var(--tui-base-01)}.t-content[_ngcontent-%COMP%]{flex:1;word-wrap:break-word;overflow-wrap:anywhere;color:var(--tui-text-01)}"],changeDetection:0}),ie})(),ue=(()=>{class ie{}return ie.\u0275fac=function(ve){return new(ve||ie)},ie.\u0275mod=e.oAB({type:ie}),ie.\u0275inj=e.cJS({imports:[[ne.ez,z.EI,F.fN,W.wq]]}),ie})()},5640:(Ht,Fe,c)=>{"use strict";c.d(Fe,{iQ:()=>hn,yc:()=>cn,B1:()=>yt,KW:()=>he,MB:()=>Re});var e=c(4911),s=c(4537),k=c(9669);let z=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275cmp=s.Xpm({type:fe,selectors:[["ng-component"]],hostAttrs:[1,"tui-autofilled-styles"],decls:0,vars:0,template:function(ye,at){},styles:[".tui-autofill input,input.tui-autofill{transition:box-shadow .01s}\n"],encapsulation:2,changeDetection:0}),fe})(),F=(()=>{class fe{constructor(ye){this.autofilled=!1,this.tuiAutofilledChange=new s.vpe,ye.addComponent(z)}transitionStartHandler({propertyName:ye,target:at}){var kt;ye.includes("box-shadow")&&(null===(kt=at)||void 0===kt?void 0:kt.matches("input"))&&(this.autofilled=!this.autofilled,this.tuiAutofilledChange.emit(this.autofilled))}}return fe.\u0275fac=function(ye){return new(ye||fe)(s.Y36(k.gH))},fe.\u0275dir=s.lG2({type:fe,selectors:[["","tuiAutofilledChange",""]],hostAttrs:[1,"tui-autofill"],hostVars:2,hostBindings:function(ye,at){1&ye&&s.NdJ("transitionstart",function(qt){return at.transitionStartHandler(qt)}),2&ye&&s.ekj("_autofilled",at.autofilled)},outputs:{tuiAutofilledChange:"tuiAutofilledChange"}}),fe})(),ne=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275mod=s.oAB({type:fe}),fe.\u0275inj=s.cJS({}),fe})();var W=c(3633),te=c(8033),pe=c(6480),ce=c(7179),de=c(4493),Y=c(4358),_e=c(8089),ue=c(8940),ie=c(6640),Ue=c(9570),ve=c(4121),Ae=c(1860),Ve=c(4581),je=c(3517),se=c(4970),ee=c(7969),$e=c(2147),Oe=c(4789),_t=c(7320),vt=c(1515),tt=c(8692),we=c(1489),mt=c(9900),At=c(6060);let Qe=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275dir=s.lG2({type:fe,selectors:[["input","tuiMaskAccessor",""]],features:[s._Bn([{provide:mt.JU,deps:[[new s.FiY,At.sE],mt.Fj],multi:!0,useFactory:(We,ye)=>We?We[0]:ye}])]}),fe})(),qe=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275mod=s.oAB({type:fe}),fe.\u0275inj=s.cJS({}),fe})();var Ge=c(3631);const R=["pre"],be=["focusableElement"];function S(fe,We){1&fe&&s.GkF(0)}function q(fe,We){1&fe&&s.GkF(0)}function ze(fe,We){1&fe&&(s.TgZ(0,"div",17),s.Hsn(1,2),s.qZA())}function N(fe,We){1&fe&&s._UZ(0,"tui-svg",20),2&fe&&s.Q6J("src",We.polymorpheusOutlet)}const Se=function(fe){return{$implicit:fe}};function et(fe,We){if(1&fe&&(s.TgZ(0,"div",18),s.YNc(1,N,1,1,"tui-svg",19),s.qZA()),2&fe){const ye=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",ye.iconLeftContent)("polymorpheusOutletContext",s.VKq(2,Se,ye.size))}}function pt(fe,We){if(1&fe&&(s.TgZ(0,"label",21),s.Hsn(1,3),s.qZA()),2&fe){const ye=s.oxw();s.ekj("t-placeholder_raised",ye.placeholderRaised),s.Q6J("for",ye.computedId)}}function wt(fe,We){1&fe&&s._UZ(0,"tui-svg",24),2&fe&&s.Q6J("src",We.polymorpheusOutlet)}function Cn(fe,We){if(1&fe&&(s.TgZ(0,"div",22),s.YNc(1,wt,1,1,"tui-svg",23),s.qZA()),2&fe){const ye=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",ye.controller.customContent)}}function St(fe,We){1&fe&&s._UZ(0,"tui-svg",27),2&fe&&s.Q6J("src",We.polymorpheusOutlet)}function Ft(fe,We){if(1&fe){const ye=s.EpF();s.TgZ(0,"span",25),s.NdJ("click.stop",function(){s.CHM(ye);const kt=s.oxw();return s.KtG(kt.clear())}),s.YNc(1,St,1,1,"tui-svg",26),s.qZA()}if(2&fe){const ye=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",ye.iconCleaner||ye.controller.options.iconCleaner)("polymorpheusOutletContext",s.VKq(2,Se,ye.size))}}function It(fe,We){if(1&fe&&s._UZ(0,"tui-tooltip",28),2&fe){const ye=s.oxw();s.Q6J("content",null==ye.hintOptions?null:ye.hintOptions.content)("describeId",ye.computedId)}}function Rt(fe,We){1&fe&&s._UZ(0,"tui-svg",20),2&fe&&s.Q6J("src",We.polymorpheusOutlet)}function Zt(fe,We){if(1&fe&&(s.TgZ(0,"div",29),s.YNc(1,Rt,1,1,"tui-svg",19),s.qZA()),2&fe){const ye=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",ye.iconContent)("polymorpheusOutletContext",s.VKq(2,Se,ye.size))}}const Ut=[[["input"]],[["select"]],[["tuiContent"]],"*"],Dt=["input","select","tuiContent","*"],Xt=["tuiTextfield",""];let Qt=(()=>{class fe{constructor(ye,at){this.textfield=ye,this.fontsReady$=at,this.prefix$=new ve.X(""),this.pre$=(0,Ae.T)(this.fontsReady$,this.prefix$).pipe((0,je.g)(0),(0,se.h)(()=>{var kt;return!(null===(kt=this.pre)||void 0===kt||!kt.nativeElement.isConnected)}),(0,ee.U)(()=>{var kt;return(null===(kt=this.pre)||void 0===kt?void 0:kt.nativeElement.offsetWidth)||0}),(0,$e.x)())}get isContextTable(){return this.textfield.appearance===_t.Nm.Table}get value(){return this.textfield.value}get filler(){const{focused:ye,placeholder:at,exampleText:kt,value:qt,textfield:Lt}=this;return at&&kt?"":ye?kt||Lt.filler.slice(qt.length):""}get prefix(){return this.decorationsVisible?this.textfield.prefix:""}get postfix(){return this.decorationsVisible?this.computedPostfix:""}ngDoCheck(){this.prefix$.next(this.prefix)}get placeholder(){var ye;return(null===(ye=this.textfield.nativeFocusableElement)||void 0===ye?void 0:ye.placeholder)||""}get exampleText(){return!this.value&&this.focused?this.placeholder:""}get decorationsVisible(){return!!this.value||this.focused&&!this.placeholder}get focused(){return this.textfield.computedFocused&&!this.textfield.readOnly}get computedPostfix(){return this.textfield.postfix&&(this.filler||this.value)?` ${this.textfield.postfix}`:this.textfield.postfix}}return fe.\u0275fac=function(ye){return new(ye||fe)(s.Y36(te.KZ),s.Y36(te.tS))},fe.\u0275cmp=s.Xpm({type:fe,selectors:[["tui-value-decoration"]],viewQuery:function(ye,at){if(1&ye&&s.Gf(R,7,s.SBq),2&ye){let kt;s.iGM(kt=s.CRH())&&(at.pre=kt.first)}},hostVars:4,hostBindings:function(ye,at){1&ye&&s.NdJ("animationstart",function(){return at.ngDoCheck()}),2&ye&&s.ekj("_table",at.isContextTable)("_filler",at.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(ye,at){1&ye&&s._UZ(0,"span",0,1)(2,"span",2)(3,"span",3)(4,"span",4),2&ye&&(s.Q6J("textContent",at.prefix),s.xp6(2),s.Q6J("textContent",at.value),s.xp6(1),s.Q6J("textContent",at.filler),s.xp6(1),s.Q6J("textContent",at.postfix))},styles:['[_nghost-%COMP%]{position:absolute;display:block;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-03);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]{color:var(--tui-text-03-night)}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-01)}tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),fe})();const hn={s:1.25,m:1.75,l:2.25};let cn=(()=>{class fe extends pe.Xn{constructor(ye,at,kt,qt){super(),this.controller=ye,this.hintOptions=at,this.options=kt,this.el=qt,this.editable=!0,this.textfieldFiller="",this.iconCleaner=this.options.iconCleaner,this.readOnly=!1,this.invalid=!1,this.disabled=!1,this.textfieldPrefix="",this.textfieldPostfix="",this.value="",this.valueChange=new s.vpe,this.autofilled=!1}get prefix(){return this.textfieldPrefix||this.controller.prefix}get postfix(){return this.textfieldPostfix||this.controller.postfix}get filler(){return this.textfieldFiller||this.controller.filler}get nativeFocusableElement(){if(this.computedDisabled||!this.focusableElement)return null;const{nativeElement:ye}=this.focusableElement;return ye.previousElementSibling||ye}get focused(){return(0,ce.zb)(this.el.nativeElement)}get appearance(){return this.controller.appearance}get size(){return this.controller.size}get computedInvalid(){return!this.readOnly&&!this.disabled&&this.invalid}get inputHidden(){var ye;return!(null===(ye=this.content)||void 0===ye||!ye.length)}get hasValue(){return!!this.value}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}get hasTooltip(){var ye;return!(null===(ye=this.hintOptions)||void 0===ye||!ye.content||this.computedDisabled)}get hasCustomContent(){return!!this.controller.customContent}get placeholderVisible(){var ye;const kt=((null===(ye=this.nativeFocusableElement)||void 0===ye?void 0:ye.placeholder)||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!kt}get hasPlaceholder(){return this.placeholderRaisable||this.placeholderVisible}get placeholderRaised(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}get borderStart(){return this.iconLeftContent?this.iconPaddingLeft:0}get borderEnd(){return(0,ie._X)(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}get iconContent(){return this.controller.icon}get iconLeftContent(){return this.controller.iconLeft}get showHint(){var ye;return!(null===(ye=this.hintOptions)||void 0===ye||!ye.content)&&(this.options.hintOnDisabled||!this.computedDisabled)}get name(){var ye;return"cc-exp"===(null===(ye=this.nativeFocusableElement)||void 0===ye?void 0:ye.autocomplete)?"ccexpiryyear":null}get computedId(){var ye;return(null===(ye=this.nativeFocusableElement)||void 0===ye?void 0:ye.id)||""}onFocused(ye){this.updateFocused(ye)}getIndent$(ye){return(0,Ve.R)(ye,"scroll").pipe((0,ee.U)(()=>-1*Math.max(ye.scrollLeft,0)))}clear(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}onMouseDown(ye){const{nativeFocusableElement:at}=this;!at||ye.target===at||(ye.preventDefault(),at.focus())}onModelChange(ye){this.updateValue(ye)}onAutofilled(ye){this.updateAutofilled(ye)}detectRetargetFromLabel(ye){(0,de.UP)(ye)&&ye.stopImmediatePropagation()}get iconPaddingLeft(){return hn[this.size]}get placeholderRaisable(){return"s"!==this.size&&!this.controller.labelOutside}updateAutofilled(ye){this.autofilled!==ye&&(this.autofilled=ye)}updateValue(ye){this.value=ye,this.valueChange.emit(ye)}}return fe.\u0275fac=function(ye){return new(ye||fe)(s.Y36(ue.Cs),s.Y36(_e.bZ,8),s.Y36(ue.z1),s.Y36(s.SBq))},fe.\u0275cmp=s.Xpm({type:fe,selectors:[["tui-primitive-textfield"]],contentQueries:function(ye,at,kt){if(1&ye&&s.Suo(kt,Ue.Li,5),2&ye){let qt;s.iGM(qt=s.CRH())&&(at.content=qt)}},viewQuery:function(ye,at){if(1&ye&&s.Gf(be,5),2&ye){let kt;s.iGM(kt=s.CRH())&&(at.focusableElement=kt.first)}},hostVars:15,hostBindings:function(ye,at){1&ye&&s.NdJ("focusin",function(){return at.onFocused(!0)})("focusout",function(){return at.onFocused(!1)}),2&ye&&(s.uIk("data-size",at.size),s.Udp("--border-start",at.borderStart,"rem")("--border-end",at.borderEnd,"rem"),s.ekj("_autofilled",at.autofilled)("_label-outside",at.controller.labelOutside)("_readonly",at.readOnly)("_invalid",at.computedInvalid)("_hidden",at.inputHidden))},inputs:{editable:"editable",textfieldFiller:["filler","textfieldFiller"],iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",textfieldPrefix:["prefix","textfieldPrefix"],textfieldPostfix:["postfix","textfieldPostfix"],value:"value"},outputs:{valueChange:"valueChange"},features:[s._Bn([(0,te.FT)(fe),ue.Y0]),s.qOj],ngContentSelectors:Dt,decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown","tuiAutofilledChange"],["automation-id","tui-primitive-textfield__native-input","tuiMaskAccessor","",1,"t-input",3,"disabled","id","ngModel","readOnly","tuiFocusable","ngModelChange"],["focusableElement",""],["automation-id","tui-primitive-textfield__value","class","t-input t-input_template",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_left t-textfield-icon",4,"ngIf"],[1,"t-wrapper"],["automation-id","tui-primitive-textfield__placeholder","class","t-placeholder",3,"t-placeholder_raised","for",4,"ngIf"],[1,"t-wrapper-value-decoration"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",4,"ngIf"],["class","t-icon t-textfield-icon",4,"ngIf"],["automation-id","tui-primitive-textfield__value",1,"t-input","t-input_template"],[1,"t-icon","t-icon_left","t-textfield-icon"],["appearance","icon","tuiWrapper","",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","tuiWrapper","",3,"src"],["automation-id","tui-primitive-textfield__placeholder",1,"t-placeholder",3,"for"],["automation-id","tui-primitive-textfield__custom-content",1,"t-custom-content"],["class","t-custom-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"src"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"src"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(ye,at){if(1&ye&&(s.F$t(Ut),s.YNc(0,S,1,0,"ng-container",0),s.ALo(1,"async"),s.YNc(2,q,1,0,"ng-container",0),s.ALo(3,"async"),s.TgZ(4,"div",1),s.NdJ("click.prevent.silent",function(qt){return at.detectRetargetFromLabel(qt)})("mousedown",function(qt){return at.onMouseDown(qt)})("tuiAutofilledChange",function(qt){return at.onAutofilled(qt)}),s.ALo(5,"async"),s.Hsn(6),s.Hsn(7,1),s.TgZ(8,"input",2,3),s.NdJ("ngModelChange",function(qt){return at.onModelChange(qt)}),s.qZA(),s.YNc(10,ze,2,0,"div",4),s.TgZ(11,"div",5),s.YNc(12,et,2,4,"div",6),s.TgZ(13,"div",7),s.YNc(14,pt,2,3,"label",8),s.TgZ(15,"div",9)(16,"tui-value-decoration",10,11),s.ALo(18,"async"),s.qZA()()(),s.TgZ(19,"div",12),s.YNc(20,Cn,2,1,"div",13),s.YNc(21,Ft,2,4,"span",14),s.YNc(22,It,1,2,"tui-tooltip",15),s.YNc(23,Zt,2,4,"div",16),s.qZA()()()),2&ye){const kt=s.MAs(9),qt=s.MAs(17);s.Q6J("ngIf",s.lcZ(1,29,null==at.content?null:at.content.changes)),s.xp6(2),s.Q6J("ngIf",s.lcZ(3,31,null==at.hintOptions?null:at.hintOptions.change$)),s.xp6(2),s.Udp("--text-indent",s.lcZ(5,33,qt.pre$),"px"),s.Q6J("active",at.pseudoActive)("appearance",at.appearance)("disabled",at.disabled)("focus",at.computedFocused)("hover",at.pseudoHover)("invalid",at.computedInvalid)("readOnly",at.readOnly),s.xp6(4),s.Q6J("disabled",at.computedDisabled)("id",at.id)("ngModel",at.value)("readOnly",at.readOnly||!at.editable)("tuiFocusable",at.computedFocusable),s.uIk("aria-invalid",at.computedInvalid)("name",at.name),s.xp6(2),s.Q6J("ngIf",at.inputHidden),s.xp6(2),s.Q6J("ngIf",at.iconLeftContent),s.xp6(2),s.Q6J("ngIf",at.hasPlaceholder),s.xp6(2),s.Udp("text-indent",s.lcZ(18,35,at.getIndent$(kt)),"px"),s.ekj("t-has-value",at.value),s.xp6(4),s.Q6J("ngIf",at.hasCustomContent),s.xp6(1),s.Q6J("ngIf",at.hasCleaner),s.xp6(1),s.Q6J("ngIf",at.showHint),s.xp6(1),s.Q6J("ngIf",at.iconContent)}},dependencies:[Oe.PN,Qt,vt.w,tt.O5,we.o,F,Qe,mt.Fj,mt.JJ,mt.On,W.t,Ue.Li,tt.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input[_ngcontent-%COMP%]::-webkit-caps-lock-indicator, .t-input[_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credit-card-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], .t-input tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], .t-input tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input.t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill)}._invalid[_nghost-%COMP%]:not(._focused) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill-night)}._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[data-size=l][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font-size:.8156rem}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}._focused[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}._readonly[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%], ._disabled[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%]{pointer-events:none}.t-icon[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size="s"]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}.t-custom-content[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;pointer-events:none}.t-custom-icon[_ngcontent-%COMP%]{width:2rem;height:100%}.t-input[_ngcontent-%COMP%]:not(:first-child){display:none}[data-size][_nghost-%COMP%] .t-input_template[_ngcontent-%COMP%]{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-text-template[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration[_ngcontent-%COMP%]{position:relative;pointer-events:none}'],changeDetection:0}),(0,e.gn)([Y.UM],fe.prototype,"getIndent$",null),fe})(),yt=(()=>{class fe extends Ge.D1{constructor(ye){super(ye),this.textfield=ye}get readOnly(){return this.textfield.readOnly||!this.textfield.editable}onValueChange(ye){this.textfield.onModelChange(ye)}}return fe.\u0275fac=function(ye){return new(ye||fe)(s.Y36(cn))},fe.\u0275dir=s.lG2({type:fe,selectors:[["tui-primitive-textfield"]],features:[s._Bn([(0,At.cp)(fe)]),s.qOj]}),fe})(),Re=(()=>{class fe{constructor(ye,at,kt,qt,Lt){this.host=ye,this.controller=at,this.el=kt,this.idService=qt,this.legacyMask=Lt,this.host.process(this.el.nativeElement)}get id(){return this.el.nativeElement.id||this.idService.generate()}get inputMode(){return this.el.nativeElement.inputMode||this.host.inputMode}}return fe.\u0275fac=function(ye){return new(ye||fe)(s.Y36(At.S0),s.Y36(ue.Cs),s.Y36(s.SBq),s.Y36(k.ll),s.Y36(At.sf,8))},fe.\u0275cmp=s.Xpm({type:fe,selectors:[["input","tuiTextfield",""],["textarea","tuiTextfield",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(ye,at){1&ye&&s.NdJ("input",function(qt){return!at.legacyMask&&at.host.onValueChange(qt.target.value)}),2&ye&&(s.Ikx("tabIndex",at.host.focusable?0:-1)("readOnly",at.host.readOnly)("value",at.host.value),s.uIk("id",at.id)("inputMode",at.inputMode)("aria-invalid",at.host.invalid)("disabled",at.host.disabled||null))},features:[s._Bn([ue.Y0])],attrs:Xt,decls:0,vars:0,template:function(ye,at){},styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_nghost-%COMP%]::-webkit-caps-lock-indicator, [_nghost-%COMP%]::-webkit-contacts-auto-fill-button, [_nghost-%COMP%]::-webkit-credit-card-auto-fill-button, [_nghost-%COMP%]::-webkit-credentials-auto-fill-button, [_nghost-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}[_nghost-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:focus, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]::placeholder, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),fe})(),he=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275mod=s.oAB({type:fe}),fe.\u0275inj=s.cJS({imports:[[tt.ez,mt.u5,Ue.wq,qe,W.u,we.W,Oe.EI,vt.Q,ne]]}),fe})()},134:(Ht,Fe,c)=>{"use strict";c.d(Fe,{IB:()=>_e,Jy:()=>ue});var e=c(4537),s=c(1359),k=c(1213),z=c(4493),F=c(8033),ne=c(2579),W=c(8692);function te(ie,Ue){1&ie&&e._UZ(0,"tui-scroll-controls",2)}const pe=["*"];let _e=(()=>{class ie{constructor(ve,Ae,Ve,je){this.cssRef=ve,this.el=Ae,this.userAgent=Ve,this.isIos=je,this.delegated=!1,this.isLegacy=!this.cssRef.supports("position","sticky")||(0,k.oK)(this.userAgent)&&!this.cssRef.supports("scrollbar-width","none"),this.hidden=!1,this.browserScrollRef=new e.SBq(this.el.nativeElement)}get showScrollbars(){return!this.hidden&&!this.isIos&&(!this.isLegacy||this.delegated)}get showNative(){return this.isLegacy&&!this.hidden&&!this.delegated}onScrollable(ve){this.delegated=!0,this.browserScrollRef.nativeElement=ve}scrollIntoView(ve){var Ae;if(this.delegated)return;const{nativeElement:Ve}=this.browserScrollRef,{offsetTop:je,offsetLeft:se}=(0,z.YX)(Ve,ve),{clientHeight:ee,clientWidth:$e}=Ve,{offsetHeight:Oe,offsetWidth:_t}=ve;null===(Ae=Ve.scrollTo)||void 0===Ae||Ae.call(Ve,se+_t/2-$e/2,je+Oe/2-ee/2)}}return ie.\u0275fac=function(ve){return new(ve||ie)(e.Y36(ne.ux),e.Y36(e.SBq),e.Y36(ne.yZ),e.Y36(F.FA))},ie.\u0275cmp=e.Xpm({type:ie,selectors:[["tui-scrollbar"]],hostVars:2,hostBindings:function(ve,Ae){1&ve&&e.NdJ("tui-scrollable.stop",function(je){return Ae.onScrollable(je.detail)})("tui-scroll-into-view.stop",function(je){return Ae.scrollIntoView(je.detail)}),2&ve&&e.ekj("_legacy",Ae.showNative)},inputs:{hidden:"hidden"},features:[e._Bn([{provide:F.$_,deps:[ie],useFactory:({browserScrollRef:Ue})=>Ue}])],ngContentSelectors:pe,decls:3,vars:1,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(ve,Ae){1&ve&&(e.F$t(),e.YNc(0,te,1,0,"tui-scroll-controls",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()),2&ve&&e.Q6J("ngIf",Ae.showScrollbars)},dependencies:[s.tZ,W.O5],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}[_nghost-%COMP%]:not(._legacy){scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar, [_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}._legacy[_nghost-%COMP%]{overflow:overlay}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){._legacy[_nghost-%COMP%]::-webkit-scrollbar, ._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar{background-color:transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-01)}"],changeDetection:0}),ie})(),ue=(()=>{class ie{}return ie.\u0275fac=function(ve){return new(ve||ie)},ie.\u0275mod=e.oAB({type:ie}),ie.\u0275inj=e.cJS({imports:[[W.ez,s.eI]]}),ie})()},4789:(Ht,Fe,c)=>{"use strict";c.d(Fe,{$E:()=>At,EI:()=>ze,PN:()=>q});var e=c(4911),s=c(8692),k=c(4537),z=c(5998),F=c(2579),ne=c(2668),W=c(8192),te=c(1927),ce=(c(8939),c(4493)),de=c(9669),Y=c(8033),_e=c(4358),ue=c(8269),ie=c(7941),Ue=c(6060),ve=c(6640),Ae=c(8330),Ve=c(5557),je=c(4945),se=c(1528),ee=c(3674),$e=c(3568),Oe=c(7969);function _t(N,Se){if(1&N&&k._UZ(0,"div",3),2&N){const et=k.oxw().tuiLet;k.Q6J("innerHTML",et,k.oJD)}}function vt(N,Se){if(1&N){const et=k.EpF();k.O4$(),k.TgZ(0,"svg",4),k.NdJ("error",function(){k.CHM(et);const wt=k.oxw(2);return k.KtG(wt.onError())}),k._UZ(1,"use"),k.qZA()}if(2&N){const et=k.oxw(2);k.xp6(1),k.uIk("href",et.use,null,"xlink")}}function tt(N,Se){if(1&N&&(k.ynx(0),k.YNc(1,_t,1,1,"div",1),k.YNc(2,vt,2,1,"ng-template",null,2,k.W1O),k.BQk()),2&N){const et=k.MAs(3),pt=k.oxw();k.xp6(1),k.Q6J("ngIf",pt.isInnerHTML)("ngIfElse",et)}}const we={tuiIconAttach:"tuiIconPaperclip",tuiIconAttention:"tuiIconAlertCircle",tuiIconBackCircle:"tuiIconArrowLeftCircle",tuiIconCall:"tuiIconPhone",tuiIconCallIn:"tuiIconPhoneIncoming",tuiIconCallOut:"tuiIconPhoneOutgoing",tuiIconCallTransfer:"tuiIconPhoneForwarded",tuiIconCancel:"tuiIconXCircle",tuiIconCancelCircle:"tuiIconSlash",tuiIconCard:"tuiIconCreditCard",tuiIconCards:"tuiIconCreditCard",tuiIconChartBar:"tuiIconBarChart",tuiIconChart:"tuiIconBarChart",tuiIconCheckList:"tuiIconClipboard",tuiIconCloseCircle:"tuiIconXCircle",tuiIconCollapse:"tuiIconMinimize",tuiIconComment:"tuiIconMessageSquare",tuiIconCommentFw:"tuiIconMessageForward",tuiIconCompany:"tuiIconBriefcase",tuiIconDefaultDoc:"tuiIconFile",tuiIconDesktop:"tuiIconMonitor",tuiIconDesktopOff:"tuiIconMonitorOff",tuiIconDislike:"tuiIconThumbsDown",tuiIconDone:"tuiIconCheckCircle",tuiIconDraft:"tuiIconEdit2",tuiIconEyeOpen:"tuiIconEye",tuiIconEyeClosed:"tuiIconEyeOff",tuiIconExpand:"tuiIconMaximize",tuiIconExternal:"tuiIconExternalLink",tuiIconFrame:"tuiIconLayout",tuiIconGeo:"tuiIconMapPin",tuiIconHeartFilled:"tuiIconHeart",tuiIconHide:"tuiIconEyeOff",tuiIconImg:"tuiIconImage",tuiIconInfoCircle:"tuiIconInfo",tuiIconLike:"tuiIconThumbsUp",tuiIconLockOpen:"tuiIconUnlock",tuiIconMobile:"tuiIconSmartphone",tuiIconMoreHor:"tuiIconMoreHorizontal",tuiIconMoreVer:"tuiIconMoreVertical",tuiIconMoreVert:"tuiIconMoreVertical",tuiIconPicture:"tuiIconImage",tuiIconPin:"tuiIconMapPin",tuiIconPrint:"tuiIconPrinter",tuiIconRefresh:"tuiIconRefreshCw",tuiIconRemove:"tuiIconX",tuiIconShow:"tuiIconEye",tuiIconSound:"tuiIconVolume",tuiIconSoundOff:"tuiIconVolumeX",tuiIconStarFilled:"tuiIconStar",tuiIconStop:"tuiIconSquare",tuiIconStructure:"tuiIconGrid",tuiIconTime:"tuiIconClock",tuiIconTooltip:"tuiIconHelpCircle",tuiIconViewList:"tuiIconList",tuiIconWifiOn:"tuiIconWifi"},mt={iconsPlace:Ue.xp,path:(0,ve.ht)(Ue.xp),srcProcessor:Ae.y,contentProcessor:W.N,deprecated:N=>{const Se=N.replace("Large","").replace("Outline",""),et=we[Se];return et?`${Se}/(Large|Outline) is deprecated, use ${et}/(Large|Outline) instead`:""}},At=(0,te.N1)(()=>({iconsPlace:(0,k.f3M)(Ue.AA),path:(0,k.f3M)(Ue.ki),deprecated:mt.deprecated,srcProcessor:(0,k.f3M)(Ue.V5),contentProcessor:(0,k.f3M)(Ue.u_)})),Qe=new k.OlP("[TUI_SVG_SRC_INTERCEPTORS]");let q=(()=>{class N{constructor(et,pt,wt,Cn,St,Ft,It,Rt,Zt,Ut){this.doc=et,this.win=pt,this.options=wt,this.srcInterceptors=Cn,this.tuiSanitizer=St,this.svgService=Ft,this.staticRequestService=It,this.sanitizer=Rt,this.el=Zt,this.baseHref=Ut,this.src$=new Ve.t(1),this.icon="",this.innerHTML$=this.src$.pipe((0,se.w)(()=>(0,te.Aj)(this.icon)?this.isExternal?this.getExternalIcon(this.icon):(0,je.of)(this.getSafeHtml(this.icon)):(0,je.of)(this.icon)),(0,ee.O)(""))}set src(et){var pt;this.options.deprecated(String(et)),this.icon=(null!==(pt=this.srcInterceptors)&&void 0!==pt?pt:[]).reduce((Cn,St)=>St(Cn,this.options),this.options.srcProcessor(et||"")),this.src$.next()}get src(){return this.icon}get use(){return(0,te.Aj)(this.icon)?this.icon.includes(".svg#")?this.icon:this.resolveName(this.icon,this.options.path):""}get isInnerHTML(){return!(0,te.Aj)(this.icon)||this.isSrc||this.isExternal||this.isName&&this.isShadowDOM}get isShadowDOM(){return(0,ce.Wf)(this.el.nativeElement)!==this.doc}get isUse(){return this.use.replace(ue.uJ,"").includes(".svg#")}get isExternal(){return this.isUrl||this.isCrossDomain}get isUrl(){return(0,te.Aj)(this.icon)&&this.icon.replace(ue.uJ,"").endsWith(".svg")}get isSrc(){return(0,te.Aj)(this.icon)&&(0,ve.jL)(this.icon)}get isName(){return!this.isUrl&&!this.isUse&&!this.isSrc}get isCrossDomain(){const{use:et,isUse:pt,win:wt}=this;return pt&&et.startsWith("http")&&!!wt.origin&&!et.startsWith(wt.origin)}onError(et="External icon is missing on the given URL"){const{icon:pt}=this,wt=new CustomEvent(ue.qT,{bubbles:!0,detail:{message:et,icon:pt}});this.el.nativeElement.dispatchEvent(wt)}resolveName(et,pt){return pt(et,this.baseHref)}getSafeHtml(et){return this.isSrc?this.sanitize(et):this.process(et)}process(et){const pt=this.svgService.getOriginal(et);return this.isName&&!pt&&et&&this.onError("Attempted to use undefined named icon"),this.isShadowDOM&&this.isName?this.sanitize(pt||""):""}sanitize(et){return et=this.options.contentProcessor(et),this.tuiSanitizer&&(0,te.Aj)(et)?this.sanitizer.bypassSecurityTrustHtml(this.tuiSanitizer.sanitize(k.q3G.HTML,et)||""):et}getExternalIcon(et){const pt=et.includes(".svg")?et:this.use;return this.staticRequestService.request(pt).pipe((0,$e.K)(()=>(this.onError("Failed to load external SVG"),(0,je.of)(""))),(0,Oe.U)(wt=>this.sanitize(wt.replace("{class N{}return N.\u0275fac=function(et){return new(et||N)},N.\u0275mod=k.oAB({type:N}),N.\u0275inj=k.cJS({imports:[[s.ez,ne.WD]]}),N})()},1515:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Q:()=>ue,w:()=>_e});var e=c(4537),s=c(9669),k=c(8033),z=c(8089),F=c(2130),ne=c(6060),W=c(3528),te=c(4789),pe=c(1489),ce=c(9570),de=c(8692);function Y(ie,Ue){1&ie&&e._UZ(0,"tui-svg",3),2&ie&&e.Q6J("src",Ue.polymorpheusOutlet)}let _e=(()=>{class ie extends z.bZ{constructor(ve,Ae,Ve,je){super(Ve),this.isMobile=je,this.mode=null,this.describeId="",Ae.pipe((0,W.R)(ve)).subscribe(se=>{this.mode=se})}get computedAppearance(){return this.appearance||this.mode||""}stopOnMobile(ve){var Ae;this.isMobile&&(ve.preventDefault(),ve.stopPropagation()),null===(Ae=this.driver$)||void 0===Ae||Ae.toggle()}}return ie.\u0275fac=function(ve){return new(ve||ie)(e.Y36(s.a3,2),e.Y36(ne.Au),e.Y36(z.H3),e.Y36(k.fL))},ie.\u0275cmp=e.Xpm({type:ie,selectors:[["tui-tooltip"]],viewQuery:function(ve,Ae){if(1&ve&&e.Gf(z.t6,5),2&ve){let Ve;e.iGM(Ve=e.CRH())&&(Ae.driver$=Ve.first)}},hostVars:1,hostBindings:function(ve,Ae){1&ve&&e.NdJ("mousedown",function(je){return Ae.stopOnMobile(je)}),2&ve&&e.uIk("data-appearance",Ae.computedAppearance)},inputs:{content:"content",direction:"direction",appearance:"appearance",showDelay:"showDelay",hideDelay:"hideDelay",describeId:"describeId",context:"context"},features:[e._Bn([s.a3,F.CV]),e.qOj],decls:4,vars:11,consts:[["appearance","icon","automation-id","tui-tooltip__icon","tuiWrapper","",1,"t-tooltip-icon",3,"hover","tuiHint","tuiHintAppearance","tuiHintContext","tuiHintDescribe","tuiHintDirection","tuiHintHideDelay","tuiHintShowDelay"],["driver","tuiHintHover"],[3,"src",4,"polymorpheusOutlet"],[3,"src"]],template:function(ve,Ae){if(1&ve&&(e.TgZ(0,"span",0,1),e.ALo(2,"async"),e.YNc(3,Y,1,1,"tui-svg",2),e.qZA()),2&ve){const Ve=e.MAs(1);e.Q6J("hover",e.lcZ(2,9,Ve)||null)("tuiHint",Ae.content)("tuiHintAppearance",Ae.computedAppearance)("tuiHintContext",Ae.context)("tuiHintDescribe",Ae.describeId)("tuiHintDirection",Ae.direction)("tuiHintHideDelay",Ae.hideDelay)("tuiHintShowDelay",Ae.showDelay),e.xp6(3),e.Q6J("polymorpheusOutlet",Ae.icon)}},dependencies:[te.PN,pe.o,z.D,z.xn,z.t6,z.DM,z.$o,ce.Li,de.Ov],styles:['[_nghost-%COMP%]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;width:1.5rem;height:1.5rem;vertical-align:middle;font-size:0;line-height:0;pointer-events:auto;cursor:pointer;color:var(--tui-text-01)}[data-appearance=error][_nghost-%COMP%]{color:var(--tui-error-fill)}.t-tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%;color:inherit}[tuiWrapper][data-appearance="textfield"][data-state="disabled"][_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%], [tuiWrapper][data-appearance="textfield"][data-state="disabled"] [_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%]{opacity:1}'],changeDetection:0}),ie})(),ue=(()=>{class ie{}return ie.\u0275fac=function(ve){return new(ve||ie)},ie.\u0275mod=e.oAB({type:ie}),ie.\u0275inj=e.cJS({imports:[[de.ez,pe.W,te.EI,z.go,ce.wq]]}),ie})()},8269:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Fw:()=>Y,Jl:()=>ne,Nq:()=>W,fe:()=>pe,oA:()=>z,qT:()=>de,uJ:()=>s});var e=c(3770);const s=`?v=${e.Ml}`,z=ee=>ee.includes(".svg#")?ee:`#${ee}`,ne={decimalLimit:1/0,decimalSeparator:",",thousandSeparator:e.f$,zeroPadding:!0,rounding:"truncate",decimal:"not-zero"},W=["Spacebar","Backspace","Delete","ArrowLeft","ArrowRight","Left","Right","End","Home"],pe="tui-scroll-into-view",de="tui-icon-error",Y=["bottom-left","bottom","bottom-right","top-left","top","top-right","left-top","left","left-bottom","right-top","right","right-bottom"]},8952:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Cw:()=>hn,E$:()=>pt,Ek:()=>Ft,Tp:()=>Xt,VC:()=>Ut,dp:()=>yt,fx:()=>St,oH:()=>q,td:()=>ze});var e=c(4537),s=c(2579),k=c(221),z=c(1486),F=c(6111),ne=c(1927),W=c(9669),te=c(5122),pe=c(4358),ce=c(5675),de=c(7179),Y=c(3770),_e=c(3631),ue=c(9941),ie=c(2130),Ue=c(7941),ve=c(6060),Ae=c(6148),Ve=c(3528),je=c(1528),se=c(3517),ee=c(8168),$e=c(815),Oe=c(7969),_t=c(4911),vt=c(7766),tt=c(6640),we=c(9570),mt=c(8023),At=c(1860),Qe=c(4945),qe=c(4121),Ge=c(134);function R(Re,he){if(1&Re&&(e.TgZ(0,"div",4),e._uU(1),e.qZA()),2&Re){const re=he.polymorpheusOutlet;e.xp6(1),e.hij(" ",re," ")}}const be=function(Re){return{$implicit:Re}},S=(0,ne.N1)(()=>It);let q=(()=>{class Re{constructor(){this.tuiDropdownOpen=!1,this.tuiDropdownOpenChange=new e.vpe}update(re){this.tuiDropdownOpen=re,this.tuiDropdownOpenChange.emit(re)}ngOnChanges(){var re;null===(re=this.dropdown)||void 0===re||re.toggle(this.tuiDropdownOpen)}}return Re.\u0275fac=function(re){return new(re||Re)},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdownOpen",""],["","tuiDropdownOpenChange",""]],inputs:{tuiDropdownOpen:"tuiDropdownOpen"},outputs:{tuiDropdownOpenChange:"tuiDropdownOpenChange"},features:[e.TTD]}),Re})(),ze=(()=>{class Re{constructor(re,Xe,Le,fe,We,ye){this.el=Xe,this.dropdown=Le,this.injector=fe,this.dropdownService=We,this.open=ye,this.refresh$=new mt.x,this.dropdownBoxRef=null,this.type="dropdown",this.component=new we.Al(this.dropdown,this.injector),this.open&&!this.open.dropdown?this.open.dropdown=this:this.open=null,this.refresh$.pipe((0,Ae.p)(0),(0,Ve.R)(re)).subscribe(()=>{var at,kt;null===(at=this.dropdownBoxRef)||void 0===at||at.changeDetectorRef.detectChanges(),null===(kt=this.dropdownBoxRef)||void 0===kt||kt.changeDetectorRef.markForCheck()})}get position(){return(0,vt.qK)(this.el.nativeElement)?"fixed":"absolute"}ngAfterViewChecked(){this.refresh$.next()}ngAfterViewInit(){this.open&&this.toggle(this.open.tuiDropdownOpen)}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1),this.open&&(this.open.dropdown=void 0)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(re){var Xe,Le;re&&this.content&&!this.dropdownBoxRef?(this.dropdownBoxRef=this.dropdownService.add(this.component),null===(Xe=this.open)||void 0===Xe||Xe.update(!0)):!re&&this.dropdownBoxRef&&(this.dropdownService.remove(this.dropdownBoxRef),this.dropdownBoxRef=null,null===(Le=this.open)||void 0===Le||Le.update(!1))}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(W.a3,2),e.Y36(e.SBq),e.Y36(S),e.Y36(e.gxx),e.Y36(te.ae),e.Y36(q,8))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdown","",5,"ng-container"]],inputs:{content:["tuiDropdown","content"]},exportAs:["tuiDropdown"],features:[e._Bn([W.a3,(0,_e.Ic)(Re),(0,_e.Fe)(Re)]),e.TTD]}),(0,_t.gn)([pe.UM],Re.prototype,"position",null),Re})();const Se=(0,ne.JN)({showDelay:200,hideDelay:500});let pt=(()=>{class Re extends _e.kk{constructor(re,Xe,Le){super(fe=>this.stream$.subscribe(fe)),this.hovered$=re,this.options=Xe,this.parentHover=Le,this.toggle$=new mt.x,this.stream$=(0,At.T)(this.toggle$,this.hovered$).pipe((0,je.w)(fe=>(0,Qe.of)(fe).pipe((0,se.g)(fe?this.showDelay:this.hideDelay))),(0,ee.b)(fe=>{this.hovered=fe}),(0,$e.B)()),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.hovered=!1,this.type="dropdown"}toggle(re){var Xe;null===(Xe=this.parentHover)||void 0===Xe||Xe.toggle(re),this.toggle$.next(re)}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(F.gs),e.Y36(Se),e.Y36(Re,12))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdownHover","",5,"ng-container"]],inputs:{showDelay:["tuiDropdownShowDelay","showDelay"],hideDelay:["tuiDropdownHideDelay","hideDelay"]},features:[e._Bn([(0,_e.UK)(Re),F.gs]),e.qOj]}),Re})();const wt={align:"left",direction:null,limitWidth:"auto",maxHeight:400,minHeight:80,offset:4,appearance:""},Cn=(0,ne.JN)(wt),St=Re=>({provide:Cn,deps:[[new e.FiY,Ft],[new e.FiY,new e.tp0,Cn]],useFactory:(0,tt.lp)(Re,wt)});let Ft=(()=>{class Re{constructor(re){this.options=re,this.align=this.options.align,this.appearance=this.options.appearance,this.direction=this.options.direction,this.limitWidth=this.options.limitWidth,this.minHeight=this.options.minHeight,this.maxHeight=this.options.maxHeight,this.offset=this.options.offset}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(Cn,4))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdownAlign",""],["","tuiDropdownAppearance",""],["","tuiDropdownDirection",""],["","tuiDropdownLimitWidth",""],["","tuiDropdownMinHeight",""],["","tuiDropdownMaxHeight",""],["","tuiDropdownOffset",""]],inputs:{align:["tuiDropdownAlign","align"],appearance:["tuiDropdownAppearance","appearance"],direction:["tuiDropdownDirection","direction"],limitWidth:["tuiDropdownLimitWidth","limitWidth"],minHeight:["tuiDropdownMinHeight","minHeight"],maxHeight:["tuiDropdownMaxHeight","maxHeight"],offset:["tuiDropdownOffset","offset"]},features:[e._Bn([{provide:Cn,useExisting:(0,e.Gpc)(()=>Re)}])]}),Re})(),It=(()=>{class Re{constructor(re,Xe,Le,fe,We,ye,at,kt,qt,Lt,xt){this.directive=fe,this.animation=We,this.el=ye,this.accessor=at,this.win=kt,this.mode$=qt,this.options=Lt,this.hoverDirective=xt,Xe.pipe((0,Oe.U)(Wt=>"fixed"===this.directive.position?re.correct(Wt):Wt),(0,Ve.R)(Le)).subscribe(([Wt,Pt])=>{this.update(Wt,Pt)}),this.updateWidth(this.accessor.getClientRect().width)}onHoveredChange(re){var Xe;null===(Xe=this.hoverDirective)||void 0===Xe||Xe.toggle(re)}onTopFocus(){this.moveFocusOutside(!0)}onBottomFocus(){this.moveFocusOutside(!1)}update(re,Xe){var Le;const{style:fe}=this.el.nativeElement,{right:We}=this.el.nativeElement.getBoundingClientRect(),{maxHeight:ye,offset:at}=this.options,{innerHeight:kt}=this.win,qt=null===(Le=this.el.nativeElement.offsetParent)||void 0===Le?void 0:Le.getBoundingClientRect(),{position:Lt}=this.directive,xt=this.accessor.getClientRect(),Pt="fixed"===Lt?0:-((null==qt?void 0:qt.top)||0);re+=Pt;const fn=(Xe+="fixed"===Lt?0:-((null==qt?void 0:qt.left)||0))xt.left&&re{class Re extends _e.FP{constructor(re,Xe,Le){super(re,Xe,Le),this.type="dropdown"}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(W.a3,2),e.Y36(_e.kk),e.Y36(_e.c2))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdown",""]],features:[e._Bn([W.a3]),e.qOj]}),Re})(),Xt=(()=>{class Re extends _e.kk{constructor(){super(re=>this.stream$.subscribe(re)),this.stream$=new qe.X(!1),this.tuiDropdownManual=!1,this.type="dropdown"}ngOnChanges(){this.stream$.next(this.tuiDropdownManual)}}return Re.\u0275fac=function(re){return new(re||Re)},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdown","","tuiDropdownManual",""]],inputs:{tuiDropdownManual:"tuiDropdownManual"},features:[e._Bn([(0,_e.UK)(Re)]),e.qOj,e.TTD]}),Re})(),Qt=(()=>{class Re extends _e.uG{constructor(re,Xe,Le,fe){super(),this.options=re,this.viewport=Xe,this.accessors=Le,this.directive=fe,this.type="dropdown"}getPosition({width:re,height:Xe}){var Le,fe;!re&&!Xe&&(this.previous=void 0);const We=null!==(fe=null===(Le=this.accessor)||void 0===Le?void 0:Le.getClientRect())&&void 0!==fe?fe:Y.Jy,ye=this.viewport.getClientRect(),{minHeight:at,align:kt,direction:qt,offset:Lt}=this.options,xt={top:ye.top-Lt,bottom:ye.bottom+Lt,right:ye.right-Lt,left:ye.left+Lt},Wt=this.previous||qt||"bottom",Pt={top:We.top-2*Lt-xt.top,bottom:xt.bottom-We.bottom-2*Lt},an=Math.max(We.right-re,Lt),fn=We.left+rePt.bottom?"top":"bottom";return Pt[Wt]>at&&qt||Pt[Wt]>Xe?[Ke[Wt],Ke[kt]]:(this.previous=ot,[Ke[ot],Ke[kt]])}get accessor(){return(0,_e.Sv)("dropdown")(this.accessors,this.directive)}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(Cn),e.Y36(ve.EO),e.Y36(_e.O4),e.Y36(ze))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdown","",3,"tuiDropdownCustomPosition","",3,"tuiDropdownSided",""]],features:[e._Bn([(0,_e.P7)(Re)]),e.qOj]}),(0,_t.gn)([pe.UM],Re.prototype,"accessor",null),Re})(),hn=(()=>{class Re extends _e.uG{constructor(re,Xe,Le){super(),this.options=re,this.viewport=Xe,this.vertical=Le,this.previous=this.options.direction||"bottom",this.tuiDropdownSided="",this.tuiDropdownSidedOffset=4,this.type="dropdown"}getPosition(re){var Xe,Le;if(!1===this.tuiDropdownSided)return this.vertical.getPosition(re);const{height:fe,width:We}=re,ye=null!==(Le=null===(Xe=this.vertical.accessor)||void 0===Xe?void 0:Xe.getClientRect())&&void 0!==Le?Le:Y.Jy,at=this.viewport.getClientRect(),{direction:kt,minHeight:qt,offset:Lt}=this.options,xt="center"===this.options.align?"left":this.options.align,Wt={top:ye.bottom-at.top,left:ye.left-Lt-at.left,right:at.right-ye.right-Lt,bottom:at.bottom-ye.top},Pt={top:ye.bottom-fe+this.tuiDropdownSidedOffset+1,left:ye.left-We-Lt,right:ye.right+Lt,bottom:ye.top-this.tuiDropdownSidedOffset-1},an=Wt.top>Wt.bottom?"top":"bottom",Ke=Wt[xt]>We?Pt[xt]:Wt.left>Wt.right?Pt.left:Pt.right;return Wt[this.previous]>qt&&kt||this.previous===an?[Pt[this.previous],Ke]:(this.previous=an,[Pt[an],Ke])}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(Cn),e.Y36(ve.EO),e.Y36(Qt))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdownSided",""]],inputs:{tuiDropdownSided:"tuiDropdownSided",tuiDropdownSidedOffset:"tuiDropdownSidedOffset"},features:[e._Bn([Qt,(0,_e.P7)(Re)]),e.qOj]}),Re})(),yt=(()=>{class Re{}return Re.\u0275fac=function(re){return new(re||Re)},Re.\u0275mod=e.oAB({type:Re}),Re.\u0275inj=e.cJS({imports:[[we.wq,k.A,z.e,Ge.Jy,F.VE]]}),Re})()},8089:(Ht,Fe,c)=>{"use strict";c.d(Fe,{H3:()=>Zt,$o:()=>Re,D:()=>Xt,xn:()=>he,t6:()=>Qt,go:()=>Lt,bZ:()=>Dt,DM:()=>at});var e=c(4911),s=c(4537),k=c(1927),z=c(6480),F=c(221),ne=c(6111),W=c(3770),te=c(4493),pe=c(5648),ce=c(5675),de=c(9669),Y=c(4358),_e=c(2325),ue=c(7179),ie=c(3631),Ue=c(9941),ve=c(5452),Ae=c(7941),Ve=c(6060),je=c(6640),se=c(9570),ee=c(1528),$e=c(3517),Oe=c(3528),_t=c(853),vt=c(4970),tt=c(7969),we=c(8168),mt=c(2085),At=c(408),Qe=c(8499),qe=c(5955),R=c(3674),be=c(2147),S=c(1588),q=c(8023),ze=c(1860),N=c(4945),Se=c(5557),et=c(1995),pt=c(8692),wt=c(8269);function Cn(xt,Wt){1&xt&&s._UZ(0,"span",1),2&xt&&s.Q6J("innerHTML",Wt.polymorpheusOutlet,s.oJD)}const St=["*"],It=(0,k.N1)(()=>yt),Zt=(0,k.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"tuiIconHelpCircle"});let Dt=(()=>{class xt extends z.QJ{constructor(Pt){super(),this.options=Pt,this.direction=this.options.direction,this.appearance=this.options.appearance,this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.icon=this.options.icon}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(Zt,4))},xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},features:[s._Bn([{provide:Zt,useExisting:(0,s.Gpc)(()=>xt)}]),s.qOj]}),xt})(),Xt=(()=>{class xt{constructor(Pt,an,fn,Ke,ot){this.el=Pt,this.component=an,this.hintService=fn,this.options=Ke,this.activeZone=ot,this.tuiHintAppearance=null,this.type="hint"}get appearance(){var Pt;return null!==(Pt=this.tuiHintAppearance)&&void 0!==Pt?Pt:this.options.appearance}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(Pt){Pt&&this.content?this.hintService.add(this):this.hintService.remove(this)}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(s.SBq),s.Y36(se.Al),s.Y36(Ae.BN),s.Y36(Zt),s.Y36(F.e,8))},xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHint","",5,"ng-container",5,"ng-template"]],inputs:{content:["tuiHint","content"],context:["tuiHintContext","context"],tuiHintAppearance:"tuiHintAppearance"},features:[s._Bn([(0,ie.Ic)(xt),(0,ie.Fe)(xt),{provide:se.Al,deps:[It,s.gxx],useClass:se.Al}]),s.TTD]}),xt})(),Qt=(()=>{class xt extends ie.kk{constructor(Pt,an,fn){super(Ke=>this.stream$.subscribe(Ke)),this.hovered$=Pt,this.options=an,this.el=fn,this.visible=!1,this.toggle$=new q.x,this.stream$=(0,ze.T)(this.toggle$.pipe((0,ee.w)(Ke=>(0,N.of)(Ke).pipe((0,$e.g)(Ke?0:this.hideDelay))),(0,Oe.R)(this.hovered$),(0,_t.r)()),this.hovered$.pipe((0,ee.w)(Ke=>(0,N.of)(Ke).pipe((0,$e.g)(Ke?this.showDelay:this.hideDelay))),(0,Oe.R)(this.toggle$),(0,_t.r)())).pipe((0,vt.h)(()=>this.enabled),(0,tt.U)(Ke=>Ke&&!(0,je.mn)(this.el.nativeElement)),(0,we.b)(Ke=>{this.visible=Ke})),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.type="hint",this.enabled=!0}toggle(Pt=!this.visible){this.toggle$.next(Pt)}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(ne.gs),s.Y36(Zt),s.Y36(s.SBq))},xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHint","",5,"ng-container",5,"ng-template"]],inputs:{showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},exportAs:["tuiHintHover"],features:[s._Bn([(0,ie.UK)(xt),ne.gs]),s.qOj]}),xt})(),hn=(()=>{class xt extends Qt{constructor(){super(...arguments),this.currentRect=W.Jy}onMove({clientX:Pt,clientY:an}){this.currentRect=(0,te.dD)(Pt,an)}getClientRect(){return this.currentRect}}return xt.\u0275fac=function(){let Wt;return function(an){return(Wt||(Wt=s.n5z(xt)))(an||xt)}}(),xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(Pt,an){1&Pt&&s.NdJ("mousemove.silent",function(Ke){return an.onMove(Ke)})},features:[s._Bn([(0,ie.Ic)(xt),(0,ie.UK)(xt)]),s.qOj]}),xt})(),yt=(()=>{class xt{constructor(Pt,an,fn,Ke,ot,lt,it,st,V,Pe,bt,gt){var on;this.animation=Ke,this.pointer=ot,this.accessor=lt,this.el=it,this.polymorpheus=st,this.hover=V,this.mode=Pe,this.visualViewportService=bt,this.viewport=gt,this.appearance=this.polymorpheus.$implicit.appearance||(null===(on=this.mode)||void 0===on?void 0:on.mode),an.pipe((0,tt.U)($t=>this.visualViewportService.correct($t)),(0,Oe.R)(fn)).subscribe(([$t,vn])=>{this.update($t,vn)}),Pt.pipe((0,Oe.R)(fn)).subscribe($t=>this.hover.toggle($t))}get content(){return this.polymorpheus.$implicit.content}get context(){return this.polymorpheus.$implicit.context}onClick(Pt){(!this.el.nativeElement.contains(Pt)&&!this.hover.el.nativeElement.contains(Pt)||(0,je.mn)(this.hover.el.nativeElement))&&this.hover.toggle(!1)}update(Pt,an){const{height:fn,width:Ke}=this.el.nativeElement.getBoundingClientRect(),{style:ot}=this.el.nativeElement,lt=this.accessor.getClientRect(),it=this.viewport.getClientRect();if(lt===W.Jy)return;const st=(0,pe.Ki)(an,4,it.width-Ke-4),[V,Pe]=this.visualViewportService.correct([lt.top+lt.height/2-Pt,lt.left+lt.width/2-st]);ot.top=(0,ce.O)(Pt),ot.left=(0,ce.O)(st),ot.setProperty("--top",(0,ce.O)((0,pe.Ki)(V,.5,fn-1))),ot.setProperty("--left",(0,ce.O)((0,pe.Ki)(Pe,.5,Ke-1)))}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(ne.gs),s.Y36(Ae.KG),s.Y36(de.a3,2),s.Y36(Ve.Pw),s.Y36(hn,8),s.Y36(ie.O4),s.Y36(s.SBq),s.Y36(se.yf),s.Y36(Qt),s.Y36(ve.w,8),s.Y36(Ae.Lp),s.Y36(Ve.EO))},xt.\u0275cmp=s.Xpm({type:xt,selectors:[["tui-hint"]],hostVars:4,hostBindings:function(Pt,an){1&Pt&&s.NdJ("click",function(Ke){return an.onClick(Ke.target)},!1,s.evT),2&Pt&&(s.uIk("data-appearance",an.appearance),s.d8E("@tuiFadeIn",an.animation),s.ekj("_untouchable",an.pointer))},features:[s._Bn([de.a3,Ae.KG,ne.gs,(0,ie.ei)("hint"),(0,ie.Wk)("hint",Xt)])],ngContentSelectors:St,decls:2,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(Pt,an){1&Pt&&(s.F$t(),s.Hsn(0),s.YNc(1,Cn,1,1,"span",0)),2&Pt&&(s.xp6(1),s.Q6J("polymorpheusOutlet",an.content)("polymorpheusOutletContext",an.context))},dependencies:[se.Li],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}[_nghost-%COMP%]:before{content:"";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background:inherit;transform:translate(-50%,-50%) rotate(45deg)}[data-appearance=error][_nghost-%COMP%]{background:var(--tui-error-fill)}[data-appearance=onDark][_nghost-%COMP%]{background:var(--tui-elevation-02);color:var(--tui-text-01);filter:drop-shadow(0 0 .125rem rgba(0,0,0,.16)) drop-shadow(0 1.5rem 1rem rgba(0,0,0,.03)) drop-shadow(0 .75rem .75rem rgba(0,0,0,.04)) drop-shadow(0 .25rem .375rem rgba(0,0,0,.05))}[_nghost-%COMP%]:not([style*="top"]){visibility:hidden}._untouchable[_nghost-%COMP%]{pointer-events:none}'],data:{animation:[Ue.QF]},changeDetection:0}),(0,e.gn)([Y.UM],xt.prototype,"update",null),xt})(),Re=(()=>{class xt extends ie.kk{constructor(Pt,an,fn){super(Ke=>this.stream$.subscribe(Ke)),this.zone=Pt,this.doc=an,this.el=fn,this.id$=new Se.t(1),this.stream$=this.id$.pipe((0,_e.Xd)(()=>(0,_e.mL)(this.doc,"keydown",{capture:!0}),k.Pc),(0,ee.w)(()=>this.focused?(0,N.of)(!1):(0,ze.T)((0,_e.mL)(this.doc,"keyup"),(0,_e.mL)(this.element,"blur")).pipe((0,tt.U)(()=>this.focused))),function Ge(xt){return(0,mt.e)((Wt,Pt)=>{let an=!1,fn=null,Ke=null;const ot=()=>{if(null==Ke||Ke.unsubscribe(),Ke=null,an){an=!1;const lt=fn;fn=null,Pt.next(lt)}};Wt.subscribe((0,Qe.x)(Pt,lt=>{null==Ke||Ke.unsubscribe(),an=!0,fn=lt,Ke=(0,Qe.x)(Pt,ot,At.Z),(0,qe.Xf)(xt(lt)).subscribe(Ke)},()=>{ot(),Pt.complete()},void 0,()=>{fn=Ke=null}))})}(Ke=>Ke?(0,et.H)(1e3):(0,N.of)(null)),(0,R.O)(!1),(0,be.x)(),(0,S.T)(1),(0,_e.Yr)(this.zone)),this.tuiHintDescribe="",this.type="hint"}ngOnChanges(){this.id$.next(this.tuiHintDescribe)}get focused(){return(0,ue.V8)(this.element)}get element(){return this.doc.getElementById(this.tuiHintDescribe||"")||this.el.nativeElement}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(s.R0b),s.Y36(pt.K0),s.Y36(s.SBq))},xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},features:[s._Bn([(0,ie.UK)(xt)]),s.qOj,s.TTD]}),(0,e.gn)([Y.UM],xt.prototype,"element",null),xt})(),he=(()=>{class xt extends ie.FP{constructor(Pt,an,fn){super(Pt,an,fn),this.type="hint"}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(de.a3,2),s.Y36(ie.kk),s.Y36(ie.c2))},xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHint","",5,"ng-container",5,"ng-template"]],features:[s._Bn([de.a3]),s.qOj]}),xt})(),at=(()=>{class xt extends ie.uG{constructor(Pt,an,fn,Ke){super(),this.options=Pt,this.viewport=an,this.directive=fn,this.accessors=Ke,this.points=wt.Fw.reduce((ot,lt)=>Object.assign(Object.assign({},ot),{[lt]:[0,0]}),{}),this.direction=this.options.direction,this.type="hint"}getPosition({width:Pt,height:an}){var fn,Ke;const ot=null!==(Ke=null===(fn=this.accessor)||void 0===fn?void 0:fn.getClientRect())&&void 0!==Ke?Ke:W.Jy,lt=ot.left+ot.width/2,it=ot.top+ot.height/2;if(this.points["top-left"][0]=ot.top-an-8,this.points["top-left"][1]=lt-Pt+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=lt-Pt/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=lt-22,this.points["bottom-left"][0]=ot.bottom+8,this.points["bottom-left"][1]=this.points["top-left"][1],this.points.bottom[0]=this.points["bottom-left"][0],this.points.bottom[1]=this.points.top[1],this.points["bottom-right"][0]=this.points["bottom-left"][0],this.points["bottom-right"][1]=this.points["top-right"][1],this.points["left-top"][0]=it-an+22,this.points["left-top"][1]=ot.left-Pt-8,this.points.left[0]=it-an/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=it-22,this.points["left-bottom"][1]=this.points["left-top"][1],this.points["right-top"][0]=this.points["left-top"][0],this.points["right-top"][1]=ot.right+8,this.points.right[0]=this.points.left[0],this.points.right[1]=this.points["right-top"][1],this.points["right-bottom"][0]=this.points["left-bottom"][0],this.points["right-bottom"][1]=this.points["right-top"][1],this.checkPosition(this.points[this.direction],Pt,an))return this.points[this.direction];const st=wt.Fw.find(V=>this.checkPosition(this.points[V],Pt,an));return this.points[st||this.fallback]}get accessor(){return(0,ie.Sv)("hint")(this.accessors,this.directive)}get fallback(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}checkPosition([Pt,an],fn,Ke){const ot=this.viewport.getClientRect();return Pt>8&&an>8&&Pt+Ke{class xt{}return xt.\u0275fac=function(Pt){return new(Pt||xt)},xt.\u0275mod=s.oAB({type:xt}),xt.\u0275inj=s.cJS({imports:[[pt.ez,se.wq]]}),xt})()},5452:(Ht,Fe,c)=>{"use strict";c.d(Fe,{w:()=>k,z:()=>z});var e=c(4537),s=c(6480);let k=(()=>{class F extends s.QJ{constructor(){super(...arguments),this.mode=null}}return F.\u0275fac=function(){let ne;return function(te){return(ne||(ne=e.n5z(F)))(te||F)}}(),F.\u0275dir=e.lG2({type:F,selectors:[["","tuiMode",""]],inputs:{mode:["tuiMode","mode"]},features:[e.qOj]}),F})(),z=(()=>{class F{}return F.\u0275fac=function(W){return new(W||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({}),F})()},8940:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Y0:()=>N,Ym:()=>Ve,z1:()=>ie,kI:()=>be,Cs:()=>ze,be:()=>je,cn:()=>q,B7:()=>ee,kD:()=>Oe,AW:()=>vt,aR:()=>we,xT:()=>At,Tq:()=>qe,A7:()=>R,sz:()=>S});var e=c(1927),s=c(6480),k=c(9669),z=c(2325),F=c(4537),ne=c(6060),W=c(1860),te=c(7241),pe=c(408);const ce=new te.y(pe.Z);var Y=c(3528);class _e{constructor(et,pt,wt,Cn,St,Ft,It,Rt,Zt,Ut,Dt,Xt,Qt){this.change$=et,this.options=pt,this.legacyAppearance=wt,this.appearanceDirective=Cn,this.cleanerDirective=St,this.customContentDirective=Ft,this.iconDirective=It,this.iconLeftDirective=Rt,this.labelOutsideDirective=Zt,this.sizeDirective=Ut,this.prefixDirective=Dt,this.postfixDirective=Xt,this.fillerDirective=Qt}get appearance(){return this.appearanceDirective.appearance||this.legacyAppearance}get cleaner(){return this.cleanerDirective.cleaner}get customContent(){return this.customContentDirective.customContent||""}get icon(){return this.iconDirective.icon}get iconLeft(){return this.iconLeftDirective.iconLeft}get labelOutside(){return this.labelOutsideDirective.labelOutside}get size(){return this.sizeDirective.size}get prefix(){return this.prefixDirective.prefix}get postfix(){return this.postfixDirective.postfix}get filler(){return this.fillerDirective.filler}}const ie=(0,e.JN)({iconCleaner:"tuiIconClose",hintOnDisabled:!1}),ve=(0,e.N1)(()=>new Ae);let Ae=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.appearance=""}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldAppearance",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"]},features:[F._Bn([{provide:ve,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const Ve=(0,e.N1)(()=>new je);let je=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.cleaner=!1}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldCleaner",""]],inputs:{cleaner:["tuiTextfieldCleaner","cleaner"]},features:[F._Bn([{provide:Ve,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const se=(0,e.N1)(()=>new ee);let ee=(()=>{class Se extends s.QJ{}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldCustomContent",""]],inputs:{customContent:["tuiTextfieldCustomContent","customContent"]},features:[F._Bn([{provide:se,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const $e=(0,e.N1)(()=>new Oe);let Oe=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.filler=""}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldFiller",""]],inputs:{filler:["tuiTextfieldFiller","filler"]},features:[F._Bn([{provide:$e,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const _t=(0,e.N1)(()=>new vt);let vt=(()=>{class Se extends s.QJ{}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldIcon",""]],inputs:{icon:["tuiTextfieldIcon","icon"]},features:[F._Bn([{provide:_t,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const tt=(0,e.N1)(()=>new we);let we=(()=>{class Se extends s.QJ{}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldIconLeft",""]],inputs:{iconLeft:["tuiTextfieldIconLeft","iconLeft"]},features:[F._Bn([{provide:tt,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const mt=(0,e.N1)(()=>new At);let At=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.labelOutside=!1}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldLabelOutside",""]],inputs:{labelOutside:["tuiTextfieldLabelOutside","labelOutside"]},features:[F._Bn([{provide:mt,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const Qe=(0,e.N1)(()=>new qe);let qe=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.postfix=""}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldPostfix",""]],inputs:{postfix:["tuiTextfieldPostfix","postfix"]},features:[F._Bn([{provide:Qe,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const Ge=(0,e.N1)(()=>new R);let R=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.prefix=""}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldPrefix",""]],inputs:{prefix:["tuiTextfieldPrefix","prefix"]},features:[F._Bn([{provide:Ge,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const be=(0,e.N1)(()=>new S);let S=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.size="l"}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldSize",""]],inputs:{size:["tuiTextfieldSize","size"]},features:[F._Bn([{provide:be,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})(),q=(()=>{class Se{}return Se.\u0275fac=function(pt){return new(pt||Se)},Se.\u0275mod=F.oAB({type:Se}),Se.\u0275inj=F.cJS({}),Se})();const ze=new F.OlP("[TUI_TEXTFIELD_WATCHED_CONTROLLER]"),N=[k.a3,{provide:ze,deps:[F.sBO,k.a3,ie,ne.jt,ve,Ve,se,_t,tt,mt,be,Ge,Qe,$e],useFactory:(Se,et,pt,wt,...Cn)=>{const St=(0,W.T)(...Cn.map(({change$:Ft})=>Ft||ce)).pipe((0,z.NA)(Se),(0,Y.R)(et));return St.subscribe(),new _e(St,pt,wt,...Cn)}}]},1489:(Ht,Fe,c)=>{"use strict";c.d(Fe,{W:()=>ne,o:()=>F});var e=c(4537),s=c(7320),k=c(2130),z=c(6060);let F=(()=>{class W{constructor(pe){this.mode$=pe,this.disabled=!1,this.readOnly=!1,this.hover=null,this.active=null,this.focus=!1,this.invalid=!1,this.appearance=""}get computedInvalid(){return!this.disabled&&!this.readOnly&&this.invalid}get computedFocused(){return this.focus&&!this.disabled}get interactiveState(){return this.disabled?s.z3.Disabled:this.readOnly?s.z3.Readonly:this.active?s.z3.Active:this.hover?s.z3.Hover:null}get noHover(){return this.readOnly||!1===this.hover}get noActive(){return this.readOnly||!1===this.active}}return W.\u0275fac=function(pe){return new(pe||W)(e.Y36(z.Au))},W.\u0275dir=e.lG2({type:W,selectors:[["","tuiWrapper",""]],hostVars:10,hostBindings:function(pe,ce){1&pe&&e.NdJ("$.data-mode.attr",function(){return ce.mode$}),2&pe&&(e.uIk("data-appearance",ce.appearance)("data-state",ce.interactiveState),e.ekj("_invalid",ce.computedInvalid)("_focused",ce.computedFocused)("_no-hover",ce.noHover)("_no-active",ce.noActive))},inputs:{disabled:"disabled",readOnly:"readOnly",hover:"hover",active:"active",focus:"focus",invalid:"invalid",appearance:"appearance"},features:[e._Bn([k.CV])]}),W})(),ne=(()=>{class W{}return W.\u0275fac=function(pe){return new(pe||W)},W.\u0275mod=e.oAB({type:W}),W.\u0275inj=e.cJS({}),W})()},7320:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Nm:()=>e,z3:()=>k});var e=(()=>{return(ne=e||(e={})).Accent="accent",ne.Flat="flat",ne.Icon="icon",ne.Outline="outline",ne.Primary="primary",ne.Secondary="secondary",ne.SecondaryDestructive="secondary-destructive",ne.Table="table",ne.Textfield="textfield",ne.Whiteblock="whiteblock",ne.WhiteblockActive="whiteblock-active",e;var ne})(),k=(()=>{return(ne=k||(k={})).Active="active",ne.Disabled="disabled",ne.Hover="hover",ne.Readonly="readonly",k;var ne})()},2130:(Ht,Fe,c)=>{"use strict";c.d(Fe,{CV:()=>te});var e=c(4537),s=c(6060),k=c(5452),z=c(4945),F=c(3674),ne=c(7969);new e.tp0;const te={provide:s.Au,deps:[[new e.FiY,k.w],e.SBq],useFactory:(ce,{nativeElement:de})=>{const Y=ce?ce.change$.pipe((0,F.O)(null),(0,ne.U)(()=>ce.mode)):(0,z.of)(null);return de["$.data-mode.attr"]=Y,Y}}},7941:(Ht,Fe,c)=>{"use strict";c.d(Fe,{BN:()=>_t,K5:()=>mt,KG:()=>tt,Lp:()=>At,Ok:()=>we,zE:()=>$e});var e=c(4537),s=c(2325),k=c(8033),z=c(3770),F=c(9669),W=(c(8939),c(6060)),te=c(7241),pe=c(4121),ce=c(1860),de=c(1995),Y=c(9018),_e=c(7969),ue=c(2147),ie=c(6466),Ue=c(5490),ve=c(3528),Ae=c(2579),Ve=c(3631),je=c(3178),se=c(5998),ee=c(7766);let $e=(()=>{class Qe extends te.y{constructor(Ge,R,be){super(S=>this.stream$.subscribe(S)),this.media=Ge,this.ngZone=R,this.size$=be,this.sorted=Object.values(this.media).sort((S,q)=>S-q),this.invert=Object.keys(this.media).reduce((S,q)=>Object.assign(Object.assign({},S),{[this.media[q]]:q}),{}),this.stream$=this.size$.pipe((0,_e.U)(({width:S})=>this.sorted.find(q=>q>S)),(0,_e.U)(S=>this.invert[S||this.sorted[this.sorted.length-1]]),(0,ue.x)(),(0,s.Yr)(this.ngZone),(0,ie.d)({bufferSize:1,refCount:!0}))}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.LFG(W.J_),e.LFG(e.R0b),e.LFG(k.fM))},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),_t=(()=>{class Qe extends pe.X{constructor(){super([])}add(Ge){this.next(this.value.concat(Ge))}remove(Ge){this.value.includes(Ge)&&this.next(this.value.filter(R=>R!==Ge))}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),tt=(()=>{class Qe extends te.y{constructor(Ge,R,be,S){super(q=>R.pipe((0,_e.U)(()=>Ge.nativeElement.getBoundingClientRect()),(0,_e.U)(ze=>S.getPosition(ze)),(0,s.fL)(be),(0,Ue.x)(()=>S.getPosition(z.Jy))).subscribe(q))}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.LFG(e.SBq),e.LFG(Ae.L1),e.LFG(e.R0b),e.LFG(Ve.uG))},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac}),Qe})(),we=(()=>{class Qe extends te.y{constructor(Ge,R,be,S){const q=Ge?(0,ce.T)((0,de.H)(0),be).pipe((0,_e.U)(()=>Ge.isActive),(0,ue.x)(),(0,s.Yr)(R),(0,ve.R)(S)):Y.E;super(ze=>q.subscribe(ze))}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.LFG(je.Od,8),e.LFG(e.R0b),e.LFG(Ae.L1),e.LFG(F.a3,2))},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac}),Qe})(),mt=(()=>{class Qe{constructor(Ge,R,be){this.tuiSanitizer=Ge,this.sanitizer=R,this.originals={},this.items$=new pe.X(new Map),this.define(be)}define(Ge){const{value:R}=this.items$;Object.keys(Ge).forEach(be=>{this.defineIcon(be,Ge[be],R)}),this.items$.next(R)}getOriginal(Ge){return this.originals[Ge]||null}defineIcon(Ge,R,be){if(be.has(Ge))return;const S=this.parseSrc(Ge,R);S&&(be.set(Ge,S),this.originals=Object.assign(Object.assign({},this.originals),{[Ge]:R}))}parseSrc(Ge,R){return this.sanitize((0,ee.NK)(R,Ge))}sanitize(Ge){return this.sanitizer.bypassSecurityTrustHtml((this.tuiSanitizer?this.tuiSanitizer.sanitize(e.q3G.HTML,Ge):this.sanitizer.sanitize(e.q3G.HTML,Ge))||"")}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.LFG(W.hm,8),e.LFG(se.H7),e.LFG(W.It))},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),At=(()=>{class Qe{constructor(Ge,R){this.win=Ge,this.isWebkit=R}correct(Ge){var R,be,S,q;return this.isWebkit?[Ge[0]+(null!==(be=null===(R=this.win.visualViewport)||void 0===R?void 0:R.offsetTop)&&void 0!==be?be:0),Ge[1]+(null!==(q=null===(S=this.win.visualViewport)||void 0===S?void 0:S.offsetLeft)&&void 0!==q?q:0)]:Ge}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.LFG(Ae.m9),e.LFG(k.jF))},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})()},6060:(Ht,Fe,c)=>{"use strict";c.d(Fe,{dx:()=>_t,Pw:()=>vt,U0:()=>Se,Gs:()=>mt,N1:()=>Ge,PL:()=>pt,xp:()=>St,It:()=>It,ki:()=>Rt,AA:()=>Ft,rL:()=>Ut,sf:()=>Dt,J_:()=>Zt,Au:()=>Xt,$R:()=>N,PH:()=>et,Ln:()=>cn,HO:()=>Re,IQ:()=>Xe,TK:()=>$e,hm:()=>ye,u_:()=>Lt,V5:()=>xt,jt:()=>Wt,S0:()=>Pt,r2:()=>fn,sE:()=>Ke,EO:()=>ot,RB:()=>qe,oE:()=>R,P7:()=>Le,cp:()=>an});var e=c(4537),s=c(1927),k=c(6424),z=c(2325),F=c(8192),ne=c(8692),W=c(6493),te=c(6640),pe=c(7766),de=c(2579),Y=c(815),_e=c(3674),ue=c(7969),ie=c(2147),Ue=c(1528),ve=c(3528),Ae=c(8269),Ve=c(4945),je=c(1860),se=c(8330),ee=c(7320);const $e=(0,s.N1)(()=>{var it,st,V;return null!==(V=null===(st=null===(it=(0,e.f3M)(ne.K0).defaultView)||void 0===it?void 0:it.matchMedia)||void 0===st?void 0:st.call(it,"(prefers-reduced-motion: reduce)").matches)&&void 0!==V&&V}),_t=(0,s.N1)(()=>(0,e.f3M)($e)?0:300),vt=(0,s.N1)(()=>({value:"",params:{duration:(0,e.f3M)(_t)}})),we=((0,s.N1)(()=>(0,e.X6Q)()),{check:"tuiIconCheck",close:"tuiIconClose",error:"tuiIconAlertCircle",more:"tuiIconChevronRight"}),mt=(0,s.JN)(we),Qe=new e.OlP("[TUI_DATA_LIST_ACCESSOR]");function qe(it){return{provide:Qe,useExisting:it}}const Ge=new e.OlP("[TUI_DATA_LIST_HOST]");function R(it){return{provide:Ge,useExisting:it}}(0,s.JN)(it=>it.isWeekend?"weekend":"weekday"),new e.OlP("[TUI_DOCUMENT_OR_SHADOW_ROOT]"),new e.OlP("[TUI_ELEMENT_REF]");const ze=(0,s.JN)(k.L.Monday),N=(0,s.N1)((0,W.v)("months")),Se=(0,s.N1)((0,W.v)("close")),et=(0,s.N1)((0,W.v)("nothingFoundMessage")),pt=(0,s.N1)((0,W.v)("defaultErrorMessage")),Cn=((0,s.N1)((0,W.v)("spinTexts")),(0,s.N1)((0,W.v)("shortWeekDays"))),St="assets/taiga-ui/icons",Ft=(0,s.JN)(St),It=(0,s.JN)({}),Rt=(0,s.N1)(()=>(0,te.ht)((0,e.f3M)(Ft))),Zt=(0,s.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),Ut=(0,s.N1)(()=>{const it=(0,e.f3M)(de.m9),st=(0,e.f3M)(Zt);return(0,z.mL)(it,"resize").pipe((0,Y.B)(),(0,_e.O)(null),(0,ue.U)(()=>function ce(it,{mobile:st}){return(0,pe.ic)(it)Qt[it],size:"m",hasIcon:!0,defaultAutoCloseTime:3e3}),Re=(0,s.JN)(Ae.Jl);(0,s.JN)((0,Ve.of)(Object.assign(Object.assign({},Ae.Jl),{decimalLimit:NaN})));const Xe=new e.OlP("[TUI_OPTION_CONTENT]");function Le(it){return{provide:Xe,useValue:it}}const fe=it=>{const st=it.length-1;return[it[st],...it.slice(0,st)]},ye=((0,s.N1)(()=>{const it=(0,e.f3M)(ze);return(0,e.f3M)(Cn).pipe((0,ue.U)(fe),(0,ue.U)(st=>[...st.slice(it),...st.slice(0,it)]))}),new e.OlP("[TUI_SANITIZER]")),Lt=((0,s.N1)(()=>{const it=(0,e.f3M)(ne.K0);return(0,je.T)((0,z.mL)(it,"selectionchange"),(0,z.mL)(it,"mouseup"),(0,z.mL)(it,"mousedown").pipe((0,Ue.w)(()=>(0,z.mL)(it,"mousemove").pipe((0,ve.R)((0,z.mL)(it,"mouseup"))))),(0,z.mL)(it,"keydown"),(0,z.mL)(it,"keyup")).pipe((0,Y.B)())}),(0,s.JN)({decrement:"tuiIconChevronLeft",increment:"tuiIconChevronRight"}),(0,s.JN)(F.N)),xt=(0,s.JN)(se.y),Wt=(0,s.JN)(ee.Nm.Textfield),Pt=new e.OlP("[TUI_TEXTFIELD_HOST]");function an(it){return{provide:Pt,useExisting:it}}const fn=(0,s.JN)("Taiga"),Ke=new e.OlP("[TUI_VALUE_ACCESSOR]"),ot=(0,s.N1)(()=>{const it=(0,e.f3M)(de.m9);return{type:"viewport",getClientRect:()=>({top:0,left:0,right:it.innerWidth,bottom:it.innerHeight,width:it.innerWidth,height:it.innerHeight})}})},7766:(Ht,Fe,c)=>{"use strict";function e(de){return!(!de||typeof getComputedStyle>"u")&&("fixed"===getComputedStyle(de).getPropertyValue("position")||e(de.parentElement))}function F({document:de,innerWidth:Y}){return Math.max(de.documentElement.clientWidth||0,Y||0)}c.d(Fe,{NK:()=>ce,ic:()=>F,qK:()=>e});const W='width="',te='height="',pe="")));if(null==ue||!ue.includes(W)||!ue.includes(te))return`${_e.replace(pe,``;const ie=ue.indexOf(W),Ue=ue.indexOf(te),ve=ie+W.length,Ae=Ue+te.length,Ve=ue.slice(ve,ue.indexOf('"',ve)),je=ue.slice(Ae,ue.indexOf('"',Ae));if(!je||!Ve||Ve.includes("%")||je.includes("%")||Ve.includes("em")||je.includes("em"))return _e.replace(pe,`${_e}`}},6640:(Ht,Fe,c)=>{"use strict";c.d(Fe,{R9:()=>Y,_X:()=>F,ht:()=>ne,jL:()=>pe,kL:()=>W,lp:()=>ce,mn:()=>te});var e=c(8269),s=c(4493);const k=1.5,z=2.5;function F(_e,ue=!1,ie=!1,Ue=!1,ve="m"){const Ae="s"===ve?0:.25;let Ve=0;return _e&&(Ve+=k+Ae),ue&&(Ve+=k+Ae),ie&&(Ve+=k+Ae),Ue&&(Ve+=z+Ae),Ve}function ne(_e){const ue=_e.endsWith("/")?_e:`${_e}/`;return ie=>ie.startsWith("tuiIcon")?`${ue}${ie}.svg${e.uJ}#${ie}`:(0,e.oA)(ie)}function W(_e){return 1===_e.length||e.Nq.includes(_e)}function te(_e,ue="tui-hints-host"){var ie;return!(null===(ie=(0,s.PU)(_e))||void 0===ie||!ie.some(Ue=>!Ue.closest(ue)))}function pe(_e){const ue=_e.trim();return ue.startsWith("<")&&ue.endsWith(">")}function ce(_e,ue){return(ie,Ue)=>{const ve=ie||Object.assign({},Ue||ue);return Object.keys(_e).forEach(Ae=>{ve[Ae]=_e[Ae]}),ve}}const de={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function Y(_e,ue="s"){return de[_e]>de[ue]}},1081:(Ht,Fe,c)=>{"use strict";c.d(Fe,{X:()=>e});var e=(()=>{return(s=e||(e={})).AD="AD",s.AE="AE",s.AF="AF",s.AG="AG",s.AI="AI",s.AL="AL",s.AM="AM",s.AO="AO",s.AR="AR",s.AT="AT",s.AU="AU",s.AW="AW",s.AZ="AZ",s.BA="BA",s.BB="BB",s.BD="BD",s.BE="BE",s.BF="BF",s.BG="BG",s.BH="BH",s.BI="BI",s.BJ="BJ",s.BL="BL",s.BM="BM",s.BN="BN",s.BO="BO",s.BQ="BQ",s.BR="BR",s.BS="BS",s.BT="BT",s.BW="BW",s.BY="BY",s.BZ="BZ",s.CA="CA",s.CD="CD",s.CF="CF",s.CG="CG",s.CH="CH",s.CI="CI",s.CL="CL",s.CM="CM",s.CN="CN",s.CO="CO",s.CR="CR",s.CU="CU",s.CV="CV",s.CW="CW",s.CY="CY",s.CZ="CZ",s.DE="DE",s.DJ="DJ",s.DK="DK",s.DM="DM",s.DO="DO",s.DZ="DZ",s.EC="EC",s.EE="EE",s.EG="EG",s.ER="ER",s.ES="ES",s.ET="ET",s.FI="FI",s.FJ="FJ",s.FK="FK",s.FM="FM",s.FR="FR",s.GA="GA",s.GB="GB",s.GD="GD",s.GE="GE",s.GF="GF",s.GH="GH",s.GI="GI",s.GL="GL",s.GM="GM",s.GN="GN",s.GP="GP",s.GQ="GQ",s.GR="GR",s.GT="GT",s.GW="GW",s.GY="GY",s.HK="HK",s.HN="HN",s.HR="HR",s.HT="HT",s.HU="HU",s.ID="ID",s.IE="IE",s.IL="IL",s.IN="IN",s.IQ="IQ",s.IR="IR",s.IS="IS",s.IT="IT",s.JM="JM",s.JO="JO",s.JP="JP",s.KE="KE",s.KG="KG",s.KH="KH",s.KM="KM",s.KN="KN",s.KP="KP",s.KR="KR",s.KW="KW",s.KY="KY",s.KZ="KZ",s.LA="LA",s.LB="LB",s.LC="LC",s.LI="LI",s.LK="LK",s.LR="LR",s.LS="LS",s.LT="LT",s.LU="LU",s.LV="LV",s.LY="LY",s.MA="MA",s.MC="MC",s.MD="MD",s.ME="ME",s.MF="MF",s.MG="MG",s.MK="MK",s.ML="ML",s.MM="MM",s.MN="MN",s.MO="MO",s.MQ="MQ",s.MR="MR",s.MS="MS",s.MT="MT",s.MU="MU",s.MV="MV",s.MW="MW",s.MX="MX",s.MY="MY",s.MZ="MZ",s.NA="NA",s.NC="NC",s.NE="NE",s.NG="NG",s.NI="NI",s.NL="NL",s.NO="NO",s.NP="NP",s.NZ="NZ",s.OM="OM",s.PA="PA",s.PE="PE",s.PF="PF",s.PG="PG",s.PH="PH",s.PK="PK",s.PL="PL",s.PT="PT",s.PW="PW",s.PY="PY",s.QA="QA",s.RE="RE",s.RO="RO",s.RS="RS",s.RU="RU",s.RW="RW",s.SA="SA",s.SB="SB",s.SC="SC",s.SD="SD",s.SE="SE",s.SG="SG",s.SH="SH",s.SI="SI",s.SK="SK",s.SL="SL",s.SM="SM",s.SN="SN",s.SO="SO",s.SR="SR",s.ST="ST",s.SV="SV",s.SX="SX",s.SY="SY",s.SZ="SZ",s.TC="TC",s.TD="TD",s.TG="TG",s.TH="TH",s.TJ="TJ",s.TL="TL",s.TM="TM",s.TN="TN",s.TO="TO",s.TR="TR",s.TT="TT",s.TW="TW",s.TZ="TZ",s.UA="UA",s.UG="UG",s.US="US",s.UY="UY",s.UZ="UZ",s.VC="VC",s.VE="VE",s.VG="VG",s.VN="VN",s.VU="VU",s.WS="WS",s.XK="XK",s.YE="YE",s.YT="YT",s.ZA="ZA",s.ZM="ZM",s.ZW="ZW",e;var s})()},6493:(Ht,Fe,c)=>{"use strict";c.d(Fe,{v:()=>Ve});var e=c(4537),s=c(1081);const ce=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({name:"english"},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],close:"Close",nothingFoundMessage:"Nothing found",defaultErrorMessage:"Value is invalid",spinTexts:["Previous","Next"],shortWeekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],countries:{[s.X.AD]:"Andorra",[s.X.AE]:"United Arab Emirates",[s.X.AF]:"Afghanistan",[s.X.AG]:"Antigua and Barbuda",[s.X.BL]:"Saint Barth\xe9lemy",[s.X.AI]:"Anguilla",[s.X.AL]:"Albania",[s.X.AM]:"Armenia",[s.X.AO]:"Angola",[s.X.AR]:"Argentina",[s.X.AT]:"Austria",[s.X.AU]:"Australia",[s.X.AW]:"Aruba",[s.X.AZ]:"Azerbaijan",[s.X.BA]:"Bosnia and Herzegovina",[s.X.BB]:"Barbados",[s.X.BD]:"Bangladesh",[s.X.BE]:"Belgium",[s.X.BF]:"Burkina Faso",[s.X.BG]:"Bulgaria",[s.X.BH]:"Bahrain",[s.X.BI]:"Burundi",[s.X.BJ]:"Benin",[s.X.GF]:"Guyana",[s.X.BM]:"Bermuda",[s.X.BN]:"Brunei Darussalam",[s.X.BO]:"Bolivia",[s.X.BQ]:"Bonaire, Sint Eustatius and Saba",[s.X.BR]:"Brazil",[s.X.BS]:"Bahamas",[s.X.BT]:"Bhutan",[s.X.BW]:"Botswana",[s.X.BY]:"Belarus",[s.X.BZ]:"Belize",[s.X.CA]:"Canada",[s.X.CD]:"Dem. Rep. Congo (Kinshasa)",[s.X.CF]:"Central African Republic",[s.X.CG]:"Congo (Brazzaville)",[s.X.CH]:"Switzerland",[s.X.CI]:"Ivory Coast",[s.X.CL]:"Chile",[s.X.CM]:"Cameroon",[s.X.CN]:"China",[s.X.CO]:"Colombia",[s.X.CR]:"Costa Rica",[s.X.CU]:"Cuba",[s.X.CV]:"Cape Verde",[s.X.CW]:"Cura\xe7ao",[s.X.CY]:"Cyprus",[s.X.CZ]:"Czech Republic",[s.X.DE]:"Germany",[s.X.DJ]:"Djibouti",[s.X.DK]:"Denmark",[s.X.DM]:"Dominica",[s.X.DO]:"Dominican Republic",[s.X.DZ]:"Algeria",[s.X.EC]:"Ecuador",[s.X.EE]:"Estonia",[s.X.EG]:"Egypt",[s.X.ER]:"Eritrea",[s.X.ES]:"Spain",[s.X.ET]:"Ethiopia",[s.X.FI]:"Finland",[s.X.FJ]:"Fiji",[s.X.FK]:"Falkland Islands",[s.X.FM]:"F.S. of Micronesia",[s.X.FR]:"France",[s.X.GA]:"Gabon",[s.X.GB]:"United Kingdom",[s.X.GD]:"Grenada",[s.X.GE]:"Georgia",[s.X.GP]:"Guadeloupe",[s.X.GH]:"Ghana",[s.X.GI]:"Gibraltar",[s.X.GL]:"Greenland",[s.X.GM]:"Gambia",[s.X.GN]:"Guinea",[s.X.MF]:"Saint-Martin",[s.X.GQ]:"Equatorial Guinea",[s.X.GR]:"Greece",[s.X.GT]:"Guatemala",[s.X.GW]:"Guinea-Bissau",[s.X.GY]:"Guyana",[s.X.HK]:"Hong Kong",[s.X.HN]:"Honduras",[s.X.HR]:"Croatia",[s.X.HT]:"Haiti",[s.X.HU]:"Hungary",[s.X.ID]:"Indonesia",[s.X.IE]:"Ireland",[s.X.IL]:"Israel",[s.X.IN]:"India",[s.X.IQ]:"Iraq",[s.X.IR]:"Iran",[s.X.IS]:"Iceland",[s.X.IT]:"Italy",[s.X.JM]:"Jamaica",[s.X.JO]:"Jordan",[s.X.JP]:"Japan",[s.X.KE]:"Kenya",[s.X.KG]:"Kyrgyzstan",[s.X.KH]:"Cambodia",[s.X.KM]:"Comoros",[s.X.KN]:"Saint Kitts and Nevis",[s.X.KP]:"Korean PDR",[s.X.KR]:"Rep. Korea",[s.X.KW]:"Kuwait",[s.X.KY]:"Cayman Islands",[s.X.KZ]:"Kazakhstan",[s.X.LA]:"Laos",[s.X.LB]:"Lebanon",[s.X.LC]:"Saint Lucia",[s.X.LI]:"Liechtenstein",[s.X.LK]:"Sri Lanka",[s.X.LR]:"Liberia",[s.X.LS]:"Lesotho",[s.X.LT]:"Lithuania",[s.X.LU]:"Luxembourg",[s.X.LV]:"Latvia",[s.X.LY]:"Libya",[s.X.MA]:"Morocco",[s.X.MC]:"Monaco",[s.X.MD]:"Moldova",[s.X.ME]:"Montenegro",[s.X.MQ]:"Martinique",[s.X.MG]:"Madagascar",[s.X.MK]:"Rep. of North Macedonia",[s.X.ML]:"Mali",[s.X.MM]:"Burma (Myanmar)",[s.X.MN]:"Mongolia",[s.X.MO]:"Macau",[s.X.RE]:"R\xe9union",[s.X.MR]:"Mauritania",[s.X.MS]:"Montserrat",[s.X.MT]:"Malta",[s.X.MU]:"Mauritius",[s.X.MV]:"Maldives",[s.X.MW]:"Malawi",[s.X.MX]:"Mexico",[s.X.MY]:"Malaysia",[s.X.MZ]:"Mozambique",[s.X.NA]:"Namibia",[s.X.NC]:"New Caledonia",[s.X.NE]:"Niger",[s.X.NG]:"Nigeria",[s.X.NI]:"Nicaragua",[s.X.NL]:"Netherlands",[s.X.NO]:"Norway",[s.X.NP]:"Nepal",[s.X.NZ]:"New Zealand",[s.X.OM]:"Oman",[s.X.PA]:"Panama",[s.X.PE]:"Peru",[s.X.PF]:"French Polynesia (Tahiti)",[s.X.PG]:"Papua New Guinea",[s.X.PH]:"Philippines",[s.X.PK]:"Pakistan",[s.X.PL]:"Poland",[s.X.PT]:"Portugal",[s.X.PW]:"Palau",[s.X.PY]:"Paraguay",[s.X.QA]:"Qatar",[s.X.YT]:"Mayotte",[s.X.RO]:"Romania",[s.X.RS]:"Serbia",[s.X.RU]:"Russia",[s.X.RW]:"Rwanda",[s.X.SA]:"Saudi Arabia",[s.X.SB]:"Solomon Islands",[s.X.SC]:"Seychelles",[s.X.SD]:"Sudan",[s.X.SE]:"Sweden",[s.X.SG]:"Singapore",[s.X.SH]:"Saint Helena",[s.X.SI]:"Slovenia",[s.X.SK]:"Slovakia",[s.X.SL]:"Sierra Leone",[s.X.SM]:"San Marino",[s.X.SN]:"Senegal",[s.X.SO]:"Somalia",[s.X.SR]:"Suriname",[s.X.ST]:"Sao Tome and Principe",[s.X.SV]:"El Salvador",[s.X.SX]:"Sint Maarten",[s.X.SY]:"Syrian Arab Republic",[s.X.SZ]:"Swaziland",[s.X.TC]:"Turks and Caicos",[s.X.TD]:"Chad",[s.X.TG]:"Togo",[s.X.TH]:"Thailand",[s.X.TJ]:"Tajikistan",[s.X.TL]:"East Timor",[s.X.TM]:"Turkmenistan",[s.X.TN]:"Tunisia",[s.X.TO]:"Tonga",[s.X.TR]:"Turkey",[s.X.TT]:"Trinidad and Tobago",[s.X.TW]:"Taiwan",[s.X.TZ]:"Tanzania",[s.X.UA]:"Ukraine",[s.X.UG]:"Uganda",[s.X.US]:"USA",[s.X.UY]:"Uruguay",[s.X.UZ]:"Uzbekistan",[s.X.VC]:"Saint Vincent and the Grenadines",[s.X.VE]:"Venezuela",[s.X.VG]:"British Virgin Islands",[s.X.VN]:"Vietnam",[s.X.VU]:"Vanuatu",[s.X.WS]:"Samoa",[s.X.XK]:"Kosovo",[s.X.YE]:"Yemen",[s.X.ZA]:"South Africa",[s.X.ZM]:"Zambia",[s.X.ZW]:"Zimbabwe"}}),{cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range","Choose days"],range:["from","to"],countTexts:["Plus","Minus"],time:{"HH:MM":"HH:MM","HH:MM:SS":"HH:MM:SS","HH:MM:SS.MSS":"HH:MM:SS.MSS"},dateTexts:{DMY:"dd.mm.yyyy",MDY:"mm.dd.yyyy",YMD:"yyyy.mm.dd"},digitalInformationUnits:["B","KiB","MiB"],passwordTexts:["Show password","Hide password"],copyTexts:["Copy","Copied"],shortCalendarMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pagination:["Previous page","Next page"],fileTexts:{loadingError:"Upload failed",preview:"Preview",remove:"Remove"},inputFileTexts:{defaultLabelSingle:"or drop\xa0it\xa0here",defaultLabelMultiple:"or drop\xa0them\xa0here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is too large ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},prompt:{yes:"Yes",no:"No"}}),{showHideText:"Show/Hide",paginationTexts:{pages:"Pages",linesPerPage:"Lines per page",of:"of"}}),{cardNumber:["Number","Card number"],cardExpiry:["Expires","Valid through"]}),{colorSelectorModeNames:["Solid color","Gradient"],toolbarTools:{undo:"Undo",redo:"Redo",font:"Font",fontStyle:"Font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikeThrough:"Strike through",justify:"Justify",justifyLeft:"Justify left",justifyCenter:"Justify center",justifyRight:"Justify right",justifyFull:"Justify full",list:"List",indent:"Indent",outdent:"Outdent",unorderedList:"Unordered list",orderedList:"Ordered list",quote:"Quote",foreColor:"Color",backColor:"Background color",hiliteColor:"Highlight color",clear:"Clear",link:"Link",attach:"Attach file",tex:"Insert TeX",code:"Code",image:"Insert image",insertHorizontalRule:"Insert horizontal rule",superscript:"Superscript",subscript:"Subscript",insertTable:"Insert table",insertGroup:"Insert group",hiliteGroup:"Hilite group",removeGroup:"Remove group",insertAnchor:"Insert anchor",mergeCells:"Merge cells",splitCells:"Split cells",rowsColumnsManaging:"Managing rows and columns",cellColor:"Cell color",setDetails:"Details",removeDetails:"Remove details"},editorEditLink:{urlExample:"example.com",anchorExample:"anchor"},editorTableCommands:[["Insert column before","Insert column after"],["Insert row before","Insert row after"],["Delete column","Delete row"]],editorCodeOptions:["Code in the text","Code in block"],editorFontOptions:{small:"Small",large:"Large",normal:"Normal",title:"Title",subtitle:"Subtitle"}}),{previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"}});var de=c(4945);const Y=new e.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:()=>ce}),_e=new e.OlP("[TUI_LANGUAGE]",{factory:()=>(0,de.of)((0,e.f3M)(Y))});new e.OlP("[TUI_LANGUAGE_LOADER]"),new e.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"});var Ue=c(97),ve=c(1528),Ae=c(7969);function Ve(je){return()=>(0,e.f3M)(_e).pipe((0,ve.w)(se=>(0,Ue.b)(se)?se:(0,de.of)(se)),(0,Ae.U)(se=>se[je]))}},3063:(Ht,Fe,c)=>{"use strict";c.d(Fe,{p:()=>At,s:()=>Qe});var e=c(4537),s=c(9900),k=c(6480),z=c(7179),F=c(8033),ne=c(6060),W=c(1927),te=c(7320),pe=c(4789),ce=c(1489),de=c(9570);function Y(qe,Ge){if(1&qe&&e._UZ(0,"tui-svg",2),2&qe){const R=Ge.polymorpheusOutlet,be=e.oxw();e.ekj("t-mark_on",!be.empty),e.Q6J("src",R)}}const _e=function(qe){return{$implicit:qe}},ue=["*"],Ue=(0,W.JN)({size:"m",appearances:{unchecked:te.Nm.Outline,checked:te.Nm.Primary,indeterminate:te.Nm.Primary},icons:{checked:({$implicit:qe})=>"m"===qe?"tuiIconCheck":"tuiIconCheckLarge",indeterminate:({$implicit:qe})=>"m"===qe?"tuiIconMinus":"tuiIconMinusLarge"}});let Ae=(()=>{class qe{constructor(R){this.options=R,this.size=this.options.size,this.disabled=!1,this.focused=!1,this.hovered=!1,this.pressed=!1,this.invalid=!1,this.icon=this.options.icons.checked,this.value=!1}set valueSetter(R){!1!==R&&this.setCurrentIcon(R),this.value=R}get appearance(){switch(this.value){case!1:return this.options.appearances.unchecked;case!0:return this.options.appearances.checked;default:return this.options.appearances.indeterminate}}get empty(){return!1===this.value}setCurrentIcon(R){this.icon=null===R?this.options.icons.indeterminate:this.options.icons.checked}}return qe.\u0275fac=function(R){return new(R||qe)(e.Y36(Ue))},qe.\u0275cmp=e.Xpm({type:qe,selectors:[["tui-primitive-checkbox"]],hostVars:1,hostBindings:function(R,be){2&R&&e.uIk("data-size",be.size)},inputs:{size:"size",disabled:"disabled",focused:"focused",hovered:"hovered",pressed:"pressed",invalid:"invalid",valueSetter:["value","valueSetter"]},ngContentSelectors:ue,decls:3,vars:10,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],["class","t-mark",3,"t-mark_on","src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-mark",3,"src"]],template:function(R,be){1&R&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,Y,1,3,"tui-svg",1),e.Hsn(2),e.qZA()),2&R&&(e.Q6J("active",be.pressed)("appearance",be.appearance)("disabled",be.disabled)("focus",be.focused)("hover",be.hovered)("invalid",be.invalid),e.xp6(1),e.Q6J("polymorpheusOutlet",be.icon)("polymorpheusOutletContext",e.VKq(8,_e,be.size)))},dependencies:[pe.PN,ce.o,de.Li],styles:["[_nghost-%COMP%]{display:block;font-size:0;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem;border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem;border-radius:var(--tui-radius-s)}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.t-mark_on[_ngcontent-%COMP%]{transform:scale(1)}"],changeDetection:0}),qe})(),Ve=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[pe.EI,ce.W,de.wq]]}),qe})();var je=c(2130),se=c(4541),ee=c(3633),$e=c(5059),Oe=c(8491),_t=c(8692);const vt=["focusableElement"];let tt=(()=>{class qe extends k.F9{constructor(R,be,S){super(R,S),this.options=be,this.size=this.options.size}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get computedFocusable(){return this.interactive&&this.focusable}onChecked(R){this.value=R}onFocused(R){this.updateFocused(R)}onFocusVisible(R){this.updateFocusVisible(R)}}return qe.\u0275fac=function(R){return new(R||qe)(e.Y36(s.a5,10),e.Y36(Ue),e.Y36(e.sBO))},qe.\u0275cmp=e.Xpm({type:qe,selectors:[["tui-checkbox"]],viewQuery:function(R,be){if(1&R&&e.Gf(vt,5),2&R){let S;e.iGM(S=e.CRH())&&(be.focusableElement=S.first)}},hostVars:1,hostBindings:function(R,be){2&R&&e.uIk("data-size",be.size)},inputs:{size:"size"},features:[e._Bn([(0,F.FT)(qe),(0,k.wB)(qe)]),e.qOj],decls:3,vars:11,consts:[[3,"disabled","focused","hovered","invalid","pressed","size","value"],["automation-id","tui-checkbox__native","type","checkbox",1,"t-native",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(R,be){1&R&&(e.TgZ(0,"tui-primitive-checkbox",0)(1,"input",1,2),e.NdJ("tuiCheckedChange",function(q){return be.value=q})("tuiFocusedChange",function(q){return be.onFocused(q)})("tuiFocusVisibleChange",function(q){return be.onFocusVisible(q)}),e.qZA()()),2&R&&(e.Q6J("disabled",be.disabled)("focused",be.computedFocusVisible)("hovered",be.pseudoHover)("invalid",be.computedInvalid)("pressed",be.pseudoActive)("size",be.size)("value",be.value),e.xp6(1),e.Q6J("disabled",be.disabled)("id",be.id)("tuiFocusable",be.computedFocusable)("tuiChecked",be.value))},dependencies:[Ae,se.t,ee.t,$e.U,Oe.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%] tui-primitive-checkbox[_ngcontent-%COMP%]{pointer-events:none}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}"],changeDetection:0}),qe})(),we=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[_t.ez,se.S,ee.u,$e.F,Oe.c,Ve]]}),qe})();const mt=["*"];let At=(()=>{class qe extends k.F9{constructor(R,be,S,q){super(R,be),this.mode$=S,this.options=q,this.size=this.options.size}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get nativeFocusableElement(){var R,be;return null!==(be=null===(R=this.checkbox)||void 0===R?void 0:R.nativeFocusableElement)&&void 0!==be?be:null}onFocused(R){this.updateFocused(R)}onModelChange(R){this.value=R}}return qe.\u0275fac=function(R){return new(R||qe)(e.Y36(s.a5,10),e.Y36(e.sBO),e.Y36(ne.Au),e.Y36(Ue))},qe.\u0275cmp=e.Xpm({type:qe,selectors:[["tui-checkbox-labeled"]],viewQuery:function(R,be){if(1&R&&e.Gf(tt,5),2&R){let S;e.iGM(S=e.CRH())&&(be.checkbox=S.first)}},hostVars:1,hostBindings:function(R,be){1&R&&e.NdJ("$.data-mode.attr",function(){return be.mode$}),2&R&&e.uIk("data-size",be.size)},inputs:{size:"size"},features:[e._Bn([(0,F.FT)(qe),(0,k.wB)(qe),je.CV]),e.qOj],ngContentSelectors:mt,decls:4,vars:12,consts:[[1,"t-wrapper"],[3,"disabled","focusable","nativeId","pseudoActive","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange"],[1,"t-content"]],template:function(R,be){1&R&&(e.F$t(),e.TgZ(0,"label",0)(1,"tui-checkbox",1),e.NdJ("ngModelChange",function(q){return be.value=q})("focusedChange",function(q){return be.onFocused(q)}),e.qZA(),e.TgZ(2,"div",2),e.Hsn(3),e.qZA()()),2&R&&(e.xp6(1),e.Q6J("disabled",be.computedDisabled)("focusable",be.focusable)("nativeId",be.nativeId)("pseudoActive",be.pseudoActive)("pseudoFocus",be.pseudoFocus)("pseudoHover",be.pseudoHover)("pseudoInvalid",be.computedInvalid)("readOnly",be.readOnly)("size",be.size)("ngModel",be.value),e.xp6(1),e.ekj("t-content_disabled",be.computedDisabled))},dependencies:[tt,s.JJ,s.On],styles:["[_nghost-%COMP%]{position:relative;display:block;line-height:0}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{display:inline-flex;max-width:100%;cursor:pointer}._disabled[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{cursor:default}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);line-height:1rem;word-wrap:break-word;min-width:0}.t-content_disabled[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{margin-left:.5rem}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-left:.75rem}"],changeDetection:0}),qe})(),Qe=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[_t.ez,s.u5,we]]}),qe})()},1673:(Ht,Fe,c)=>{"use strict";c.d(Fe,{K3:()=>ve,Qf:()=>Ve,wU:()=>Ae});var e=c(4537),s=c(9900),k=c(221),z=c(6480),F=c(7179),ne=c(8033),W=c(5600),te=c(5640),pe=c(8940),ce=c(5111),de=c(6060),Y=c(3631),_e=c(26),ue=c(8692);const ie=["*",[["input"]]],Ue=["*","input"];let ve=(()=>{class je extends z.M${constructor(ee,$e,Oe,_t){super(ee,$e,_t),this.textfieldSize=Oe,this.open=!1}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement}get focused(){return(0,F.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}get canOpen(){return this.interactive&&!!this.datalist}onValueChange(ee){this.value=ee,this.open=!0}onActiveZone(ee){this.updateFocused(ee)}handleOption(ee){this.setNativeValue(String(ee)),this.focusInput(),this.value=String(ee),this.open=!1}getFallbackValue(){return""}focusInput(ee=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:ee})}setNativeValue(ee){this.nativeFocusableElement&&(this.nativeFocusableElement.value=ee)}}return je.\u0275fac=function(ee){return new(ee||je)(e.Y36(s.a5,10),e.Y36(e.sBO),e.Y36(pe.kI),e.Y36(z.FX,8))},je.\u0275cmp=e.Xpm({type:je,selectors:[["tui-input"]],contentQueries:function(ee,$e,Oe){if(1&ee&&e.Suo(Oe,ce.gX,5,e.Rgc),2&ee){let _t;e.iGM(_t=e.CRH())&&($e.datalist=_t.first)}},viewQuery:function(ee,$e){if(1&ee&&(e.Gf(W.o1,5),e.Gf(te.yc,5)),2&ee){let Oe;e.iGM(Oe=e.CRH())&&($e.hostedDropdown=Oe.first),e.iGM(Oe=e.CRH())&&($e.textfield=Oe.first)}},hostVars:1,hostBindings:function(ee,$e){2&ee&&e.uIk("data-size",$e.size)},features:[e._Bn([_e.E2,(0,ne.FT)(je),(0,de.oE)(je),(0,z.wB)(je)],[_e.yn]),e.qOj],ngContentSelectors:Ue,decls:4,vars:11,consts:[[1,"t-hosted",3,"canOpen","content","open","openChange","tuiActiveZoneChange"],["automation-id","tui-input__textfield",1,"t-textfield",3,"disabled","focusable","invalid","nativeId","pseudoFocus","pseudoHover","readOnly","value","valueChange"]],template:function(ee,$e){1&ee&&(e.F$t(ie),e.TgZ(0,"tui-hosted-dropdown",0),e.NdJ("openChange",function(_t){return $e.open=_t})("tuiActiveZoneChange",function(_t){return $e.onActiveZone(_t)}),e.TgZ(1,"tui-primitive-textfield",1),e.NdJ("valueChange",function(_t){return $e.onValueChange(_t)}),e.Hsn(2),e.Hsn(3,1,["ngProjectAs","input",5,["input"]]),e.qZA()()),2&ee&&(e.Q6J("canOpen",$e.canOpen)("content",$e.datalist||"")("open",$e.open),e.xp6(1),e.Q6J("disabled",$e.computedDisabled)("focusable",$e.computedFocusable)("invalid",$e.computedInvalid)("nativeId",$e.nativeId)("pseudoFocus",$e.computedFocused)("pseudoHover",$e.pseudoHover)("readOnly",$e.readOnly)("value",$e.value))},dependencies:[W.o1,te.yc,k.e,te.B1],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}._disabled[_nghost-%COMP%]{pointer-events:none}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}"],changeDetection:0}),je})(),Ae=(()=>{class je extends Y.D1{onValueChange(ee){this.host.onValueChange(ee)}}return je.\u0275fac=function(){let se;return function($e){return(se||(se=e.n5z(je)))($e||je)}}(),je.\u0275dir=e.lG2({type:je,selectors:[["tui-input"]],features:[e._Bn([(0,de.cp)(je)]),e.qOj]}),je})(),Ve=(()=>{class je{}return je.\u0275fac=function(ee){return new(ee||je)},je.\u0275mod=e.oAB({type:je}),je.\u0275inj=e.cJS({imports:[[ue.ez,k.A,te.KW,W.jh]]}),je})()},26:(Ht,Fe,c)=>{"use strict";c.d(Fe,{yn:()=>Y,E2:()=>_e});var e=c(4537),s=c(6060);c(7969);var ne=c(8952),pe=(c(9811),c(4945),c(8330)),ce=c(9900);const Y=(0,ne.fx)({limitWidth:"fixed",align:"right"}),_e={provide:s.sE,deps:[[new e.FiY,new e.PiD,ce.JU]],useFactory:pe.y}},9811:(Ht,Fe,c)=>{"use strict";c.d(Fe,{UV:()=>Xe,Ys:()=>an,RZ:()=>ot,ue:()=>Ut,WO:()=>lt,Z4:()=>it});var e=c(4537),s=c(1927),k=c(3770),F=(c(8939),c(6424)),ne=c(7788),W=c(5648);const Y=12;(0,s.JN)("DMY"),(0,s.JN)(".");class Qe{constructor(V){this.year=V}static isValidYear(V){return Number.isInteger(V)&&(0,W.wf)(V,0,1e4)}static isLeapYear(V){return V%400==0||V%4==0&&V%100!=0}static getAbsoluteLeapYears(V){return Math.ceil(V/400)+(Math.ceil(V/4)-Math.ceil(V/100))}static lengthBetween(V,Pe){return Pe.year-V.year}static normalizeYearPart(V){return(0,W.G1)(V,0,9999)}get formattedYear(){return String(this.year).padStart(4,"0")}get isLeapYear(){return Qe.isLeapYear(this.year)}get absoluteLeapYears(){return Qe.getAbsoluteLeapYears(this.year)}yearBefore({year:V}){return this.year=V}yearAfter({year:V}){return this.year>V}append({year:V=0}){return new Qe(this.year+V)}toString(){return this.formattedYear}valueOf(){return this.year}[Symbol.toPrimitive](V){return Date.prototype[Symbol.toPrimitive].call(this,V)}toJSON(){return this.formattedYear}}class qe extends Qe{constructor(V,Pe){super(V),this.month=Pe}static isValidMonth(V,Pe){return Qe.isValidYear(V)&&qe.isValidMonthPart(Pe)}static getMonthDaysCount(V,Pe){switch(V){case F.B.February:return Pe?29:28;case F.B.April:case F.B.June:case F.B.September:case F.B.November:return 30;default:return 31}}static currentLocal(){const V=new Date;return new qe(V.getFullYear(),V.getMonth())}static currentUtc(){const V=new Date;return new qe(V.getUTCFullYear(),V.getUTCMonth())}static lengthBetween(V,Pe){return Pe.month+12*Pe.year-(V.month+12*V.year)}static normalizeMonthPart(V){return(0,W.G1)(V,0,11)}static isValidMonthPart(V){return Number.isInteger(V)&&(0,W.wf)(V,0,12)}get formattedMonthPart(){return String(this.month+1).padStart(2,"0")}get daysCount(){return qe.getMonthDaysCount(this.month,this.isLeapYear)}monthBefore(V){return this.yearBefore(V)||this.yearSame(V)&&this.month=V.month}monthAfter(V){return this.yearAfter(V)||this.yearSame(V)&&this.month>V.month}append({year:V=0,month:Pe=0}){const bt=(this.year+V)*Y+this.month+Pe;return new qe(Math.floor(bt/Y),bt%Y)}toString(){return`${this.formattedMonthPart}.${this.formattedYear}`}valueOf(){return this.toLocalNativeDate().valueOf()}toJSON(){return`${super.toJSON()}-${this.formattedMonthPart}`}toLocalNativeDate(){return new Date(this.year,this.month)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month))}}class Ge extends qe{constructor(V,Pe,bt){super(V,Pe),this.day=bt}static fromLocalNativeDate(V){return new Ge(V.getFullYear(),V.getMonth(),V.getDate())}static fromUtcNativeDate(V){return new Ge(V.getUTCFullYear(),V.getUTCMonth(),V.getUTCDate())}static isValidDay(V,Pe,bt){return qe.isValidMonth(V,Pe)&&Number.isInteger(bt)&&(0,W.wf)(bt,1,qe.getMonthDaysCount(Pe,Qe.isLeapYear(V))+1)}static currentLocal(){const V=new Date,Pe=V.getFullYear(),bt=V.getMonth(),gt=V.getDate();return new Ge(Pe,bt,gt)}static currentUtc(){const V=new Date,Pe=V.getUTCFullYear(),bt=V.getUTCMonth(),gt=V.getUTCDate();return new Ge(Pe,bt,gt)}static normalizeOf(V,Pe,bt){const gt=Qe.normalizeYearPart(V),on=qe.normalizeMonthPart(Pe),$t=Ge.normalizeDayPart(bt,on,gt);return new Ge(gt,on,$t)}static lengthBetween(V,Pe){return Math.round((Pe.toLocalNativeDate().getTime()-V.toLocalNativeDate().getTime())/864e5)}static parseRawDateString(V,Pe="DMY"){switch(Pe){case"YMD":return{day:parseInt(V.slice(8,10),10),month:parseInt(V.slice(5,7),10)-1,year:parseInt(V.slice(0,4),10)};case"MDY":return{day:parseInt(V.slice(3,5),10),month:parseInt(V.slice(0,2),10)-1,year:parseInt(V.slice(6,10),10)};default:return{day:parseInt(V.slice(0,2),10),month:parseInt(V.slice(3,5),10)-1,year:parseInt(V.slice(6,10),10)}}}static normalizeParse(V,Pe="DMY"){const{day:bt,month:gt,year:on}=this.parseRawDateString(V,Pe);return Ge.normalizeOf(on,gt,bt)}static jsonParse(V){const{day:Pe,month:bt,year:gt}=this.parseRawDateString(V,"YMD");if(!Qe.isValidYear(gt))throw new ne.JY(gt);if(!qe.isValidMonth(gt,bt))throw new ne.AM(bt);if(!Number.isInteger(Pe)||!(0,W.wf)(Pe,1,qe.getMonthDaysCount(bt,Qe.isLeapYear(gt))+1))throw new ne.I4(Pe);return new Ge(gt,bt,Pe)}static normalizeDayPart(V,Pe,bt){const gt=qe.getMonthDaysCount(Pe,Qe.isLeapYear(bt));return(0,W.G1)(V,1,gt)}get formattedDayPart(){return String(this.day).padStart(2,"0")}get isWeekend(){const V=this.dayOfWeek(!1);return V===F.L.Saturday||V===F.L.Sunday}dayOfWeek(V=!0){const Pe=V?this.toLocalNativeDate().getDay()-1:this.toLocalNativeDate().getDay();return Pe<0?6:Pe}dayBefore(V){return this.monthBefore(V)||this.monthSame(V)&&this.day=V.day}dayAfter(V){return this.monthAfter(V)||this.monthSame(V)&&this.day>V.day}dayLimit(V,Pe){return null!==V&&this.dayBefore(V)?V:null!==Pe&&this.dayAfter(Pe)?Pe:this}append({year:V=0,month:Pe=0,day:bt=0}){const gt=(this.year+V)*Y+this.month+Pe;let on=Math.floor(gt/Y),$t=gt%Y,vn=Math.min(this.day,qe.getMonthDaysCount($t,Qe.isLeapYear(on)))+bt;for(;vn>qe.getMonthDaysCount($t,Qe.isLeapYear(on));)vn-=qe.getMonthDaysCount($t,Qe.isLeapYear(on)),$t===F.B.December?(on++,$t=F.B.January):$t++;for(;vn<1;)$t===F.B.January?(on--,$t=F.B.December):$t--,vn+=qe.getMonthDaysCount($t,Qe.isLeapYear(on));return new Ge(on,$t,vn)}getFormattedDay(V,Pe){const bt=this.formattedDayPart,gt=this.formattedMonthPart,on=this.formattedYear;switch(V){case"YMD":return`${on}${Pe}${gt}${Pe}${bt}`;case"MDY":return`${gt}${Pe}${bt}${Pe}${on}`;default:return`${bt}${Pe}${gt}${Pe}${on}`}}toString(V="DMY",Pe="."){return this.getFormattedDay(V,Pe)}toJSON(){return`${super.toJSON()}-${this.formattedDayPart}`}toLocalNativeDate(){return new Date(this.year,this.month,this.day)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month,this.day))}}const S=new Ge(0,0,1),q=new Ge(9999,11,31);class ze{constructor(V,Pe,bt=0,gt=0){this.hours=V,this.minutes=Pe,this.seconds=bt,this.ms=gt}static isValidTime(V,Pe,bt=0,gt=0){return Number.isInteger(V)&&tuiInRange(V,0,24)&&Number.isInteger(Pe)&&tuiInRange(Pe,0,60)&&Number.isInteger(bt)&&tuiInRange(bt,0,60)&&Number.isInteger(gt)&&tuiInRange(gt,0,1e3)}static current(){return ze.fromAbsoluteMilliseconds(Date.now()%864e5)}static currentLocal(){const V=new Date;return ze.fromAbsoluteMilliseconds((Date.now()-V.getTimezoneOffset()*$e)%864e5)}static fromAbsoluteMilliseconds(V){const Pe=Math.floor(V/Oe),bt=Math.floor(V%Oe/$e),gt=Math.floor(V%Oe%$e/1e3)||0,on=Math.floor(V%Oe%$e%1e3)||0;return new ze(Pe,bt,gt,on)}static fromString(V){const Pe=Number(V.slice(0,2)),bt=Number(V.slice(3,5)),gt=Number(V.slice(6,8))||0,on=Number(V.slice(9,12))||0;return new ze(Pe,bt,gt,on)}static fromLocalNativeDate(V){return new ze(V.getHours(),V.getMinutes(),V.getSeconds(),V.getMilliseconds())}shift({hours:V=0,minutes:Pe=0,seconds:bt=0,ms:gt=0}){const on=(1e3+this.ms+gt%1e3)%1e3,vn=(gt<0?Math.ceil(gt/1e3):Math.floor(gt/1e3))+bt,Jt=(60+this.seconds+vn%60)%60,Mn=(vn<0?Math.ceil(vn/60):Math.floor(vn/60))+Pe,oe=(60+this.minutes+Mn%60)%60,H=(Mn<0?Math.ceil(Mn/60):Math.floor(Mn/60))+V;return new ze((24+this.hours+H%24)%24,oe,Jt,on)}toString(V){const Pe="HH:MM:SS.MSS"===V||!V&&this.ms>0,bt=Pe||"HH:MM:SS"===V||!V&&this.seconds>0;return`${this.formatTime(this.hours)}:${this.formatTime(this.minutes)}${bt?`:${this.formatTime(this.seconds)}`:""}${Pe?`.${this.formatTime(this.ms,3)}`:""}`}valueOf(){return this.toAbsoluteMilliseconds()}[Symbol.toPrimitive](V){return Date.prototype[Symbol.toPrimitive].call(this,V)}toAbsoluteMilliseconds(){return this.hours*Oe+this.minutes*$e+1e3*this.seconds+this.ms}formatTime(V,Pe=2){return String(V).padStart(Pe,"0")}}var N=c(1081),Se=c(6493);new e.OlP("[TUI_CALENDAR_DATE_STREAM]"),(0,s.JN)({[N.X.AD]:"+376###-###",[N.X.AE]:"+971-##-###-####",[N.X.AF]:"+93##-###-####",[N.X.AG]:"+1(268) ###-####",[N.X.AI]:"+1(264) ###-####",[N.X.AL]:"+355(###) ###-###",[N.X.AM]:"+374##-###-###",[N.X.AO]:"+244(###) ###-###",[N.X.AR]:"+54(###) ####-####",[N.X.AT]:"+43(###) ###-####",[N.X.AU]:"+61#-####-####",[N.X.AW]:"+297###-####",[N.X.AZ]:"+994##-###-##-##",[N.X.BA]:"+387 ###-####-##",[N.X.BB]:"+1(246) ###-####",[N.X.BD]:"+880##-###-###",[N.X.BE]:"+32(###) ###-###",[N.X.BF]:"+226##-##-####",[N.X.BG]:"+359(###) ###-###",[N.X.BH]:"+973####-####",[N.X.BI]:"+257##-##-####",[N.X.BJ]:"+229##-##-####",[N.X.BL]:"+590 ## ## ## ## ##",[N.X.BM]:"+1(441) ###-####",[N.X.BN]:"+673###-####",[N.X.BO]:"+591#-###-####",[N.X.BQ]:"+599-###-####",[N.X.BR]:"+55(##) ####-####",[N.X.BS]:"+1(242) ###-####",[N.X.BT]:"+975#-###-###",[N.X.BW]:"+267##-###-###",[N.X.BY]:"+375(##) ###-##-##",[N.X.BZ]:"+501###-####",[N.X.CA]:"+1(###) ###-####",[N.X.CD]:"+243(###) ###-###",[N.X.CF]:"+236-##-##-####",[N.X.CG]:"+242##-###-####",[N.X.CH]:"+41##-###-####",[N.X.CI]:"+225##-##-###-###",[N.X.CL]:"+56#-####-####",[N.X.CM]:"+237#####-####",[N.X.CN]:"+86(###) ####-####",[N.X.CO]:"+57(###) ###-####",[N.X.CR]:"+506####-####",[N.X.CU]:"+53#-###-####",[N.X.CV]:"+238(###) ##-##",[N.X.CW]:"+5999-###-####",[N.X.CY]:"+357##-###-###",[N.X.CZ]:"+420(###) ###-###",[N.X.DE]:"+49(###) ###-###-##",[N.X.DJ]:"+253##-##-##-##",[N.X.DK]:"+45##-##-##-##",[N.X.DM]:"+1(767) ###-####",[N.X.DO]:"+1(###) ###-####",[N.X.DZ]:"+213##-###-####",[N.X.EC]:"+593##-###-####",[N.X.EE]:"+372####-####",[N.X.EG]:"+20(###) ###-####",[N.X.ER]:"+291#-###-###",[N.X.ES]:"+34(###) ###-###",[N.X.ET]:"+251##-###-####",[N.X.FI]:"+358(###) ###-##-##",[N.X.FJ]:"+679##-#####",[N.X.FK]:"+500#####",[N.X.FM]:"+691###-####",[N.X.FR]:"+33 ## ## ## ## ##",[N.X.GA]:"+241##-##-##-##",[N.X.GB]:"+44##-####-####",[N.X.GD]:"+1(473) ###-####",[N.X.GE]:"+995(###) ###-###",[N.X.GF]:"+594 ## ## ## ## ##",[N.X.GH]:"+233(###) ###-###",[N.X.GI]:"+350###-#####",[N.X.GL]:"+299##-##-##",[N.X.GM]:"+220(###) ##-##",[N.X.GN]:"+224##-###-###",[N.X.GP]:"+590 ## ## ## ## ##",[N.X.GQ]:"+240##-###-####",[N.X.GR]:"+30(###) ###-####",[N.X.GT]:"+502#-###-####",[N.X.GW]:"+245#-######",[N.X.GY]:"+592###-####",[N.X.HK]:"+852####-####",[N.X.HN]:"+504####-####",[N.X.HR]:"+385##-###-####",[N.X.HT]:"+509##-##-####",[N.X.HU]:"+36(###) ###-###",[N.X.ID]:"+62(###) ###-##-###",[N.X.IE]:"+353(###) ###-###",[N.X.IL]:"+972##-###-####",[N.X.IN]:"+91(####) ###-###",[N.X.IQ]:"+964(###) ###-####",[N.X.IR]:"+98(###) ###-####",[N.X.IS]:"+354###-####",[N.X.IT]:"+39(###) ####-###",[N.X.JM]:"+1(876) ###-####",[N.X.JO]:"+962#-####-####",[N.X.JP]:"+81-##-####-####",[N.X.KE]:"+254###-######",[N.X.KG]:"+996(###) ###-###",[N.X.KH]:"+855##-###-###",[N.X.KM]:"+269##-#####",[N.X.KN]:"+1(869) ###-####",[N.X.KP]:"+850####-#############",[N.X.KR]:"+82##-###-####",[N.X.KW]:"+965####-####",[N.X.KY]:"+1(345) ###-####",[N.X.KZ]:"+7(###) ###-##-##",[N.X.LA]:"+856##-##-###-###",[N.X.LB]:"+961##-###-###",[N.X.LC]:"+1(758) ###-####",[N.X.LI]:"+423(###) ###-####",[N.X.LK]:"+94##-###-####",[N.X.LR]:"+231##-###-###",[N.X.LS]:"+266#-###-####",[N.X.LT]:"+370(###) ##-###",[N.X.LU]:"+352(###) ###-###",[N.X.LV]:"+371##-###-###",[N.X.LY]:"+218##-###-####",[N.X.MA]:"+212##-####-###",[N.X.MC]:"+377###-###-###",[N.X.MD]:"+373####-####",[N.X.ME]:"+382##-###-###",[N.X.MF]:"+590 ## ## ## ## ##",[N.X.MG]:"+261##-##-#####",[N.X.MK]:"+389##-###-###",[N.X.ML]:"+223##-##-####",[N.X.MM]:"+95##-###-###",[N.X.MN]:"+976##-##-####",[N.X.MO]:"+853####-####",[N.X.MQ]:"+596 ## ## ## ## ##",[N.X.MR]:"+222##-##-####",[N.X.MS]:"+1(664) ###-####",[N.X.MT]:"+356####-####",[N.X.MU]:"+230####-####",[N.X.MV]:"+960###-####",[N.X.MW]:"+265#-####-####",[N.X.MX]:"+52(###) ###-####",[N.X.MY]:"+60(###) ###-###",[N.X.MZ]:"+258##-###-###",[N.X.NA]:"+264##-###-####",[N.X.NC]:"+687 ### ###",[N.X.NE]:"+227##-##-####",[N.X.NG]:"+234(###) ###-####",[N.X.NI]:"+505####-####",[N.X.NL]:"+31##-###-####",[N.X.NO]:"+47(###) ##-###",[N.X.NP]:"+977##-###-###",[N.X.NZ]:"+64(###) ###-####",[N.X.OM]:"+968##-###-###",[N.X.PA]:"+507###-####",[N.X.PE]:"+51(###) ###-###",[N.X.PF]:"+689 ## ## ## ##",[N.X.PG]:"+675(###) ##-###",[N.X.PH]:"+63(###) ###-####",[N.X.PK]:"+92(###) ###-####",[N.X.PL]:"+48(###) ###-###",[N.X.PT]:"+351##-###-####",[N.X.PW]:"+680###-####",[N.X.PY]:"+595(###) ###-###",[N.X.QA]:"+974####-####",[N.X.RE]:"+262 ## ## ## ## ##",[N.X.RO]:"+40##-###-####",[N.X.RS]:"+381##-###-####",[N.X.RU]:"+7### ###-##-##",[N.X.RW]:"+250(###) ###-###",[N.X.SA]:"+966#-####-####",[N.X.SB]:"+677###-####",[N.X.SC]:"+248#-###-###",[N.X.SD]:"+249##-###-####",[N.X.SE]:"+46##-###-####",[N.X.SG]:"+65####-####",[N.X.SH]:"+290####",[N.X.SI]:"+386##-###-###",[N.X.SK]:"+421(###) ###-###",[N.X.SL]:"+232##-######",[N.X.SM]:"+378####-######",[N.X.SN]:"+221##-###-####",[N.X.SO]:"+252##-###-###",[N.X.SR]:"+597###-####",[N.X.ST]:"+239##-#####",[N.X.SV]:"+503##-##-####",[N.X.SX]:"+1(721) ###-####",[N.X.SY]:"+963##-####-###",[N.X.SZ]:"+268##-##-####",[N.X.TC]:"+1(649) ###-####",[N.X.TD]:"+235##-##-##-##",[N.X.TG]:"+228##-###-###",[N.X.TH]:"+66##-###-####",[N.X.TJ]:"+992##-###-####",[N.X.TL]:"+670###-#####",[N.X.TM]:"+993#-###-####",[N.X.TN]:"+216##-###-###",[N.X.TO]:"+676#####",[N.X.TR]:"+90(###) ###-####",[N.X.TT]:"+1(868) ###-####",[N.X.TW]:"+886#-####-####",[N.X.TZ]:"+255##-###-####",[N.X.UA]:"+380(##) ###-##-##",[N.X.UG]:"+256(###) ###-###",[N.X.US]:"+1(###) ###-####",[N.X.UY]:"+598#-###-##-##",[N.X.UZ]:"+998##-###-####",[N.X.VC]:"+1(784) ###-####",[N.X.VE]:"+58(###) ###-####",[N.X.VG]:"+1(284)###-####",[N.X.VN]:"+84(###) ####-###",[N.X.VU]:"+678##-#####",[N.X.WS]:"+685##-####",[N.X.XK]:"+383##-###-###",[N.X.YE]:"+967###-###-###",[N.X.YT]:"+262 ## ## ## ## ##",[N.X.ZA]:"+27##-###-####",[N.X.ZM]:"+260##-###-####",[N.X.ZW]:"+263#-######"}),new e.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),new e.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),new e.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]"),(0,s.N1)((0,Se.v)("prompt")),(0,s.N1)((0,Se.v)("cancel")),(0,s.N1)((0,Se.v)("done"));const Ut=(0,s.N1)((0,Se.v)("more")),Xe=((0,s.N1)((0,Se.v)("hide")),(0,s.N1)((0,Se.v)("showAll")),(0,s.N1)((0,Se.v)("otherDate")),(0,s.N1)((0,Se.v)("mobileCalendarTexts")),(0,s.N1)((0,Se.v)("range")),(0,s.N1)((0,Se.v)("countTexts")),(0,s.N1)((0,Se.v)("time")),(0,s.N1)((0,Se.v)("dateTexts")),(0,s.N1)((0,Se.v)("digitalInformationUnits")),(0,s.N1)((0,Se.v)("copyTexts"))),Lt=((0,s.N1)((0,Se.v)("passwordTexts")),(0,s.N1)((0,Se.v)("shortCalendarMonths")),(0,s.N1)((0,Se.v)("fileTexts")),(0,s.N1)((0,Se.v)("pagination")),(0,s.N1)((0,Se.v)("inputFileTexts")),(0,s.N1)((0,Se.v)("multiSelectTexts")),(0,s.N1)((0,Se.v)("countries")),{icon:({$implicit:st})=>"s"===st?"tuiIconCalendar":"tuiIconCalendarLarge",min:S,max:q,nativePicker:!1});(0,s.JN)(Lt);const an=(0,s.JN)({stringify:k.yZ,identityMatcher:k.bg,disabledItemHandler:k.Iy});new e.OlP("[TUI_MOBILE_CALENDAR]");const ot=new e.OlP("[TUI_MONTH_FORMATTER]"),lt=(0,s.JN)(24),it=(0,s.JN)({})},126:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Gt:()=>Ve,X1:()=>je,uX:()=>Ae});var e=c(5998),s=c(4537),k=c(9018),z=c(3729),F=c(3072),ne=c(5857);class te{supports(ee){return ee.includes(this.modifier)}addGlobalEventListener(){return()=>{}}unwrap(ee){return ee.split(".").filter($e=>!this.modifier.includes($e)).join(".")}}let pe=(()=>{class se extends te{constructor(){super(...arguments),this.modifier="$"}addEventListener($e,Oe){$e[Oe]=$e[Oe]||k.E;const _t=this.getMethod($e,Oe),vt=this.manager.getZone().onStable,tt=(0,z.z)(vt.pipe((0,ne.o)(()=>$e[Oe]===k.E)),(0,F.P)(()=>$e[Oe])).subscribe(_t);return()=>tt.unsubscribe()}getMethod($e,Oe){const[,_t,vt,tt=""]=Oe.split(".");return Oe.endsWith(".attr")?we=>null===we?$e.removeAttribute(_t):$e.setAttribute(_t,String(we)):"class"===_t?we=>$e.classList.toggle(vt,!!we):"style"===_t?we=>$e.style.setProperty(function W(se){return se.replace(/[a-z][A-Z]/g,ee=>`${ee[0]}-${ee[1].toLowerCase()}`)}(vt),`${we}${tt}`):we=>$e[_t]=we}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})(),ce=(()=>{class se extends te{constructor(){super(...arguments),this.modifier="capture.once.passive"}supports($e){return $e.includes(".")&&!this.unwrap($e).includes(".")}addEventListener($e,Oe,_t){return $e.addEventListener(this.unwrap(Oe),_t,{once:Oe.includes(".once"),passive:Oe.includes(".passive"),capture:Oe.includes(".capture")}),()=>$e.removeEventListener(this.unwrap(Oe),_t)}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})(),de=(()=>{class se extends te{constructor(){super(...arguments),this.modifier=".prevent"}addEventListener($e,Oe,_t){return this.manager.addEventListener($e,this.unwrap(Oe),tt=>{tt.preventDefault(),_t(tt)})}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})(),Y=(()=>{class se extends te{constructor(){super(...arguments),this.modifier=".self"}addEventListener($e,Oe,_t){return this.manager.addEventListener($e,this.unwrap(Oe),tt=>{tt.target===tt.currentTarget&&_t(tt)})}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})(),_e=(()=>{class se extends te{constructor(){super(...arguments),this.modifier=".silent"}addEventListener($e,Oe,_t){return se.ngZone=this.manager.getZone(),se.ngZone.runOutsideAngular(()=>this.manager.addEventListener($e,this.unwrap(Oe),_t))}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})();const ve=[_e,pe,ce,de,Y,(()=>{class se extends te{constructor(){super(...arguments),this.modifier=".stop"}addEventListener($e,Oe,_t){return this.manager.addEventListener($e,this.unwrap(Oe),tt=>{tt.stopPropagation(),_t(tt)})}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})(),(()=>{class se extends te{constructor(){super(...arguments),this.modifier=".init"}addEventListener(){return console.warn(".init plugin is no longer necessary as of v3.1.0"),()=>{}}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})()].map(se=>({provide:e.s3,multi:!0,useClass:se}));function Ae(se){return(ee,$e,Oe)=>{const{value:_t}=Oe;Oe.value=function(...vt){se.apply(this,vt)&&(_e.ngZone?_e.ngZone.run(()=>_t.apply(this,vt)):_t.apply(this,vt))}}}function Ve(se){return se}let je=(()=>{class se{constructor([$e]){console.assert(!($e instanceof _e)||se.initialized,"EventPluginsModule must come after BrowserModule in imports"),se.initialized=!0}}return se.initialized=!1,se.\u0275fac=function($e){return new($e||se)(s.LFG(e.s3))},se.\u0275mod=s.oAB({type:se}),se.\u0275inj=s.cJS({providers:ve}),se})()},9570:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Al:()=>k,GL:()=>z,Li:()=>W,wq:()=>de,yf:()=>s});var e=c(4537);const s=new e.OlP("POLYMORPHEUS_CONTEXT");class k{constructor(_e,ue){this.component=_e,this.i=ue}createInjector(_e,ue){return e.zs3.create({parent:this.i||_e,providers:[{provide:s,useValue:ue}]})}}let z=(()=>{class Y{constructor(ue,ie){this.template=ue,this.cdr=ie,this.polymorpheus=""}check(){this.cdr.markForCheck()}static ngTemplateContextGuard(ue,ie){return!0}}return Y.\u0275fac=function(ue){return new(ue||Y)(e.Y36(e.Rgc,2),e.Y36(e.sBO))},Y.\u0275dir=e.lG2({type:Y,selectors:[["ng-template","polymorpheus",""]],inputs:{polymorpheus:"polymorpheus"},exportAs:["polymorpheus"]}),Y})();class F{constructor(_e){this.$implicit=_e}get polymorpheusOutlet(){return this.$implicit}}let W=(()=>{class Y{constructor(ue,ie,Ue){this.vcr=ue,this.i=ie,this.t=Ue,this.content=""}get template(){return te(this.content)?this.content.template:this.content instanceof e.Rgc?this.content:this.t}ngOnChanges({content:ue}){var ie;const Ue=this.getContext();if(null===(ie=this.c)||void 0===ie||ie.injector.get(e.sBO).markForCheck(),!ue)return;this.vcr.clear();const ve=Ue&&new Proxy(Ue,{get:(Ae,Ve)=>{var je;return null===(je=this.getContext())||void 0===je?void 0:je[Ve]}});pe(this.content)?this.process(this.content,ve):null!=(Ue instanceof F&&Ue.$implicit)&&this.vcr.createEmbeddedView(this.template,ve)}ngDoCheck(){te(this.content)&&this.content.check()}static ngTemplateContextGuard(ue,ie){return!0}getContext(){return function ce(Y){return te(Y)||Y instanceof e.Rgc}(this.content)||pe(this.content)?this.context:new F("function"==typeof this.content?this.content(this.context):this.content)}process(ue,ie){const Ue=ue.createInjector(this.i,ie);this.c=this.vcr.createComponent(Ue.get(e._Vd).resolveComponentFactory(ue.component),0,Ue)}}return Y.\u0275fac=function(ue){return new(ue||Y)(e.Y36(e.s_b),e.Y36(e.zs3),e.Y36(e.Rgc))},Y.\u0275dir=e.lG2({type:Y,selectors:[["","polymorpheusOutlet",""]],inputs:{content:["polymorpheusOutlet","content"],context:["polymorpheusOutletContext","context"]},features:[e.TTD]}),Y})();function te(Y){return Y instanceof z}function pe(Y){return Y instanceof k}let de=(()=>{class Y{}return Y.\u0275fac=function(ue){return new(ue||Y)},Y.\u0275mod=e.oAB({type:Y}),Y.\u0275inj=e.cJS({}),Y})()},3358:function(Ht){Ht.exports=function(){"use strict";const{entries:Fe,setPrototypeOf:c,isFrozen:e,getPrototypeOf:s,getOwnPropertyDescriptor:k}=Object;let{freeze:z,seal:F,create:ne}=Object,{apply:W,construct:te}=typeof Reflect<"u"&&Reflect;z||(z=function(Xt){return Xt}),F||(F=function(Xt){return Xt}),W||(W=function(Xt,Qt,hn){return Xt.apply(Qt,hn)}),te||(te=function(Xt,Qt){return new Xt(...Qt)});const pe=je(Array.prototype.forEach),ce=je(Array.prototype.pop),de=je(Array.prototype.push),Y=je(String.prototype.toLowerCase),_e=je(String.prototype.toString),ue=je(String.prototype.match),ie=je(String.prototype.replace),Ue=je(String.prototype.indexOf),ve=je(String.prototype.trim),Ae=je(RegExp.prototype.test),Ve=function se(Dt){return function(){for(var Xt=arguments.length,Qt=new Array(Xt),hn=0;hn1?Qt-1:0),cn=1;cn2&&void 0!==arguments[2]?arguments[2]:Y;c&&c(Dt,null);let hn=Xt.length;for(;hn--;){let cn=Xt[hn];if("string"==typeof cn){const yt=Qt(cn);yt!==cn&&(e(Xt)||(Xt[hn]=yt),cn=yt)}Dt[cn]=!0}return Dt}function $e(Dt){for(let Xt=0;Xt/gm),N=F(/\${[\w\W]*}/gm),Se=F(/^data-[\-\w.\u00B7-\uFFFF]/),et=F(/^aria-[\-\w]+$/),pt=F(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),wt=F(/^(?:\w+script|data):/i),Cn=F(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),St=F(/^html$/i);var Ft=Object.freeze({__proto__:null,MUSTACHE_EXPR:q,ERB_EXPR:ze,TMPLIT_EXPR:N,DATA_ATTR:Se,ARIA_ATTR:et,IS_ALLOWED_URI:pt,IS_SCRIPT_OR_DATA:wt,ATTR_WHITESPACE:Cn,DOCTYPE_NAME:St});const It=function(){return typeof window>"u"?null:window},Rt=function(Xt,Qt){if("object"!=typeof Xt||"function"!=typeof Xt.createPolicy)return null;let hn=null;const cn="data-tt-policy-suffix";Qt&&Qt.hasAttribute(cn)&&(hn=Qt.getAttribute(cn));const yt="dompurify"+(hn?"#"+hn:"");try{return Xt.createPolicy(yt,{createHTML:Re=>Re,createScriptURL:Re=>Re})}catch{return console.warn("TrustedTypes policy "+yt+" could not be created."),null}};return function Zt(){let Dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:It();const Xt=Pn=>Zt(Pn);if(Xt.version="3.0.8",Xt.removed=[],!Dt||!Dt.document||9!==Dt.document.nodeType)return Xt.isSupported=!1,Xt;let{document:Qt}=Dt;const hn=Qt,cn=hn.currentScript,{DocumentFragment:yt,HTMLTemplateElement:Re,Node:he,Element:re,NodeFilter:Xe,NamedNodeMap:Le=Dt.NamedNodeMap||Dt.MozNamedAttrMap,HTMLFormElement:fe,DOMParser:We,trustedTypes:ye}=Dt,at=re.prototype,kt=_t(at,"cloneNode"),qt=_t(at,"nextSibling"),Lt=_t(at,"childNodes"),xt=_t(at,"parentNode");if("function"==typeof Re){const Pn=Qt.createElement("template");Pn.content&&Pn.content.ownerDocument&&(Qt=Pn.content.ownerDocument)}let Wt,Pt="";const{implementation:an,createNodeIterator:fn,createDocumentFragment:Ke,getElementsByTagName:ot}=Qt,{importNode:lt}=hn;let it={};Xt.isSupported="function"==typeof Fe&&"function"==typeof xt&&an&&void 0!==an.createHTMLDocument;const{MUSTACHE_EXPR:st,ERB_EXPR:V,TMPLIT_EXPR:Pe,DATA_ATTR:bt,ARIA_ATTR:gt,IS_SCRIPT_OR_DATA:on,ATTR_WHITESPACE:$t}=Ft;let{IS_ALLOWED_URI:vn}=Ft,Jt=null;const Nn=ee({},[...vt,...tt,...we,...At,...qe]);let Mn=null;const oe=ee({},[...Ge,...R,...be,...S]);let Q=Object.seal(ne(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),H=null,le=null,Ie=!0,rt=!0,nt=!1,ut=!0,He=!1,Ne=!1,U=!1,I=!1,A=!1,$=!1,xe=!1,ct=!0,dt=!1,Yt=!0,rn=!1,en={},gn=null;const pn=ee({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let In=null;const Kn=ee({},["audio","video","img","source","image","track"]);let mn=null;const xn=ee({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$n="http://www.w3.org/1998/Math/MathML",ci="http://www.w3.org/2000/svg",ri="http://www.w3.org/1999/xhtml";let Xn=ri,Yn=!1,Qn=null;const Ai=ee({},[$n,ci,ri],_e);let Ji=null;const Wn=["application/xhtml+xml","text/html"],Ti="text/html";let ti=null,Mi=null;const to=Qt.createElement("form"),Ri=function(Nt){return Nt instanceof RegExp||Nt instanceof Function},Wo=function(){let Nt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Mi||Mi!==Nt){if((!Nt||"object"!=typeof Nt)&&(Nt={}),Nt=Oe(Nt),Ji=-1===Wn.indexOf(Nt.PARSER_MEDIA_TYPE)?Ti:Nt.PARSER_MEDIA_TYPE,ti="application/xhtml+xml"===Ji?_e:Y,Jt="ALLOWED_TAGS"in Nt?ee({},Nt.ALLOWED_TAGS,ti):Nn,Mn="ALLOWED_ATTR"in Nt?ee({},Nt.ALLOWED_ATTR,ti):oe,Qn="ALLOWED_NAMESPACES"in Nt?ee({},Nt.ALLOWED_NAMESPACES,_e):Ai,mn="ADD_URI_SAFE_ATTR"in Nt?ee(Oe(xn),Nt.ADD_URI_SAFE_ATTR,ti):xn,In="ADD_DATA_URI_TAGS"in Nt?ee(Oe(Kn),Nt.ADD_DATA_URI_TAGS,ti):Kn,gn="FORBID_CONTENTS"in Nt?ee({},Nt.FORBID_CONTENTS,ti):pn,H="FORBID_TAGS"in Nt?ee({},Nt.FORBID_TAGS,ti):{},le="FORBID_ATTR"in Nt?ee({},Nt.FORBID_ATTR,ti):{},en="USE_PROFILES"in Nt&&Nt.USE_PROFILES,Ie=!1!==Nt.ALLOW_ARIA_ATTR,rt=!1!==Nt.ALLOW_DATA_ATTR,nt=Nt.ALLOW_UNKNOWN_PROTOCOLS||!1,ut=!1!==Nt.ALLOW_SELF_CLOSE_IN_ATTR,He=Nt.SAFE_FOR_TEMPLATES||!1,Ne=Nt.WHOLE_DOCUMENT||!1,A=Nt.RETURN_DOM||!1,$=Nt.RETURN_DOM_FRAGMENT||!1,xe=Nt.RETURN_TRUSTED_TYPE||!1,I=Nt.FORCE_BODY||!1,ct=!1!==Nt.SANITIZE_DOM,dt=Nt.SANITIZE_NAMED_PROPS||!1,Yt=!1!==Nt.KEEP_CONTENT,rn=Nt.IN_PLACE||!1,vn=Nt.ALLOWED_URI_REGEXP||pt,Xn=Nt.NAMESPACE||ri,Q=Nt.CUSTOM_ELEMENT_HANDLING||{},Nt.CUSTOM_ELEMENT_HANDLING&&Ri(Nt.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Q.tagNameCheck=Nt.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Nt.CUSTOM_ELEMENT_HANDLING&&Ri(Nt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Q.attributeNameCheck=Nt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Nt.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof Nt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Q.allowCustomizedBuiltInElements=Nt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),He&&(rt=!1),$&&(A=!0),en&&(Jt=ee({},qe),Mn=[],!0===en.html&&(ee(Jt,vt),ee(Mn,Ge)),!0===en.svg&&(ee(Jt,tt),ee(Mn,R),ee(Mn,S)),!0===en.svgFilters&&(ee(Jt,we),ee(Mn,R),ee(Mn,S)),!0===en.mathMl&&(ee(Jt,At),ee(Mn,be),ee(Mn,S))),Nt.ADD_TAGS&&(Jt===Nn&&(Jt=Oe(Jt)),ee(Jt,Nt.ADD_TAGS,ti)),Nt.ADD_ATTR&&(Mn===oe&&(Mn=Oe(Mn)),ee(Mn,Nt.ADD_ATTR,ti)),Nt.ADD_URI_SAFE_ATTR&&ee(mn,Nt.ADD_URI_SAFE_ATTR,ti),Nt.FORBID_CONTENTS&&(gn===pn&&(gn=Oe(gn)),ee(gn,Nt.FORBID_CONTENTS,ti)),Yt&&(Jt["#text"]=!0),Ne&&ee(Jt,["html","head","body"]),Jt.table&&(ee(Jt,["tbody"]),delete H.tbody),Nt.TRUSTED_TYPES_POLICY){if("function"!=typeof Nt.TRUSTED_TYPES_POLICY.createHTML)throw Ve('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof Nt.TRUSTED_TYPES_POLICY.createScriptURL)throw Ve('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Wt=Nt.TRUSTED_TYPES_POLICY,Pt=Wt.createHTML("")}else void 0===Wt&&(Wt=Rt(ye,cn)),null!==Wt&&"string"==typeof Pt&&(Pt=Wt.createHTML(""));z&&z(Nt),Mi=Nt}},wo=ee({},["mi","mo","mn","ms","mtext"]),no=ee({},["foreignobject","desc","title","annotation-xml"]),qo=ee({},["title","style","font","a","script"]),lr=ee({},[...tt,...we,...mt]),ui=ee({},[...At,...Qe]),Qi=function(Nt){de(Xt.removed,{element:Nt});try{Nt.parentNode.removeChild(Nt)}catch{Nt.remove()}},yo=function(Nt,yn){try{de(Xt.removed,{attribute:yn.getAttributeNode(Nt),from:yn})}catch{de(Xt.removed,{attribute:null,from:yn})}if(yn.removeAttribute(Nt),"is"===Nt&&!Mn[Nt])if(A||$)try{Qi(yn)}catch{}else try{yn.setAttribute(Nt,"")}catch{}},Po=function(Nt){let yn=null,Rn=null;if(I)Nt=""+Nt;else{const Bi=ue(Nt,/^[\r\n\t ]+/);Rn=Bi&&Bi[0]}"application/xhtml+xml"===Ji&&Xn===ri&&(Nt=''+Nt+"");const vi=Wt?Wt.createHTML(Nt):Nt;if(Xn===ri)try{yn=(new We).parseFromString(vi,Ji)}catch{}if(!yn||!yn.documentElement){yn=an.createDocument(Xn,"template",null);try{yn.documentElement.innerHTML=Yn?Pt:vi}catch{}}const Ii=yn.body||yn.documentElement;return Nt&&Rn&&Ii.insertBefore(Qt.createTextNode(Rn),Ii.childNodes[0]||null),Xn===ri?ot.call(yn,Ne?"html":"body")[0]:Ne?yn.documentElement:Ii},Vo=function(Nt){return fn.call(Nt.ownerDocument||Nt,Nt,Xe.SHOW_ELEMENT|Xe.SHOW_COMMENT|Xe.SHOW_TEXT,null)},ji=function(Nt){return"function"==typeof he&&Nt instanceof he},io=function(Nt,yn,Rn){it[Nt]&&pe(it[Nt],vi=>{vi.call(Xt,yn,Rn,Mi)})},Li=function(Nt){let yn=null;if(io("beforeSanitizeElements",Nt,null),function(Nt){return Nt instanceof fe&&("string"!=typeof Nt.nodeName||"string"!=typeof Nt.textContent||"function"!=typeof Nt.removeChild||!(Nt.attributes instanceof Le)||"function"!=typeof Nt.removeAttribute||"function"!=typeof Nt.setAttribute||"string"!=typeof Nt.namespaceURI||"function"!=typeof Nt.insertBefore||"function"!=typeof Nt.hasChildNodes)}(Nt))return Qi(Nt),!0;const Rn=ti(Nt.nodeName);if(io("uponSanitizeElement",Nt,{tagName:Rn,allowedTags:Jt}),Nt.hasChildNodes()&&!ji(Nt.firstElementChild)&&Ae(/<[/\w]/g,Nt.innerHTML)&&Ae(/<[/\w]/g,Nt.textContent))return Qi(Nt),!0;if(!Jt[Rn]||H[Rn]){if(!H[Rn]&&Si(Rn)&&(Q.tagNameCheck instanceof RegExp&&Ae(Q.tagNameCheck,Rn)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(Rn)))return!1;if(Yt&&!gn[Rn]){const vi=xt(Nt)||Nt.parentNode,Ii=Lt(Nt)||Nt.childNodes;if(Ii&&vi)for(let xi=Ii.length-1;xi>=0;--xi)vi.insertBefore(kt(Ii[xi],!0),qt(Nt))}return Qi(Nt),!0}return Nt instanceof re&&!function(Nt){let yn=xt(Nt);(!yn||!yn.tagName)&&(yn={namespaceURI:Xn,tagName:"template"});const Rn=Y(Nt.tagName),vi=Y(yn.tagName);return!!Qn[Nt.namespaceURI]&&(Nt.namespaceURI===ci?yn.namespaceURI===ri?"svg"===Rn:yn.namespaceURI===$n?"svg"===Rn&&("annotation-xml"===vi||wo[vi]):Boolean(lr[Rn]):Nt.namespaceURI===$n?yn.namespaceURI===ri?"math"===Rn:yn.namespaceURI===ci?"math"===Rn&&no[vi]:Boolean(ui[Rn]):Nt.namespaceURI===ri?!(yn.namespaceURI===ci&&!no[vi]||yn.namespaceURI===$n&&!wo[vi])&&!ui[Rn]&&(qo[Rn]||!lr[Rn]):!("application/xhtml+xml"!==Ji||!Qn[Nt.namespaceURI]))}(Nt)||("noscript"===Rn||"noembed"===Rn||"noframes"===Rn)&&Ae(/<\/no(script|embed|frames)/i,Nt.innerHTML)?(Qi(Nt),!0):(He&&3===Nt.nodeType&&(yn=Nt.textContent,pe([st,V,Pe],vi=>{yn=ie(yn,vi," ")}),Nt.textContent!==yn&&(de(Xt.removed,{element:Nt.cloneNode()}),Nt.textContent=yn)),io("afterSanitizeElements",Nt,null),!1)},Yi=function(Nt,yn,Rn){if(ct&&("id"===yn||"name"===yn)&&(Rn in Qt||Rn in to))return!1;if((!rt||le[yn]||!Ae(bt,yn))&&(!Ie||!Ae(gt,yn)))if(!Mn[yn]||le[yn]){if(!(Si(Nt)&&(Q.tagNameCheck instanceof RegExp&&Ae(Q.tagNameCheck,Nt)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(Nt))&&(Q.attributeNameCheck instanceof RegExp&&Ae(Q.attributeNameCheck,yn)||Q.attributeNameCheck instanceof Function&&Q.attributeNameCheck(yn))||"is"===yn&&Q.allowCustomizedBuiltInElements&&(Q.tagNameCheck instanceof RegExp&&Ae(Q.tagNameCheck,Rn)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(Rn))))return!1}else if(!mn[yn]&&!Ae(vn,ie(Rn,$t,""))&&("src"!==yn&&"xlink:href"!==yn&&"href"!==yn||"script"===Nt||0!==Ue(Rn,"data:")||!In[Nt])&&(!nt||Ae(on,ie(Rn,$t,"")))&&Rn)return!1;return!0},Si=function(Nt){return Nt.indexOf("-")>0},oo=function(Nt){io("beforeSanitizeAttributes",Nt,null);const{attributes:yn}=Nt;if(!yn)return;const Rn={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Mn};let vi=yn.length;for(;vi--;){const Ii=yn[vi],{name:Bi,namespaceURI:xi,value:Ao}=Ii,Co=ti(Bi);let Ki="value"===Bi?Ao:ve(Ao);if(Rn.attrName=Co,Rn.attrValue=Ki,Rn.keepAttr=!0,Rn.forceKeepAttr=void 0,io("uponSanitizeAttribute",Nt,Rn),Ki=Rn.attrValue,Rn.forceKeepAttr||(yo(Bi,Nt),!Rn.keepAttr))continue;if(!ut&&Ae(/\/>/i,Ki)){yo(Bi,Nt);continue}He&&pe([st,V,Pe],Do=>{Ki=ie(Ki,Do," ")});const Yo=ti(Nt.nodeName);if(Yi(Yo,Co,Ki)){if(dt&&("id"===Co||"name"===Co)&&(yo(Bi,Nt),Ki="user-content-"+Ki),Wt&&"object"==typeof ye&&"function"==typeof ye.getAttributeType&&!xi)switch(ye.getAttributeType(Yo,Co)){case"TrustedHTML":Ki=Wt.createHTML(Ki);break;case"TrustedScriptURL":Ki=Wt.createScriptURL(Ki)}try{xi?Nt.setAttributeNS(xi,Bi,Ki):Nt.setAttribute(Bi,Ki),ce(Xt.removed)}catch{}}}io("afterSanitizeAttributes",Nt,null)},go=function Pn(Nt){let yn=null;const Rn=Vo(Nt);for(io("beforeSanitizeShadowDOM",Nt,null);yn=Rn.nextNode();)io("uponSanitizeShadowNode",yn,null),!Li(yn)&&(yn.content instanceof yt&&Pn(yn.content),oo(yn));io("afterSanitizeShadowDOM",Nt,null)};return Xt.sanitize=function(Pn){let Nt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},yn=null,Rn=null,vi=null,Ii=null;if(Yn=!Pn,Yn&&(Pn="\x3c!--\x3e"),"string"!=typeof Pn&&!ji(Pn)){if("function"!=typeof Pn.toString)throw Ve("toString is not a function");if("string"!=typeof(Pn=Pn.toString()))throw Ve("dirty is not a string, aborting")}if(!Xt.isSupported)return Pn;if(U||Wo(Nt),Xt.removed=[],"string"==typeof Pn&&(rn=!1),rn){if(Pn.nodeName){const Ao=ti(Pn.nodeName);if(!Jt[Ao]||H[Ao])throw Ve("root node is forbidden and cannot be sanitized in-place")}}else if(Pn instanceof he)yn=Po("\x3c!----\x3e"),Rn=yn.ownerDocument.importNode(Pn,!0),1===Rn.nodeType&&"BODY"===Rn.nodeName||"HTML"===Rn.nodeName?yn=Rn:yn.appendChild(Rn);else{if(!A&&!He&&!Ne&&-1===Pn.indexOf("<"))return Wt&&xe?Wt.createHTML(Pn):Pn;if(yn=Po(Pn),!yn)return A?null:xe?Pt:""}yn&&I&&Qi(yn.firstChild);const Bi=Vo(rn?Pn:yn);for(;vi=Bi.nextNode();)Li(vi)||(vi.content instanceof yt&&go(vi.content),oo(vi));if(rn)return Pn;if(A){if($)for(Ii=Ke.call(yn.ownerDocument);yn.firstChild;)Ii.appendChild(yn.firstChild);else Ii=yn;return(Mn.shadowroot||Mn.shadowrootmode)&&(Ii=lt.call(hn,Ii,!0)),Ii}let xi=Ne?yn.outerHTML:yn.innerHTML;return Ne&&Jt["!doctype"]&&yn.ownerDocument&&yn.ownerDocument.doctype&&yn.ownerDocument.doctype.name&&Ae(St,yn.ownerDocument.doctype.name)&&(xi="\n"+xi),He&&pe([st,V,Pe],Ao=>{xi=ie(xi,Ao," ")}),Wt&&xe?Wt.createHTML(xi):xi},Xt.setConfig=function(){Wo(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),U=!0},Xt.clearConfig=function(){Mi=null,U=!1},Xt.isValidAttribute=function(Pn,Nt,yn){Mi||Wo({});const Rn=ti(Pn),vi=ti(Nt);return Yi(Rn,vi,yn)},Xt.addHook=function(Pn,Nt){"function"==typeof Nt&&(it[Pn]=it[Pn]||[],de(it[Pn],Nt))},Xt.removeHook=function(Pn){if(it[Pn])return ce(it[Pn])},Xt.removeHooks=function(Pn){it[Pn]&&(it[Pn]=[])},Xt.removeAllHooks=function(){it={}},Xt}()}()},4121:(Ht,Fe,c)=>{"use strict";c.d(Fe,{X:()=>s});var e=c(8023);class s extends e.x{constructor(z){super(),this._value=z}get value(){return this.getValue()}_subscribe(z){const F=super._subscribe(z);return!F.closed&&z.next(this._value),F}getValue(){const{hasError:z,thrownError:F,_value:ne}=this;if(z)throw F;return this._throwIfClosed(),ne}next(z){super.next(this._value=z)}}},7241:(Ht,Fe,c)=>{"use strict";c.d(Fe,{y:()=>te});var e=c(4021),s=c(4813),k=c(3122),z=c(7824),F=c(2046),ne=c(5975),W=c(1519);let te=(()=>{class Y{constructor(ue){ue&&(this._subscribe=ue)}lift(ue){const ie=new Y;return ie.source=this,ie.operator=ue,ie}subscribe(ue,ie,Ue){const ve=function de(Y){return Y&&Y instanceof e.Lv||function ce(Y){return Y&&(0,ne.m)(Y.next)&&(0,ne.m)(Y.error)&&(0,ne.m)(Y.complete)}(Y)&&(0,s.Nn)(Y)}(ue)?ue:new e.Hp(ue,ie,Ue);return(0,W.x)(()=>{const{operator:Ae,source:Ve}=this;ve.add(Ae?Ae.call(ve,Ve):Ve?this._subscribe(ve):this._trySubscribe(ve))}),ve}_trySubscribe(ue){try{return this._subscribe(ue)}catch(ie){ue.error(ie)}}forEach(ue,ie){return new(ie=pe(ie))((Ue,ve)=>{const Ae=new e.Hp({next:Ve=>{try{ue(Ve)}catch(je){ve(je),Ae.unsubscribe()}},error:ve,complete:Ue});this.subscribe(Ae)})}_subscribe(ue){var ie;return null===(ie=this.source)||void 0===ie?void 0:ie.subscribe(ue)}[k.L](){return this}pipe(...ue){return(0,z.U)(ue)(this)}toPromise(ue){return new(ue=pe(ue))((ie,Ue)=>{let ve;this.subscribe(Ae=>ve=Ae,Ae=>Ue(Ae),()=>ie(ve))})}}return Y.create=_e=>new Y(_e),Y})();function pe(Y){var _e;return null!==(_e=null!=Y?Y:F.v.Promise)&&void 0!==_e?_e:Promise}},5557:(Ht,Fe,c)=>{"use strict";c.d(Fe,{t:()=>k});var e=c(8023),s=c(2069);class k extends e.x{constructor(F=1/0,ne=1/0,W=s.l){super(),this._bufferSize=F,this._windowTime=ne,this._timestampProvider=W,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=ne===1/0,this._bufferSize=Math.max(1,F),this._windowTime=Math.max(1,ne)}next(F){const{isStopped:ne,_buffer:W,_infiniteTimeWindow:te,_timestampProvider:pe,_windowTime:ce}=this;ne||(W.push(F),!te&&W.push(pe.now()+ce)),this._trimBuffer(),super.next(F)}_subscribe(F){this._throwIfClosed(),this._trimBuffer();const ne=this._innerSubscribe(F),{_infiniteTimeWindow:W,_buffer:te}=this,pe=te.slice();for(let ce=0;ce{"use strict";c.d(Fe,{x:()=>W});var e=c(7241),s=c(4813);const z=(0,c(5776).d)(pe=>function(){pe(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var F=c(8308),ne=c(1519);let W=(()=>{class pe extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(de){const Y=new te(this,this);return Y.operator=de,Y}_throwIfClosed(){if(this.closed)throw new z}next(de){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Y of this.currentObservers)Y.next(de)}})}error(de){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=de;const{observers:Y}=this;for(;Y.length;)Y.shift().error(de)}})}complete(){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:de}=this;for(;de.length;)de.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var de;return(null===(de=this.observers)||void 0===de?void 0:de.length)>0}_trySubscribe(de){return this._throwIfClosed(),super._trySubscribe(de)}_subscribe(de){return this._throwIfClosed(),this._checkFinalizedStatuses(de),this._innerSubscribe(de)}_innerSubscribe(de){const{hasError:Y,isStopped:_e,observers:ue}=this;return Y||_e?s.Lc:(this.currentObservers=null,ue.push(de),new s.w0(()=>{this.currentObservers=null,(0,F.P)(ue,de)}))}_checkFinalizedStatuses(de){const{hasError:Y,thrownError:_e,isStopped:ue}=this;Y?de.error(_e):ue&&de.complete()}asObservable(){const de=new e.y;return de.source=this,de}}return pe.create=(ce,de)=>new te(ce,de),pe})();class te extends W{constructor(ce,de){super(),this.destination=ce,this.source=de}next(ce){var de,Y;null===(Y=null===(de=this.destination)||void 0===de?void 0:de.next)||void 0===Y||Y.call(de,ce)}error(ce){var de,Y;null===(Y=null===(de=this.destination)||void 0===de?void 0:de.error)||void 0===Y||Y.call(de,ce)}complete(){var ce,de;null===(de=null===(ce=this.destination)||void 0===ce?void 0:ce.complete)||void 0===de||de.call(ce)}_subscribe(ce){var de,Y;return null!==(Y=null===(de=this.source)||void 0===de?void 0:de.subscribe(ce))&&void 0!==Y?Y:s.Lc}}},4021:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Hp:()=>Ue,Lv:()=>Y});var e=c(5975),s=c(4813),k=c(2046),z=c(4922),F=c(408);const ne=pe("C",void 0,void 0);function pe(se,ee,$e){return{kind:se,value:ee,error:$e}}var ce=c(4146),de=c(1519);class Y extends s.w0{constructor(ee){super(),this.isStopped=!1,ee?(this.destination=ee,(0,s.Nn)(ee)&&ee.add(this)):this.destination=je}static create(ee,$e,Oe){return new Ue(ee,$e,Oe)}next(ee){this.isStopped?Ve(function te(se){return pe("N",se,void 0)}(ee),this):this._next(ee)}error(ee){this.isStopped?Ve(function W(se){return pe("E",void 0,se)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?Ve(ne,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ee){this.destination.next(ee)}_error(ee){try{this.destination.error(ee)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const _e=Function.prototype.bind;function ue(se,ee){return _e.call(se,ee)}class ie{constructor(ee){this.partialObserver=ee}next(ee){const{partialObserver:$e}=this;if($e.next)try{$e.next(ee)}catch(Oe){ve(Oe)}}error(ee){const{partialObserver:$e}=this;if($e.error)try{$e.error(ee)}catch(Oe){ve(Oe)}else ve(ee)}complete(){const{partialObserver:ee}=this;if(ee.complete)try{ee.complete()}catch($e){ve($e)}}}class Ue extends Y{constructor(ee,$e,Oe){let _t;if(super(),(0,e.m)(ee)||!ee)_t={next:null!=ee?ee:void 0,error:null!=$e?$e:void 0,complete:null!=Oe?Oe:void 0};else{let vt;this&&k.v.useDeprecatedNextContext?(vt=Object.create(ee),vt.unsubscribe=()=>this.unsubscribe(),_t={next:ee.next&&ue(ee.next,vt),error:ee.error&&ue(ee.error,vt),complete:ee.complete&&ue(ee.complete,vt)}):_t=ee}this.destination=new ie(_t)}}function ve(se){k.v.useDeprecatedSynchronousErrorHandling?(0,de.O)(se):(0,z.h)(se)}function Ve(se,ee){const{onStoppedNotification:$e}=k.v;$e&&ce.z.setTimeout(()=>$e(se,ee))}const je={closed:!0,next:F.Z,error:function Ae(se){throw se},complete:F.Z}},4813:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Lc:()=>ne,w0:()=>F,Nn:()=>W});var e=c(5975);const k=(0,c(5776).d)(pe=>function(de){pe(this),this.message=de?`${de.length} errors occurred during unsubscription:\n${de.map((Y,_e)=>`${_e+1}) ${Y.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=de});var z=c(8308);class F{constructor(ce){this.initialTeardown=ce,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ce;if(!this.closed){this.closed=!0;const{_parentage:de}=this;if(de)if(this._parentage=null,Array.isArray(de))for(const ue of de)ue.remove(this);else de.remove(this);const{initialTeardown:Y}=this;if((0,e.m)(Y))try{Y()}catch(ue){ce=ue instanceof k?ue.errors:[ue]}const{_finalizers:_e}=this;if(_e){this._finalizers=null;for(const ue of _e)try{te(ue)}catch(ie){ce=null!=ce?ce:[],ie instanceof k?ce=[...ce,...ie.errors]:ce.push(ie)}}if(ce)throw new k(ce)}}add(ce){var de;if(ce&&ce!==this)if(this.closed)te(ce);else{if(ce instanceof F){if(ce.closed||ce._hasParent(this))return;ce._addParent(this)}(this._finalizers=null!==(de=this._finalizers)&&void 0!==de?de:[]).push(ce)}}_hasParent(ce){const{_parentage:de}=this;return de===ce||Array.isArray(de)&&de.includes(ce)}_addParent(ce){const{_parentage:de}=this;this._parentage=Array.isArray(de)?(de.push(ce),de):de?[de,ce]:ce}_removeParent(ce){const{_parentage:de}=this;de===ce?this._parentage=null:Array.isArray(de)&&(0,z.P)(de,ce)}remove(ce){const{_finalizers:de}=this;de&&(0,z.P)(de,ce),ce instanceof F&&ce._removeParent(this)}}F.EMPTY=(()=>{const pe=new F;return pe.closed=!0,pe})();const ne=F.EMPTY;function W(pe){return pe instanceof F||pe&&"closed"in pe&&(0,e.m)(pe.remove)&&(0,e.m)(pe.add)&&(0,e.m)(pe.unsubscribe)}function te(pe){(0,e.m)(pe)?pe():pe.unsubscribe()}},2046:(Ht,Fe,c)=>{"use strict";c.d(Fe,{v:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5696:(Ht,Fe,c)=>{"use strict";c.d(Fe,{a:()=>ce});var e=c(7241),s=c(447),k=c(985),z=c(8330),F=c(2692),ne=c(6651),W=c(9299),te=c(8499),pe=c(6903);function ce(..._e){const ue=(0,ne.yG)(_e),ie=(0,ne.jO)(_e),{args:Ue,keys:ve}=(0,s.D)(_e);if(0===Ue.length)return(0,k.D)([],ue);const Ae=new e.y(function de(_e,ue,ie=z.y){return Ue=>{Y(ue,()=>{const{length:ve}=_e,Ae=new Array(ve);let Ve=ve,je=ve;for(let se=0;se{const ee=(0,k.D)(_e[se],ue);let $e=!1;ee.subscribe((0,te.x)(Ue,Oe=>{Ae[se]=Oe,$e||($e=!0,je--),je||Ue.next(ie(Ae.slice()))},()=>{--Ve||Ue.complete()}))},Ue)},Ue)}}(Ue,ue,ve?Ve=>(0,W.n)(ve,Ve):z.y));return ie?Ae.pipe((0,F.Z)(ie)):Ae}function Y(_e,ue,ie){_e?(0,pe.f)(ie,_e,ue):ue()}},3729:(Ht,Fe,c)=>{"use strict";c.d(Fe,{z:()=>F});var e=c(549),k=c(6651),z=c(985);function F(...ne){return function s(){return(0,e.J)(1)}()((0,z.D)(ne,(0,k.yG)(ne)))}},3072:(Ht,Fe,c)=>{"use strict";c.d(Fe,{P:()=>k});var e=c(7241),s=c(5955);function k(z){return new e.y(F=>{(0,s.Xf)(z()).subscribe(F)})}},9018:(Ht,Fe,c)=>{"use strict";c.d(Fe,{E:()=>s});const s=new(c(7241).y)(F=>F.complete())},985:(Ht,Fe,c)=>{"use strict";c.d(Fe,{D:()=>Oe});var e=c(5955),s=c(6903),k=c(2085),z=c(8499);function F(_t,vt=0){return(0,k.e)((tt,we)=>{tt.subscribe((0,z.x)(we,mt=>(0,s.f)(we,_t,()=>we.next(mt),vt),()=>(0,s.f)(we,_t,()=>we.complete(),vt),mt=>(0,s.f)(we,_t,()=>we.error(mt),vt)))})}function ne(_t,vt=0){return(0,k.e)((tt,we)=>{we.add(_t.schedule(()=>tt.subscribe(we),vt))})}var pe=c(7241),de=c(4565),Y=c(5975);function ue(_t,vt){if(!_t)throw new Error("Iterable cannot be null");return new pe.y(tt=>{(0,s.f)(tt,vt,()=>{const we=_t[Symbol.asyncIterator]();(0,s.f)(tt,vt,()=>{we.next().then(mt=>{mt.done?tt.complete():tt.next(mt.value)})},0,!0)})})}var ie=c(2021),Ue=c(9450),ve=c(6602),Ae=c(6920),Ve=c(2604),je=c(5626),se=c(1559);function Oe(_t,vt){return vt?function $e(_t,vt){if(null!=_t){if((0,ie.c)(_t))return function W(_t,vt){return(0,e.Xf)(_t).pipe(ne(vt),F(vt))}(_t,vt);if((0,ve.z)(_t))return function ce(_t,vt){return new pe.y(tt=>{let we=0;return vt.schedule(function(){we===_t.length?tt.complete():(tt.next(_t[we++]),tt.closed||this.schedule())})})}(_t,vt);if((0,Ue.t)(_t))return function te(_t,vt){return(0,e.Xf)(_t).pipe(ne(vt),F(vt))}(_t,vt);if((0,Ve.D)(_t))return ue(_t,vt);if((0,Ae.T)(_t))return function _e(_t,vt){return new pe.y(tt=>{let we;return(0,s.f)(tt,vt,()=>{we=_t[de.h](),(0,s.f)(tt,vt,()=>{let mt,At;try{({value:mt,done:At}=we.next())}catch(Qe){return void tt.error(Qe)}At?tt.complete():tt.next(mt)},0,!0)}),()=>(0,Y.m)(null==we?void 0:we.return)&&we.return()})}(_t,vt);if((0,se.L)(_t))return function ee(_t,vt){return ue((0,se.Q)(_t),vt)}(_t,vt)}throw(0,je.z)(_t)}(_t,vt):(0,e.Xf)(_t)}},4581:(Ht,Fe,c)=>{"use strict";c.d(Fe,{R:()=>ce});var e=c(5955),s=c(7241),k=c(4882),z=c(6602),F=c(5975),ne=c(2692);const W=["addListener","removeListener"],te=["addEventListener","removeEventListener"],pe=["on","off"];function ce(ie,Ue,ve,Ae){if((0,F.m)(ve)&&(Ae=ve,ve=void 0),Ae)return ce(ie,Ue,ve).pipe((0,ne.Z)(Ae));const[Ve,je]=function ue(ie){return(0,F.m)(ie.addEventListener)&&(0,F.m)(ie.removeEventListener)}(ie)?te.map(se=>ee=>ie[se](Ue,ee,ve)):function Y(ie){return(0,F.m)(ie.addListener)&&(0,F.m)(ie.removeListener)}(ie)?W.map(de(ie,Ue)):function _e(ie){return(0,F.m)(ie.on)&&(0,F.m)(ie.off)}(ie)?pe.map(de(ie,Ue)):[];if(!Ve&&(0,z.z)(ie))return(0,k.z)(se=>ce(se,Ue,ve))((0,e.Xf)(ie));if(!Ve)throw new TypeError("Invalid event target");return new s.y(se=>{const ee=(...$e)=>se.next(1<$e.length?$e:$e[0]);return Ve(ee),()=>je(ee)})}function de(ie,Ue){return ve=>Ae=>ie[ve](Ue,Ae)}},5955:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Xf:()=>_e});var e=c(4911),s=c(6602),k=c(9450),z=c(7241),F=c(2021),ne=c(2604),W=c(5626),te=c(6920),pe=c(1559),ce=c(5975),de=c(4922),Y=c(3122);function _e(se){if(se instanceof z.y)return se;if(null!=se){if((0,F.c)(se))return function ue(se){return new z.y(ee=>{const $e=se[Y.L]();if((0,ce.m)($e.subscribe))return $e.subscribe(ee);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(se);if((0,s.z)(se))return function ie(se){return new z.y(ee=>{for(let $e=0;$e{se.then($e=>{ee.closed||(ee.next($e),ee.complete())},$e=>ee.error($e)).then(null,de.h)})}(se);if((0,ne.D)(se))return Ae(se);if((0,te.T)(se))return function ve(se){return new z.y(ee=>{for(const $e of se)if(ee.next($e),ee.closed)return;ee.complete()})}(se);if((0,pe.L)(se))return function Ve(se){return Ae((0,pe.Q)(se))}(se)}throw(0,W.z)(se)}function Ae(se){return new z.y(ee=>{(function je(se,ee){var $e,Oe,_t,vt;return(0,e.mG)(this,void 0,void 0,function*(){try{for($e=(0,e.KL)(se);!(Oe=yield $e.next()).done;)if(ee.next(Oe.value),ee.closed)return}catch(tt){_t={error:tt}}finally{try{Oe&&!Oe.done&&(vt=$e.return)&&(yield vt.call($e))}finally{if(_t)throw _t.error}}ee.complete()})})(se,ee).catch($e=>ee.error($e))})}},1860:(Ht,Fe,c)=>{"use strict";c.d(Fe,{T:()=>ne});var e=c(549),s=c(5955),k=c(9018),z=c(6651),F=c(985);function ne(...W){const te=(0,z.yG)(W),pe=(0,z._6)(W,1/0),ce=W;return ce.length?1===ce.length?(0,s.Xf)(ce[0]):(0,e.J)(pe)((0,F.D)(ce,te)):k.E}},4945:(Ht,Fe,c)=>{"use strict";c.d(Fe,{of:()=>k});var e=c(6651),s=c(985);function k(...z){const F=(0,e.yG)(z);return(0,s.D)(z,F)}},3787:(Ht,Fe,c)=>{"use strict";c.d(Fe,{_:()=>k});var e=c(7241),s=c(5975);function k(z,F){const ne=(0,s.m)(z)?z:()=>z,W=te=>te.error(ne());return new e.y(F?te=>F.schedule(W,0,te):W)}},1995:(Ht,Fe,c)=>{"use strict";c.d(Fe,{H:()=>F});var e=c(7241),s=c(6523),k=c(1830);function F(ne=0,W,te=s.P){let pe=-1;return null!=W&&((0,k.K)(W)?te=W:pe=W),new e.y(ce=>{let de=function z(ne){return ne instanceof Date&&!isNaN(ne)}(ne)?+ne-te.now():ne;de<0&&(de=0);let Y=0;return te.schedule(function(){ce.closed||(ce.next(Y++),0<=pe?this.schedule(void 0,pe):ce.complete())},de)})}},8499:(Ht,Fe,c)=>{"use strict";c.d(Fe,{x:()=>s});var e=c(4021);function s(z,F,ne,W,te){return new k(z,F,ne,W,te)}class k extends e.Lv{constructor(F,ne,W,te,pe,ce){super(F),this.onFinalize=pe,this.shouldUnsubscribe=ce,this._next=ne?function(de){try{ne(de)}catch(Y){F.error(Y)}}:super._next,this._error=te?function(de){try{te(de)}catch(Y){F.error(Y)}finally{this.unsubscribe()}}:super._error,this._complete=W?function(){try{W()}catch(de){F.error(de)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var F;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ne}=this;super.unsubscribe(),!ne&&(null===(F=this.onFinalize)||void 0===F||F.call(this))}}}},3568:(Ht,Fe,c)=>{"use strict";c.d(Fe,{K:()=>z});var e=c(5955),s=c(8499),k=c(2085);function z(F){return(0,k.e)((ne,W)=>{let ce,te=null,pe=!1;te=ne.subscribe((0,s.x)(W,void 0,void 0,de=>{ce=(0,e.Xf)(F(de,z(F)(ne))),te?(te.unsubscribe(),te=null,ce.subscribe(W)):pe=!0})),pe&&(te.unsubscribe(),te=null,ce.subscribe(W))})}},4551:(Ht,Fe,c)=>{"use strict";c.d(Fe,{b:()=>k});var e=c(4882),s=c(5975);function k(z,F){return(0,s.m)(F)?(0,e.z)(z,F,1):(0,e.z)(z,1)}},3151:(Ht,Fe,c)=>{"use strict";c.d(Fe,{b:()=>z});var e=c(6523),s=c(2085),k=c(8499);function z(F,ne=e.z){return(0,s.e)((W,te)=>{let pe=null,ce=null,de=null;const Y=()=>{if(pe){pe.unsubscribe(),pe=null;const ue=ce;ce=null,te.next(ue)}};function _e(){const ue=de+F,ie=ne.now();if(ie{ce=ue,de=ne.now(),pe||(pe=ne.schedule(_e,F),te.add(pe))},()=>{Y(),te.complete()},void 0,()=>{ce=pe=null}))})}},2686:(Ht,Fe,c)=>{"use strict";c.d(Fe,{d:()=>k});var e=c(2085),s=c(8499);function k(z){return(0,e.e)((F,ne)=>{let W=!1;F.subscribe((0,s.x)(ne,te=>{W=!0,ne.next(te)},()=>{W||ne.next(z),ne.complete()}))})}},3517:(Ht,Fe,c)=>{"use strict";c.d(Fe,{g:()=>ce});var e=c(6523),s=c(3729),k=c(5598),z=c(9087),F=c(116),ne=c(4882),W=c(5955);function te(de,Y){return Y?_e=>(0,s.z)(Y.pipe((0,k.q)(1),(0,z.l)()),_e.pipe(te(de))):(0,ne.z)((_e,ue)=>(0,W.Xf)(de(_e,ue)).pipe((0,k.q)(1),(0,F.h)(_e)))}var pe=c(1995);function ce(de,Y=e.z){const _e=(0,pe.H)(de,Y);return te(()=>_e)}},2147:(Ht,Fe,c)=>{"use strict";c.d(Fe,{x:()=>z});var e=c(8330),s=c(2085),k=c(8499);function z(ne,W=e.y){return ne=null!=ne?ne:F,(0,s.e)((te,pe)=>{let ce,de=!0;te.subscribe((0,k.x)(pe,Y=>{const _e=W(Y);(de||!ne(ce,_e))&&(de=!1,ce=_e,pe.next(Y))}))})}function F(ne,W){return ne===W}},4970:(Ht,Fe,c)=>{"use strict";c.d(Fe,{h:()=>k});var e=c(2085),s=c(8499);function k(z,F){return(0,e.e)((ne,W)=>{let te=0;ne.subscribe((0,s.x)(W,pe=>z.call(F,pe,te++)&&W.next(pe)))})}},5490:(Ht,Fe,c)=>{"use strict";c.d(Fe,{x:()=>s});var e=c(2085);function s(k){return(0,e.e)((z,F)=>{try{z.subscribe(F)}finally{F.add(k)}})}},9676:(Ht,Fe,c)=>{"use strict";c.d(Fe,{P:()=>W});var e=c(7472),s=c(4970),k=c(5598),z=c(2686),F=c(8623),ne=c(8330);function W(te,pe){const ce=arguments.length>=2;return de=>de.pipe(te?(0,s.h)((Y,_e)=>te(Y,_e,de)):ne.y,(0,k.q)(1),ce?(0,z.d)(pe):(0,F.T)(()=>new e.K))}},9087:(Ht,Fe,c)=>{"use strict";c.d(Fe,{l:()=>z});var e=c(2085),s=c(8499),k=c(408);function z(){return(0,e.e)((F,ne)=>{F.subscribe((0,s.x)(ne,k.Z))})}},7969:(Ht,Fe,c)=>{"use strict";c.d(Fe,{U:()=>k});var e=c(2085),s=c(8499);function k(z,F){return(0,e.e)((ne,W)=>{let te=0;ne.subscribe((0,s.x)(W,pe=>{W.next(z.call(F,pe,te++))}))})}},116:(Ht,Fe,c)=>{"use strict";c.d(Fe,{h:()=>s});var e=c(7969);function s(k){return(0,e.U)(()=>k)}},549:(Ht,Fe,c)=>{"use strict";c.d(Fe,{J:()=>k});var e=c(4882),s=c(8330);function k(z=1/0){return(0,e.z)(s.y,z)}},4882:(Ht,Fe,c)=>{"use strict";c.d(Fe,{z:()=>te});var e=c(7969),s=c(5955),k=c(2085),z=c(6903),F=c(8499),W=c(5975);function te(pe,ce,de=1/0){return(0,W.m)(ce)?te((Y,_e)=>(0,e.U)((ue,ie)=>ce(Y,ue,_e,ie))((0,s.Xf)(pe(Y,_e))),de):("number"==typeof ce&&(de=ce),(0,k.e)((Y,_e)=>function ne(pe,ce,de,Y,_e,ue,ie,Ue){const ve=[];let Ae=0,Ve=0,je=!1;const se=()=>{je&&!ve.length&&!Ae&&ce.complete()},ee=Oe=>Ae{ue&&ce.next(Oe),Ae++;let _t=!1;(0,s.Xf)(de(Oe,Ve++)).subscribe((0,F.x)(ce,vt=>{null==_e||_e(vt),ue?ee(vt):ce.next(vt)},()=>{_t=!0},void 0,()=>{if(_t)try{for(Ae--;ve.length&&Ae$e(vt)):$e(vt)}se()}catch(vt){ce.error(vt)}}))};return pe.subscribe((0,F.x)(ce,ee,()=>{je=!0,se()})),()=>{null==Ue||Ue()}}(Y,_e,pe,de)))}},9034:(Ht,Fe,c)=>{"use strict";c.d(Fe,{G:()=>k});var e=c(2085),s=c(8499);function k(){return(0,e.e)((z,F)=>{let ne,W=!1;z.subscribe((0,s.x)(F,te=>{const pe=ne;ne=te,W&&F.next([pe,te]),W=!0}))})}},853:(Ht,Fe,c)=>{"use strict";c.d(Fe,{r:()=>ne});var e=c(9018),s=c(2085),k=c(8499),z=c(5955),F=c(1995);function ne(W){let pe,te=1/0;return null!=W&&("object"==typeof W?({count:te=1/0,delay:pe}=W):te=W),te<=0?()=>e.E:(0,s.e)((ce,de)=>{let _e,Y=0;const ue=()=>{if(null==_e||_e.unsubscribe(),_e=null,null!=pe){const Ue="number"==typeof pe?(0,F.H)(pe):(0,z.Xf)(pe(Y)),ve=(0,k.x)(de,()=>{ve.unsubscribe(),ie()});Ue.subscribe(ve)}else ie()},ie=()=>{let Ue=!1;_e=ce.subscribe((0,k.x)(de,void 0,()=>{++Y{"use strict";c.d(Fe,{a:()=>F});var e=c(5955),s=c(8023),k=c(2085),z=c(8499);function F(ne){return(0,k.e)((W,te)=>{let pe,de,ce=!1,Y=!1,_e=!1;const ue=()=>_e&&Y&&(te.complete(),!0),Ue=()=>{_e=!1,pe=W.subscribe((0,z.x)(te,void 0,()=>{_e=!0,!ue()&&(de||(de=new s.x,(0,e.Xf)(ne(de)).subscribe((0,z.x)(te,()=>{pe?Ue():ce=!0},()=>{Y=!0,ue()}))),de).next()})),ce&&(pe.unsubscribe(),pe=null,ce=!1,Ue())};Ue()})}},815:(Ht,Fe,c)=>{"use strict";c.d(Fe,{B:()=>F});var e=c(5955),s=c(8023),k=c(4021),z=c(2085);function F(W={}){const{connector:te=(()=>new s.x),resetOnError:pe=!0,resetOnComplete:ce=!0,resetOnRefCountZero:de=!0}=W;return Y=>{let _e,ue,ie,Ue=0,ve=!1,Ae=!1;const Ve=()=>{null==ue||ue.unsubscribe(),ue=void 0},je=()=>{Ve(),_e=ie=void 0,ve=Ae=!1},se=()=>{const ee=_e;je(),null==ee||ee.unsubscribe()};return(0,z.e)((ee,$e)=>{Ue++,!Ae&&!ve&&Ve();const Oe=ie=null!=ie?ie:te();$e.add(()=>{Ue--,0===Ue&&!Ae&&!ve&&(ue=ne(se,de))}),Oe.subscribe($e),!_e&&Ue>0&&(_e=new k.Hp({next:_t=>Oe.next(_t),error:_t=>{Ae=!0,Ve(),ue=ne(je,pe,_t),Oe.error(_t)},complete:()=>{ve=!0,Ve(),ue=ne(je,ce),Oe.complete()}}),(0,e.Xf)(ee).subscribe(_e))})(Y)}}function ne(W,te,...pe){if(!0===te)return void W();if(!1===te)return;const ce=new k.Hp({next:()=>{ce.unsubscribe(),W()}});return(0,e.Xf)(te(...pe)).subscribe(ce)}},6466:(Ht,Fe,c)=>{"use strict";c.d(Fe,{d:()=>k});var e=c(5557),s=c(815);function k(z,F,ne){let W,te=!1;return z&&"object"==typeof z?({bufferSize:W=1/0,windowTime:F=1/0,refCount:te=!1,scheduler:ne}=z):W=null!=z?z:1/0,(0,s.B)({connector:()=>new e.t(W,F,ne),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:te})}},1588:(Ht,Fe,c)=>{"use strict";c.d(Fe,{T:()=>s});var e=c(4970);function s(k){return(0,e.h)((z,F)=>k<=F)}},3674:(Ht,Fe,c)=>{"use strict";c.d(Fe,{O:()=>z});var e=c(3729),s=c(6651),k=c(2085);function z(...F){const ne=(0,s.yG)(F);return(0,k.e)((W,te)=>{(ne?(0,e.z)(F,W,ne):(0,e.z)(F,W)).subscribe(te)})}},1528:(Ht,Fe,c)=>{"use strict";c.d(Fe,{w:()=>z});var e=c(5955),s=c(2085),k=c(8499);function z(F,ne){return(0,s.e)((W,te)=>{let pe=null,ce=0,de=!1;const Y=()=>de&&!pe&&te.complete();W.subscribe((0,k.x)(te,_e=>{null==pe||pe.unsubscribe();let ue=0;const ie=ce++;(0,e.Xf)(F(_e,ie)).subscribe(pe=(0,k.x)(te,Ue=>te.next(ne?ne(_e,Ue,ie,ue++):Ue),()=>{pe=null,Y()}))},()=>{de=!0,Y()}))})}},5598:(Ht,Fe,c)=>{"use strict";c.d(Fe,{q:()=>z});var e=c(9018),s=c(2085),k=c(8499);function z(F){return F<=0?()=>e.E:(0,s.e)((ne,W)=>{let te=0;ne.subscribe((0,k.x)(W,pe=>{++te<=F&&(W.next(pe),F<=te&&W.complete())}))})}},3528:(Ht,Fe,c)=>{"use strict";c.d(Fe,{R:()=>F});var e=c(2085),s=c(8499),k=c(5955),z=c(408);function F(ne){return(0,e.e)((W,te)=>{(0,k.Xf)(ne).subscribe((0,s.x)(te,()=>te.complete(),z.Z)),!te.closed&&W.subscribe(te)})}},5857:(Ht,Fe,c)=>{"use strict";c.d(Fe,{o:()=>k});var e=c(2085),s=c(8499);function k(z,F=!1){return(0,e.e)((ne,W)=>{let te=0;ne.subscribe((0,s.x)(W,pe=>{const ce=z(pe,te++);(ce||F)&&W.next(pe),!ce&&W.complete()}))})}},8168:(Ht,Fe,c)=>{"use strict";c.d(Fe,{b:()=>F});var e=c(5975),s=c(2085),k=c(8499),z=c(8330);function F(ne,W,te){const pe=(0,e.m)(ne)||W||te?{next:ne,error:W,complete:te}:ne;return pe?(0,s.e)((ce,de)=>{var Y;null===(Y=pe.subscribe)||void 0===Y||Y.call(pe);let _e=!0;ce.subscribe((0,k.x)(de,ue=>{var ie;null===(ie=pe.next)||void 0===ie||ie.call(pe,ue),de.next(ue)},()=>{var ue;_e=!1,null===(ue=pe.complete)||void 0===ue||ue.call(pe),de.complete()},ue=>{var ie;_e=!1,null===(ie=pe.error)||void 0===ie||ie.call(pe,ue),de.error(ue)},()=>{var ue,ie;_e&&(null===(ue=pe.unsubscribe)||void 0===ue||ue.call(pe)),null===(ie=pe.finalize)||void 0===ie||ie.call(pe)}))}):z.y}},6148:(Ht,Fe,c)=>{"use strict";c.d(Fe,{p:()=>W});var e=c(6523),s=c(2085),k=c(8499),z=c(5955),ne=c(1995);function W(te,pe=e.z,ce){const de=(0,ne.H)(te,pe);return function F(te,pe){return(0,s.e)((ce,de)=>{const{leading:Y=!0,trailing:_e=!1}=null!=pe?pe:{};let ue=!1,ie=null,Ue=null,ve=!1;const Ae=()=>{null==Ue||Ue.unsubscribe(),Ue=null,_e&&(se(),ve&&de.complete())},Ve=()=>{Ue=null,ve&&de.complete()},je=ee=>Ue=(0,z.Xf)(te(ee)).subscribe((0,k.x)(de,Ae,Ve)),se=()=>{if(ue){ue=!1;const ee=ie;ie=null,de.next(ee),!ve&&je(ee)}};ce.subscribe((0,k.x)(de,ee=>{ue=!0,ie=ee,(!Ue||Ue.closed)&&(Y?se():je(ee))},()=>{ve=!0,(!(_e&&ue&&Ue)||Ue.closed)&&de.complete()}))})}(()=>de,ce)}},8623:(Ht,Fe,c)=>{"use strict";c.d(Fe,{T:()=>z});var e=c(7472),s=c(2085),k=c(8499);function z(ne=F){return(0,s.e)((W,te)=>{let pe=!1;W.subscribe((0,k.x)(te,ce=>{pe=!0,te.next(ce)},()=>pe?te.complete():te.error(ne())))})}function F(){return new e.K}},7470:(Ht,Fe,c)=>{"use strict";c.d(Fe,{M:()=>W});var e=c(2085),s=c(8499),k=c(5955),z=c(8330),F=c(408),ne=c(6651);function W(...te){const pe=(0,ne.jO)(te);return(0,e.e)((ce,de)=>{const Y=te.length,_e=new Array(Y);let ue=te.map(()=>!1),ie=!1;for(let Ue=0;Ue{_e[Ue]=ve,!ie&&!ue[Ue]&&(ue[Ue]=!0,(ie=ue.every(z.y))&&(ue=null))},F.Z));ce.subscribe((0,s.x)(de,Ue=>{if(ie){const ve=[Ue,..._e];de.next(pe?pe(...ve):ve)}}))})}},3466:(Ht,Fe,c)=>{"use strict";c.d(Fe,{o:()=>F});var e=c(4813);class s extends e.w0{constructor(W,te){super()}schedule(W,te=0){return this}}const k={setInterval(ne,W,...te){const{delegate:pe}=k;return null!=pe&&pe.setInterval?pe.setInterval(ne,W,...te):setInterval(ne,W,...te)},clearInterval(ne){const{delegate:W}=k;return((null==W?void 0:W.clearInterval)||clearInterval)(ne)},delegate:void 0};var z=c(8308);class F extends s{constructor(W,te){super(W,te),this.scheduler=W,this.work=te,this.pending=!1}schedule(W,te=0){var pe;if(this.closed)return this;this.state=W;const ce=this.id,de=this.scheduler;return null!=ce&&(this.id=this.recycleAsyncId(de,ce,te)),this.pending=!0,this.delay=te,this.id=null!==(pe=this.id)&&void 0!==pe?pe:this.requestAsyncId(de,this.id,te),this}requestAsyncId(W,te,pe=0){return k.setInterval(W.flush.bind(W,this),pe)}recycleAsyncId(W,te,pe=0){if(null!=pe&&this.delay===pe&&!1===this.pending)return te;null!=te&&k.clearInterval(te)}execute(W,te){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const pe=this._execute(W,te);if(pe)return pe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(W,te){let ce,pe=!1;try{this.work(W)}catch(de){pe=!0,ce=de||new Error("Scheduled action threw falsy error")}if(pe)return this.unsubscribe(),ce}unsubscribe(){if(!this.closed){const{id:W,scheduler:te}=this,{actions:pe}=te;this.work=this.state=this.scheduler=null,this.pending=!1,(0,z.P)(pe,this),null!=W&&(this.id=this.recycleAsyncId(te,W,null)),this.delay=null,super.unsubscribe()}}}},474:(Ht,Fe,c)=>{"use strict";c.d(Fe,{v:()=>k});var e=c(2069);class s{constructor(F,ne=s.now){this.schedulerActionCtor=F,this.now=ne}schedule(F,ne=0,W){return new this.schedulerActionCtor(this,F).schedule(W,ne)}}s.now=e.l.now;class k extends s{constructor(F,ne=s.now){super(F,ne),this.actions=[],this._active=!1}flush(F){const{actions:ne}=this;if(this._active)return void ne.push(F);let W;this._active=!0;do{if(W=F.execute(F.state,F.delay))break}while(F=ne.shift());if(this._active=!1,W){for(;F=ne.shift();)F.unsubscribe();throw W}}}},6523:(Ht,Fe,c)=>{"use strict";c.d(Fe,{P:()=>z,z:()=>k});var e=c(3466);const k=new(c(474).v)(e.o),z=k},2069:(Ht,Fe,c)=>{"use strict";c.d(Fe,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},4146:(Ht,Fe,c)=>{"use strict";c.d(Fe,{z:()=>e});const e={setTimeout(s,k,...z){const{delegate:F}=e;return null!=F&&F.setTimeout?F.setTimeout(s,k,...z):setTimeout(s,k,...z)},clearTimeout(s){const{delegate:k}=e;return((null==k?void 0:k.clearTimeout)||clearTimeout)(s)},delegate:void 0}},4565:(Ht,Fe,c)=>{"use strict";c.d(Fe,{h:()=>s});const s=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3122:(Ht,Fe,c)=>{"use strict";c.d(Fe,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},7472:(Ht,Fe,c)=>{"use strict";c.d(Fe,{K:()=>s});const s=(0,c(5776).d)(k=>function(){k(this),this.name="EmptyError",this.message="no elements in sequence"})},6651:(Ht,Fe,c)=>{"use strict";c.d(Fe,{_6:()=>ne,jO:()=>z,yG:()=>F});var e=c(5975),s=c(1830);function k(W){return W[W.length-1]}function z(W){return(0,e.m)(k(W))?W.pop():void 0}function F(W){return(0,s.K)(k(W))?W.pop():void 0}function ne(W,te){return"number"==typeof k(W)?W.pop():te}},447:(Ht,Fe,c)=>{"use strict";c.d(Fe,{D:()=>F});const{isArray:e}=Array,{getPrototypeOf:s,prototype:k,keys:z}=Object;function F(W){if(1===W.length){const te=W[0];if(e(te))return{args:te,keys:null};if(function ne(W){return W&&"object"==typeof W&&s(W)===k}(te)){const pe=z(te);return{args:pe.map(ce=>te[ce]),keys:pe}}}return{args:W,keys:null}}},697:(Ht,Fe,c)=>{"use strict";c.d(Fe,{k:()=>s});const{isArray:e}=Array;function s(k){return 1===k.length&&e(k[0])?k[0]:k}},8308:(Ht,Fe,c)=>{"use strict";function e(s,k){if(s){const z=s.indexOf(k);0<=z&&s.splice(z,1)}}c.d(Fe,{P:()=>e})},5776:(Ht,Fe,c)=>{"use strict";function e(s){const z=s(F=>{Error.call(F),F.stack=(new Error).stack});return z.prototype=Object.create(Error.prototype),z.prototype.constructor=z,z}c.d(Fe,{d:()=>e})},9299:(Ht,Fe,c)=>{"use strict";function e(s,k){return s.reduce((z,F,ne)=>(z[F]=k[ne],z),{})}c.d(Fe,{n:()=>e})},1519:(Ht,Fe,c)=>{"use strict";c.d(Fe,{O:()=>z,x:()=>k});var e=c(2046);let s=null;function k(F){if(e.v.useDeprecatedSynchronousErrorHandling){const ne=!s;if(ne&&(s={errorThrown:!1,error:null}),F(),ne){const{errorThrown:W,error:te}=s;if(s=null,W)throw te}}else F()}function z(F){e.v.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=F)}},6903:(Ht,Fe,c)=>{"use strict";function e(s,k,z,F=0,ne=!1){const W=k.schedule(function(){z(),ne?s.add(this.schedule(null,F)):this.unsubscribe()},F);if(s.add(W),!ne)return W}c.d(Fe,{f:()=>e})},8330:(Ht,Fe,c)=>{"use strict";function e(s){return s}c.d(Fe,{y:()=>e})},6602:(Ht,Fe,c)=>{"use strict";c.d(Fe,{z:()=>e});const e=s=>s&&"number"==typeof s.length&&"function"!=typeof s},2604:(Ht,Fe,c)=>{"use strict";c.d(Fe,{D:()=>s});var e=c(5975);function s(k){return Symbol.asyncIterator&&(0,e.m)(null==k?void 0:k[Symbol.asyncIterator])}},5975:(Ht,Fe,c)=>{"use strict";function e(s){return"function"==typeof s}c.d(Fe,{m:()=>e})},2021:(Ht,Fe,c)=>{"use strict";c.d(Fe,{c:()=>k});var e=c(3122),s=c(5975);function k(z){return(0,s.m)(z[e.L])}},6920:(Ht,Fe,c)=>{"use strict";c.d(Fe,{T:()=>k});var e=c(4565),s=c(5975);function k(z){return(0,s.m)(null==z?void 0:z[e.h])}},97:(Ht,Fe,c)=>{"use strict";c.d(Fe,{b:()=>k});var e=c(7241),s=c(5975);function k(z){return!!z&&(z instanceof e.y||(0,s.m)(z.lift)&&(0,s.m)(z.subscribe))}},9450:(Ht,Fe,c)=>{"use strict";c.d(Fe,{t:()=>s});var e=c(5975);function s(k){return(0,e.m)(null==k?void 0:k.then)}},1559:(Ht,Fe,c)=>{"use strict";c.d(Fe,{L:()=>z,Q:()=>k});var e=c(4911),s=c(5975);function k(F){return(0,e.FC)(this,arguments,function*(){const W=F.getReader();try{for(;;){const{value:te,done:pe}=yield(0,e.qq)(W.read());if(pe)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(te)}}finally{W.releaseLock()}})}function z(F){return(0,s.m)(null==F?void 0:F.getReader)}},1830:(Ht,Fe,c)=>{"use strict";c.d(Fe,{K:()=>s});var e=c(5975);function s(k){return k&&(0,e.m)(k.schedule)}},2085:(Ht,Fe,c)=>{"use strict";c.d(Fe,{A:()=>s,e:()=>k});var e=c(5975);function s(z){return(0,e.m)(null==z?void 0:z.lift)}function k(z){return F=>{if(s(F))return F.lift(function(ne){try{return z(ne,this)}catch(W){this.error(W)}});throw new TypeError("Unable to lift unknown Observable type")}}},2692:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Z:()=>z});var e=c(7969);const{isArray:s}=Array;function z(F){return(0,e.U)(ne=>function k(F,ne){return s(ne)?F(...ne):F(ne)}(F,ne))}},408:(Ht,Fe,c)=>{"use strict";function e(){}c.d(Fe,{Z:()=>e})},7824:(Ht,Fe,c)=>{"use strict";c.d(Fe,{U:()=>k,z:()=>s});var e=c(8330);function s(...z){return k(z)}function k(z){return 0===z.length?e.y:1===z.length?z[0]:function(ne){return z.reduce((W,te)=>te(W),ne)}}},4922:(Ht,Fe,c)=>{"use strict";c.d(Fe,{h:()=>k});var e=c(2046),s=c(4146);function k(z){s.z.setTimeout(()=>{const{onUnhandledError:F}=e.v;if(!F)throw z;F(z)})}},5626:(Ht,Fe,c)=>{"use strict";function e(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}c.d(Fe,{z:()=>e})},7277:()=>{"use strict";!function(he){const re=he.performance;function Xe(rt){re&&re.mark&&re.mark(rt)}function Le(rt,nt){re&&re.measure&&re.measure(rt,nt)}Xe("Zone");const fe=he.__Zone_symbol_prefix||"__zone_symbol__";function We(rt){return fe+rt}const ye=!0===he[We("forceDuplicateZoneCheck")];if(he.Zone){if(ye||"function"!=typeof he.Zone.__symbol__)throw new Error("Zone already loaded.");return he.Zone}let at=(()=>{class nt{static assertZonePatched(){if(he.Promise!==Mn.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let He=nt.current;for(;He.parent;)He=He.parent;return He}static get current(){return Q.zone}static get currentTask(){return H}static __load_patch(He,Ne,U=!1){if(Mn.hasOwnProperty(He)){if(!U&&ye)throw Error("Already loaded patch: "+He)}else if(!he["__Zone_disable_"+He]){const I="Zone:"+He;Xe(I),Mn[He]=Ne(he,nt,oe),Le(I,I)}}get parent(){return this._parent}get name(){return this._name}constructor(He,Ne){this._parent=He,this._name=Ne?Ne.name||"unnamed":"",this._properties=Ne&&Ne.properties||{},this._zoneDelegate=new qt(this,this._parent&&this._parent._zoneDelegate,Ne)}get(He){const Ne=this.getZoneWith(He);if(Ne)return Ne._properties[He]}getZoneWith(He){let Ne=this;for(;Ne;){if(Ne._properties.hasOwnProperty(He))return Ne;Ne=Ne._parent}return null}fork(He){if(!He)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,He)}wrap(He,Ne){if("function"!=typeof He)throw new Error("Expecting function got: "+He);const U=this._zoneDelegate.intercept(this,He,Ne),I=this;return function(){return I.runGuarded(U,this,arguments,Ne)}}run(He,Ne,U,I){Q={parent:Q,zone:this};try{return this._zoneDelegate.invoke(this,He,Ne,U,I)}finally{Q=Q.parent}}runGuarded(He,Ne=null,U,I){Q={parent:Q,zone:this};try{try{return this._zoneDelegate.invoke(this,He,Ne,U,I)}catch(A){if(this._zoneDelegate.handleError(this,A))throw A}}finally{Q=Q.parent}}runTask(He,Ne,U){if(He.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(He.zone||st).name+"; Execution: "+this.name+")");if(He.state===V&&(He.type===Nn||He.type===Jt))return;const I=He.state!=gt;I&&He._transitionTo(gt,bt),He.runCount++;const A=H;H=He,Q={parent:Q,zone:this};try{He.type==Jt&&He.data&&!He.data.isPeriodic&&(He.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,He,Ne,U)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{He.state!==V&&He.state!==$t&&(He.type==Nn||He.data&&He.data.isPeriodic?I&&He._transitionTo(bt,gt):(He.runCount=0,this._updateTaskCount(He,-1),I&&He._transitionTo(V,gt,V))),Q=Q.parent,H=A}}scheduleTask(He){if(He.zone&&He.zone!==this){let U=this;for(;U;){if(U===He.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${He.zone.name}`);U=U.parent}}He._transitionTo(Pe,V);const Ne=[];He._zoneDelegates=Ne,He._zone=this;try{He=this._zoneDelegate.scheduleTask(this,He)}catch(U){throw He._transitionTo($t,Pe,V),this._zoneDelegate.handleError(this,U),U}return He._zoneDelegates===Ne&&this._updateTaskCount(He,1),He.state==Pe&&He._transitionTo(bt,Pe),He}scheduleMicroTask(He,Ne,U,I){return this.scheduleTask(new Lt(vn,He,Ne,U,I,void 0))}scheduleMacroTask(He,Ne,U,I,A){return this.scheduleTask(new Lt(Jt,He,Ne,U,I,A))}scheduleEventTask(He,Ne,U,I,A){return this.scheduleTask(new Lt(Nn,He,Ne,U,I,A))}cancelTask(He){if(He.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(He.zone||st).name+"; Execution: "+this.name+")");if(He.state===bt||He.state===gt){He._transitionTo(on,bt,gt);try{this._zoneDelegate.cancelTask(this,He)}catch(Ne){throw He._transitionTo($t,on),this._zoneDelegate.handleError(this,Ne),Ne}return this._updateTaskCount(He,-1),He._transitionTo(V,on),He.runCount=0,He}}_updateTaskCount(He,Ne){const U=He._zoneDelegates;-1==Ne&&(He._zoneDelegates=null);for(let I=0;Irt.hasTask(ut,He),onScheduleTask:(rt,nt,ut,He)=>rt.scheduleTask(ut,He),onInvokeTask:(rt,nt,ut,He,Ne,U)=>rt.invokeTask(ut,He,Ne,U),onCancelTask:(rt,nt,ut,He)=>rt.cancelTask(ut,He)};class qt{constructor(nt,ut,He){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=nt,this._parentDelegate=ut,this._forkZS=He&&(He&&He.onFork?He:ut._forkZS),this._forkDlgt=He&&(He.onFork?ut:ut._forkDlgt),this._forkCurrZone=He&&(He.onFork?this.zone:ut._forkCurrZone),this._interceptZS=He&&(He.onIntercept?He:ut._interceptZS),this._interceptDlgt=He&&(He.onIntercept?ut:ut._interceptDlgt),this._interceptCurrZone=He&&(He.onIntercept?this.zone:ut._interceptCurrZone),this._invokeZS=He&&(He.onInvoke?He:ut._invokeZS),this._invokeDlgt=He&&(He.onInvoke?ut:ut._invokeDlgt),this._invokeCurrZone=He&&(He.onInvoke?this.zone:ut._invokeCurrZone),this._handleErrorZS=He&&(He.onHandleError?He:ut._handleErrorZS),this._handleErrorDlgt=He&&(He.onHandleError?ut:ut._handleErrorDlgt),this._handleErrorCurrZone=He&&(He.onHandleError?this.zone:ut._handleErrorCurrZone),this._scheduleTaskZS=He&&(He.onScheduleTask?He:ut._scheduleTaskZS),this._scheduleTaskDlgt=He&&(He.onScheduleTask?ut:ut._scheduleTaskDlgt),this._scheduleTaskCurrZone=He&&(He.onScheduleTask?this.zone:ut._scheduleTaskCurrZone),this._invokeTaskZS=He&&(He.onInvokeTask?He:ut._invokeTaskZS),this._invokeTaskDlgt=He&&(He.onInvokeTask?ut:ut._invokeTaskDlgt),this._invokeTaskCurrZone=He&&(He.onInvokeTask?this.zone:ut._invokeTaskCurrZone),this._cancelTaskZS=He&&(He.onCancelTask?He:ut._cancelTaskZS),this._cancelTaskDlgt=He&&(He.onCancelTask?ut:ut._cancelTaskDlgt),this._cancelTaskCurrZone=He&&(He.onCancelTask?this.zone:ut._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Ne=He&&He.onHasTask;(Ne||ut&&ut._hasTaskZS)&&(this._hasTaskZS=Ne?He:kt,this._hasTaskDlgt=ut,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=nt,He.onScheduleTask||(this._scheduleTaskZS=kt,this._scheduleTaskDlgt=ut,this._scheduleTaskCurrZone=this.zone),He.onInvokeTask||(this._invokeTaskZS=kt,this._invokeTaskDlgt=ut,this._invokeTaskCurrZone=this.zone),He.onCancelTask||(this._cancelTaskZS=kt,this._cancelTaskDlgt=ut,this._cancelTaskCurrZone=this.zone))}fork(nt,ut){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,nt,ut):new at(nt,ut)}intercept(nt,ut,He){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,nt,ut,He):ut}invoke(nt,ut,He,Ne,U){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,nt,ut,He,Ne,U):ut.apply(He,Ne)}handleError(nt,ut){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,nt,ut)}scheduleTask(nt,ut){let He=ut;if(this._scheduleTaskZS)this._hasTaskZS&&He._zoneDelegates.push(this._hasTaskDlgtOwner),He=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,nt,ut),He||(He=ut);else if(ut.scheduleFn)ut.scheduleFn(ut);else{if(ut.type!=vn)throw new Error("Task is missing scheduleFn.");lt(ut)}return He}invokeTask(nt,ut,He,Ne){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,nt,ut,He,Ne):ut.callback.apply(He,Ne)}cancelTask(nt,ut){let He;if(this._cancelTaskZS)He=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,nt,ut);else{if(!ut.cancelFn)throw Error("Task is not cancelable");He=ut.cancelFn(ut)}return He}hasTask(nt,ut){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,nt,ut)}catch(He){this.handleError(nt,He)}}_updateTaskCount(nt,ut){const He=this._taskCounts,Ne=He[nt],U=He[nt]=Ne+ut;if(U<0)throw new Error("More tasks executed then were scheduled.");0!=Ne&&0!=U||this.hasTask(this.zone,{microTask:He.microTask>0,macroTask:He.macroTask>0,eventTask:He.eventTask>0,change:nt})}}class Lt{constructor(nt,ut,He,Ne,U,I){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=nt,this.source=ut,this.data=Ne,this.scheduleFn=U,this.cancelFn=I,!He)throw new Error("callback is not defined");this.callback=He;const A=this;this.invoke=nt===Nn&&Ne&&Ne.useG?Lt.invokeTask:function(){return Lt.invokeTask.call(he,A,this,arguments)}}static invokeTask(nt,ut,He){nt||(nt=this),le++;try{return nt.runCount++,nt.zone.runTask(nt,ut,He)}finally{1==le&&it(),le--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(V,Pe)}_transitionTo(nt,ut,He){if(this._state!==ut&&this._state!==He)throw new Error(`${this.type} '${this.source}': can not transition to '${nt}', expecting state '${ut}'${He?" or '"+He+"'":""}, was '${this._state}'.`);this._state=nt,nt==V&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const xt=We("setTimeout"),Wt=We("Promise"),Pt=We("then");let Ke,an=[],fn=!1;function ot(rt){if(Ke||he[Wt]&&(Ke=he[Wt].resolve(0)),Ke){let nt=Ke[Pt];nt||(nt=Ke.then),nt.call(Ke,rt)}else he[xt](rt,0)}function lt(rt){0===le&&0===an.length&&ot(it),rt&&an.push(rt)}function it(){if(!fn){for(fn=!0;an.length;){const rt=an;an=[];for(let nt=0;ntQ,onUnhandledError:Ie,microtaskDrainDone:Ie,scheduleMicroTask:lt,showUncaughtError:()=>!at[We("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ie,patchMethod:()=>Ie,bindArguments:()=>[],patchThen:()=>Ie,patchMacroTask:()=>Ie,patchEventPrototype:()=>Ie,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ie,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ie,wrapWithCurrentZone:()=>Ie,filterProperties:()=>[],attachOriginToPatched:()=>Ie,_redefineProperty:()=>Ie,patchCallbacks:()=>Ie,nativeScheduleMicroTask:ot};let Q={parent:null,zone:new at(null,null)},H=null,le=0;function Ie(){}Le("Zone","Zone"),he.Zone=at}(typeof window<"u"&&window||typeof self<"u"&&self||global);const Ht=Object.getOwnPropertyDescriptor,Fe=Object.defineProperty,c=Object.getPrototypeOf,e=Object.create,s=Array.prototype.slice,k="addEventListener",z="removeEventListener",F=Zone.__symbol__(k),ne=Zone.__symbol__(z),W="true",te="false",pe=Zone.__symbol__("");function ce(he,re){return Zone.current.wrap(he,re)}function de(he,re,Xe,Le,fe){return Zone.current.scheduleMacroTask(he,re,Xe,Le,fe)}const Y=Zone.__symbol__,_e=typeof window<"u",ue=_e?window:void 0,ie=_e&&ue||"object"==typeof self&&self||global,Ue="removeAttribute";function ve(he,re){for(let Xe=he.length-1;Xe>=0;Xe--)"function"==typeof he[Xe]&&(he[Xe]=ce(he[Xe],re+"_"+Xe));return he}function Ve(he){return!he||!1!==he.writable&&!("function"==typeof he.get&&typeof he.set>"u")}const je=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,se=!("nw"in ie)&&typeof ie.process<"u"&&"[object process]"==={}.toString.call(ie.process),ee=!se&&!je&&!(!_e||!ue.HTMLElement),$e=typeof ie.process<"u"&&"[object process]"==={}.toString.call(ie.process)&&!je&&!(!_e||!ue.HTMLElement),Oe={},_t=function(he){if(!(he=he||ie.event))return;let re=Oe[he.type];re||(re=Oe[he.type]=Y("ON_PROPERTY"+he.type));const Xe=this||he.target||ie,Le=Xe[re];let fe;return ee&&Xe===ue&&"error"===he.type?(fe=Le&&Le.call(this,he.message,he.filename,he.lineno,he.colno,he.error),!0===fe&&he.preventDefault()):(fe=Le&&Le.apply(this,arguments),null!=fe&&!fe&&he.preventDefault()),fe};function vt(he,re,Xe){let Le=Ht(he,re);if(!Le&&Xe&&Ht(Xe,re)&&(Le={enumerable:!0,configurable:!0}),!Le||!Le.configurable)return;const fe=Y("on"+re+"patched");if(he.hasOwnProperty(fe)&&he[fe])return;delete Le.writable,delete Le.value;const We=Le.get,ye=Le.set,at=re.slice(2);let kt=Oe[at];kt||(kt=Oe[at]=Y("ON_PROPERTY"+at)),Le.set=function(qt){let Lt=this;!Lt&&he===ie&&(Lt=ie),Lt&&("function"==typeof Lt[kt]&&Lt.removeEventListener(at,_t),ye&&ye.call(Lt,null),Lt[kt]=qt,"function"==typeof qt&&Lt.addEventListener(at,_t,!1))},Le.get=function(){let qt=this;if(!qt&&he===ie&&(qt=ie),!qt)return null;const Lt=qt[kt];if(Lt)return Lt;if(We){let xt=We.call(this);if(xt)return Le.set.call(this,xt),"function"==typeof qt[Ue]&&qt.removeAttribute(re),xt}return null},Fe(he,re,Le),he[fe]=!0}function tt(he,re,Xe){if(re)for(let Le=0;Lefunction(ye,at){const kt=Xe(ye,at);return kt.cbIdx>=0&&"function"==typeof at[kt.cbIdx]?de(kt.name,at[kt.cbIdx],kt,fe):We.apply(ye,at)})}function qe(he,re){he[Y("OriginalDelegate")]=re}let Ge=!1,R=!1;function S(){if(Ge)return R;Ge=!0;try{const he=ue.navigator.userAgent;(-1!==he.indexOf("MSIE ")||-1!==he.indexOf("Trident/")||-1!==he.indexOf("Edge/"))&&(R=!0)}catch{}return R}Zone.__load_patch("ZoneAwarePromise",(he,re,Xe)=>{const Le=Object.getOwnPropertyDescriptor,fe=Object.defineProperty,ye=Xe.symbol,at=[],kt=!0===he[ye("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],qt=ye("Promise"),Lt=ye("then"),xt="__creationTrace__";Xe.onUnhandledError=A=>{if(Xe.showUncaughtError()){const $=A&&A.rejection;$?console.error("Unhandled Promise rejection:",$ instanceof Error?$.message:$,"; Zone:",A.zone.name,"; Task:",A.task&&A.task.source,"; Value:",$,$ instanceof Error?$.stack:void 0):console.error(A)}},Xe.microtaskDrainDone=()=>{for(;at.length;){const A=at.shift();try{A.zone.runGuarded(()=>{throw A.throwOriginal?A.rejection:A})}catch($){Pt($)}}};const Wt=ye("unhandledPromiseRejectionHandler");function Pt(A){Xe.onUnhandledError(A);try{const $=re[Wt];"function"==typeof $&&$.call(this,A)}catch{}}function an(A){return A&&A.then}function fn(A){return A}function Ke(A){return ut.reject(A)}const ot=ye("state"),lt=ye("value"),it=ye("finally"),st=ye("parentPromiseValue"),V=ye("parentPromiseState"),Pe="Promise.then",bt=null,gt=!0,on=!1,$t=0;function vn(A,$){return xe=>{try{oe(A,$,xe)}catch(ct){oe(A,!1,ct)}}}const Jt=function(){let A=!1;return function(xe){return function(){A||(A=!0,xe.apply(null,arguments))}}},Nn="Promise resolved with itself",Mn=ye("currentTaskTrace");function oe(A,$,xe){const ct=Jt();if(A===xe)throw new TypeError(Nn);if(A[ot]===bt){let dt=null;try{("object"==typeof xe||"function"==typeof xe)&&(dt=xe&&xe.then)}catch(Bt){return ct(()=>{oe(A,!1,Bt)})(),A}if($!==on&&xe instanceof ut&&xe.hasOwnProperty(ot)&&xe.hasOwnProperty(lt)&&xe[ot]!==bt)H(xe),oe(A,xe[ot],xe[lt]);else if($!==on&&"function"==typeof dt)try{dt.call(xe,ct(vn(A,$)),ct(vn(A,!1)))}catch(Bt){ct(()=>{oe(A,!1,Bt)})()}else{A[ot]=$;const Bt=A[lt];if(A[lt]=xe,A[it]===it&&$===gt&&(A[ot]=A[V],A[lt]=A[st]),$===on&&xe instanceof Error){const Yt=re.currentTask&&re.currentTask.data&&re.currentTask.data[xt];Yt&&fe(xe,Mn,{configurable:!0,enumerable:!1,writable:!0,value:Yt})}for(let Yt=0;Yt{try{const rn=A[lt],en=!!xe&&it===xe[it];en&&(xe[st]=rn,xe[V]=Bt);const gn=$.run(Yt,void 0,en&&Yt!==Ke&&Yt!==fn?[]:[rn]);oe(xe,!0,gn)}catch(rn){oe(xe,!1,rn)}},xe)}const rt=function(){},nt=he.AggregateError;class ut{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve($){return oe(new this(null),gt,$)}static reject($){return oe(new this(null),on,$)}static any($){if(!$||"function"!=typeof $[Symbol.iterator])return Promise.reject(new nt([],"All promises were rejected"));const xe=[];let ct=0;try{for(let Yt of $)ct++,xe.push(ut.resolve(Yt))}catch{return Promise.reject(new nt([],"All promises were rejected"))}if(0===ct)return Promise.reject(new nt([],"All promises were rejected"));let dt=!1;const Bt=[];return new ut((Yt,rn)=>{for(let en=0;en{dt||(dt=!0,Yt(gn))},gn=>{Bt.push(gn),ct--,0===ct&&(dt=!0,rn(new nt(Bt,"All promises were rejected")))})})}static race($){let xe,ct,dt=new this((rn,en)=>{xe=rn,ct=en});function Bt(rn){xe(rn)}function Yt(rn){ct(rn)}for(let rn of $)an(rn)||(rn=this.resolve(rn)),rn.then(Bt,Yt);return dt}static all($){return ut.allWithCallback($)}static allSettled($){return(this&&this.prototype instanceof ut?this:ut).allWithCallback($,{thenCallback:ct=>({status:"fulfilled",value:ct}),errorCallback:ct=>({status:"rejected",reason:ct})})}static allWithCallback($,xe){let ct,dt,Bt=new this((gn,pn)=>{ct=gn,dt=pn}),Yt=2,rn=0;const en=[];for(let gn of $){an(gn)||(gn=this.resolve(gn));const pn=rn;try{gn.then(In=>{en[pn]=xe?xe.thenCallback(In):In,Yt--,0===Yt&&ct(en)},In=>{xe?(en[pn]=xe.errorCallback(In),Yt--,0===Yt&&ct(en)):dt(In)})}catch(In){dt(In)}Yt++,rn++}return Yt-=2,0===Yt&&ct(en),Bt}constructor($){const xe=this;if(!(xe instanceof ut))throw new Error("Must be an instanceof Promise.");xe[ot]=bt,xe[lt]=[];try{const ct=Jt();$&&$(ct(vn(xe,gt)),ct(vn(xe,on)))}catch(ct){oe(xe,!1,ct)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return ut}then($,xe){var ct;let dt=null===(ct=this.constructor)||void 0===ct?void 0:ct[Symbol.species];(!dt||"function"!=typeof dt)&&(dt=this.constructor||ut);const Bt=new dt(rt),Yt=re.current;return this[ot]==bt?this[lt].push(Yt,Bt,$,xe):le(this,Yt,Bt,$,xe),Bt}catch($){return this.then(null,$)}finally($){var xe;let ct=null===(xe=this.constructor)||void 0===xe?void 0:xe[Symbol.species];(!ct||"function"!=typeof ct)&&(ct=ut);const dt=new ct(rt);dt[it]=it;const Bt=re.current;return this[ot]==bt?this[lt].push(Bt,dt,$,$):le(this,Bt,dt,$,$),dt}}ut.resolve=ut.resolve,ut.reject=ut.reject,ut.race=ut.race,ut.all=ut.all;const He=he[qt]=he.Promise;he.Promise=ut;const Ne=ye("thenPatched");function U(A){const $=A.prototype,xe=Le($,"then");if(xe&&(!1===xe.writable||!xe.configurable))return;const ct=$.then;$[Lt]=ct,A.prototype.then=function(dt,Bt){return new ut((rn,en)=>{ct.call(this,rn,en)}).then(dt,Bt)},A[Ne]=!0}return Xe.patchThen=U,He&&(U(He),At(he,"fetch",A=>function I(A){return function($,xe){let ct=A.apply($,xe);if(ct instanceof ut)return ct;let dt=ct.constructor;return dt[Ne]||U(dt),ct}}(A))),Promise[re.__symbol__("uncaughtPromiseErrors")]=at,ut}),Zone.__load_patch("toString",he=>{const re=Function.prototype.toString,Xe=Y("OriginalDelegate"),Le=Y("Promise"),fe=Y("Error"),We=function(){if("function"==typeof this){const qt=this[Xe];if(qt)return"function"==typeof qt?re.call(qt):Object.prototype.toString.call(qt);if(this===Promise){const Lt=he[Le];if(Lt)return re.call(Lt)}if(this===Error){const Lt=he[fe];if(Lt)return re.call(Lt)}}return re.call(this)};We[Xe]=re,Function.prototype.toString=We;const ye=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":ye.call(this)}});let q=!1;if(typeof window<"u")try{const he=Object.defineProperty({},"passive",{get:function(){q=!0}});window.addEventListener("test",he,he),window.removeEventListener("test",he,he)}catch{q=!1}const ze={useG:!0},N={},Se={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),pt=Y("propagationStopped");function wt(he,re){const Xe=(re?re(he):he)+te,Le=(re?re(he):he)+W,fe=pe+Xe,We=pe+Le;N[he]={},N[he][te]=fe,N[he][W]=We}function Cn(he,re,Xe,Le){const fe=Le&&Le.add||k,We=Le&&Le.rm||z,ye=Le&&Le.listeners||"eventListeners",at=Le&&Le.rmAll||"removeAllListeners",kt=Y(fe),qt="."+fe+":",Lt="prependListener",xt="."+Lt+":",Wt=function(lt,it,st){if(lt.isRemoved)return;const V=lt.callback;let Pe;"object"==typeof V&&V.handleEvent&&(lt.callback=gt=>V.handleEvent(gt),lt.originalDelegate=V);try{lt.invoke(lt,it,[st])}catch(gt){Pe=gt}const bt=lt.options;return bt&&"object"==typeof bt&&bt.once&&it[We].call(it,st.type,lt.originalDelegate?lt.originalDelegate:lt.callback,bt),Pe};function Pt(lt,it,st){if(!(it=it||he.event))return;const V=lt||it.target||he,Pe=V[N[it.type][st?W:te]];if(Pe){const bt=[];if(1===Pe.length){const gt=Wt(Pe[0],V,it);gt&&bt.push(gt)}else{const gt=Pe.slice();for(let on=0;on{throw on})}}}const an=function(lt){return Pt(this,lt,!1)},fn=function(lt){return Pt(this,lt,!0)};function Ke(lt,it){if(!lt)return!1;let st=!0;it&&void 0!==it.useG&&(st=it.useG);const V=it&&it.vh;let Pe=!0;it&&void 0!==it.chkDup&&(Pe=it.chkDup);let bt=!1;it&&void 0!==it.rt&&(bt=it.rt);let gt=lt;for(;gt&&!gt.hasOwnProperty(fe);)gt=c(gt);if(!gt&<[fe]&&(gt=lt),!gt||gt[kt])return!1;const on=it&&it.eventNameToString,$t={},vn=gt[kt]=gt[fe],Jt=gt[Y(We)]=gt[We],Nn=gt[Y(ye)]=gt[ye],Mn=gt[Y(at)]=gt[at];let oe;it&&it.prepend&&(oe=gt[Y(it.prepend)]=gt[it.prepend]);const ut=st?function(xe){if(!$t.isExisting)return vn.call($t.target,$t.eventName,$t.capture?fn:an,$t.options)}:function(xe){return vn.call($t.target,$t.eventName,xe.invoke,$t.options)},He=st?function(xe){if(!xe.isRemoved){const ct=N[xe.eventName];let dt;ct&&(dt=ct[xe.capture?W:te]);const Bt=dt&&xe.target[dt];if(Bt)for(let Yt=0;Ytfunction(fe,We){fe[pt]=!0,Le&&Le.apply(fe,We)})}function It(he,re,Xe,Le,fe){const We=Zone.__symbol__(Le);if(re[We])return;const ye=re[We]=re[Le];re[Le]=function(at,kt,qt){return kt&&kt.prototype&&fe.forEach(function(Lt){const xt=`${Xe}.${Le}::`+Lt,Wt=kt.prototype;try{if(Wt.hasOwnProperty(Lt)){const Pt=he.ObjectGetOwnPropertyDescriptor(Wt,Lt);Pt&&Pt.value?(Pt.value=he.wrapWithCurrentZone(Pt.value,xt),he._redefineProperty(kt.prototype,Lt,Pt)):Wt[Lt]&&(Wt[Lt]=he.wrapWithCurrentZone(Wt[Lt],xt))}else Wt[Lt]&&(Wt[Lt]=he.wrapWithCurrentZone(Wt[Lt],xt))}catch{}}),ye.call(re,at,kt,qt)},he.attachOriginToPatched(re[Le],ye)}function Rt(he,re,Xe){if(!Xe||0===Xe.length)return re;const Le=Xe.filter(We=>We.target===he);if(!Le||0===Le.length)return re;const fe=Le[0].ignoreProperties;return re.filter(We=>-1===fe.indexOf(We))}function Zt(he,re,Xe,Le){he&&tt(he,Rt(he,re,Xe),Le)}function Ut(he){return Object.getOwnPropertyNames(he).filter(re=>re.startsWith("on")&&re.length>2).map(re=>re.substring(2))}Zone.__load_patch("util",(he,re,Xe)=>{const Le=Ut(he);Xe.patchOnProperties=tt,Xe.patchMethod=At,Xe.bindArguments=ve,Xe.patchMacroTask=Qe;const fe=re.__symbol__("BLACK_LISTED_EVENTS"),We=re.__symbol__("UNPATCHED_EVENTS");he[We]&&(he[fe]=he[We]),he[fe]&&(re[fe]=re[We]=he[fe]),Xe.patchEventPrototype=Ft,Xe.patchEventTarget=Cn,Xe.isIEOrEdge=S,Xe.ObjectDefineProperty=Fe,Xe.ObjectGetOwnPropertyDescriptor=Ht,Xe.ObjectCreate=e,Xe.ArraySlice=s,Xe.patchClass=mt,Xe.wrapWithCurrentZone=ce,Xe.filterProperties=Rt,Xe.attachOriginToPatched=qe,Xe._redefineProperty=Object.defineProperty,Xe.patchCallbacks=It,Xe.getGlobalObjects=()=>({globalSources:Se,zoneSymbolEventNames:N,eventNames:Le,isBrowser:ee,isMix:$e,isNode:se,TRUE_STR:W,FALSE_STR:te,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:k,REMOVE_EVENT_LISTENER_STR:z})});const Qt=Y("zoneTask");function hn(he,re,Xe,Le){let fe=null,We=null;Xe+=Le;const ye={};function at(qt){const Lt=qt.data;return Lt.args[0]=function(){return qt.invoke.apply(this,arguments)},Lt.handleId=fe.apply(he,Lt.args),qt}function kt(qt){return We.call(he,qt.data.handleId)}fe=At(he,re+=Le,qt=>function(Lt,xt){if("function"==typeof xt[0]){const Wt={isPeriodic:"Interval"===Le,delay:"Timeout"===Le||"Interval"===Le?xt[1]||0:void 0,args:xt},Pt=xt[0];xt[0]=function(){try{return Pt.apply(this,arguments)}finally{Wt.isPeriodic||("number"==typeof Wt.handleId?delete ye[Wt.handleId]:Wt.handleId&&(Wt.handleId[Qt]=null))}};const an=de(re,xt[0],Wt,at,kt);if(!an)return an;const fn=an.data.handleId;return"number"==typeof fn?ye[fn]=an:fn&&(fn[Qt]=an),fn&&fn.ref&&fn.unref&&"function"==typeof fn.ref&&"function"==typeof fn.unref&&(an.ref=fn.ref.bind(fn),an.unref=fn.unref.bind(fn)),"number"==typeof fn||fn?fn:an}return qt.apply(he,xt)}),We=At(he,Xe,qt=>function(Lt,xt){const Wt=xt[0];let Pt;"number"==typeof Wt?Pt=ye[Wt]:(Pt=Wt&&Wt[Qt],Pt||(Pt=Wt)),Pt&&"string"==typeof Pt.type?"notScheduled"!==Pt.state&&(Pt.cancelFn&&Pt.data.isPeriodic||0===Pt.runCount)&&("number"==typeof Wt?delete ye[Wt]:Wt&&(Wt[Qt]=null),Pt.zone.cancelTask(Pt)):qt.apply(he,xt)})}Zone.__load_patch("legacy",he=>{const re=he[Zone.__symbol__("legacyPatch")];re&&re()}),Zone.__load_patch("timers",he=>{const Xe="clear";hn(he,"set",Xe,"Timeout"),hn(he,"set",Xe,"Interval"),hn(he,"set",Xe,"Immediate")}),Zone.__load_patch("requestAnimationFrame",he=>{hn(he,"request","cancel","AnimationFrame"),hn(he,"mozRequest","mozCancel","AnimationFrame"),hn(he,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(he,re)=>{const Xe=["alert","prompt","confirm"];for(let Le=0;Lefunction(kt,qt){return re.current.run(We,he,qt,at)})}),Zone.__load_patch("EventTarget",(he,re,Xe)=>{(function Re(he,re){re.patchEventPrototype(he,re)})(he,Xe),function yt(he,re){if(Zone[re.symbol("patchEventTarget")])return;const{eventNames:Xe,zoneSymbolEventNames:Le,TRUE_STR:fe,FALSE_STR:We,ZONE_SYMBOL_PREFIX:ye}=re.getGlobalObjects();for(let kt=0;kt{mt("MutationObserver"),mt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(he,re,Xe)=>{mt("IntersectionObserver")}),Zone.__load_patch("FileReader",(he,re,Xe)=>{mt("FileReader")}),Zone.__load_patch("on_property",(he,re,Xe)=>{!function Dt(he,re){if(se&&!$e||Zone[he.symbol("patchEvents")])return;const Xe=re.__Zone_ignore_on_properties;let Le=[];if(ee){const fe=window;Le=Le.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const We=function be(){try{const he=ue.navigator.userAgent;if(-1!==he.indexOf("MSIE ")||-1!==he.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:fe,ignoreProperties:["error"]}]:[];Zt(fe,Ut(fe),Xe&&Xe.concat(We),c(fe))}Le=Le.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let fe=0;fe{!function cn(he,re){const{isBrowser:Xe,isMix:Le}=re.getGlobalObjects();(Xe||Le)&&he.customElements&&"customElements"in he&&re.patchCallbacks(re,he.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(he,Xe)}),Zone.__load_patch("XHR",(he,re)=>{!function kt(qt){const Lt=qt.XMLHttpRequest;if(!Lt)return;const xt=Lt.prototype;let Pt=xt[F],an=xt[ne];if(!Pt){const $t=qt.XMLHttpRequestEventTarget;if($t){const vn=$t.prototype;Pt=vn[F],an=vn[ne]}}const fn="readystatechange",Ke="scheduled";function ot($t){const vn=$t.data,Jt=vn.target;Jt[We]=!1,Jt[at]=!1;const Nn=Jt[fe];Pt||(Pt=Jt[F],an=Jt[ne]),Nn&&an.call(Jt,fn,Nn);const Mn=Jt[fe]=()=>{if(Jt.readyState===Jt.DONE)if(!vn.aborted&&Jt[We]&&$t.state===Ke){const Q=Jt[re.__symbol__("loadfalse")];if(0!==Jt.status&&Q&&Q.length>0){const H=$t.invoke;$t.invoke=function(){const le=Jt[re.__symbol__("loadfalse")];for(let Ie=0;Iefunction($t,vn){return $t[Le]=0==vn[2],$t[ye]=vn[1],st.apply($t,vn)}),Pe=Y("fetchTaskAborting"),bt=Y("fetchTaskScheduling"),gt=At(xt,"send",()=>function($t,vn){if(!0===re.current[bt]||$t[Le])return gt.apply($t,vn);{const Jt={target:$t,url:$t[ye],isPeriodic:!1,args:vn,aborted:!1},Nn=de("XMLHttpRequest.send",lt,Jt,ot,it);$t&&!0===$t[at]&&!Jt.aborted&&Nn.state===Ke&&Nn.invoke()}}),on=At(xt,"abort",()=>function($t,vn){const Jt=function Wt($t){return $t[Xe]}($t);if(Jt&&"string"==typeof Jt.type){if(null==Jt.cancelFn||Jt.data&&Jt.data.aborted)return;Jt.zone.cancelTask(Jt)}else if(!0===re.current[Pe])return on.apply($t,vn)})}(he);const Xe=Y("xhrTask"),Le=Y("xhrSync"),fe=Y("xhrListener"),We=Y("xhrScheduled"),ye=Y("xhrURL"),at=Y("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",he=>{he.navigator&&he.navigator.geolocation&&function Ae(he,re){const Xe=he.constructor.name;for(let Le=0;Le{const kt=function(){return at.apply(this,ve(arguments,Xe+"."+fe))};return qe(kt,at),kt})(We)}}}(he.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(he,re)=>{function Xe(Le){return function(fe){St(he,Le).forEach(ye=>{const at=he.PromiseRejectionEvent;if(at){const kt=new at(Le,{promise:fe.promise,reason:fe.rejection});ye.invoke(kt)}})}}he.PromiseRejectionEvent&&(re[Y("unhandledPromiseRejectionHandler")]=Xe("unhandledrejection"),re[Y("rejectionHandledHandler")]=Xe("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(he,re,Xe)=>{!function Xt(he,re){re.patchMethod(he,"queueMicrotask",Xe=>function(Le,fe){Zone.current.scheduleMicroTask("queueMicrotask",fe[0])})}(he,Xe)})},3402:(Ht,Fe,c)=>{"use strict";c.d(Fe,{XE:()=>k.X,ro:()=>z.r,U5:()=>s,cl:()=>ne});var e=c(4537);let s=(()=>{var W;class te{}return(W=te).\u0275fac=function(ce){return new(ce||W)},W.\u0275mod=e.oAB({type:W}),W.\u0275inj=e.cJS({}),te})();var k=c(9510),z=c(7258),F=c(3577);let ne=(()=>{var W;class te{transform(ce,de){return(0,F.CV)(String(null!=ce?ce:""),null!=de?de:F.A_)}}return(W=te).\u0275fac=function(ce){return new(ce||W)},W.\u0275pipe=e.Yjl({name:"maskito",type:W,pure:!0,standalone:!0}),te})()},9510:(Ht,Fe,c)=>{"use strict";c.d(Fe,{X:()=>z});var e=c(9900),s=c(3577),k=c(4537);let z=(()=>{var F;class ne{constructor(te){this.accessor=te,this.maskito=s.A_;const pe=te.writeValue.bind(te);te.writeValue=ce=>{var de;pe((0,s.CV)(String(null!=ce?ce:""),null!==(de=this.maskito)&&void 0!==de?de:s.A_))}}}return(F=ne).\u0275fac=function(te){return new(te||F)(k.Y36(e.Fj))},F.\u0275dir=k.lG2({type:F,selectors:[["input","maskito",""],["textarea","maskito",""]],hostBindings:function(te,pe){1&te&&k.NdJ("input",function(de){return pe.accessor._handleInput(de.target.value)})("blur",function(){return pe.accessor.onTouched()})("compositionstart",function(){return pe.accessor._compositionStart()})("compositionend",function(de){return pe.accessor._compositionEnd(de.target.value)})},inputs:{maskito:"maskito"},standalone:!0,features:[k._Bn([e.Fj,{provide:e.JU,multi:!0,useExisting:e.Fj}])]}),ne})()},7258:(Ht,Fe,c)=>{"use strict";c.d(Fe,{r:()=>z});var e=c(8239),s=c(4537),k=c(3577);let z=(()=>{var F;class ne{constructor(te,pe){this.ngZone=te,this.elementRef=pe,this.maskedElement=null,this.maskito=k.A_,this.maskitoElement=k.gI}ngOnChanges(){var te=this;return(0,e.Z)(function*(){var pe;null===(pe=te.maskedElement)||void 0===pe||pe.destroy();const ce=te.maskitoElement,de=yield ce(te.elementRef.nativeElement);te.maskitoElement===ce&&te.ngZone.runOutsideAngular(()=>{var Y;te.maskedElement=new k.C8(de,null!==(Y=te.maskito)&&void 0!==Y?Y:k.A_)})})()}ngOnDestroy(){var te;null===(te=this.maskedElement)||void 0===te||te.destroy()}}return(F=ne).\u0275fac=function(te){return new(te||F)(s.Y36(s.R0b),s.Y36(s.SBq))},F.\u0275dir=s.lG2({type:F,selectors:[["","maskito",""]],inputs:{maskito:"maskito",maskitoElement:"maskitoElement"},standalone:!0,features:[s.TTD]}),ne})()},3577:(Ht,Fe,c)=>{"use strict";c.d(Fe,{gI:()=>e,A_:()=>s,C8:()=>qe,D2:()=>At,qs:()=>Qe,CV:()=>mt,fD:()=>se});const e=Ge=>Ge.querySelector("input,textarea")||Ge,s={mask:/^.*$/,preprocessors:[],postprocessors:[],plugins:[],overwriteMode:"shift"};class k{constructor(){this.now=null,this.past=[],this.future=[]}undo(){const R=this.past.pop();R&&this.now&&(this.future.push(this.now),this.updateElement(R,"historyUndo"))}redo(){const R=this.future.pop();R&&this.now&&(this.past.push(this.now),this.updateElement(R,"historyRedo"))}updateHistory(R){if(!this.now)return void(this.now=R);const be=this.now.value!==R.value,S=this.now.selection.some((q,ze)=>q!==R.selection[ze]);!be&&!S||(be&&(this.past.push(this.now),this.future=[]),this.now=R)}updateElement(R,be){this.now=R,this.updateElementState(R,{inputType:be,data:null})}}function F(Ge,...R){return R.every(({value:be,selection:S})=>be===Ge.value&&S[0]===Ge.selection[0]&&S[1]===Ge.selection[1])}function W(Ge){return"string"==typeof Ge}function te(Ge,R,be,S){let q="";for(let ze=R.length;ze{const q=R[S];return W(q)?be===q:be.match(q)}):R.test(Ge)}function Y(Ge,R,be=null){if(pe(Ge.value,R))return Ge;const{value:S,selection:q}=Array.isArray(R)?function ce(Ge,R,be){var S,q;let ze=null,N=null;const Se=Array.from(Ge.value).reduce((pt,wt,Cn)=>{const Ft=pt+te(R,pt,wt,be),It=R[Ft.length];return W(It)?Ft+It:wt.match(It)?(null===ze&&Cn>=Ge.selection[0]&&(ze=Ft.length),null===N&&Cn>=Ge.selection[1]&&(N=Ft.length),Ft+wt):Ft},""),et=te(R,Se,"",be);return{value:pe(Se+et,R)?Se+et:Se,selection:[null!==(S=ze)&&void 0!==S?S:Se.length,null!==(q=N)&&void 0!==q?q:Se.length]}}(Ge,R,be):function de({value:Ge,selection:R},be){const[S,q]=R;let ze=S,N=q;return{value:Array.from(Ge).reduce((et,pt,wt)=>{const Cn=et+pt;return S===wt&&(ze=et.length),q===wt&&(N=et.length),Cn.match(be)?Cn:et},""),selection:[ze,N]}}(Ge,R);return{selection:q,value:Array.isArray(R)?S.slice(0,R.length):S}}function _e(Ge,R){if(!Array.isArray(R))return Ge;const[be,S]=Ge.selection,q=[],ze=Array.from(Ge.value).reduce((N,Se,et)=>{const pt=R[et];return et===be&&q.push(N.length),et===S&&q.push(N.length),W(pt)&&pt===Se?N:N+Se},"");return q.length<2&&q.push(...new Array(2-q.length).fill(ze.length)),{value:ze,selection:[q[0],q[1]]}}class ue{constructor(R,be){this.initialElementState=R,this.maskOptions=be,this.value="",this.selection=[0,0];const{value:S,selection:q}=Y(R,this.getMaskExpression(R));this.value=S,this.selection=q}addCharacters([R,be],S){const{value:q}=this,ze=this.getMaskExpression({value:q.slice(0,R)+S+q.slice(be),selection:[R+S.length,R+S.length]}),N={value:q,selection:[R,be]},Se=_e(N,ze),[et,pt]=function ne({value:Ge,selection:R},be,S){const[q,ze]=R;return{value:Ge,selection:"replace"===("function"==typeof S?S({value:Ge,selection:R}):S)?[q,q+be.length]:[q,ze]}}(Se,S,this.maskOptions.overwriteMode).selection,wt=Se.value.slice(0,et)+S,Cn=wt.length,St=Y({value:wt+Se.value.slice(pt),selection:[Cn,Cn]},ze,N);if(q.slice(0,et)===Y({value:wt,selection:[Cn,Cn]},ze,N).value||F(this,St))throw new Error("Invalid mask value");this.value=St.value,this.selection=St.selection}deleteCharacters([R,be]){if(R===be||!be)return;const{value:S}=this,q=this.getMaskExpression({value:S.slice(0,R)+S.slice(be),selection:[R,R]}),ze={value:S,selection:[R,be]},N=_e(ze,q),[Se,et]=N.selection,wt=Y({value:N.value.slice(0,Se)+N.value.slice(et),selection:[Se,Se]},q,ze);this.value=wt.value,this.selection=wt.selection}getMaskExpression(R){const{mask:be}=this.maskOptions;return"function"==typeof be?be(R):be}}class ie{constructor(R){this.element=R,this.listeners=[]}listen(R,be,S){const q=be;this.element.addEventListener(R,q,S),this.listeners.push(()=>this.element.removeEventListener(R,q))}destroy(){this.listeners.forEach(R=>R())}}const Ue={CTRL:1,ALT:2,SHIFT:4,META:8},ve_Y=89,ve_Z=90;function Ae(Ge,R,be){return Ge.ctrlKey===!!(R&Ue.CTRL)&&Ge.altKey===!!(R&Ue.ALT)&&Ge.shiftKey===!!(R&Ue.SHIFT)&&Ge.metaKey===!!(R&Ue.META)&&Ge.keyCode===be}function se(Ge,R){if("string"==typeof R)Ge.value=R;else{var be;const[S,q]=R.selection;Ge.value=R.value,null===(be=Ge.setSelectionRange)||void 0===be||be.call(Ge,S,q)}Ge.dispatchEvent(new Event("input",{bubbles:!0}))}function ee({value:Ge,selection:R},be){const[S,q]=R;if(S!==q)return[S,q];const ze=be?Ge.slice(S).indexOf("\n")+1||Ge.length:Ge.slice(0,q).lastIndexOf("\n")+1;return[be?S:ze,be?ze:q]}function $e({value:Ge,selection:R},be){const[S,q]=R;return S!==q?[S,q]:(be?[S,q+1]:[S-1,q]).map(N=>Math.min(Math.max(N,0),Ge.length))}const Oe=/\s+$/g,_t=/^\s+/g,vt=/\s/;function tt({value:Ge,selection:R},be){const[S,q]=R;if(S!==q)return[S,q];if(be){const et=Ge.slice(S),[pt]=et.match(_t)||[""],wt=et.trimStart().search(vt);return[S,-1!==wt?S+pt.length+wt:Ge.length]}const ze=Ge.slice(0,q),[N]=ze.match(Oe)||[""],Se=ze.trimEnd().split("").reverse().findIndex(et=>et.match(vt));return[-1!==Se?q-N.length-Se:0,q]}function we(Ge=[]){return(R,...be)=>Ge.reduce((S,q)=>({...S,...q(S,...be)}),R)}function mt(Ge,R){const be={...s,...R},S=we(be.preprocessors),q=we(be.postprocessors),ze="string"==typeof Ge?{value:Ge,selection:[0,0]}:Ge,{elementState:N}=S({elementState:ze,data:""},"validation"),Se=new ue(N,be),{value:et,selection:pt}=q(Se,ze);return"string"==typeof Ge?et:{value:et,selection:pt}}function At(Ge){return(R,be)=>{const S=R.selectionStart||0,q=R.selectionEnd||0;se(R,{value:mt(R.value,Ge||be),selection:[S,q]})}}function Qe(){return(Ge,R)=>{const be=S=>{if("insertCompositionText"!==S.inputType)return;const ze={selection:[Ge.selectionStart||0,Ge.selectionEnd||0],value:Ge.value},N=mt(ze,R);F(ze,N)||(S.preventDefault(),se(Ge,N))};return Ge.addEventListener("input",be),()=>Ge.removeEventListener("input",be)}}class qe extends k{constructor(R,be){super(),this.element=R,this.maskitoOptions=be,this.isTextArea="TEXTAREA"===this.element.nodeName,this.eventListener=new ie(this.element),this.options={...s,...this.maskitoOptions},this.preprocessor=we(this.options.preprocessors),this.postprocessor=we(this.options.postprocessors),this.teardowns=this.options.plugins.map(S=>S(this.element,this.options)),this.updateHistory(this.elementState),this.eventListener.listen("keydown",S=>function Ve(Ge){return Ae(Ge,Ue.CTRL,ve_Y)||Ae(Ge,Ue.CTRL|Ue.SHIFT,ve_Z)||Ae(Ge,Ue.META|Ue.SHIFT,ve_Z)}(S)?(S.preventDefault(),this.redo()):function je(Ge){return Ae(Ge,Ue.CTRL,ve_Z)||Ae(Ge,Ue.META,ve_Z)}(S)?(S.preventDefault(),this.undo()):void 0),this.eventListener.listen("beforeinput",S=>{const q=S.inputType.includes("Forward");switch(this.updateHistory(this.elementState),S.inputType){case"historyUndo":return S.preventDefault(),this.undo();case"historyRedo":return S.preventDefault(),this.redo();case"deleteByCut":case"deleteContentBackward":case"deleteContentForward":return this.handleDelete({event:S,isForward:q,selection:$e(this.elementState,q)});case"deleteWordForward":case"deleteWordBackward":return this.handleDelete({event:S,isForward:q,selection:tt(this.elementState,q),force:!0});case"deleteSoftLineBackward":case"deleteSoftLineForward":case"deleteHardLineBackward":case"deleteHardLineForward":return this.handleDelete({event:S,isForward:q,selection:ee(this.elementState,q),force:!0});case"insertCompositionText":return;case"insertLineBreak":return this.handleEnter(S);default:return this.handleInsert(S,S.data||"")}}),this.eventListener.listen("input",({inputType:S})=>{"insertCompositionText"!==S&&(this.ensureValueFitsMask(),this.updateHistory(this.elementState))}),this.eventListener.listen("compositionend",()=>{this.ensureValueFitsMask(),this.updateHistory(this.elementState)})}get elementState(){const{value:R,selectionStart:be,selectionEnd:S}=this.element;return{value:R,selection:[be||0,S||0]}}get maxLength(){const{maxLength:R}=this.element;return-1===R?1/0:R}destroy(){this.eventListener.destroy(),this.teardowns.forEach(R=>null==R?void 0:R())}updateElementState({value:R,selection:be},S={inputType:"insertText",data:null}){const q=this.elementState.value;this.updateValue(R),this.updateSelectionRange(be),q!==R&&this.dispatchInputEvent(S)}updateSelectionRange([R,be]){var S,q;this.element.selectionStart===R&&this.element.selectionEnd===be||null===(S=(q=this.element).setSelectionRange)||void 0===S||S.call(q,R,be)}updateValue(R){this.element.value=R}ensureValueFitsMask(){this.updateElementState(mt(this.elementState,this.options))}dispatchInputEvent(R={inputType:"insertText",data:null}){globalThis.InputEvent&&this.element.dispatchEvent(new InputEvent("input",{...R,bubbles:!0,cancelable:!1}))}handleDelete({event:R,selection:be,isForward:S,force:q=!1}){const ze={value:this.elementState.value,selection:be},[N,Se]=ze.selection,{elementState:et}=this.preprocessor({elementState:ze,data:""},S?"deleteForward":"deleteBackward"),pt=new ue(et,this.options),[wt,Cn]=et.selection;pt.deleteCharacters([wt,Cn]);const St=this.postprocessor(pt,ze);if(ze.value.slice(0,N)+ze.value.slice(Se)!==St.value||q){if(R.preventDefault(),function z(Ge,...R){return R.every(({value:be})=>be===Ge.value)}(ze,et,pt,St))return this.updateSelectionRange(S?[Cn,Cn]:[wt,wt]);this.updateElementState(St,{inputType:R.inputType,data:null}),this.updateHistory(St)}}handleInsert(R,be){const S=this.elementState,{elementState:q,data:ze=be}=this.preprocessor({data:be,elementState:S},"insert"),N=new ue(q,this.options);try{N.addCharacters(q.selection,ze)}catch{return R.preventDefault()}const[Se,et]=q.selection,pt=q.value.slice(0,Se)+be+q.value.slice(et),wt=this.postprocessor(N,S);if(wt.value.length>this.maxLength)return R.preventDefault();pt!==wt.value&&(R.preventDefault(),this.updateElementState(wt,{data:be,inputType:R.inputType}),this.updateHistory(wt))}handleEnter(R){this.isTextArea&&this.handleInsert(R,"\n")}}},3139:(Ht,Fe,c)=>{"use strict";c.d(Fe,{x:()=>e,C:()=>s});const e={WhatIsMaskito:"getting-started/what-is-maskito",MaskitoLibraries:"getting-started/maskito-libraries",CoreConceptsOverview:"core-concepts/overview",MaskExpression:"core-concepts/mask-expression",ElementState:"core-concepts/element-state",Processors:"core-concepts/processors",Plugins:"core-concepts/plugins",OverwriteMode:"core-concepts/overwrite-mode",Transformer:"core-concepts/transformer",Angular:"frameworks/angular",React:"frameworks/react",Vue:"frameworks/vue",Number:"kit/number",Time:"kit/time",Date:"kit/date",DateRange:"kit/date-range",DateTime:"kit/date-time",PhonePackage:"addons/phone",Card:"recipes/card",Phone:"recipes/phone",Textarea:"recipes/textarea",Prefix:"recipes/prefix",Postfix:"recipes/postfix",Placeholder:"recipes/placeholder",BrowserSupport:"browser-support",Changelog:"changelog",Stackblitz:"stackblitz",Cypress:"cypress"},s={MaskitoOptions:"mask",JavaScript:"JavaScript",Angular:"Angular",React:"React",Vue:"Vue"}},8179:(Ht,Fe,c)=>{"use strict";var e=c(5998),k=(c(7400),c(5732)),z=c(4537),F=c(4091),ne=c(763),W=c(8692);let te=(()=>{class Ke extends F._j{constructor(lt,it){super(),this._nextAnimationId=0,this._renderer=lt.createRenderer(it.body,{id:"0",encapsulation:z.ifc.None,styles:[],data:{animation:[]}})}build(lt){const it=this._nextAnimationId.toString();this._nextAnimationId++;const st=Array.isArray(lt)?(0,F.vP)(lt):lt;return de(this._renderer,null,it,"register",[st]),new pe(it,this._renderer)}}return Ke.\u0275fac=function(lt){return new(lt||Ke)(z.LFG(z.FYo),z.LFG(W.K0))},Ke.\u0275prov=z.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class pe extends F.LC{constructor(ot,lt){super(),this._id=ot,this._renderer=lt}create(ot,lt){return new ce(this._id,ot,lt||{},this._renderer)}}class ce{constructor(ot,lt,it,st){this.id=ot,this.element=lt,this._renderer=st,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",it)}_listen(ot,lt){return this._renderer.listen(this.element,`@@${this.id}:${ot}`,lt)}_command(ot,...lt){return de(this._renderer,this.element,this.id,ot,lt)}onDone(ot){this._listen("done",ot)}onStart(ot){this._listen("start",ot)}onDestroy(ot){this._listen("destroy",ot)}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(ot){this._command("setPosition",ot)}getPosition(){var ot,lt;return null!==(ot=null===(lt=this._renderer.engine.players[+this.id])||void 0===lt?void 0:lt.getPosition())&&void 0!==ot?ot:0}}function de(Ke,ot,lt,it,st){return Ke.setProperty(ot,`@@${lt}:${it}`,st)}const Y="@",_e="@.disabled";let ue=(()=>{class Ke{constructor(lt,it,st){this.delegate=lt,this.engine=it,this._zone=st,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),it.onRemovalComplete=(V,Pe)=>{const bt=null==Pe?void 0:Pe.parentNode(V);bt&&Pe.removeChild(bt,V)}}createRenderer(lt,it){const V=this.delegate.createRenderer(lt,it);if(!(lt&&it&&it.data&&it.data.animation)){let $t=this._rendererCache.get(V);return $t||($t=new ie("",V,this.engine,()=>this._rendererCache.delete(V)),this._rendererCache.set(V,$t)),$t}const Pe=it.id,bt=it.id+"-"+this._currentId;this._currentId++,this.engine.register(bt,lt);const gt=$t=>{Array.isArray($t)?$t.forEach(gt):this.engine.registerTrigger(Pe,bt,lt,$t.name,$t)};return it.data.animation.forEach(gt),new Ue(this,bt,V,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(lt,it,st){lt>=0&<it(st)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(V=>{const[Pe,bt]=V;Pe(bt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([it,st]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return Ke.\u0275fac=function(lt){return new(lt||Ke)(z.LFG(z.FYo),z.LFG(ne.Th),z.LFG(z.R0b))},Ke.\u0275prov=z.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class ie{constructor(ot,lt,it,st){this.namespaceId=ot,this.delegate=lt,this.engine=it,this._onDestroy=st,this.destroyNode=this.delegate.destroyNode?V=>lt.destroyNode(V):null}get data(){return this.delegate.data}destroy(){var ot;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(ot=this._onDestroy)||void 0===ot||ot.call(this)}createElement(ot,lt){return this.delegate.createElement(ot,lt)}createComment(ot){return this.delegate.createComment(ot)}createText(ot){return this.delegate.createText(ot)}appendChild(ot,lt){this.delegate.appendChild(ot,lt),this.engine.onInsert(this.namespaceId,lt,ot,!1)}insertBefore(ot,lt,it,st=!0){this.delegate.insertBefore(ot,lt,it),this.engine.onInsert(this.namespaceId,lt,ot,st)}removeChild(ot,lt,it){this.engine.onRemove(this.namespaceId,lt,this.delegate,it)}selectRootElement(ot,lt){return this.delegate.selectRootElement(ot,lt)}parentNode(ot){return this.delegate.parentNode(ot)}nextSibling(ot){return this.delegate.nextSibling(ot)}setAttribute(ot,lt,it,st){this.delegate.setAttribute(ot,lt,it,st)}removeAttribute(ot,lt,it){this.delegate.removeAttribute(ot,lt,it)}addClass(ot,lt){this.delegate.addClass(ot,lt)}removeClass(ot,lt){this.delegate.removeClass(ot,lt)}setStyle(ot,lt,it,st){this.delegate.setStyle(ot,lt,it,st)}removeStyle(ot,lt,it){this.delegate.removeStyle(ot,lt,it)}setProperty(ot,lt,it){lt.charAt(0)==Y&<==_e?this.disableAnimations(ot,!!it):this.delegate.setProperty(ot,lt,it)}setValue(ot,lt){this.delegate.setValue(ot,lt)}listen(ot,lt,it){return this.delegate.listen(ot,lt,it)}disableAnimations(ot,lt){this.engine.disableAnimations(ot,lt)}}class Ue extends ie{constructor(ot,lt,it,st,V){super(lt,it,st,V),this.factory=ot,this.namespaceId=lt}setProperty(ot,lt,it){lt.charAt(0)==Y?"."==lt.charAt(1)&<==_e?this.disableAnimations(ot,it=void 0===it||!!it):this.engine.process(this.namespaceId,ot,lt.slice(1),it):this.delegate.setProperty(ot,lt,it)}listen(ot,lt,it){if(lt.charAt(0)==Y){const st=function ve(Ke){switch(Ke){case"body":return document.body;case"document":return document;case"window":return window;default:return Ke}}(ot);let V=lt.slice(1),Pe="";return V.charAt(0)!=Y&&([V,Pe]=function Ae(Ke){const ot=Ke.indexOf(".");return[Ke.substring(0,ot),Ke.slice(ot+1)]}(V)),this.engine.listen(this.namespaceId,st,V,Pe,bt=>{this.factory.scheduleListenerCallback(bt._data||-1,it,bt)})}return this.delegate.listen(ot,lt,it)}}const ee=[{provide:F._j,useClass:te},{provide:ne.NH,useFactory:function je(){return new ne.Ar}},{provide:ne.Th,useClass:(()=>{class Ke extends ne.Th{constructor(lt,it,st,V){super(lt.body,it,st)}ngOnDestroy(){this.flush()}}return Ke.\u0275fac=function(lt){return new(lt||Ke)(z.LFG(W.K0),z.LFG(ne.Vi),z.LFG(ne.NH),z.LFG(z.z2F))},Ke.\u0275prov=z.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})()},{provide:z.FYo,useFactory:function se(Ke,ot,lt){return new ue(Ke,ot,lt)},deps:[e.se,ne.Th,z.R0b]}],$e=[{provide:ne.Vi,useFactory:()=>new ne.DT},{provide:z.QbO,useValue:"BrowserAnimations"},...ee],Oe=[{provide:ne.Vi,useClass:ne.nV},{provide:z.QbO,useValue:"NoopAnimations"},...ee];let _t=(()=>{class Ke{static withConfig(lt){return{ngModule:Ke,providers:lt.disableAnimations?Oe:$e}}}return Ke.\u0275fac=function(lt){return new(lt||Ke)},Ke.\u0275mod=z.oAB({type:Ke}),Ke.\u0275inj=z.cJS({providers:$e,imports:[e.b2]}),Ke})();var mt=c(9439),At=c(2847),Qe=c(5452),qe=c(5551),Ge=c(1001),R=c(3139),be=c(6060),S=c(3358),q=c.n(S);const ze=new z.OlP("Config for DOMPurify",{factory:()=>({}),providedIn:"root"}),N=new z.OlP("Hooks for DOMPurify",{factory:()=>[],providedIn:"root"}),Se=new z.OlP("A function that sanitizes value for a CSS rule",{factory:()=>Ke=>Ke,providedIn:"root"}),et=q();let pt=(()=>{class Ke{constructor(lt,it,{defaultView:st},V){this.config=lt,this.sanitizeStyle=it,this.domPurify=et(st),V.forEach(({name:Pe,hook:bt})=>{this.domPurify.addHook(Pe,bt)})}sanitize(lt,it,st=this.config){if(lt===z.q3G.SCRIPT)throw new Error("DOMPurify does not support SCRIPT context");return lt===z.q3G.STYLE?this.sanitizeStyle(String(it)):this.domPurify.sanitize(String(it||""),st)}}return Ke.\u0275fac=function(lt){return new(lt||Ke)(z.LFG(ze),z.LFG(Se),z.LFG(W.K0),z.LFG(N))},Ke.\u0275prov=z.Yz7({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();var St=c(3178);let Ft=(()=>{var Ke;class ot{constructor(){this.stackblitzStarterPath=`/${R.x.Stackblitz}`}}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["my-app"]],features:[z._Bn([{provide:be.hm,useClass:pt}])],decls:5,vars:1,consts:[["ngProjectAs","tuiDocHeader",5,["tuiDocHeader"]],["href","https://github.com/taiga-family/maskito","icon","assets/icons/github.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Maskito source code on GitHub","tuiLink","","tuiMode","onLight",1,"link"],["href","https://t.me/taiga_ui/10600","icon","assets/icons/telegram.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Get help on Telegram","tuiLink","","tuiMode","onLight",1,"link"],["icon","assets/icons/stackblitz.svg","iconAlign","left","title","Maskito StackBlitz Starter","tuiLink","","tuiMode","onLight",1,"link",3,"routerLink"]],template:function(it,st){1&it&&(z.TgZ(0,"tui-doc-main"),z.ynx(1,0),z._UZ(2,"a",1)(3,"a",2)(4,"a",3),z.BQk(),z.qZA()),2&it&&(z.xp6(4),z.Q6J("routerLink",st.stackblitzStarterPath))},dependencies:[St.rH,mt.$5,At.V,Qe.w],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-m);color:var(--tui-text-01)}.link[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),ot})();var It=c(8239),Rt=c(4548),Zt=c(5432);const Ut=[{section:"Getting started",title:"What is Maskito?",route:R.x.WhatIsMaskito,keywords:"getting, started, what, is, maskito"},{section:"Getting started",title:"Maskito libraries",route:R.x.MaskitoLibraries,keywords:"install, package, packages, maskito, npm, setup, explore, ecosystem"},{section:"Core concepts",title:"Overview",route:R.x.CoreConceptsOverview,keywords:"core, concepts, overview"},{section:"Core concepts",title:"Mask expression",route:R.x.MaskExpression,keywords:"core, concepts, mask, expression, reg, exp, fixed"},{section:"Core concepts",title:"Element state",route:R.x.ElementState,keywords:"core, concepts, element, state"},{section:"Core concepts",title:"Processors",route:R.x.Processors,keywords:"core, concepts, preprocessor, postprocessor, processor, element, state, elementState"},{section:"Core concepts",title:"Plugins",route:R.x.Plugins,keywords:"core, concepts, extension, event, focus, blur"},{section:"Core concepts",title:"Overwrite mode",route:R.x.OverwriteMode,keywords:"core, concepts, overwrite, mode, shift, replace"},{section:"Core concepts",title:"Transformer",route:R.x.Transformer,keywords:"core, concepts, programmatic, patch, set, update, value"},{section:"Frameworks",title:"Angular",route:R.x.Angular,keywords:"ng, angular, framework, addon"},{section:"Frameworks",title:"React",route:R.x.React,keywords:"react, framework, addon"},{section:"Frameworks",title:"Vue",route:R.x.Vue,keywords:"vue, framework, addon"},{section:"Kit",title:"Number",route:R.x.Number,keywords:"digit, number, money, mask, kit, generator"},{section:"Kit",title:"Time",route:R.x.Time,keywords:"time, hour, minute, second, mask, kit, generator"},{section:"Kit",title:"Date",route:R.x.Date,keywords:"date, day, month, year, mask, kit, generator"},{section:"Kit",title:"DateRange",route:R.x.DateRange,keywords:"date, day, month, year, mask, range, kit, generator"},{section:"Kit",title:"DateTime",route:R.x.DateTime,keywords:"date, day, month, year, mask, time, date-time, hour, minute, second, kit, generator"},{section:"Addons",title:"@maskito/phone",route:R.x.PhonePackage,keywords:"phone, libphonenumber, international, generator"},{section:"Recipes",title:"Card",route:R.x.Card,keywords:"card, credit, cvv, debit, mask, recipe"},{section:"Recipes",title:"Phone",route:R.x.Phone,keywords:"phone, mobile, tel, telephone, mask, recipe"},{section:"Recipes",title:"Textarea",route:R.x.Textarea,keywords:"textarea, latin, mask, recipe"},{section:"Recipes",title:"With prefix",route:R.x.Prefix,keywords:"prefix, before, recipe"},{section:"Recipes",title:"With postfix",route:R.x.Postfix,keywords:"postfix, after, percent, am, pm, recipe"},{section:"Recipes",title:"With placeholder",route:R.x.Placeholder,keywords:"guide, placeholder, fill, recipe"},{section:"Other",title:"Browser support",route:R.x.BrowserSupport,keywords:"chrome, safari, ie, edge, firefox, browser, support"},{section:"Other",title:"Changelog",route:R.x.Changelog,keywords:"changelog, release, version, history"}];var Dt=c(9570),Xt=c(4789);const hn=new Dt.Al((()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["angular-logo"]],decls:1,vars:0,consts:[["src","assets/icons/angular.svg"]],template:function(it,st){1&it&&z._UZ(0,"tui-svg",0)},dependencies:[Xt.PN],encapsulation:2,changeDetection:0}),ot})());let cn=(()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275mod=z.oAB({type:Ke}),Ke.\u0275inj=z.cJS({imports:[Xt.EI]}),ot})();const Re=new Dt.Al((()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["javascript-logo"]],decls:1,vars:0,consts:[["src","assets/icons/javascript.svg"]],template:function(it,st){1&it&&z._UZ(0,"tui-svg",0)},dependencies:[Xt.PN],encapsulation:2,changeDetection:0}),ot})()),re=new Dt.Al((()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["react-logo"]],decls:1,vars:0,consts:[["src","assets/icons/react.svg"]],template:function(it,st){1&it&&z._UZ(0,"tui-svg",0)},dependencies:[Xt.PN],encapsulation:2,changeDetection:0}),ot})()),Le=new Dt.Al((()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["vue-logo"]],decls:1,vars:0,consts:[["src","assets/icons/vue.svg"]],template:function(it,st){1&it&&z._UZ(0,"tui-svg",0)},dependencies:[Xt.PN],encapsulation:2,changeDetection:0}),ot})()),We=new Dt.Al((()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["logo"]],decls:5,vars:0,consts:[["routerLink","/","tuiLink","",1,"logo-link"],[1,"logo-name"],["alt","Maskito logo","src","assets/icons/maskito.svg",1,"logo"],["alt","by Tinkoff","src","assets/icons/by.svg",1,"by"]],template:function(it,st){1&it&&(z.TgZ(0,"a",0)(1,"span",1),z._UZ(2,"img",2),z._uU(3," Maskito "),z.qZA()(),z._UZ(4,"img",3))},dependencies:[At.V,St.rH],styles:["[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font-size:0}.logo-link[_ngcontent-%COMP%]{display:flex}.logo-name[_ngcontent-%COMP%]{display:flex;color:var(--tui-text-01)}.logo[_ngcontent-%COMP%]{margin-right:.625rem}.by[_ngcontent-%COMP%]{margin-left:.875rem}tui-root._mobile[_nghost-%COMP%] .by[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .by[_ngcontent-%COMP%]{display:none}"],changeDetection:0}),ot})()),xt=[{provide:W.S$,useClass:W.b0},{provide:Rt.Yx,useValue:"Maskito | "},{provide:Rt.Or,useValue:We},{provide:Rt.AC,useValue:["Description and examples","API"]},{provide:Rt.V5,useValue:Ut},{provide:Rt.yO,useValue:Ke=>{const ot="https://github.com/taiga-family/maskito/tree/main/projects";return Ke.path?`${ot}/${Ke.path}`:Ke.package&&"kit"===Ke.package.toLowerCase()?`${ot}/${Ke.package.toLowerCase()}/src/lib/masks/${(Ke.header[0].toLowerCase()+Ke.header.slice(1)).replace(/[A-Z]/g,lt=>`-${lt.toLowerCase()}`)}`:null}},{provide:Rt.lW,useClass:Ge.StackblitzService},{provide:Rt.$_,useValue:Ke=>{const ot=Object.keys(Ke);return 1===ot.length&&ot[0]===R.C.MaskitoOptions?{...Ke,[R.C.JavaScript]:"import {Maskito, MaskitoOptions} from '@maskito/core';\nimport maskitoOptions from './mask';\n\nconst element = document.querySelector('input,textarea')!;\nconst maskedInput = new Maskito(element, maskitoOptions);\n\n// Call this function when the element is detached from DOM\nmaskedInput.destroy();",[R.C.Angular]:"import {Component} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport type {MaskitoOptions} from '@maskito/core';\n\nimport mask from './mask';\n\n@Component({\n selector: 'my-app',\n standalone: true,\n imports: [MaskitoDirective],\n template: '',\n})\nexport class App {\n readonly options: MaskitoOptions = mask;\n}",[R.C.React]:"import * as React from 'react';\nimport {useMaskito} from '@maskito/react';\n\nimport options from './mask';\n\nexport default function App() {\n const maskedInputRef = useMaskito({options});\n\n return ;\n}",[R.C.Vue]:"import {createApp} from 'vue';\nimport {maskito} from '@maskito/vue';\n\nimport options from './mask';\n\nconst app = createApp({\n template: '',\n directives: {maskito},\n data: () => ({ options }),\n});"}:Ke}},(0,mt.hs)({codeEditorVisibilityHandler:Ke=>{const ot=Object.keys(Ke);return ot.includes(R.C.MaskitoOptions)&&ot.includes(R.C.JavaScript)},tabTitles:new Map([[R.C.JavaScript,Re],[R.C.Angular,hn],[R.C.React,re],[R.C.Vue,Le]])}),{provide:Zt.rN,useFactory:()=>{const Ke=(0,W.NF)((0,z.f3M)(z.Lbi));return{coreLibraryLoader:(ot=(0,It.Z)(function*(){return c.e(9358).then(c.bind(c,9358))}),function(){return ot.apply(this,arguments)}),lineNumbersLoader:function(){var ot=(0,It.Z)(function*(){return Ke?c.e(9022).then(c.t.bind(c,9022,23)):Promise.resolve()});return function(){return ot.apply(this,arguments)}}(),languages:{typescript:function(){var ot=(0,It.Z)(function*(){return c.e(3377).then(c.bind(c,3377))});return function(){return ot.apply(this,arguments)}}(),less:function(){var ot=(0,It.Z)(function*(){return c.e(4249).then(c.bind(c,4249))});return function(){return ot.apply(this,arguments)}}(),xml:function(){var ot=(0,It.Z)(function*(){return c.e(3088).then(c.bind(c,3088))});return function(){return ot.apply(this,arguments)}}()}};var ot}}],Wt=[{path:R.x.WhatIsMaskito,loadChildren:()=>Promise.all([c.e(8592),c.e(2089)]).then(c.bind(c,2089)).then(Ke=>Ke.WhatIsMaskitoDocPageModule),data:{title:"What is Maskito?"}},{path:R.x.MaskitoLibraries,loadChildren:()=>c.e(5113).then(c.bind(c,5113)).then(Ke=>Ke.MaskitoLibrariesDocPageModule),data:{title:"Maskito libraries"}},{path:R.x.CoreConceptsOverview,loadChildren:()=>Promise.all([c.e(8592),c.e(7674)]).then(c.bind(c,7674)).then(Ke=>Ke.CoreConceptsOverviewDocPageModule),data:{title:"Core concepts"}},{path:R.x.MaskExpression,loadChildren:()=>Promise.all([c.e(8592),c.e(7089)]).then(c.bind(c,7089)).then(Ke=>Ke.MaskExpressionDocPageModule),data:{title:"Mask expression"}},{path:R.x.ElementState,loadChildren:()=>c.e(5017).then(c.bind(c,5017)).then(Ke=>Ke.ElementStateDocPageModule),data:{title:"Element state"}},{path:R.x.Processors,loadChildren:()=>Promise.all([c.e(8592),c.e(2742)]).then(c.bind(c,2742)).then(Ke=>Ke.ProcessorsDocPageModule),data:{title:"Processors"}},{path:R.x.Plugins,loadChildren:()=>Promise.all([c.e(8592),c.e(2870)]).then(c.bind(c,2870)).then(Ke=>Ke.PluginsDocPageModule),data:{title:"Plugins"}},{path:R.x.OverwriteMode,loadChildren:()=>Promise.all([c.e(3506),c.e(8592),c.e(6233)]).then(c.bind(c,6233)).then(Ke=>Ke.OverwriteModeDocPageModule),data:{title:"Overwrite mode"}},{path:R.x.Transformer,loadChildren:()=>Promise.all([c.e(8592),c.e(7072)]).then(c.bind(c,7072)).then(Ke=>Ke.TransformerDocPageModule),data:{title:"Transformer"}},{path:R.x.Angular,loadChildren:()=>c.e(8354).then(c.bind(c,8354)).then(Ke=>Ke.AngularDocPageModule),data:{title:"Angular"}},{path:R.x.React,loadChildren:()=>Promise.all([c.e(7435),c.e(8660)]).then(c.bind(c,8660)).then(Ke=>Ke.ReactDocPageModule),data:{title:"React"}},{path:R.x.Vue,loadChildren:()=>c.e(8210).then(c.bind(c,8210)).then(Ke=>Ke.VueDocPageModule),data:{title:"Vue"}},{path:R.x.Number,loadChildren:()=>c.e(6054).then(c.bind(c,6054)).then(Ke=>Ke.NumberMaskDocModule),data:{title:"Number"}},{path:R.x.Time,loadChildren:()=>c.e(18).then(c.bind(c,18)).then(Ke=>Ke.TimeMaskDocModule),data:{title:"Time"}},{path:R.x.Date,loadChildren:()=>c.e(2888).then(c.bind(c,2888)).then(Ke=>Ke.DateMaskDocModule),data:{title:"Date"}},{path:R.x.DateRange,loadChildren:()=>c.e(4701).then(c.bind(c,4701)).then(Ke=>Ke.DateRangeMaskDocModule),data:{title:"DateRange"}},{path:R.x.DateTime,loadChildren:()=>c.e(5564).then(c.bind(c,5564)).then(Ke=>Ke.DateTimeMaskDocModule),data:{title:"DateTime"}},{path:R.x.Card,loadChildren:()=>c.e(5445).then(c.bind(c,5445)).then(Ke=>Ke.CardDocModule),data:{title:"Card"}},{path:R.x.Phone,loadChildren:()=>Promise.all([c.e(8592),c.e(5608)]).then(c.bind(c,5608)).then(Ke=>Ke.PhoneDocModule),data:{title:"Phone"}},{path:R.x.PhonePackage,loadChildren:()=>Promise.all([c.e(8592),c.e(7316)]).then(c.bind(c,7316)).then(Ke=>Ke.PhoneDocModule),data:{title:"Phone"}},{path:R.x.Textarea,loadChildren:()=>Promise.all([c.e(3506),c.e(131)]).then(c.bind(c,131)).then(Ke=>Ke.TextareaDocModule),data:{title:"Textarea"}},{path:R.x.Prefix,loadChildren:()=>c.e(5580).then(c.bind(c,5580)).then(Ke=>Ke.PrefixDocModule),data:{title:"With prefix"}},{path:R.x.Postfix,loadChildren:()=>c.e(904).then(c.bind(c,904)).then(Ke=>Ke.PostfixDocModule),data:{title:"With postfix"}},{path:R.x.Placeholder,loadChildren:()=>Promise.all([c.e(8592),c.e(6597)]).then(c.bind(c,6597)).then(Ke=>Ke.PlaceholderDocModule),data:{title:"With placeholder"}},{path:R.x.BrowserSupport,loadChildren:()=>c.e(1759).then(c.bind(c,1759)).then(Ke=>Ke.BrowserSupportModule),data:{title:"Browser support"}},{path:R.x.Changelog,loadChildren:()=>c.e(4088).then(c.bind(c,4088)).then(Ke=>Ke.ChangelogModule),data:{title:"Changelog"}},{path:R.x.Stackblitz,loadChildren:()=>Promise.resolve().then(c.bind(c,1001)).then(Ke=>Ke.StackblitzStarterModule),data:{title:"Stackblitz Starter"}},{path:R.x.Cypress,loadChildren:()=>Promise.all([c.e(7435),c.e(169)]).then(c.bind(c,169)).then(Ke=>Ke.CypressDocPageModule),data:{title:"Cypress tests \u{1f92b}"}},{path:"**",redirectTo:R.x.WhatIsMaskito}];let Pt=(()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275mod=z.oAB({type:Ke}),Ke.\u0275inj=z.cJS({imports:[St.Bz.forRoot(Wt,{initialNavigation:"enabledBlocking",scrollPositionRestoration:"enabled"}),St.Bz]}),ot})(),an=(()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275mod=z.oAB({type:Ke}),Ke.\u0275inj=z.cJS({imports:[At.j,St.Bz]}),ot})(),fn=(()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275mod=z.oAB({type:Ke,bootstrap:[Ft]}),Ke.\u0275inj=z.cJS({providers:xt,imports:[e.b2.withServerTransition({appId:"demo"}),Pt,_t,k.JF,an,qe.JP.forRoot({loader:k.eN,sanitize:z.q3G.NONE}),mt.qn,At.j,Qe.z,Ge.StackblitzEditButtonModule,cn]}),ot})();document.addEventListener("DOMContentLoaded",()=>{e.q6().bootstrapModule(fn).then(Ke=>{const ot=window;ot.ngRef&&ot.ngRef.destroy(),ot.ngRef=Ke}).catch(console.error)})},1001:(Ht,Fe,c)=>{"use strict";c.r(Fe),c.d(Fe,{StackblitzEditButtonComponent:()=>k,StackblitzEditButtonModule:()=>z,StackblitzService:()=>Dt,StackblitzStarterComponent:()=>Qt,StackblitzStarterModule:()=>cn});var e=c(4537),s=c(2628);let k=(()=>{var yt;class Re{}return(yt=Re).\u0275fac=function(re){return new(re||yt)},yt.\u0275cmp=e.Xpm({type:yt,selectors:[["stackblitz-edit-button"]],decls:2,vars:0,consts:[["appearance","flat","icon","assets/icons/stackblitz.svg","size","s","title","Edit on StackBlitz","tuiButton","","type","button"]],template:function(re,Xe){1&re&&(e.TgZ(0,"button",0),e._uU(1," Edit "),e.qZA())},dependencies:[s.v0],styles:["@media screen and (max-width: 47.9625em){button[_ngcontent-%COMP%]{font-size:0;margin-right:-1rem}}"],changeDetection:0}),Re})(),z=(()=>{var yt;class Re{}return(yt=Re).\u0275fac=function(re){return new(re||yt)},yt.\u0275mod=e.oAB({type:yt}),yt.\u0275inj=e.cJS({imports:[s.fN]}),Re})();var F=c(8239),ne=c(8692),W=c(2497),te=c(3139);const Y="https://stackblitz.com",_e=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],ue=["project","search","ports","settings"],ie=["light","dark"],Ue=["editor","preview"],ve={clickToLoad:yt=>Ve("ctl",yt),devToolsHeight:yt=>se("devtoolsheight",yt),forceEmbedLayout:yt=>Ve("embed",yt),hideDevTools:yt=>Ve("hidedevtools",yt),hideExplorer:yt=>Ve("hideExplorer",yt),hideNavigation:yt=>Ve("hideNavigation",yt),openFile:yt=>$e("file",yt),showSidebar:yt=>function je(yt,Re){return"boolean"==typeof Re?`${yt}=${Re?"1":"0"}`:""}("showSidebar",yt),sidebarView:yt=>ee("sidebarView",yt,ue),startScript:yt=>$e("startScript",yt),terminalHeight:yt=>se("terminalHeight",yt),theme:yt=>ee("theme",yt,ie),view:yt=>ee("view",yt,Ue),zenMode:yt=>Ve("zenMode",yt)};function Ae(yt={}){const Re=Object.entries(yt).map(([he,re])=>null!=re&&ve.hasOwnProperty(he)?ve[he](re):"").filter(Boolean);return Re.length?`?${Re.join("&")}`:""}function Ve(yt,Re){return!0===Re?`${yt}=1`:""}function se(yt,Re){if("number"==typeof Re&&!Number.isNaN(Re)){const he=Math.min(100,Math.max(0,Re));return`${yt}=${encodeURIComponent(Math.round(he))}`}return""}function ee(yt,Re="",he=[]){return he.includes(Re)?`${yt}=${encodeURIComponent(Re)}`:""}function $e(yt,Re){return(Array.isArray(Re)?Re:[Re]).filter(re=>"string"==typeof re&&""!==re.trim()).map(re=>`${yt}=${encodeURIComponent(re)}`).join("&")}function _t(yt,Re){return`${tt(Re)}${yt}${Ae(Re)}`}function tt(yt={}){return("string"==typeof yt.origin?yt.origin:Y).replace(/\/$/,"")}function At(yt){return yt&&!1===yt.newWindow?"_self":"_blank"}function N({template:yt,title:Re,description:he,dependencies:re,files:Xe,settings:Le}){if(!_e.includes(yt)){const at=_e.map(kt=>`'${kt}'`).join(", ");console.warn(`Unsupported project.template: must be one of ${at}`)}const fe=[],We=(at,kt,qt="")=>{fe.push(function q(yt,Re){const he=document.createElement("input");return he.type="hidden",he.name=yt,he.value=Re,he}(at,"string"==typeof kt?kt:qt))};We("project[title]",Re),"string"==typeof he&&he.length>0&&We("project[description]",he),We("project[template]",yt,"javascript"),re&&("node"===yt?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):We("project[dependencies]",JSON.stringify(re))),Le&&We("project[settings]",JSON.stringify(Le)),Object.entries(Xe).forEach(([at,kt])=>{We(`project[files][${function ze(yt){return yt.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}(at)}]`,kt)});const ye=document.createElement("form");return ye.method="POST",ye.setAttribute("style","display:none!important;"),ye.append(...fe),ye}const Zt_openProject=function wt(yt,Re){!function et(yt,Re){const he=N(yt);he.action=_t("/run",Re),he.target=At(Re),document.body.appendChild(he),he.submit(),document.body.removeChild(he)}(yt,Re)};var Ut=c(9570);let Dt=(()=>{var yt;class Re{constructor(){this.baseProjectConfigs={template:"typescript",dependencies:{"@maskito/core":"*","@maskito/kit":"*"}},this.name="Stackblitz",this.content=new Ut.Al(k)}edit(re,Xe,Le){var fe=this;return(0,F.Z)(function*(){const[We,ye]=yield Promise.all([c.e(1223).then(c.t.bind(c,1223,17)),c.e(4930).then(c.t.bind(c,4930,17))].map(W.JQ));return Zt_openProject({...fe.baseProjectConfigs,title:`maskito/${re}/${Xe}`,description:`Maskito example of the component ${re}`,files:{"index.html":re.includes("textarea")?"":"","styles.css":ye,"index.ts":(0,W.vi)(We)[0],"mask.ts":Le[te.C.MaskitoOptions]}},{openFile:"index.ts,mask.ts"})})()}openStarter({title:re,description:Xe,files:Le},fe){return Zt_openProject({...this.baseProjectConfigs,title:re,description:Xe,files:Le},fe)}}return(yt=Re).\u0275fac=function(re){return new(re||yt)},yt.\u0275prov=e.Yz7({token:yt,factory:yt.\u0275fac}),Re})();var Xt=c(719);let Qt=(()=>{var yt;class Re{constructor(re,Xe){this.platformId=re,this.stackblitz=Xe}ngOnInit(){var re=this;return(0,F.Z)(function*(){(0,ne.NF)(re.platformId)&&(yield re.openStackblitz())})()}openStackblitz(){var re=this;return(0,F.Z)(function*(){const[Xe,Le]=yield Promise.all([c.e(5097).then(c.t.bind(c,5097,17)),c.e(4930).then(c.t.bind(c,4930,17))].map(W.JQ));return re.stackblitz.openStarter({title:"Maskito Starter",description:"A starter with Maskito library\nDocumentation: https://maskito.dev",files:{"index.html":"","index.ts":Xe,"styles.css":Le}},{newWindow:!1,openFile:"index.ts",hideExplorer:!0})})()}}return(yt=Re).\u0275fac=function(re){return new(re||yt)(e.Y36(e.Lbi),e.Y36(Dt))},yt.\u0275cmp=e.Xpm({type:yt,selectors:[["stackblitz-starter"]],features:[e._Bn([Dt])],decls:1,vars:1,consts:[["size","xxl","textContent","Stackblitz loading...",1,"loader",3,"overlay"]],template:function(re,Xe){1&re&&e._UZ(0,"tui-loader",0),2&re&&e.Q6J("overlay",!0)},dependencies:[Xt.kM],styles:[".loader[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--tui-base-01);z-index:1}"],changeDetection:0}),Re})();var hn=c(3178);let cn=(()=>{var yt;class Re{}return(yt=Re).\u0275fac=function(re){return new(re||yt)},yt.\u0275mod=e.oAB({type:yt}),yt.\u0275inj=e.cJS({imports:[Xt.dS,hn.Bz.forChild([{path:"",component:Qt}])]}),Re})()},7400:(Ht,Fe,c)=>{"use strict";c(7277)},4555:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Q7:()=>Cn,nQ:()=>St,tr:()=>Dt,n9:()=>hn,H$:()=>ye,f8:()=>Jt,vZ:()=>qt,A7:()=>Se,jX:()=>et,Bb:()=>Ft,hM:()=>It,rC:()=>Mn,Oe:()=>Rt});var e=c(3577);const s=[".",",","\u0431","\u044e"],k=new Date("0001-01-01"),z=new Date("9999-12-31"),F={hours:23,minutes:59,seconds:59,milliseconds:999},ne="\xa0",W="\u2013",te="\u2014",pe="-",ce="\u2212",de="\u30fc",Y=[pe,W,te,ce],_e=[","," "],ue=[":","."],ie={hours:2,minutes:2,seconds:2,milliseconds:3};function Ue(oe,Q,H){const le=Math.min(Number(H),Math.max(Number(Q),Number(oe)));return oe instanceof Date?new Date(le):le}function ve(oe,{day:Q,month:H,year:le}={}){const Ie=new Date(oe);return Q&&Ie.setDate(Ie.getDate()+Q),H&&Ie.setMonth(Ie.getMonth()+H),le&&Ie.setFullYear(Ie.getFullYear()+le),Ie}function Ae(oe){return{day:String(oe.getDate()).padStart(2,"0"),month:String(oe.getMonth()+1).padStart(2,"0"),year:String(oe.getFullYear()).padStart(4,"0"),hours:String(oe.getHours()).padStart(2,"0"),minutes:String(oe.getMinutes()).padStart(2,"0"),seconds:String(oe.getSeconds()).padStart(2,"0"),milliseconds:String(oe.getMilliseconds()).padStart(3,"0")}}function Ve(oe,Q){return!(oe.length!H.match(/^0+$/))}function je(oe,Q,H){const le=Q.replace(/\W/g,"").length;return oe.replace(H,"").match(new RegExp(`(\\D*\\d[^\\d\\s]*){1,${le}}`,"g"))||[]}function se(oe,Q){const H=Q.replace(/[^dmy]/g,""),le=oe.replace(/\D+/g,""),Ie={day:le.slice(H.indexOf("d"),H.lastIndexOf("d")+1),month:le.slice(H.indexOf("m"),H.lastIndexOf("m")+1),year:le.slice(H.indexOf("y"),H.lastIndexOf("y")+1)};return Object.fromEntries(Object.entries(Ie).filter(([rt,nt])=>Boolean(nt)).sort(([rt],[nt])=>Q.toLowerCase().indexOf(rt[0])>Q.toLowerCase().indexOf(nt[0])?1:-1))}function ee(oe,Q){var H,le,Ie,rt,nt,ut,He;const Ne=2===(null===(H=oe.year)||void 0===H?void 0:H.length)?`20${oe.year}`:oe.year,U=new Date(Number(null!=Ne?Ne:"0"),Number(null!==(le=oe.month)&&void 0!==le?le:"1")-1,Number(null!==(Ie=oe.day)&&void 0!==Ie?Ie:"1"),Number(null!==(rt=null==Q?void 0:Q.hours)&&void 0!==rt?rt:"0"),Number(null!==(nt=null==Q?void 0:Q.minutes)&&void 0!==nt?nt:"0"),Number(null!==(ut=null==Q?void 0:Q.seconds)&&void 0!==ut?ut:"0"),Number(null!==(He=null==Q?void 0:Q.milliseconds)&&void 0!==He?He:"0"));return U.setFullYear(Number(null!=Ne?Ne:"0")),U}const $e=", ";function Oe({day:oe,month:Q,year:H,hours:le,minutes:Ie,seconds:rt,milliseconds:nt},ut,He){var Ne;const U=2===(null===(Ne=ut.match(/y/g))||void 0===Ne?void 0:Ne.length)?null==H?void 0:H.slice(-2):H;return(ut+(He?$e+He:"")).replace(/d+/g,null!=oe?oe:"").replace(/m+/g,null!=Q?Q:"").replace(/y+/g,null!=U?U:"").replace(/H+/g,null!=le?le:"").replace(/MSS/g,null!=nt?nt:"").replace(/M+/g,null!=Ie?Ie:"").replace(/S+/g,null!=rt?rt:"").replace(/^\D+/g,"").replace(/\D+$/g,"")}function _t(oe,Q,H=0){return Number(oe.padEnd(Q.length,"0"))<=Number(Q)?{validatedSegmentValue:oe,prefixedZeroesCount:H}:oe.endsWith("0")?_t(`0${oe.slice(0,Q.length-1)}`,Q,H+1):_t(`${oe.slice(0,Q.length-1)}0`,Q,H)}const vt=oe=>{var Q,H,le;return{day:(null===(Q=oe.match(/d/g))||void 0===Q?void 0:Q.length)||0,month:(null===(H=oe.match(/m/g))||void 0===H?void 0:H.length)||0,year:(null===(le=oe.match(/y/g))||void 0===le?void 0:le.length)||0}},tt={day:31,month:12,year:9999};function we({dateString:oe,dateModeTemplate:Q,offset:H,selection:[le,Ie]}){const rt=se(oe,Q),nt=Object.entries(rt),ut={};let He=0;for(const[I,A]of nt){const $=Oe(ut,Q),xe=tt[I],dt=H+$.length+($.length&&1)+vt(Q)[I],Bt=dt>=le&&dt===Ie;if(Bt&&Number(A)>Number(xe))return{validatedDateString:"",updatedSelection:[le,Ie]};if(Bt&&Number(A)<1)return{validatedDateString:"",updatedSelection:[le,Ie]};const{validatedSegmentValue:Yt,prefixedZeroesCount:rn}=_t(A,`${xe}`);He+=rn,ut[I]=Yt}const Ne=Oe(ut,Q),U=Ne.length-oe.length;return{validatedDateString:Ne,updatedSelection:[le+He+U,Ie+He+U]}}const mt=/[\\^$.*+?()[\]{}|]/g,At=new RegExp(mt.source);function Qe(oe){return oe&&At.test(oe)?oe.replace(mt,"\\$&"):oe}function R(oe){return oe}function be(oe){return!oe||"object"==typeof oe&&0===Object.keys(oe).length}function S(oe,Q){const H=vt(Q);return Object.fromEntries(Object.entries(oe).map(([le,Ie])=>{const rt=H[le];return[le,Ie.length===rt&&Ie.match(/^0+$/)?"1".padStart(rt,"0"):Ie]}))}function q({dateModeTemplate:oe,min:Q=k,max:H=z,rangeSeparator:le="",dateSegmentSeparator:Ie="."}){return({value:rt,selection:nt})=>{const ut=le&&rt.endsWith(le),He=je(rt,oe,le);let Ne="";for(const U of He){Ne+=Ne?le:"";const I=se(U,oe);Ve(U,oe)?Ne+=Oe(Ae(Ue(ee(I),Q,H)),oe):Ne+=Oe(S(I,oe),oe)+(U.endsWith(Ie)?Ie:"")}return{selection:nt,value:Ne+(ut?le:"")}}}function ze({dateModeTemplate:oe,dateSegmentsSeparator:Q,rangeSeparator:H=""}){return({elementState:le,data:Ie})=>{const rt=H?new RegExp(`${H}|-`):$e,nt=Ie.split(rt),ut=Ie.includes($e)?[nt[0]]:nt;if(ut.every(He=>He.trim().split(/\D/).length===oe.split(Q).length)){const He=ut.map(Ne=>function N(oe,Q,H){const le=oe.split(/\D/),Ie=Q.split(H);return le.map((nt,ut)=>ut===Ie.length-1?nt:nt.padStart(Ie[ut].length,"0")).join(H)}(Ne,oe,Q)).join(H);return{elementState:le,data:`${He}${Ie.includes($e)&&$e+nt[1]||""}`}}return{elementState:le,data:Ie}}}function Se(oe){const Q=new RegExp(`${Qe(oe)}$`);return oe?({value:H,selection:le},Ie)=>{if(!H&&!Ie.value.endsWith(oe))return{value:H,selection:le};if(!H.endsWith(oe)&&!Ie.value.endsWith(oe))return{selection:le,value:H+oe};const rt=Ie.value.replace(Q,""),nt=Ie.selection[1]>=rt.length,ut=function qe(oe,Q){let H="";for(let le=0;le{const I=He.length-1-U;return He[I]!==Ne||ut[I]===Ne&&nt?He.slice(0,I+1)+Ne+He.slice(I+1):He},H)}}:R}function et(oe){return oe?({value:Q,selection:H},le)=>{if(Q.startsWith(oe)||!Q&&!le.value.startsWith(oe))return{value:Q,selection:H};const[Ie,rt]=H,nt=Array.from(oe).reduce((He,Ne,U)=>He[U]===Ne?He:He.slice(0,U)+Ne+He.slice(U),Q),ut=nt.length-Q.length;return{selection:[Ie+ut,rt+ut],value:nt}}:R}function pt({dateModeTemplate:oe,dateSegmentsSeparator:Q,rangeSeparator:H=""}){return({elementState:le,data:Ie})=>{const{value:rt,selection:nt}=le;if(Ie===Q)return{elementState:le,data:nt[0]===rt.length?Ie:""};if(Y.includes(Ie))return{elementState:le,data:H};const ut=Ie.replace(new RegExp(`[^\\d${Qe(Q)}${H}]`,"g"),"");if(!ut)return{elementState:le,data:""};const[He,Ne]=nt;let U=Ne+Ie.length;const I=rt.slice(0,He)+ut+rt.slice(U),A=je(I,oe,H);let $="";const xe=Boolean(H)&&I.includes(H);for(const dt of A){const{validatedDateString:Bt,updatedSelection:Yt}=we({dateString:dt,dateModeTemplate:oe,offset:$?$.length+H.length:0,selection:[He,U]});if(dt&&!Bt)return{elementState:le,data:""};U=Yt[1],$+=xe&&$?H+Bt:Bt}const ct=$.slice(He,U);return{elementState:{selection:nt,value:$.slice(0,He)+ct.split(Q).map(dt=>"0".repeat(dt.length)).join(Q)+$.slice(U)},data:ct}}}function wt(oe,Q,H){return(le,Ie)=>{const rt=()=>Q(le,Ie);return le.addEventListener(oe,rt,H),()=>le.removeEventListener(oe,rt,H)}}function Cn(oe){return wt("focus",Q=>{Q.value||(0,e.fD)(Q,oe)})}function St(oe){return Q=>{const H=Q.ownerDocument;let le=0;const Ie=()=>le++,rt=()=>{le=Math.max(--le,0)},nt=()=>{if(function Ge({activeElement:oe}){if(null==oe||!oe.shadowRoot)return oe;let Q=oe.shadowRoot.activeElement;for(;null!==(H=Q)&&void 0!==H&&H.shadowRoot;){var H;Q=Q.shadowRoot.activeElement}return Q}(H)!==Q)return;if(le)return H.addEventListener("mouseup",nt,{once:!0,passive:!0});const ut=Q.selectionStart||0,He=Q.selectionEnd||0,[Ne,U]=oe(Q.value,[ut,He]);(Ne>ut||U{H.removeEventListener("selectionchange",nt),H.removeEventListener("mousedown",Ie),H.removeEventListener("mouseup",rt)}}}function Ft(oe){const Q=()=>{const H=oe.value;oe.addEventListener("beforeinput",le=>{le.defaultPrevented&&H===oe.value&&oe.dispatchEvent(new CustomEvent("maskitoReject",{bubbles:!0}))},{once:!0})};return oe.addEventListener("beforeinput",Q,!0),()=>oe.removeEventListener("beforeinput",Q,!0)}function It(oe){return wt("blur",Q=>{Q.value===oe&&(0,e.fD)(Q,"")})}function Rt(oe,Q=!1){const H=rt=>{for(let nt=rt.length-1;nt>=0;nt--)if(rt[nt]!==oe[nt])return rt.slice(0,nt+1);return""},le=[St(rt=>[0,H(rt).length])];let Ie=!1;if(Q){const rt=wt("focus",ut=>{Ie=!0,(0,e.fD)(ut,ut.value+oe.slice(ut.value.length))},{capture:!0}),nt=wt("blur",ut=>{Ie=!1,(0,e.fD)(ut,H(ut.value))},{capture:!0});le.push(rt,nt)}return{plugins:le,removePlaceholder:H,preprocessors:[({elementState:rt,data:nt})=>{const{value:ut,selection:He}=rt;return{elementState:{selection:He,value:H(ut)},data:nt}}],postprocessors:[({value:rt,selection:nt},ut)=>!ut.value||!Ie&&Q?{value:rt,selection:nt}:{value:rt+oe.slice(rt.length),selection:nt}]}}function Dt({mode:oe,separator:Q=".",max:H,min:le}){const Ie=oe.split("/").join(Q);return{...e.A_,mask:Array.from(Ie).map(rt=>rt===Q?rt:/\d/),overwriteMode:"replace",preprocessors:[({elementState:oe},Q)=>{const{value:H,selection:le}=oe;if(!H||function Ut(oe,[Q,H]){return H===oe.length}(H,le))return{elementState:oe};const[Ie,rt]=le,nt=H.slice(Ie,rt).replace(/\d/g,"0"),ut=H.slice(0,Ie)+nt+H.slice(rt);return"validation"===Q||"insert"===Q&&Ie===rt?{elementState:{selection:le,value:ut}}:{elementState:{selection:"deleteBackward"===Q||"insert"===Q?[Ie,Ie]:[rt,rt],value:ut}}},ze({dateModeTemplate:Ie,dateSegmentsSeparator:Q}),pt({dateModeTemplate:Ie,dateSegmentsSeparator:Q})],postprocessors:[q({min:le,max:H,dateModeTemplate:Ie,dateSegmentSeparator:Q})]}}function Xt({dateModeTemplate:oe,rangeSeparator:Q,minLength:H,maxLength:le,max:Ie=z}){return be(H)&&be(le)?R:({value:rt,selection:nt})=>{const ut=je(rt,oe,Q);if(2!==ut.length||ut.some(xe=>!Ve(xe,oe)))return{value:rt,selection:nt};const[He,Ne]=ut.map(xe=>ee(se(xe,oe))),U=ve(He,{...H,day:(null==H?void 0:H.day)&&H.day-1}),I=be(le)?Ie:ve(He,{...le,day:(null==le?void 0:le.day)&&le.day-1}),A=Ue(Ne,U,Ie);return{selection:nt,value:ut[0]+Q+Oe(Ae(A>I?I:A),oe)}}}function Qt({dateModeTemplate:oe,rangeSeparator:Q}){return({value:H,selection:le})=>{const Ie=je(H,oe,Q),rt=2===Ie.length&&Ie.every(A=>Ve(A,oe)),[nt,ut]=le;if(!((nt>=H.length||0===nt&&ut>=H.length)&&rt))return{value:H,selection:le};const[U,I]=Ie.map(A=>ee(se(A,oe)));return{selection:le,value:U>I?Ie.reverse().join(Q):H}}}function hn({mode:oe,min:Q,max:H,minLength:le,maxLength:Ie,dateSeparator:rt=".",rangeSeparator:nt=`${ne}${W}${ne}`}){const ut=oe.split("/").join(rt),He=Array.from(ut).map(Ne=>Ne===rt?Ne:/\d/);return{...e.A_,mask:[...He,...Array.from(nt),...He],overwriteMode:"replace",preprocessors:[({elementState:oe},Q)=>{const{value:H,selection:le}=oe;if(!H||function Ut(oe,[Q,H]){return H===oe.length}(H,le))return{elementState:oe};const[Ie,rt]=le,nt=H.slice(Ie,rt).replace(/\d/g,"0"),ut=H.slice(0,Ie)+nt+H.slice(rt);return"validation"===Q||"insert"===Q&&Ie===rt?{elementState:{selection:le,value:ut}}:{elementState:{selection:"deleteBackward"===Q||"insert"===Q?[Ie,Ie]:[rt,rt],value:ut}}},ze({dateModeTemplate:ut,rangeSeparator:nt,dateSegmentsSeparator:rt}),pt({dateModeTemplate:ut,rangeSeparator:nt,dateSegmentsSeparator:rt})],postprocessors:[q({min:Q,max:H,dateModeTemplate:ut,rangeSeparator:nt,dateSegmentSeparator:rt}),Xt({dateModeTemplate:ut,minLength:le,maxLength:Ie,max:H,rangeSeparator:nt}),Qt({dateModeTemplate:ut,rangeSeparator:nt})]}}function cn(oe){return Object.fromEntries(Object.entries(oe).map(([Q,H])=>[Q,`${H}`.padEnd(ie[Q],"0")]))}function yt(oe){const Q=oe.replace(/\D+/g,""),H={hours:Q.slice(0,2),minutes:Q.slice(2,4),seconds:Q.slice(4,6),milliseconds:Q.slice(6,9)};return Object.fromEntries(Object.entries(H).filter(([le,Ie])=>Boolean(Ie)))}function Re({hours:oe="",minutes:Q="",seconds:H="",milliseconds:le=""}){return`${oe}${Q&&`:${Q}`}${H&&`:${H}`}${le&&`.${le}`}`}const he=new RegExp(`[${ue.map(Qe).join("")}]$`);function re({timeString:oe,paddedMaxValues:Q,offset:H,selection:[le,Ie]}){const rt=yt(oe),nt=Object.entries(rt),ut={};let He=0;for(const[A,$]of nt){const xe=Re(ut),ct=Q[A],Bt=H+xe.length+(xe.length&&1)+ie[A];if(Bt>=le&&Bt<=Ie&&Number($)>Number(ct))return{validatedTimeString:"",updatedTimeSelection:[le,Ie]};const{validatedSegmentValue:rn,prefixedZeroesCount:en}=_t($,`${ct}`);He+=en,ut[A]=rn}const[Ne=""]=oe.match(he)||[],U=Re(ut)+Ne,I=Math.max(U.length-oe.length,0);return{validatedTimeString:U,updatedTimeSelection:[le+He+I,Ie+He+I]}}function Xe(oe,Q){const H=oe.includes($e);return[oe.slice(0,Q.length),oe.slice(H?Q.length+$e.length:Q.length)]}function fe({dateModeTemplate:oe,timeMode:Q,min:H=k,max:le=z}){return({value:Ie,selection:rt})=>{const[nt,ut]=Xe(Ie,oe),He=se(nt,oe),Ne=yt(ut);if(!function Le(oe,Q,H){return oe.length>=Q.length+H.length+$e.length&&oe.split($e)[0].split(/\D/).every(le=>!le.match(/^0+$/))}(Ie,oe,Q)){const $=S(He,oe),{year:xe,month:ct,day:dt}=Ve(nt,oe)?Ae(Ue(ee($),H,le)):$,Bt=Oe({year:xe,month:ct,day:dt,...Ne},oe,Q);return{selection:rt,value:Bt+Ie.slice(Bt.length)}}return{selection:rt,value:Oe(Ae(Ue(ee(He,Ne),H,le)),oe,Q)}}}function We({dateModeTemplate:oe,dateSegmentsSeparator:Q}){const H=new RegExp(`[^\\d${ue.map(Qe).join("")}${Qe(Q)}]+`);return({elementState:le,data:Ie})=>{const{value:rt,selection:nt}=le;if(Ie===Q)return{elementState:le,data:nt[0]===rt.length?Ie:""};if(_e.includes(Ie))return{elementState:le,data:$e};const ut=Ie.replace(H,"");if(!ut)return{elementState:le,data:""};const[He,Ne]=nt;let U=Ne+Ie.length;const I=rt.slice(0,He)+ut+rt.slice(U),[A,$]=Xe(I,oe);let xe="";const ct=I.includes($e),{validatedDateString:dt,updatedSelection:Bt}=we({dateString:A,dateModeTemplate:oe,offset:0,selection:[He,U]});if(A&&!dt)return{elementState:le,data:""};U=Bt[1],xe+=dt;const Yt=cn(F),{validatedTimeString:rn,updatedTimeSelection:en}=re({timeString:$,paddedMaxValues:Yt,offset:xe.length+$e.length,selection:[He,U]});if($&&!rn)return{elementState:le,data:""};U=en[1],xe+=ct?$e+rn:rn;const gn=xe.slice(He,U);return{elementState:{selection:nt,value:xe.slice(0,He)+gn.split(Q).map(pn=>"0".repeat(pn.length)).join(Q)+xe.slice(U)},data:gn}}}function ye({dateMode:oe,timeMode:Q,dateSeparator:H=".",min:le,max:Ie}){const rt=oe.split("/").join(H);return{...e.A_,mask:[...Array.from(rt).map(nt=>nt===H?nt:/\d/),...$e.split(""),...Array.from(Q).map(nt=>ue.includes(nt)?nt:/\d/)],overwriteMode:"replace",preprocessors:[({elementState:oe},Q)=>{const{value:H,selection:le}=oe;if(!H||function Ut(oe,[Q,H]){return H===oe.length}(H,le))return{elementState:oe};const[Ie,rt]=le,nt=H.slice(Ie,rt).replace(/\d/g,"0"),ut=H.slice(0,Ie)+nt+H.slice(rt);return"validation"===Q||"insert"===Q&&Ie===rt?{elementState:{selection:le,value:ut}}:{elementState:{selection:"deleteBackward"===Q||"insert"===Q?[Ie,Ie]:[rt,rt],value:ut}}},ze({dateModeTemplate:rt,dateSegmentsSeparator:H}),We({dateModeTemplate:rt,dateSegmentsSeparator:H})],postprocessors:[fe({min:le,max:Ie,dateModeTemplate:rt,timeMode:Q})]}}function at({decimalSeparator:oe,isNegativeAllowed:Q,precision:H,thousandSeparator:le,prefix:Ie,postfix:rt,decimalPseudoSeparators:nt=[],pseudoMinuses:ut=[]}){const He=kt(Ie),U=Q?`[${ce}${ut.map(xe=>`\\${xe}`).join("")}]?`:"",I=le?`[\\d${Qe(le).replace(/\s/g,"\\s")}]*`:"[\\d]*",A=H>0?`([${Qe(oe)}${nt.map(Qe).join("")}]\\d{0,${Number.isFinite(H)?H:""}})?`:"",$=kt(rt);return new RegExp(`^${He}${U}${I}${A}${$}$`)}function kt(oe){return oe?`${oe.split("").map(Q=>`${Qe(Q)}?`).join("")}`:""}function qt(oe,Q="."){const H=!!oe.match(new RegExp(`^\\D*[${ce}\\${pe}${W}${te}]`)),le=Qe(Q),Ie=oe.replace(new RegExp(`${le}(?!\\d)`,"g"),"").replace(new RegExp(`[^\\d${le}]`,"g"),"").replace(Q,".");return Ie?Number((H?pe:"")+Ie):NaN}function Wt({decimalSeparator:oe,precision:Q,decimalZeroPadding:H,postfix:le}){if(Q<=0||!H)return R;const Ie=new RegExp(`${Qe(le)}$`);return({value:rt,selection:nt})=>{if(Number.isNaN(qt(rt,oe)))return{value:rt,selection:nt};const[ut,He=""]=rt.replace(Ie,"").split(oe);return{value:ut+oe+He.padEnd(Q,"0")+le,selection:nt}}}function Pt(oe){return oe.replace(/[\uff10-\uff19]/g,Q=>String.fromCharCode(Q.charCodeAt(0)-65248))}function fn({decimalSeparator:oe,decimalPseudoSeparators:Q,pseudoMinuses:H}){let le=!0;const Ie=at({decimalSeparator:oe,decimalPseudoSeparators:Q,pseudoMinuses:H,prefix:"",postfix:"",thousandSeparator:"",precision:1/0,isNegativeAllowed:!0});return({elementState:rt,data:nt})=>le?(le=!1,{elementState:(0,e.CV)(rt,{mask:Ie}),data:nt}):{elementState:rt,data:nt}}function ot({min:oe,max:Q,decimalSeparator:H}){return({value:le,selection:Ie})=>{const rt=qt(le,H),nt=rt>0?Math.min(rt,Q):Math.max(rt,oe);if(!Number.isNaN(rt)&&nt!==rt){const ut=`${nt}`.replace(".",H).replace(pe,ce);return{value:ut,selection:[ut.length,ut.length]}}return{value:le,selection:Ie}}}function lt({decimalSeparator:oe,thousandSeparator:Q,decimalZeroPadding:H}){return({elementState:le,data:Ie},rt)=>{const{value:nt,selection:ut}=le,[He,Ne]=ut,U=nt.slice(He,Ne),I=H?[oe,Q]:[Q],A=H&&He>nt.indexOf(oe)&&Boolean(U.match(/^0+$/gi));return"deleteBackward"!==rt&&"deleteForward"!==rt||!I.includes(U)&&!A?{elementState:le,data:Ie}:{elementState:{value:nt,selection:"deleteForward"===rt?[Ne,Ne]:[He,He]},data:Ie}}}function it({decimalSeparator:oe,precision:Q}){const H=new RegExp(`^\\D*${Qe(oe)}`);return({elementState:le,data:Ie})=>{const{value:rt,selection:nt}=le,[ut]=nt;return Q<=0||rt.includes(oe)||!Ie.match(H)?{elementState:le,data:Ie}:{elementState:le,data:rt.slice(0,ut).match(/\d+/)?Ie:`0${Ie}`}}}function st(oe,Q){const H=new RegExp(`[${Q.join("")}]`,"gi");return({elementState:le,data:Ie})=>{const{value:rt,selection:nt}=le;return{elementState:{selection:nt,value:rt.replace(H,oe)},data:Ie.replace(H,oe)}}}function V(oe){return({elementState:Q,data:H})=>{const{value:le,selection:Ie}=Q,[rt,nt]=Ie;return{elementState:Q,data:!le.includes(oe)||le.slice(rt,nt+1).includes(oe)?H:H.replace(new RegExp(Qe(oe),"gi"),"")}}}function Pe({thousandSeparator:oe,decimalSeparator:Q,prefix:H,postfix:le}){if(!oe)return R;const Ie=new RegExp(`^${Qe(H)}${ce}?`),rt=new RegExp(`${Qe(le)}$`);return({value:ut,selection:He})=>{const[Ne,U=""]=ut.split(Q),[I,A]=He;let[$,xe]=He;const ct=Ne.replace(Ie,"").replace(rt,""),[dt=""]=Ne.match(Ie)||[],[Bt=""]=Ne.match(rt)||[],Yt=Array.from(ct).reduceRight((rn,en,gn)=>{const In=!(!gn&&en===oe)&&rn.length&&(rn.length+1)%4==0;return In&&(en===oe||((...ut)=>ut.every(He=>/\s/.test(He)))(en,oe))?oe+rn:en!==oe||In?In?(gn<=I&&$++,gn<=A&&xe++,en+oe+rn):en+rn:(gn&&gn<=I&&$--,gn&&gn<=A&&xe--,rn)},"");return{value:dt+Yt+Bt+(ut.includes(Q)?Q:"")+U,selection:[$,xe]}}}function bt(oe,Q){if(oe>0)return R;const H=new RegExp(`${Qe(Q)}.*$`,"g");return({elementState:le,data:Ie})=>{const{value:rt,selection:nt}=le,[ut,He]=nt,Ne=rt.replace(H,"");return{elementState:{selection:[Math.min(ut,Ne.length),Math.min(He,Ne.length)],value:Ne},data:Ie.replace(H,"")}}}const gt=[0,0];function on(oe,Q){const H=function Ke(oe,Q){const H=Ie=>{const rt=Qe(Q);return Ie.replace(new RegExp(`^(\\D+)?[0${rt}]+(?=0)`),"$1").replace(new RegExp(`^(\\D+)?[0${rt}]+(?=[1-9])`),"$1")},le=(Ie,rt)=>{const nt=Ie.slice(0,rt),ut=Ie.slice(rt).startsWith("0");return nt.length-H(nt).length+(ut?1:0)};return({value:Ie,selection:rt})=>{const[nt,ut]=rt,He=Ie.includes(oe),[Ne,U=""]=Ie.split(oe),I=H(Ne);if(Ne===I)return{value:Ie,selection:rt};const A=nt-le(Ie,nt),$=ut-le(Ie,ut);return{value:I+(He?oe:"")+U,selection:[Math.max(A,0),Math.max($,0)]}}}(oe,Q);return wt("blur",le=>{const Ie=H({value:le.value,selection:gt},{value:"",selection:gt}).value;le.value!==Ie&&(0,e.fD)(le,Ie)},{capture:!0})}function $t({min:oe,max:Q,decimalSeparator:H}){return wt("blur",(le,Ie)=>{const rt=qt(le.value,H),nt=Ue(rt,oe,Q);!Number.isNaN(rt)&&rt!==nt&&(0,e.fD)(le,(0,e.CV)(function Lt(oe){const Q=String(oe),[H,le]=Q.split("e-");let Ie=Q;if(le){const[,rt]=H.split("."),nt=Number(le)+((null==rt?void 0:rt.length)||0);Ie=oe.toFixed(nt)}return Ie}(nt),Ie))},{capture:!0})}function vn(oe){return wt("blur",Q=>{const H=Q.value.replace(new RegExp(`^(\\D+)?${Qe(oe)}`),`$10${oe}`);H!==Q.value&&(0,e.fD)(Q,H)},{capture:!0})}function Jt({max:oe=Number.MAX_SAFE_INTEGER,min:Q=Number.MIN_SAFE_INTEGER,precision:H=0,thousandSeparator:le=ne,decimalSeparator:Ie=".",decimalPseudoSeparators:rt,decimalZeroPadding:nt=!1,prefix:ut="",postfix:He=""}={}){const Ne=[pe,W,te,de].filter(I=>I!==le&&I!==Ie),U=function xt({decimalSeparator:oe,thousandSeparator:Q,decimalPseudoSeparators:H=s}){return H.filter(le=>le!==Q&&le!==oe)}({decimalSeparator:Ie,thousandSeparator:le,decimalPseudoSeparators:rt});return{...e.A_,mask:at({decimalSeparator:Ie,precision:H,thousandSeparator:le,prefix:ut,postfix:He,isNegativeAllowed:Q<0}),preprocessors:[fn({decimalSeparator:Ie,decimalPseudoSeparators:U,pseudoMinuses:Ne}),({elementState:oe,data:Q})=>{const{value:H,selection:le}=oe;return{elementState:{selection:le,value:Pt(H)},data:Pt(Q)}},st(ce,Ne),st(Ie,U),it({decimalSeparator:Ie,precision:H}),lt({decimalSeparator:Ie,decimalZeroPadding:nt,thousandSeparator:le}),bt(H,Ie),V(Ie)],postprocessors:[ot({decimalSeparator:Ie,min:Q,max:oe}),et(ut),Se(He),Pe({decimalSeparator:Ie,thousandSeparator:le,prefix:ut,postfix:He}),Wt({decimalSeparator:Ie,decimalZeroPadding:nt,precision:H,postfix:He})],plugins:[on(Ie,le),vn(Ie),$t({min:Q,max:oe,decimalSeparator:Ie})],overwriteMode:nt?({value:I,selection:[A]})=>A<=I.indexOf(Ie)?"shift":"replace":"shift"}}function Nn(oe){const Q=cn(oe),H=new RegExp(`[^\\d${ue.map(Qe).join("")}]+`);return({elementState:le,data:Ie},rt)=>{if("deleteBackward"===rt||"deleteForward"===rt)return{elementState:le,data:Ie};const{value:nt,selection:ut}=le;if("validation"===rt){const{validatedTimeString:dt,updatedTimeSelection:Bt}=re({timeString:nt,paddedMaxValues:Q,offset:0,selection:ut});return{elementState:{value:dt,selection:Bt},data:Ie}}const He=Ie.replace(H,""),[Ne,U]=ut;let I=U+He.length;const A=nt.slice(0,Ne)+He+nt.slice(I),{validatedTimeString:$,updatedTimeSelection:xe}=re({timeString:A,paddedMaxValues:Q,offset:0,selection:[Ne,I]});if(A&&!$)return{elementState:le,data:""};I=xe[1];const ct=$.slice(Ne,I);return{elementState:{selection:ut,value:$.slice(0,Ne)+"0".repeat(ct.length)+$.slice(I)},data:ct}}}function Mn({mode:oe,timeSegmentMaxValues:Q={}}){const H={...F,...Q};return{...e.A_,mask:Array.from(oe).map(le=>ue.includes(le)?le:/\d/),preprocessors:[({elementState:oe},Q)=>{const{value:H,selection:le}=oe;if(!H||function Ut(oe,[Q,H]){return H===oe.length}(H,le))return{elementState:oe};const[Ie,rt]=le,nt=H.slice(Ie,rt).replace(/\d/g,"0"),ut=H.slice(0,Ie)+nt+H.slice(rt);return"validation"===Q||"insert"===Q&&Ie===rt?{elementState:{selection:le,value:ut}}:{elementState:{selection:"deleteBackward"===Q||"insert"===Q?[Ie,Ie]:[rt,rt],value:ut}}},Nn(H)],overwriteMode:"replace"}}},4091:(Ht,Fe,c)=>{"use strict";c.d(Fe,{EY:()=>Ue,IO:()=>ie,LC:()=>s,X$:()=>z,ZE:()=>Ve,ZN:()=>Ae,_j:()=>e,eR:()=>de,jt:()=>F,k1:()=>je,l3:()=>k,oB:()=>te,pV:()=>_e,vP:()=>W});class e{}class s{}const k="*";function z(se,ee){return{type:7,name:se,definitions:ee,options:{}}}function F(se,ee=null){return{type:4,styles:ee,timings:se}}function W(se,ee=null){return{type:2,steps:se,options:ee}}function te(se){return{type:6,styles:se,offset:null}}function de(se,ee,$e=null){return{type:1,expr:se,animation:ee,options:$e}}function _e(se=null){return{type:9,options:se}}function ie(se,ee,$e=null){return{type:11,selector:se,animation:ee,options:$e}}function Ue(se,ee){return{type:12,timings:se,animation:ee}}function ve(se){Promise.resolve().then(se)}class Ae{constructor(ee=0,$e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ee+$e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ee=>ee()),this._onDoneFns=[])}onStart(ee){this._originalOnStartFns.push(ee),this._onStartFns.push(ee)}onDone(ee){this._originalOnDoneFns.push(ee),this._onDoneFns.push(ee)}onDestroy(ee){this._onDestroyFns.push(ee)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ve(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ee=>ee()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ee=>ee()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ee){this._position=this.totalTime?ee*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ee){const $e="start"==ee?this._onStartFns:this._onDoneFns;$e.forEach(Oe=>Oe()),$e.length=0}}class Ve{constructor(ee){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ee;let $e=0,Oe=0,_t=0;const vt=this.players.length;0==vt?ve(()=>this._onFinish()):this.players.forEach(tt=>{tt.onDone(()=>{++$e==vt&&this._onFinish()}),tt.onDestroy(()=>{++Oe==vt&&this._onDestroy()}),tt.onStart(()=>{++_t==vt&&this._onStart()})}),this.totalTime=this.players.reduce((tt,we)=>Math.max(tt,we.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ee=>ee()),this._onDoneFns=[])}init(){this.players.forEach(ee=>ee.init())}onStart(ee){this._onStartFns.push(ee)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ee=>ee()),this._onStartFns=[])}onDone(ee){this._onDoneFns.push(ee)}onDestroy(ee){this._onDestroyFns.push(ee)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ee=>ee.play())}pause(){this.players.forEach(ee=>ee.pause())}restart(){this.players.forEach(ee=>ee.restart())}finish(){this._onFinish(),this.players.forEach(ee=>ee.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ee=>ee.destroy()),this._onDestroyFns.forEach(ee=>ee()),this._onDestroyFns=[])}reset(){this.players.forEach(ee=>ee.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ee){const $e=ee*this.totalTime;this.players.forEach(Oe=>{const _t=Oe.totalTime?Math.min(1,$e/Oe.totalTime):1;Oe.setPosition(_t)})}getPosition(){const ee=this.players.reduce(($e,Oe)=>null===$e||Oe.totalTime>$e.totalTime?Oe:$e,null);return null!=ee?ee.getPosition():0}beforeDestroy(){this.players.forEach(ee=>{ee.beforeDestroy&&ee.beforeDestroy()})}triggerCallback(ee){const $e="start"==ee?this._onStartFns:this._onDoneFns;$e.forEach(Oe=>Oe()),$e.length=0}}const je="!"},763:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Ar:()=>Si,DT:()=>Mo,NH:()=>io,Th:()=>Er,Vi:()=>at,nV:()=>ye});var e=c(4091),s=c(4537);function z(Ee){return new s.vHH(3e3,!1)}function et(){return typeof window<"u"&&typeof window.document<"u"}function pt(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function wt(Ee){switch(Ee.length){case 0:return new e.ZN;case 1:return Ee[0];default:return new e.ZE(Ee)}}function Cn(Ee,_,y,j,De=new Map,Ye=new Map){const Ct=[],Ot=[];let Vt=-1,sn=null;if(j.forEach(kn=>{const T=kn.get("offset"),E=T==Vt,M=E&&sn||new Map;kn.forEach((ae,ft)=>{let Dn=ft,zn=ae;if("offset"!==ft)switch(Dn=_.normalizePropertyName(Dn,Ct),zn){case e.k1:zn=De.get(ft);break;case e.l3:zn=Ye.get(ft);break;default:zn=_.normalizeStyleValue(ft,Dn,zn,Ct)}M.set(Dn,zn)}),E||Ot.push(M),sn=M,Vt=T}),Ct.length)throw function we(Ee){return new s.vHH(3502,!1)}();return Ot}function St(Ee,_,y,j){switch(_){case"start":Ee.onStart(()=>j(y&&Ft(y,"start",Ee)));break;case"done":Ee.onDone(()=>j(y&&Ft(y,"done",Ee)));break;case"destroy":Ee.onDestroy(()=>j(y&&Ft(y,"destroy",Ee)))}}function Ft(Ee,_,y){const j=y.totalTime,Ye=It(Ee.element,Ee.triggerName,Ee.fromState,Ee.toState,_||Ee.phaseName,null==j?Ee.totalTime:j,!!y.disabled),Ct=Ee._data;return null!=Ct&&(Ye._data=Ct),Ye}function It(Ee,_,y,j,De="",Ye=0,Ct){return{element:Ee,triggerName:_,fromState:y,toState:j,phaseName:De,totalTime:Ye,disabled:!!Ct}}function Rt(Ee,_,y){let j=Ee.get(_);return j||Ee.set(_,j=y),j}function Zt(Ee){const _=Ee.indexOf(":");return[Ee.substring(1,_),Ee.slice(_+1)]}let Ut=(Ee,_)=>!1,Dt=(Ee,_,y)=>[],Xt=null;function Qt(Ee){const _=Ee.parentNode||Ee.host;return _===Xt?null:_}(pt()||typeof Element<"u")&&(et()?(Xt=(()=>document.documentElement)(),Ut=(Ee,_)=>{for(;_;){if(_===Ee)return!0;_=Qt(_)}return!1}):Ut=(Ee,_)=>Ee.contains(_),Dt=(Ee,_,y)=>{if(y)return Array.from(Ee.querySelectorAll(_));const j=Ee.querySelector(_);return j?[j]:[]});let yt=null,Re=!1;const Le=Ut,fe=Dt;let ye=(()=>{class Ee{validateStyleProperty(y){return function he(Ee){yt||(yt=function Xe(){return typeof document<"u"?document.body:null}()||{},Re=!!yt.style&&"WebkitAppearance"in yt.style);let _=!0;return yt.style&&!function cn(Ee){return"ebkit"==Ee.substring(1,6)}(Ee)&&(_=Ee in yt.style,!_&&Re&&(_="Webkit"+Ee.charAt(0).toUpperCase()+Ee.slice(1)in yt.style)),_}(y)}matchesElement(y,j){return!1}containsElement(y,j){return Le(y,j)}getParentElement(y){return Qt(y)}query(y,j,De){return fe(y,j,De)}computeStyle(y,j,De){return De||""}animate(y,j,De,Ye,Ct,Ot=[],Vt){return new e.ZN(De,Ye)}}return Ee.\u0275fac=function(y){return new(y||Ee)},Ee.\u0275prov=s.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})(),at=(()=>{class Ee{}return Ee.NOOP=new ye,Ee})();const kt=1e3,xt="ng-enter",Wt="ng-leave",Pt="ng-trigger",an=".ng-trigger",fn="ng-animating",Ke=".ng-animating";function ot(Ee){if("number"==typeof Ee)return Ee;const _=Ee.match(/^(-?[\.\d]+)(m?s)/);return!_||_.length<2?0:lt(parseFloat(_[1]),_[2])}function lt(Ee,_){return"s"===_?Ee*kt:Ee}function it(Ee,_,y){return Ee.hasOwnProperty("duration")?Ee:function st(Ee,_,y){let De,Ye=0,Ct="";if("string"==typeof Ee){const Ot=Ee.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ot)return _.push(z()),{duration:0,delay:0,easing:""};De=lt(parseFloat(Ot[1]),Ot[2]);const Vt=Ot[3];null!=Vt&&(Ye=lt(parseFloat(Vt),Ot[4]));const sn=Ot[5];sn&&(Ct=sn)}else De=Ee;if(!y){let Ot=!1,Vt=_.length;De<0&&(_.push(function F(){return new s.vHH(3100,!1)}()),Ot=!0),Ye<0&&(_.push(function ne(){return new s.vHH(3101,!1)}()),Ot=!0),Ot&&_.splice(Vt,0,z())}return{duration:De,delay:Ye,easing:Ct}}(Ee,_,y)}function V(Ee,_={}){return Object.keys(Ee).forEach(y=>{_[y]=Ee[y]}),_}function Pe(Ee){const _=new Map;return Object.keys(Ee).forEach(y=>{_.set(y,Ee[y])}),_}function on(Ee,_=new Map,y){if(y)for(let[j,De]of y)_.set(j,De);for(let[j,De]of Ee)_.set(j,De);return _}function $t(Ee,_,y){return y?_+":"+y+";":""}function vn(Ee){let _="";for(let y=0;y{const Ye=nt(De);y&&!y.has(De)&&y.set(De,Ee.style[Ye]),Ee.style[Ye]=j}),pt()&&vn(Ee))}function Nn(Ee,_){Ee.style&&(_.forEach((y,j)=>{const De=nt(j);Ee.style[De]=""}),pt()&&vn(Ee))}function Mn(Ee){return Array.isArray(Ee)?1==Ee.length?Ee[0]:(0,e.vP)(Ee):Ee}const Q=new RegExp("{{\\s*(.+?)\\s*}}","g");function H(Ee){let _=[];if("string"==typeof Ee){let y;for(;y=Q.exec(Ee);)_.push(y[1]);Q.lastIndex=0}return _}function le(Ee,_,y){const j=Ee.toString(),De=j.replace(Q,(Ye,Ct)=>{let Ot=_[Ct];return null==Ot&&(y.push(function te(Ee){return new s.vHH(3003,!1)}()),Ot=""),Ot.toString()});return De==j?Ee:De}function Ie(Ee){const _=[];let y=Ee.next();for(;!y.done;)_.push(y.value),y=Ee.next();return _}const rt=/-+([a-z0-9])/g;function nt(Ee){return Ee.replace(rt,(..._)=>_[1].toUpperCase())}function ut(Ee){return Ee.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function U(Ee,_,y){switch(_.type){case 7:return Ee.visitTrigger(_,y);case 0:return Ee.visitState(_,y);case 1:return Ee.visitTransition(_,y);case 2:return Ee.visitSequence(_,y);case 3:return Ee.visitGroup(_,y);case 4:return Ee.visitAnimate(_,y);case 5:return Ee.visitKeyframes(_,y);case 6:return Ee.visitStyle(_,y);case 8:return Ee.visitReference(_,y);case 9:return Ee.visitAnimateChild(_,y);case 10:return Ee.visitAnimateRef(_,y);case 11:return Ee.visitQuery(_,y);case 12:return Ee.visitStagger(_,y);default:throw function pe(Ee){return new s.vHH(3004,!1)}()}}function I(Ee,_){return window.getComputedStyle(Ee)[_]}const rn="*";function en(Ee,_){const y=[];return"string"==typeof Ee?Ee.split(/\s*,\s*/).forEach(j=>function gn(Ee,_,y){if(":"==Ee[0]){const Vt=function pn(Ee,_){switch(Ee){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(y,j)=>parseFloat(j)>parseFloat(y);case":decrement":return(y,j)=>parseFloat(j) *"}}(Ee,y);if("function"==typeof Vt)return void _.push(Vt);Ee=Vt}const j=Ee.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==j||j.length<4)return y.push(function $e(Ee){return new s.vHH(3015,!1)}()),_;const De=j[1],Ye=j[2],Ct=j[3];_.push(mn(De,Ct));"<"==Ye[0]&&!(De==rn&&Ct==rn)&&_.push(mn(Ct,De))}(j,y,_)):y.push(Ee),y}const In=new Set(["true","1"]),Kn=new Set(["false","0"]);function mn(Ee,_){const y=In.has(Ee)||Kn.has(Ee),j=In.has(_)||Kn.has(_);return(De,Ye)=>{let Ct=Ee==rn||Ee==De,Ot=_==rn||_==Ye;return!Ct&&y&&"boolean"==typeof De&&(Ct=De?In.has(Ee):Kn.has(Ee)),!Ot&&j&&"boolean"==typeof Ye&&(Ot=Ye?In.has(_):Kn.has(_)),Ct&&Ot}}const $n=new RegExp("s*:selfs*,?","g");function ci(Ee,_,y,j){return new Xn(Ee).build(_,y,j)}class Xn{constructor(_){this._driver=_}build(_,y,j){const De=new Ai(y);return this._resetContextStyleTimingState(De),U(this,Mn(_),De)}_resetContextStyleTimingState(_){_.currentQuerySelector="",_.collectedStyles=new Map,_.collectedStyles.set("",new Map),_.currentTime=0}visitTrigger(_,y){let j=y.queryCount=0,De=y.depCount=0;const Ye=[],Ct=[];return"@"==_.name.charAt(0)&&y.errors.push(function de(){return new s.vHH(3006,!1)}()),_.definitions.forEach(Ot=>{if(this._resetContextStyleTimingState(y),0==Ot.type){const Vt=Ot,sn=Vt.name;sn.toString().split(/\s*,\s*/).forEach(kn=>{Vt.name=kn,Ye.push(this.visitState(Vt,y))}),Vt.name=sn}else if(1==Ot.type){const Vt=this.visitTransition(Ot,y);j+=Vt.queryCount,De+=Vt.depCount,Ct.push(Vt)}else y.errors.push(function Y(){return new s.vHH(3007,!1)}())}),{type:7,name:_.name,states:Ye,transitions:Ct,queryCount:j,depCount:De,options:null}}visitState(_,y){const j=this.visitStyle(_.styles,y),De=_.options&&_.options.params||null;if(j.containsDynamicStyles){const Ye=new Set,Ct=De||{};j.styles.forEach(Ot=>{Ot instanceof Map&&Ot.forEach(Vt=>{H(Vt).forEach(sn=>{Ct.hasOwnProperty(sn)||Ye.add(sn)})})}),Ye.size&&(Ie(Ye.values()),y.errors.push(function _e(Ee,_){return new s.vHH(3008,!1)}()))}return{type:0,name:_.name,style:j,options:De?{params:De}:null}}visitTransition(_,y){y.queryCount=0,y.depCount=0;const j=U(this,Mn(_.animation),y);return{type:1,matchers:en(_.expr,y.errors),animation:j,queryCount:y.queryCount,depCount:y.depCount,options:Ti(_.options)}}visitSequence(_,y){return{type:2,steps:_.steps.map(j=>U(this,j,y)),options:Ti(_.options)}}visitGroup(_,y){const j=y.currentTime;let De=0;const Ye=_.steps.map(Ct=>{y.currentTime=j;const Ot=U(this,Ct,y);return De=Math.max(De,y.currentTime),Ot});return y.currentTime=De,{type:3,steps:Ye,options:Ti(_.options)}}visitAnimate(_,y){const j=function Wn(Ee,_){if(Ee.hasOwnProperty("duration"))return Ee;if("number"==typeof Ee)return ti(it(Ee,_).duration,0,"");const y=Ee;if(y.split(/\s+/).some(Ye=>"{"==Ye.charAt(0)&&"{"==Ye.charAt(1))){const Ye=ti(0,0,"");return Ye.dynamic=!0,Ye.strValue=y,Ye}const De=it(y,_);return ti(De.duration,De.delay,De.easing)}(_.timings,y.errors);y.currentAnimateTimings=j;let De,Ye=_.styles?_.styles:(0,e.oB)({});if(5==Ye.type)De=this.visitKeyframes(Ye,y);else{let Ct=_.styles,Ot=!1;if(!Ct){Ot=!0;const sn={};j.easing&&(sn.easing=j.easing),Ct=(0,e.oB)(sn)}y.currentTime+=j.duration+j.delay;const Vt=this.visitStyle(Ct,y);Vt.isEmptyStep=Ot,De=Vt}return y.currentAnimateTimings=null,{type:4,timings:j,style:De,options:null}}visitStyle(_,y){const j=this._makeStyleAst(_,y);return this._validateStyleAst(j,y),j}_makeStyleAst(_,y){const j=[],De=Array.isArray(_.styles)?_.styles:[_.styles];for(let Ot of De)"string"==typeof Ot?Ot===e.l3?j.push(Ot):y.errors.push(new s.vHH(3002,!1)):j.push(Pe(Ot));let Ye=!1,Ct=null;return j.forEach(Ot=>{if(Ot instanceof Map&&(Ot.has("easing")&&(Ct=Ot.get("easing"),Ot.delete("easing")),!Ye))for(let Vt of Ot.values())if(Vt.toString().indexOf("{{")>=0){Ye=!0;break}}),{type:6,styles:j,easing:Ct,offset:_.offset,containsDynamicStyles:Ye,options:null}}_validateStyleAst(_,y){const j=y.currentAnimateTimings;let De=y.currentTime,Ye=y.currentTime;j&&Ye>0&&(Ye-=j.duration+j.delay),_.styles.forEach(Ct=>{"string"!=typeof Ct&&Ct.forEach((Ot,Vt)=>{const sn=y.collectedStyles.get(y.currentQuerySelector),kn=sn.get(Vt);let T=!0;kn&&(Ye!=De&&Ye>=kn.startTime&&De<=kn.endTime&&(y.errors.push(function Ue(Ee,_,y,j,De){return new s.vHH(3010,!1)}()),T=!1),Ye=kn.startTime),T&&sn.set(Vt,{startTime:Ye,endTime:De}),y.options&&function oe(Ee,_,y){const j=_.params||{},De=H(Ee);De.length&&De.forEach(Ye=>{j.hasOwnProperty(Ye)||y.push(function W(Ee){return new s.vHH(3001,!1)}())})}(Ot,y.options,y.errors)})})}visitKeyframes(_,y){const j={type:5,styles:[],options:null};if(!y.currentAnimateTimings)return y.errors.push(function ve(){return new s.vHH(3011,!1)}()),j;let Ye=0;const Ct=[];let Ot=!1,Vt=!1,sn=0;const kn=_.steps.map(zn=>{const ii=this._makeStyleAst(zn,y);let Di=null!=ii.offset?ii.offset:function Ji(Ee){if("string"==typeof Ee)return null;let _=null;if(Array.isArray(Ee))Ee.forEach(y=>{if(y instanceof Map&&y.has("offset")){const j=y;_=parseFloat(j.get("offset")),j.delete("offset")}});else if(Ee instanceof Map&&Ee.has("offset")){const y=Ee;_=parseFloat(y.get("offset")),y.delete("offset")}return _}(ii.styles),mi=0;return null!=Di&&(Ye++,mi=ii.offset=Di),Vt=Vt||mi<0||mi>1,Ot=Ot||mi0&&Ye{const Di=E>0?ii==M?1:E*ii:Ct[ii],mi=Di*Dn;y.currentTime=ae+ft.delay+mi,ft.duration=mi,this._validateStyleAst(zn,y),zn.offset=Di,j.styles.push(zn)}),j}visitReference(_,y){return{type:8,animation:U(this,Mn(_.animation),y),options:Ti(_.options)}}visitAnimateChild(_,y){return y.depCount++,{type:9,options:Ti(_.options)}}visitAnimateRef(_,y){return{type:10,animation:this.visitReference(_.animation,y),options:Ti(_.options)}}visitQuery(_,y){const j=y.currentQuerySelector,De=_.options||{};y.queryCount++,y.currentQuery=_;const[Ye,Ct]=function Yn(Ee){const _=!!Ee.split(/\s*,\s*/).find(y=>":self"==y);return _&&(Ee=Ee.replace($n,"")),Ee=Ee.replace(/@\*/g,an).replace(/@\w+/g,y=>an+"-"+y.slice(1)).replace(/:animating/g,Ke),[Ee,_]}(_.selector);y.currentQuerySelector=j.length?j+" "+Ye:Ye,Rt(y.collectedStyles,y.currentQuerySelector,new Map);const Ot=U(this,Mn(_.animation),y);return y.currentQuery=null,y.currentQuerySelector=j,{type:11,selector:Ye,limit:De.limit||0,optional:!!De.optional,includeSelf:Ct,animation:Ot,originalSelector:_.selector,options:Ti(_.options)}}visitStagger(_,y){y.currentQuery||y.errors.push(function se(){return new s.vHH(3013,!1)}());const j="full"===_.timings?{duration:0,delay:0,easing:"full"}:it(_.timings,y.errors,!0);return{type:12,animation:U(this,Mn(_.animation),y),timings:j,options:null}}}class Ai{constructor(_){this.errors=_,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 Ti(Ee){return Ee?(Ee=V(Ee)).params&&(Ee.params=function Qn(Ee){return Ee?V(Ee):null}(Ee.params)):Ee={},Ee}function ti(Ee,_,y){return{duration:Ee,delay:_,easing:y}}function Mi(Ee,_,y,j,De,Ye,Ct=null,Ot=!1){return{type:1,element:Ee,keyframes:_,preStyleProps:y,postStyleProps:j,duration:De,delay:Ye,totalTime:De+Ye,easing:Ct,subTimeline:Ot}}class to{constructor(){this._map=new Map}get(_){return this._map.get(_)||[]}append(_,y){let j=this._map.get(_);j||this._map.set(_,j=[]),j.push(...y)}has(_){return this._map.has(_)}clear(){this._map.clear()}}const wo=new RegExp(":enter","g"),qo=new RegExp(":leave","g");function lr(Ee,_,y,j,De,Ye=new Map,Ct=new Map,Ot,Vt,sn=[]){return(new ui).buildKeyframes(Ee,_,y,j,De,Ye,Ct,Ot,Vt,sn)}class ui{buildKeyframes(_,y,j,De,Ye,Ct,Ot,Vt,sn,kn=[]){sn=sn||new to;const T=new Qi(_,y,sn,De,Ye,kn,[]);T.options=Vt;const E=Vt.delay?ot(Vt.delay):0;T.currentTimeline.delayNextStep(E),T.currentTimeline.setStyles([Ct],null,T.errors,Vt),U(this,j,T);const M=T.timelines.filter(ae=>ae.containsAnimation());if(M.length&&Ot.size){let ae;for(let ft=M.length-1;ft>=0;ft--){const Dn=M[ft];if(Dn.element===y){ae=Dn;break}}ae&&!ae.allowOnlyTimelineStyles()&&ae.setStyles([Ot],null,T.errors,Vt)}return M.length?M.map(ae=>ae.buildKeyframes()):[Mi(y,[],[],[],0,E,"",!1)]}visitTrigger(_,y){}visitState(_,y){}visitTransition(_,y){}visitAnimateChild(_,y){const j=y.subInstructions.get(y.element);if(j){const De=y.createSubContext(_.options),Ye=y.currentTimeline.currentTime,Ct=this._visitSubInstructions(j,De,De.options);Ye!=Ct&&y.transformIntoNewTimeline(Ct)}y.previousNode=_}visitAnimateRef(_,y){const j=y.createSubContext(_.options);j.transformIntoNewTimeline(),this._applyAnimationRefDelays([_.options,_.animation.options],y,j),this.visitReference(_.animation,j),y.transformIntoNewTimeline(j.currentTimeline.currentTime),y.previousNode=_}_applyAnimationRefDelays(_,y,j){for(const Ye of _){const Ct=null==Ye?void 0:Ye.delay;if(Ct){var De;const Ot="number"==typeof Ct?Ct:ot(le(Ct,null!==(De=null==Ye?void 0:Ye.params)&&void 0!==De?De:{},y.errors));j.delayNextStep(Ot)}}}_visitSubInstructions(_,y,j){let Ye=y.currentTimeline.currentTime;const Ct=null!=j.duration?ot(j.duration):null,Ot=null!=j.delay?ot(j.delay):null;return 0!==Ct&&_.forEach(Vt=>{const sn=y.appendInstructionToTimeline(Vt,Ct,Ot);Ye=Math.max(Ye,sn.duration+sn.delay)}),Ye}visitReference(_,y){y.updateOptions(_.options,!0),U(this,_.animation,y),y.previousNode=_}visitSequence(_,y){const j=y.subContextCount;let De=y;const Ye=_.options;if(Ye&&(Ye.params||Ye.delay)&&(De=y.createSubContext(Ye),De.transformIntoNewTimeline(),null!=Ye.delay)){6==De.previousNode.type&&(De.currentTimeline.snapshotCurrentStyles(),De.previousNode=Wi);const Ct=ot(Ye.delay);De.delayNextStep(Ct)}_.steps.length&&(_.steps.forEach(Ct=>U(this,Ct,De)),De.currentTimeline.applyStylesToKeyframe(),De.subContextCount>j&&De.transformIntoNewTimeline()),y.previousNode=_}visitGroup(_,y){const j=[];let De=y.currentTimeline.currentTime;const Ye=_.options&&_.options.delay?ot(_.options.delay):0;_.steps.forEach(Ct=>{const Ot=y.createSubContext(_.options);Ye&&Ot.delayNextStep(Ye),U(this,Ct,Ot),De=Math.max(De,Ot.currentTimeline.currentTime),j.push(Ot.currentTimeline)}),j.forEach(Ct=>y.currentTimeline.mergeTimelineCollectedStyles(Ct)),y.transformIntoNewTimeline(De),y.previousNode=_}_visitTiming(_,y){if(_.dynamic){const j=_.strValue;return it(y.params?le(j,y.params,y.errors):j,y.errors)}return{duration:_.duration,delay:_.delay,easing:_.easing}}visitAnimate(_,y){const j=y.currentAnimateTimings=this._visitTiming(_.timings,y),De=y.currentTimeline;j.delay&&(y.incrementTime(j.delay),De.snapshotCurrentStyles());const Ye=_.style;5==Ye.type?this.visitKeyframes(Ye,y):(y.incrementTime(j.duration),this.visitStyle(Ye,y),De.applyStylesToKeyframe()),y.currentAnimateTimings=null,y.previousNode=_}visitStyle(_,y){const j=y.currentTimeline,De=y.currentAnimateTimings;!De&&j.hasCurrentStyleProperties()&&j.forwardFrame();const Ye=De&&De.easing||_.easing;_.isEmptyStep?j.applyEmptyStep(Ye):j.setStyles(_.styles,Ye,y.errors,y.options),y.previousNode=_}visitKeyframes(_,y){const j=y.currentAnimateTimings,De=y.currentTimeline.duration,Ye=j.duration,Ot=y.createSubContext().currentTimeline;Ot.easing=j.easing,_.styles.forEach(Vt=>{Ot.forwardTime((Vt.offset||0)*Ye),Ot.setStyles(Vt.styles,Vt.easing,y.errors,y.options),Ot.applyStylesToKeyframe()}),y.currentTimeline.mergeTimelineCollectedStyles(Ot),y.transformIntoNewTimeline(De+Ye),y.previousNode=_}visitQuery(_,y){const j=y.currentTimeline.currentTime,De=_.options||{},Ye=De.delay?ot(De.delay):0;Ye&&(6===y.previousNode.type||0==j&&y.currentTimeline.hasCurrentStyleProperties())&&(y.currentTimeline.snapshotCurrentStyles(),y.previousNode=Wi);let Ct=j;const Ot=y.invokeQuery(_.selector,_.originalSelector,_.limit,_.includeSelf,!!De.optional,y.errors);y.currentQueryTotal=Ot.length;let Vt=null;Ot.forEach((sn,kn)=>{y.currentQueryIndex=kn;const T=y.createSubContext(_.options,sn);Ye&&T.delayNextStep(Ye),sn===y.element&&(Vt=T.currentTimeline),U(this,_.animation,T),T.currentTimeline.applyStylesToKeyframe(),Ct=Math.max(Ct,T.currentTimeline.currentTime)}),y.currentQueryIndex=0,y.currentQueryTotal=0,y.transformIntoNewTimeline(Ct),Vt&&(y.currentTimeline.mergeTimelineCollectedStyles(Vt),y.currentTimeline.snapshotCurrentStyles()),y.previousNode=_}visitStagger(_,y){const j=y.parentContext,De=y.currentTimeline,Ye=_.timings,Ct=Math.abs(Ye.duration),Ot=Ct*(y.currentQueryTotal-1);let Vt=Ct*y.currentQueryIndex;switch(Ye.duration<0?"reverse":Ye.easing){case"reverse":Vt=Ot-Vt;break;case"full":Vt=j.currentStaggerTime}const kn=y.currentTimeline;Vt&&kn.delayNextStep(Vt);const T=kn.currentTime;U(this,_.animation,y),y.previousNode=_,j.currentStaggerTime=De.currentTime-T+(De.startTime-j.currentTimeline.startTime)}}const Wi={};class Qi{constructor(_,y,j,De,Ye,Ct,Ot,Vt){this._driver=_,this.element=y,this.subInstructions=j,this._enterClassName=De,this._leaveClassName=Ye,this.errors=Ct,this.timelines=Ot,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Wi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Vt||new yo(this._driver,y,0),Ot.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(_,y){if(!_)return;const j=_;let De=this.options;null!=j.duration&&(De.duration=ot(j.duration)),null!=j.delay&&(De.delay=ot(j.delay));const Ye=j.params;if(Ye){let Ct=De.params;Ct||(Ct=this.options.params={}),Object.keys(Ye).forEach(Ot=>{(!y||!Ct.hasOwnProperty(Ot))&&(Ct[Ot]=le(Ye[Ot],Ct,this.errors))})}}_copyOptions(){const _={};if(this.options){const y=this.options.params;if(y){const j=_.params={};Object.keys(y).forEach(De=>{j[De]=y[De]})}}return _}createSubContext(_=null,y,j){const De=y||this.element,Ye=new Qi(this._driver,De,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(De,j||0));return Ye.previousNode=this.previousNode,Ye.currentAnimateTimings=this.currentAnimateTimings,Ye.options=this._copyOptions(),Ye.updateOptions(_),Ye.currentQueryIndex=this.currentQueryIndex,Ye.currentQueryTotal=this.currentQueryTotal,Ye.parentContext=this,this.subContextCount++,Ye}transformIntoNewTimeline(_){return this.previousNode=Wi,this.currentTimeline=this.currentTimeline.fork(this.element,_),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(_,y,j){const De={duration:null!=y?y:_.duration,delay:this.currentTimeline.currentTime+(null!=j?j:0)+_.delay,easing:""},Ye=new Po(this._driver,_.element,_.keyframes,_.preStyleProps,_.postStyleProps,De,_.stretchStartingKeyframe);return this.timelines.push(Ye),De}incrementTime(_){this.currentTimeline.forwardTime(this.currentTimeline.duration+_)}delayNextStep(_){_>0&&this.currentTimeline.delayNextStep(_)}invokeQuery(_,y,j,De,Ye,Ct){let Ot=[];if(De&&Ot.push(this.element),_.length>0){_=(_=_.replace(wo,"."+this._enterClassName)).replace(qo,"."+this._leaveClassName);let sn=this._driver.query(this.element,_,1!=j);0!==j&&(sn=j<0?sn.slice(sn.length+j,sn.length):sn.slice(0,j)),Ot.push(...sn)}return!Ye&&0==Ot.length&&Ct.push(function ee(Ee){return new s.vHH(3014,!1)}()),Ot}}class yo{constructor(_,y,j,De){this._driver=_,this.element=y,this.startTime=j,this._elementTimelineStylesLookup=De,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(_){const y=1===this._keyframes.size&&this._pendingStyles.size;this.duration||y?(this.forwardTime(this.currentTime+_),y&&this.snapshotCurrentStyles()):this.startTime+=_}fork(_,y){return this.applyStylesToKeyframe(),new yo(this._driver,_,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(_){this.applyStylesToKeyframe(),this.duration=_,this._loadKeyframe()}_updateStyle(_,y){this._localTimelineStyles.set(_,y),this._globalTimelineStyles.set(_,y),this._styleSummary.set(_,{time:this.currentTime,value:y})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(_){_&&this._previousKeyframe.set("easing",_);for(let[y,j]of this._globalTimelineStyles)this._backFill.set(y,j||e.l3),this._currentKeyframe.set(y,e.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(_,y,j,De){y&&this._previousKeyframe.set("easing",y);const Ye=De&&De.params||{},Ct=function bo(Ee,_){const y=new Map;let j;return Ee.forEach(De=>{if("*"===De){j=j||_.keys();for(let Ye of j)y.set(Ye,e.l3)}else on(De,y)}),y}(_,this._globalTimelineStyles);for(let[Vt,sn]of Ct){const kn=le(sn,Ye,j);var Ot;this._pendingStyles.set(Vt,kn),this._localTimelineStyles.has(Vt)||this._backFill.set(Vt,null!==(Ot=this._globalTimelineStyles.get(Vt))&&void 0!==Ot?Ot:e.l3),this._updateStyle(Vt,kn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((_,y)=>{this._currentKeyframe.set(y,_)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((_,y)=>{this._currentKeyframe.has(y)||this._currentKeyframe.set(y,_)}))}snapshotCurrentStyles(){for(let[_,y]of this._localTimelineStyles)this._pendingStyles.set(_,y),this._updateStyle(_,y)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const _=[];for(let y in this._currentKeyframe)_.push(y);return _}mergeTimelineCollectedStyles(_){_._styleSummary.forEach((y,j)=>{const De=this._styleSummary.get(j);(!De||y.time>De.time)&&this._updateStyle(j,y.value)})}buildKeyframes(){this.applyStylesToKeyframe();const _=new Set,y=new Set,j=1===this._keyframes.size&&0===this.duration;let De=[];this._keyframes.forEach((Ot,Vt)=>{const sn=on(Ot,new Map,this._backFill);sn.forEach((kn,T)=>{kn===e.k1?_.add(T):kn===e.l3&&y.add(T)}),j||sn.set("offset",Vt/this.duration),De.push(sn)});const Ye=_.size?Ie(_.values()):[],Ct=y.size?Ie(y.values()):[];if(j){const Ot=De[0],Vt=new Map(Ot);Ot.set("offset",0),Vt.set("offset",1),De=[Ot,Vt]}return Mi(this.element,De,Ye,Ct,this.duration,this.startTime,this.easing,!1)}}class Po extends yo{constructor(_,y,j,De,Ye,Ct,Ot=!1){super(_,y,Ct.delay),this.keyframes=j,this.preStyleProps=De,this.postStyleProps=Ye,this._stretchStartingKeyframe=Ot,this.timings={duration:Ct.duration,delay:Ct.delay,easing:Ct.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let _=this.keyframes,{delay:y,duration:j,easing:De}=this.timings;if(this._stretchStartingKeyframe&&y){const Ye=[],Ct=j+y,Ot=y/Ct,Vt=on(_[0]);Vt.set("offset",0),Ye.push(Vt);const sn=on(_[0]);sn.set("offset",Vo(Ot)),Ye.push(sn);const kn=_.length-1;for(let T=1;T<=kn;T++){let E=on(_[T]);const M=E.get("offset");E.set("offset",Vo((y+M*j)/Ct)),Ye.push(E)}j=Ct,y=0,De="",_=Ye}return Mi(this.element,_,this.preStyleProps,this.postStyleProps,j,y,De,!0)}}function Vo(Ee,_=3){const y=Math.pow(10,_-1);return Math.round(Ee*y)/y}class io{}const Yi=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 Si extends io{normalizePropertyName(_,y){return nt(_)}normalizeStyleValue(_,y,j,De){let Ye="";const Ct=j.toString().trim();if(Yi.has(y)&&0!==j&&"0"!==j)if("number"==typeof j)Ye="px";else{const Ot=j.match(/^[+-]?[\d\.]+([a-z]*)$/);Ot&&0==Ot[1].length&&De.push(function ce(Ee,_){return new s.vHH(3005,!1)}())}return Ct+Ye}}function oo(Ee,_,y,j,De,Ye,Ct,Ot,Vt,sn,kn,T,E){return{type:0,element:Ee,triggerName:_,isRemovalTransition:De,fromState:y,fromStyles:Ye,toState:j,toStyles:Ct,timelines:Ot,queriedElements:Vt,preStyleProps:sn,postStyleProps:kn,totalTime:T,errors:E}}const go={};class Pn{constructor(_,y,j){this._triggerName=_,this.ast=y,this._stateStyles=j}match(_,y,j,De){return function yn(Ee,_,y,j,De){return Ee.some(Ye=>Ye(_,y,j,De))}(this.ast.matchers,_,y,j,De)}buildStyles(_,y,j){let De=this._stateStyles.get("*");return void 0!==_&&(De=this._stateStyles.get(null==_?void 0:_.toString())||De),De?De.buildStyles(y,j):new Map}build(_,y,j,De,Ye,Ct,Ot,Vt,sn,kn){var T;const E=[],M=this.ast.options&&this.ast.options.params||go,ft=this.buildStyles(j,Ot&&Ot.params||go,E),Dn=Vt&&Vt.params||go,zn=this.buildStyles(De,Dn,E),ii=new Set,Di=new Map,mi=new Map,_o="void"===De,Ro={params:Rn(Dn,M),delay:null===(T=this.ast.options)||void 0===T?void 0:T.delay},qi=kn?[]:lr(_,y,this.ast.animation,Ye,Ct,ft,zn,Ro,sn,E);let yi=0;if(qi.forEach(Zi=>{yi=Math.max(Zi.duration+Zi.delay,yi)}),E.length)return oo(y,this._triggerName,j,De,_o,ft,zn,[],[],Di,mi,yi,E);qi.forEach(Zi=>{const or=Zi.element,fo=Rt(Di,or,new Set);Zi.preStyleProps.forEach(cr=>fo.add(cr));const Zo=Rt(mi,or,new Set);Zi.postStyleProps.forEach(cr=>Zo.add(cr)),or!==y&&ii.add(or)});const eo=Ie(ii.values());return oo(y,this._triggerName,j,De,_o,ft,zn,qi,eo,Di,mi,yi)}}function Rn(Ee,_){const y=V(_);for(const j in Ee)Ee.hasOwnProperty(j)&&null!=Ee[j]&&(y[j]=Ee[j]);return y}class vi{constructor(_,y,j){this.styles=_,this.defaultParams=y,this.normalizer=j}buildStyles(_,y){const j=new Map,De=V(this.defaultParams);return Object.keys(_).forEach(Ye=>{const Ct=_[Ye];null!==Ct&&(De[Ye]=Ct)}),this.styles.styles.forEach(Ye=>{"string"!=typeof Ye&&Ye.forEach((Ct,Ot)=>{Ct&&(Ct=le(Ct,De,y));const Vt=this.normalizer.normalizePropertyName(Ot,y);Ct=this.normalizer.normalizeStyleValue(Ot,Vt,Ct,y),j.set(Ot,Ct)})}),j}}class Bi{constructor(_,y,j){this.name=_,this.ast=y,this._normalizer=j,this.transitionFactories=[],this.states=new Map,y.states.forEach(De=>{this.states.set(De.name,new vi(De.style,De.options&&De.options.params||{},j))}),Ao(this.states,"true","1"),Ao(this.states,"false","0"),y.transitions.forEach(De=>{this.transitionFactories.push(new Pn(_,De,this.states))}),this.fallbackTransition=function xi(Ee,_,y){return new Pn(Ee,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ct,Ot)=>!0],options:null,queryCount:0,depCount:0},_)}(_,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(_,y,j,De){return this.transitionFactories.find(Ct=>Ct.match(_,y,j,De))||null}matchStyles(_,y,j){return this.fallbackTransition.buildStyles(_,y,j)}}function Ao(Ee,_,y){Ee.has(_)?Ee.has(y)||Ee.set(y,Ee.get(_)):Ee.has(y)&&Ee.set(_,Ee.get(y))}const Co=new to;class Ki{constructor(_,y,j){this.bodyNode=_,this._driver=y,this._normalizer=j,this._animations=new Map,this._playersById=new Map,this.players=[]}register(_,y){const j=[],De=[],Ye=ci(this._driver,y,j,De);if(j.length)throw function mt(Ee){return new s.vHH(3503,!1)}();this._animations.set(_,Ye)}_buildPlayer(_,y,j){const De=_.element,Ye=Cn(0,this._normalizer,0,_.keyframes,y,j);return this._driver.animate(De,Ye,_.duration,_.delay,_.easing,[],!0)}create(_,y,j={}){const De=[],Ye=this._animations.get(_);let Ct;const Ot=new Map;if(Ye?(Ct=lr(this._driver,y,Ye,xt,Wt,new Map,new Map,j,Co,De),Ct.forEach(kn=>{const T=Rt(Ot,kn.element,new Map);kn.postStyleProps.forEach(E=>T.set(E,null))})):(De.push(function At(){return new s.vHH(3300,!1)}()),Ct=[]),De.length)throw function Qe(Ee){return new s.vHH(3504,!1)}();Ot.forEach((kn,T)=>{kn.forEach((E,M)=>{kn.set(M,this._driver.computeStyle(T,M,e.l3))})});const sn=wt(Ct.map(kn=>{const T=Ot.get(kn.element);return this._buildPlayer(kn,new Map,T)}));return this._playersById.set(_,sn),sn.onDestroy(()=>this.destroy(_)),this.players.push(sn),sn}destroy(_){const y=this._getPlayer(_);y.destroy(),this._playersById.delete(_);const j=this.players.indexOf(y);j>=0&&this.players.splice(j,1)}_getPlayer(_){const y=this._playersById.get(_);if(!y)throw function qe(Ee){return new s.vHH(3301,!1)}();return y}listen(_,y,j,De){const Ye=It(y,"","","");return St(this._getPlayer(_),j,Ye,De),()=>{}}command(_,y,j,De){if("register"==j)return void this.register(_,De[0]);if("create"==j)return void this.create(_,y,De[0]||{});const Ye=this._getPlayer(_);switch(j){case"play":Ye.play();break;case"pause":Ye.pause();break;case"reset":Ye.reset();break;case"restart":Ye.restart();break;case"finish":Ye.finish();break;case"init":Ye.init();break;case"setPosition":Ye.setPosition(parseFloat(De[0]));break;case"destroy":this.destroy(_)}}}const Yo="ng-animate-queued",So="ng-animate-disabled",zr=[],er={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},To="__ng_removed";class jo{get params(){return this.options.params}constructor(_,y=""){this.namespaceId=y;const j=_&&_.hasOwnProperty("value");if(this.value=function nr(Ee){return null!=Ee?Ee:null}(j?_.value:_),j){const Ye=V(_);delete Ye.value,this.options=Ye}else this.options={};this.options.params||(this.options.params={})}absorbOptions(_){const y=_.params;if(y){const j=this.options.params;Object.keys(y).forEach(De=>{null==j[De]&&(j[De]=y[De])})}}}const co="void",Sr=new jo(co);class Tr{constructor(_,y,j){this.id=_,this.hostElement=y,this._engine=j,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+_,Hi(y,this._hostClassName)}listen(_,y,j,De){if(!this._triggers.has(y))throw function Ge(Ee,_){return new s.vHH(3302,!1)}();if(null==j||0==j.length)throw function R(Ee){return new s.vHH(3303,!1)}();if(!function Zr(Ee){return"start"==Ee||"done"==Ee}(j))throw function be(Ee,_){return new s.vHH(3400,!1)}();const Ye=Rt(this._elementListeners,_,[]),Ct={name:y,phase:j,callback:De};Ye.push(Ct);const Ot=Rt(this._engine.statesByElement,_,new Map);return Ot.has(y)||(Hi(_,Pt),Hi(_,Pt+"-"+y),Ot.set(y,Sr)),()=>{this._engine.afterFlush(()=>{const Vt=Ye.indexOf(Ct);Vt>=0&&Ye.splice(Vt,1),this._triggers.has(y)||Ot.delete(y)})}}register(_,y){return!this._triggers.has(_)&&(this._triggers.set(_,y),!0)}_getTrigger(_){const y=this._triggers.get(_);if(!y)throw function S(Ee){return new s.vHH(3401,!1)}();return y}trigger(_,y,j,De=!0){const Ye=this._getTrigger(y),Ct=new Ui(this.id,y,_);let Ot=this._engine.statesByElement.get(_);Ot||(Hi(_,Pt),Hi(_,Pt+"-"+y),this._engine.statesByElement.set(_,Ot=new Map));let Vt=Ot.get(y);const sn=new jo(j,this.id);if(!(j&&j.hasOwnProperty("value"))&&Vt&&sn.absorbOptions(Vt.options),Ot.set(y,sn),Vt||(Vt=Sr),sn.value!==co&&Vt.value===sn.value){if(!function zi(Ee,_){const y=Object.keys(Ee),j=Object.keys(_);if(y.length!=j.length)return!1;for(let De=0;De{Nn(_,Dn),Jt(_,zn)})}return}const E=Rt(this._engine.playersByElement,_,[]);E.forEach(ft=>{ft.namespaceId==this.id&&ft.triggerName==y&&ft.queued&&ft.destroy()});let M=Ye.matchTransition(Vt.value,sn.value,_,sn.params),ae=!1;if(!M){if(!De)return;M=Ye.fallbackTransition,ae=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:_,triggerName:y,transition:M,fromState:Vt,toState:sn,player:Ct,isFallbackTransition:ae}),ae||(Hi(_,Yo),Ct.onStart(()=>{Ko(_,Yo)})),Ct.onDone(()=>{let ft=this.players.indexOf(Ct);ft>=0&&this.players.splice(ft,1);const Dn=this._engine.playersByElement.get(_);if(Dn){let zn=Dn.indexOf(Ct);zn>=0&&Dn.splice(zn,1)}}),this.players.push(Ct),E.push(Ct),Ct}deregister(_){this._triggers.delete(_),this._engine.statesByElement.forEach(y=>y.delete(_)),this._elementListeners.forEach((y,j)=>{this._elementListeners.set(j,y.filter(De=>De.name!=_))})}clearElementCache(_){this._engine.statesByElement.delete(_),this._elementListeners.delete(_);const y=this._engine.playersByElement.get(_);y&&(y.forEach(j=>j.destroy()),this._engine.playersByElement.delete(_))}_signalRemovalForInnerTriggers(_,y){const j=this._engine.driver.query(_,an,!0);j.forEach(De=>{if(De[To])return;const Ye=this._engine.fetchNamespacesByElement(De);Ye.size?Ye.forEach(Ct=>Ct.triggerLeaveAnimation(De,y,!1,!0)):this.clearElementCache(De)}),this._engine.afterFlushAnimationsDone(()=>j.forEach(De=>this.clearElementCache(De)))}triggerLeaveAnimation(_,y,j,De){const Ye=this._engine.statesByElement.get(_),Ct=new Map;if(Ye){const Ot=[];if(Ye.forEach((Vt,sn)=>{if(Ct.set(sn,Vt.value),this._triggers.has(sn)){const kn=this.trigger(_,sn,co,De);kn&&Ot.push(kn)}}),Ot.length)return this._engine.markElementAsRemoved(this.id,_,!0,y,Ct),j&&wt(Ot).onDone(()=>this._engine.processLeaveNode(_)),!0}return!1}prepareLeaveAnimationListeners(_){const y=this._elementListeners.get(_),j=this._engine.statesByElement.get(_);if(y&&j){const De=new Set;y.forEach(Ye=>{const Ct=Ye.name;if(De.has(Ct))return;De.add(Ct);const Vt=this._triggers.get(Ct).fallbackTransition,sn=j.get(Ct)||Sr,kn=new jo(co),T=new Ui(this.id,Ct,_);this._engine.totalQueuedPlayers++,this._queue.push({element:_,triggerName:Ct,transition:Vt,fromState:sn,toState:kn,player:T,isFallbackTransition:!0})})}}removeNode(_,y){const j=this._engine;if(_.childElementCount&&this._signalRemovalForInnerTriggers(_,y),this.triggerLeaveAnimation(_,y,!0))return;let De=!1;if(j.totalAnimations){const Ye=j.players.length?j.playersByQueriedElement.get(_):[];if(Ye&&Ye.length)De=!0;else{let Ct=_;for(;Ct=Ct.parentNode;)if(j.statesByElement.get(Ct)){De=!0;break}}}if(this.prepareLeaveAnimationListeners(_),De)j.markElementAsRemoved(this.id,_,!1,y);else{const Ye=_[To];(!Ye||Ye===er)&&(j.afterFlush(()=>this.clearElementCache(_)),j.destroyInnerAnimations(_),j._onRemovalComplete(_,y))}}insertNode(_,y){Hi(_,this._hostClassName)}drainQueuedTransitions(_){const y=[];return this._queue.forEach(j=>{const De=j.player;if(De.destroyed)return;const Ye=j.element,Ct=this._elementListeners.get(Ye);Ct&&Ct.forEach(Ot=>{if(Ot.name==j.triggerName){const Vt=It(Ye,j.triggerName,j.fromState.value,j.toState.value);Vt._data=_,St(j.player,Ot.phase,Vt,Ot.callback)}}),De.markedForDestroy?this._engine.afterFlush(()=>{De.destroy()}):y.push(j)}),this._queue=[],y.sort((j,De)=>{const Ye=j.transition.ast.depCount,Ct=De.transition.ast.depCount;return 0==Ye||0==Ct?Ye-Ct:this._engine.driver.containsElement(j.element,De.element)?1:-1})}destroy(_){this.players.forEach(y=>y.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,_)}elementContainsData(_){let y=!1;return this._elementListeners.has(_)&&(y=!0),y=!!this._queue.find(j=>j.element===_)||y,y}}class tr{_onRemovalComplete(_,y){this.onRemovalComplete(_,y)}constructor(_,y,j){this.bodyNode=_,this.driver=y,this._normalizer=j,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=(De,Ye)=>{}}get queuedPlayers(){const _=[];return this._namespaceList.forEach(y=>{y.players.forEach(j=>{j.queued&&_.push(j)})}),_}createNamespace(_,y){const j=new Tr(_,y,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,y)?this._balanceNamespaceList(j,y):(this.newHostElements.set(y,j),this.collectEnterElement(y)),this._namespaceLookup[_]=j}_balanceNamespaceList(_,y){const j=this._namespaceList,De=this.namespacesByHostElement;if(j.length-1>=0){let Ct=!1,Ot=this.driver.getParentElement(y);for(;Ot;){const Vt=De.get(Ot);if(Vt){const sn=j.indexOf(Vt);j.splice(sn+1,0,_),Ct=!0;break}Ot=this.driver.getParentElement(Ot)}Ct||j.unshift(_)}else j.push(_);return De.set(y,_),_}register(_,y){let j=this._namespaceLookup[_];return j||(j=this.createNamespace(_,y)),j}registerTrigger(_,y,j){let De=this._namespaceLookup[_];De&&De.register(y,j)&&this.totalAnimations++}destroy(_,y){if(!_)return;const j=this._fetchNamespace(_);this.afterFlush(()=>{this.namespacesByHostElement.delete(j.hostElement),delete this._namespaceLookup[_];const De=this._namespaceList.indexOf(j);De>=0&&this._namespaceList.splice(De,1)}),this.afterFlushAnimationsDone(()=>j.destroy(y))}_fetchNamespace(_){return this._namespaceLookup[_]}fetchNamespacesByElement(_){const y=new Set,j=this.statesByElement.get(_);if(j)for(let De of j.values())if(De.namespaceId){const Ye=this._fetchNamespace(De.namespaceId);Ye&&y.add(Ye)}return y}trigger(_,y,j,De){if(Ir(y)){const Ye=this._fetchNamespace(_);if(Ye)return Ye.trigger(y,j,De),!0}return!1}insertNode(_,y,j,De){if(!Ir(y))return;const Ye=y[To];if(Ye&&Ye.setForRemoval){Ye.setForRemoval=!1,Ye.setForMove=!0;const Ct=this.collectedLeaveElements.indexOf(y);Ct>=0&&this.collectedLeaveElements.splice(Ct,1)}if(_){const Ct=this._fetchNamespace(_);Ct&&Ct.insertNode(y,j)}De&&this.collectEnterElement(y)}collectEnterElement(_){this.collectedEnterElements.push(_)}markElementAsDisabled(_,y){y?this.disabledNodes.has(_)||(this.disabledNodes.add(_),Hi(_,So)):this.disabledNodes.has(_)&&(this.disabledNodes.delete(_),Ko(_,So))}removeNode(_,y,j,De){if(Ir(y)){const Ye=_?this._fetchNamespace(_):null;if(Ye?Ye.removeNode(y,De):this.markElementAsRemoved(_,y,!1,De),j){const Ct=this.namespacesByHostElement.get(y);Ct&&Ct.id!==_&&Ct.removeNode(y,De)}}else this._onRemovalComplete(y,De)}markElementAsRemoved(_,y,j,De,Ye){this.collectedLeaveElements.push(y),y[To]={namespaceId:_,setForRemoval:De,hasAnimation:j,removedBeforeQueried:!1,previousTriggersValues:Ye}}listen(_,y,j,De,Ye){return Ir(y)?this._fetchNamespace(_).listen(y,j,De,Ye):()=>{}}_buildInstruction(_,y,j,De,Ye){return _.transition.build(this.driver,_.element,_.fromState.value,_.toState.value,j,De,_.fromState.options,_.toState.options,y,Ye)}destroyInnerAnimations(_){let y=this.driver.query(_,an,!0);y.forEach(j=>this.destroyActiveAnimationsForElement(j)),0!=this.playersByQueriedElement.size&&(y=this.driver.query(_,Ke,!0),y.forEach(j=>this.finishActiveQueriedAnimationOnElement(j)))}destroyActiveAnimationsForElement(_){const y=this.playersByElement.get(_);y&&y.forEach(j=>{j.queued?j.markedForDestroy=!0:j.destroy()})}finishActiveQueriedAnimationOnElement(_){const y=this.playersByQueriedElement.get(_);y&&y.forEach(j=>j.finish())}whenRenderingDone(){return new Promise(_=>{if(this.players.length)return wt(this.players).onDone(()=>_());_()})}processLeaveNode(_){var y;const j=_[To];if(j&&j.setForRemoval){if(_[To]=er,j.namespaceId){this.destroyInnerAnimations(_);const De=this._fetchNamespace(j.namespaceId);De&&De.clearElementCache(_)}this._onRemovalComplete(_,j.setForRemoval)}null!==(y=_.classList)&&void 0!==y&&y.contains(So)&&this.markElementAsDisabled(_,!1),this.driver.query(_,".ng-animate-disabled",!0).forEach(De=>{this.markElementAsDisabled(De,!1)})}flush(_=-1){let y=[];if(this.newHostElements.size&&(this.newHostElements.forEach((j,De)=>this._balanceNamespaceList(j,De)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let j=0;jj()),this._flushFns=[],this._whenQuietFns.length){const j=this._whenQuietFns;this._whenQuietFns=[],y.length?wt(y).onDone(()=>{j.forEach(De=>De())}):j.forEach(De=>De())}}reportError(_){throw function q(Ee){return new s.vHH(3402,!1)}()}_flushAnimations(_,y){const j=new to,De=[],Ye=new Map,Ct=[],Ot=new Map,Vt=new Map,sn=new Map,kn=new Set;this.disabledNodes.forEach(Hn=>{kn.add(Hn);const Vn=this.driver.query(Hn,".ng-animate-queued",!0);for(let jn=0;jn{const jn=xt+ft++;ae.set(Vn,jn),Hn.forEach(si=>Hi(si,jn))});const Dn=[],zn=new Set,ii=new Set;for(let Hn=0;Hnzn.add(si)):ii.add(Vn))}const Di=new Map,mi=mo(E,Array.from(zn));mi.forEach((Hn,Vn)=>{const jn=Wt+ft++;Di.set(Vn,jn),Hn.forEach(si=>Hi(si,jn))}),_.push(()=>{M.forEach((Hn,Vn)=>{const jn=ae.get(Vn);Hn.forEach(si=>Ko(si,jn))}),mi.forEach((Hn,Vn)=>{const jn=Di.get(Vn);Hn.forEach(si=>Ko(si,jn))}),Dn.forEach(Hn=>{this.processLeaveNode(Hn)})});const _o=[],Ro=[];for(let Hn=this._namespaceList.length-1;Hn>=0;Hn--)this._namespaceList[Hn].drainQueuedTransitions(y).forEach(jn=>{const si=jn.player,wi=jn.element;if(_o.push(si),this.collectedEnterElements.length){const ho=wi[To];if(ho&&ho.setForMove){if(ho.previousTriggersValues&&ho.previousTriggersValues.has(jn.triggerName)){const No=ho.previousTriggersValues.get(jn.triggerName),Vi=this.statesByElement.get(jn.element);if(Vi&&Vi.has(jn.triggerName)){const kr=Vi.get(jn.triggerName);kr.value=No,Vi.set(jn.triggerName,kr)}}return void si.destroy()}}const $o=!T||!this.driver.containsElement(T,wi),lo=Di.get(wi),Lo=ae.get(wi),Oi=this._buildInstruction(jn,j,Lo,lo,$o);if(Oi.errors&&Oi.errors.length)return void Ro.push(Oi);if($o)return si.onStart(()=>Nn(wi,Oi.fromStyles)),si.onDestroy(()=>Jt(wi,Oi.toStyles)),void De.push(si);if(jn.isFallbackTransition)return si.onStart(()=>Nn(wi,Oi.fromStyles)),si.onDestroy(()=>Jt(wi,Oi.toStyles)),void De.push(si);const $r=[];Oi.timelines.forEach(ho=>{ho.stretchStartingKeyframe=!0,this.disabledNodes.has(ho.element)||$r.push(ho)}),Oi.timelines=$r,j.append(wi,Oi.timelines),Ct.push({instruction:Oi,player:si,element:wi}),Oi.queriedElements.forEach(ho=>Rt(Ot,ho,[]).push(si)),Oi.preStyleProps.forEach((ho,No)=>{if(ho.size){let Vi=Vt.get(No);Vi||Vt.set(No,Vi=new Set),ho.forEach((kr,Ni)=>Vi.add(Ni))}}),Oi.postStyleProps.forEach((ho,No)=>{let Vi=sn.get(No);Vi||sn.set(No,Vi=new Set),ho.forEach((kr,Ni)=>Vi.add(Ni))})});if(Ro.length){const Hn=[];Ro.forEach(Vn=>{Hn.push(function N(Ee,_){return new s.vHH(3505,!1)}())}),_o.forEach(Vn=>Vn.destroy()),this.reportError(Hn)}const qi=new Map,yi=new Map;Ct.forEach(Hn=>{const Vn=Hn.element;j.has(Vn)&&(yi.set(Vn,Vn),this._beforeAnimationBuild(Hn.player.namespaceId,Hn.instruction,qi))}),De.forEach(Hn=>{const Vn=Hn.element;this._getPreviousPlayers(Vn,!1,Hn.namespaceId,Hn.triggerName,null).forEach(si=>{Rt(qi,Vn,[]).push(si),si.destroy()})});const eo=Dn.filter(Hn=>jr(Hn,Vt,sn)),Zi=new Map;Io(Zi,this.driver,ii,sn,e.l3).forEach(Hn=>{jr(Hn,Vt,sn)&&eo.push(Hn)});const fo=new Map;M.forEach((Hn,Vn)=>{Io(fo,this.driver,new Set(Hn),Vt,e.k1)}),eo.forEach(Hn=>{var Vn,jn;const si=Zi.get(Hn),wi=fo.get(Hn);Zi.set(Hn,new Map([...Array.from(null!==(Vn=null==si?void 0:si.entries())&&void 0!==Vn?Vn:[]),...Array.from(null!==(jn=null==wi?void 0:wi.entries())&&void 0!==jn?jn:[])]))});const Zo=[],cr=[],qr={};Ct.forEach(Hn=>{const{element:Vn,player:jn,instruction:si}=Hn;if(j.has(Vn)){if(kn.has(Vn))return jn.onDestroy(()=>Jt(Vn,si.toStyles)),jn.disabled=!0,jn.overrideTotalTime(si.totalTime),void De.push(jn);let wi=qr;if(yi.size>1){let lo=Vn;const Lo=[];for(;lo=lo.parentNode;){const Oi=yi.get(lo);if(Oi){wi=Oi;break}Lo.push(lo)}Lo.forEach(Oi=>yi.set(Oi,wi))}const $o=this._buildAnimation(jn.namespaceId,si,qi,Ye,fo,Zi);if(jn.setRealPlayer($o),wi===qr)Zo.push(jn);else{const lo=this.playersByElement.get(wi);lo&&lo.length&&(jn.parentPlayer=wt(lo)),De.push(jn)}}else Nn(Vn,si.fromStyles),jn.onDestroy(()=>Jt(Vn,si.toStyles)),cr.push(jn),kn.has(Vn)&&De.push(jn)}),cr.forEach(Hn=>{const Vn=Ye.get(Hn.element);if(Vn&&Vn.length){const jn=wt(Vn);Hn.setRealPlayer(jn)}}),De.forEach(Hn=>{Hn.parentPlayer?Hn.syncPlayerEvents(Hn.parentPlayer):Hn.destroy()});for(let Hn=0;Hn!$o.destroyed);wi.length?Ei(this,Vn,wi):this.processLeaveNode(Vn)}return Dn.length=0,Zo.forEach(Hn=>{this.players.push(Hn),Hn.onDone(()=>{Hn.destroy();const Vn=this.players.indexOf(Hn);this.players.splice(Vn,1)}),Hn.play()}),Zo}elementContainsData(_,y){let j=!1;const De=y[To];return De&&De.setForRemoval&&(j=!0),this.playersByElement.has(y)&&(j=!0),this.playersByQueriedElement.has(y)&&(j=!0),this.statesByElement.has(y)&&(j=!0),this._fetchNamespace(_).elementContainsData(y)||j}afterFlush(_){this._flushFns.push(_)}afterFlushAnimationsDone(_){this._whenQuietFns.push(_)}_getPreviousPlayers(_,y,j,De,Ye){let Ct=[];if(y){const Ot=this.playersByQueriedElement.get(_);Ot&&(Ct=Ot)}else{const Ot=this.playersByElement.get(_);if(Ot){const Vt=!Ye||Ye==co;Ot.forEach(sn=>{sn.queued||!Vt&&sn.triggerName!=De||Ct.push(sn)})}}return(j||De)&&(Ct=Ct.filter(Ot=>!(j&&j!=Ot.namespaceId||De&&De!=Ot.triggerName))),Ct}_beforeAnimationBuild(_,y,j){const Ye=y.element,Ct=y.isRemovalTransition?void 0:_,Ot=y.isRemovalTransition?void 0:y.triggerName;for(const Vt of y.timelines){const sn=Vt.element,kn=sn!==Ye,T=Rt(j,sn,[]);this._getPreviousPlayers(sn,kn,Ct,Ot,y.toState).forEach(M=>{const ae=M.getRealPlayer();ae.beforeDestroy&&ae.beforeDestroy(),M.destroy(),T.push(M)})}Nn(Ye,y.fromStyles)}_buildAnimation(_,y,j,De,Ye,Ct){const Ot=y.triggerName,Vt=y.element,sn=[],kn=new Set,T=new Set,E=y.timelines.map(ae=>{const ft=ae.element;kn.add(ft);const Dn=ft[To];if(Dn&&Dn.removedBeforeQueried)return new e.ZN(ae.duration,ae.delay);const zn=ft!==Vt,ii=function ao(Ee){const _=[];return ir(Ee,_),_}((j.get(ft)||zr).map(qi=>qi.getRealPlayer())).filter(qi=>!!qi.element&&qi.element===ft),Di=Ye.get(ft),mi=Ct.get(ft),_o=Cn(0,this._normalizer,0,ae.keyframes,Di,mi),Ro=this._buildPlayer(ae,_o,ii);if(ae.subTimeline&&De&&T.add(ft),zn){const qi=new Ui(_,Ot,ft);qi.setRealPlayer(Ro),sn.push(qi)}return Ro});sn.forEach(ae=>{Rt(this.playersByQueriedElement,ae.element,[]).push(ae),ae.onDone(()=>function _r(Ee,_,y){let j=Ee.get(_);if(j){if(j.length){const De=j.indexOf(y);j.splice(De,1)}0==j.length&&Ee.delete(_)}return j}(this.playersByQueriedElement,ae.element,ae))}),kn.forEach(ae=>Hi(ae,fn));const M=wt(E);return M.onDestroy(()=>{kn.forEach(ae=>Ko(ae,fn)),Jt(Vt,y.toStyles)}),T.forEach(ae=>{Rt(De,ae,[]).push(M)}),M}_buildPlayer(_,y,j){return y.length>0?this.driver.animate(_.element,y,_.duration,_.delay,_.easing,j):new e.ZN(_.duration,_.delay)}}class Ui{constructor(_,y,j){this.namespaceId=_,this.triggerName=y,this.element=j,this._player=new e.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(_){this._containsRealPlayer||(this._player=_,this._queuedCallbacks.forEach((y,j)=>{y.forEach(De=>St(_,j,void 0,De))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(_.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(_){this.totalTime=_}syncPlayerEvents(_){const y=this._player;y.triggerCallback&&_.onStart(()=>y.triggerCallback("start")),_.onDone(()=>this.finish()),_.onDestroy(()=>this.destroy())}_queueEvent(_,y){Rt(this._queuedCallbacks,_,[]).push(y)}onDone(_){this.queued&&this._queueEvent("done",_),this._player.onDone(_)}onStart(_){this.queued&&this._queueEvent("start",_),this._player.onStart(_)}onDestroy(_){this.queued&&this._queueEvent("destroy",_),this._player.onDestroy(_)}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(_){this.queued||this._player.setPosition(_)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(_){const y=this._player;y.triggerCallback&&y.triggerCallback(_)}}function Ir(Ee){return Ee&&1===Ee.nodeType}function Mr(Ee,_){const y=Ee.style.display;return Ee.style.display=null!=_?_:"none",y}function Io(Ee,_,y,j,De){const Ye=[];y.forEach(Vt=>Ye.push(Mr(Vt)));const Ct=[];j.forEach((Vt,sn)=>{const kn=new Map;Vt.forEach(T=>{const E=_.computeStyle(sn,T,De);kn.set(T,E),(!E||0==E.length)&&(sn[To]=Vr,Ct.push(sn))}),Ee.set(sn,kn)});let Ot=0;return y.forEach(Vt=>Mr(Vt,Ye[Ot++])),Ct}function mo(Ee,_){const y=new Map;if(Ee.forEach(Ot=>y.set(Ot,[])),0==_.length)return y;const j=1,De=new Set(_),Ye=new Map;function Ct(Ot){if(!Ot)return j;let Vt=Ye.get(Ot);if(Vt)return Vt;const sn=Ot.parentNode;return Vt=y.has(sn)?sn:De.has(sn)?j:Ct(sn),Ye.set(Ot,Vt),Vt}return _.forEach(Ot=>{const Vt=Ct(Ot);Vt!==j&&y.get(Vt).push(Ot)}),y}function Hi(Ee,_){var y;null===(y=Ee.classList)||void 0===y||y.add(_)}function Ko(Ee,_){var y;null===(y=Ee.classList)||void 0===y||y.remove(_)}function Ei(Ee,_,y){wt(y).onDone(()=>Ee.processLeaveNode(_))}function ir(Ee,_){for(let y=0;yDe.add(Ye)):_.set(Ee,j),y.delete(Ee),!0}class Er{constructor(_,y,j){this.bodyNode=_,this._driver=y,this._normalizer=j,this._triggerCache={},this.onRemovalComplete=(De,Ye)=>{},this._transitionEngine=new tr(_,y,j),this._timelineEngine=new Ki(_,y,j),this._transitionEngine.onRemovalComplete=(De,Ye)=>this.onRemovalComplete(De,Ye)}registerTrigger(_,y,j,De,Ye){const Ct=_+"-"+De;let Ot=this._triggerCache[Ct];if(!Ot){const Vt=[],sn=[],kn=ci(this._driver,Ye,Vt,sn);if(Vt.length)throw function tt(Ee,_){return new s.vHH(3404,!1)}();Ot=function Ii(Ee,_,y){return new Bi(Ee,_,y)}(De,kn,this._normalizer),this._triggerCache[Ct]=Ot}this._transitionEngine.registerTrigger(y,De,Ot)}register(_,y){this._transitionEngine.register(_,y)}destroy(_,y){this._transitionEngine.destroy(_,y)}onInsert(_,y,j,De){this._transitionEngine.insertNode(_,y,j,De)}onRemove(_,y,j,De){this._transitionEngine.removeNode(_,y,De||!1,j)}disableAnimations(_,y){this._transitionEngine.markElementAsDisabled(_,y)}process(_,y,j,De){if("@"==j.charAt(0)){const[Ye,Ct]=Zt(j);this._timelineEngine.command(Ye,y,Ct,De)}else this._transitionEngine.trigger(_,y,j,De)}listen(_,y,j,De,Ye){if("@"==j.charAt(0)){const[Ct,Ot]=Zt(j);return this._timelineEngine.listen(Ct,y,Ot,Ye)}return this._transitionEngine.listen(_,y,j,De,Ye)}flush(_=-1){this._transitionEngine.flush(_)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let $i=(()=>{class Ee{constructor(y,j,De){this._element=y,this._startStyles=j,this._endStyles=De,this._state=0;let Ye=Ee.initialStylesByElement.get(y);Ye||Ee.initialStylesByElement.set(y,Ye=new Map),this._initialStyles=Ye}start(){this._state<1&&(this._startStyles&&Jt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Jt(this._element,this._initialStyles),this._endStyles&&(Jt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ee.initialStylesByElement.delete(this._element),this._startStyles&&(Nn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Nn(this._element,this._endStyles),this._endStyles=null),Jt(this._element,this._initialStyles),this._state=3)}}return Ee.initialStylesByElement=new WeakMap,Ee})();function ko(Ee){let _=null;return Ee.forEach((y,j)=>{(function Or(Ee){return"display"===Ee||"position"===Ee})(j)&&(_=_||new Map,_.set(j,y))}),_}class vr{constructor(_,y,j,De){this.element=_,this.keyframes=y,this.options=j,this._specialStyles=De,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=j.duration,this._delay=j.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(_=>_()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const _=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,_,this.options),this._finalKeyframe=_.length?_[_.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(_){const y=[];return _.forEach(j=>{y.push(Object.fromEntries(j))}),y}_triggerWebAnimation(_,y,j){return _.animate(this._convertKeyframesToObject(y),j)}onStart(_){this._originalOnStartFns.push(_),this._onStartFns.push(_)}onDone(_){this._originalOnDoneFns.push(_),this._onDoneFns.push(_)}onDestroy(_){this._onDestroyFns.push(_)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(_=>_()),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(_=>_()),this._onDestroyFns=[])}setPosition(_){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=_*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const _=new Map;this.hasStarted()&&this._finalKeyframe.forEach((j,De)=>{"offset"!==De&&_.set(De,this._finished?j:I(this.element,De))}),this.currentSnapshot=_}triggerCallback(_){const y="start"===_?this._onStartFns:this._onDoneFns;y.forEach(j=>j()),y.length=0}}class Mo{validateStyleProperty(_){return!0}validateAnimatableStyleProperty(_){return!0}matchesElement(_,y){return!1}containsElement(_,y){return Le(_,y)}getParentElement(_){return Qt(_)}query(_,y,j){return fe(_,y,j)}computeStyle(_,y,j){return window.getComputedStyle(_)[y]}animate(_,y,j,De,Ye,Ct=[]){const Vt={duration:j,delay:De,fill:0==De?"both":"forwards"};Ye&&(Vt.easing=Ye);const sn=new Map,kn=Ct.filter(M=>M instanceof vr);(function He(Ee,_){return 0===Ee||0===_})(j,De)&&kn.forEach(M=>{M.currentSnapshot.forEach((ae,ft)=>sn.set(ft,ae))});let T=function bt(Ee){return Ee.length?Ee[0]instanceof Map?Ee:Ee.map(_=>Pe(_)):[]}(y).map(M=>on(M));T=function Ne(Ee,_,y){if(y.size&&_.length){let j=_[0],De=[];if(y.forEach((Ye,Ct)=>{j.has(Ct)||De.push(Ct),j.set(Ct,Ye)}),De.length)for(let Ye=1;Ye<_.length;Ye++){let Ct=_[Ye];De.forEach(Ot=>Ct.set(Ot,I(Ee,Ot)))}}return _}(_,T,sn);const E=function uo(Ee,_){let y=null,j=null;return Array.isArray(_)&&_.length?(y=ko(_[0]),_.length>1&&(j=ko(_[_.length-1]))):_ instanceof Map&&(y=ko(_)),y||j?new $i(Ee,y,j):null}(_,T);return new vr(_,T,Vt,E)}}},8692:(Ht,Fe,c)=>{"use strict";c.d(Fe,{$G:()=>$n,Do:()=>Ve,EM:()=>tr,Gx:()=>yn,HT:()=>z,JF:()=>Zr,K0:()=>ne,Mx:()=>In,NF:()=>To,O5:()=>Ji,Ov:()=>bo,PM:()=>jo,RF:()=>Mi,S$:()=>Ue,Ts:()=>vi,V_:()=>pe,Ye:()=>je,b0:()=>Ae,bD:()=>mr,ez:()=>Hr,n9:()=>to,q:()=>k,sg:()=>Yn,tP:()=>lr,w_:()=>F});var e=c(4537);let s=null;function k(){return s}function z(O){s||(s=O)}class F{}const ne=new e.OlP("DocumentToken");let W=(()=>{class O{historyGo(P){throw new Error("Not implemented")}}return O.\u0275fac=function(P){return new(P||O)},O.\u0275prov=e.Yz7({token:O,factory:function(){return function te(){return(0,e.LFG)(ce)}()},providedIn:"platform"}),O})();const pe=new e.OlP("Location Initialized");let ce=(()=>{class O extends W{constructor(P){super(),this._doc=P,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return k().getBaseHref(this._doc)}onPopState(P){const ge=k().getGlobalEventTarget(this._doc,"window");return ge.addEventListener("popstate",P,!1),()=>ge.removeEventListener("popstate",P)}onHashChange(P){const ge=k().getGlobalEventTarget(this._doc,"window");return ge.addEventListener("hashchange",P,!1),()=>ge.removeEventListener("hashchange",P)}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(P){this._location.pathname=P}pushState(P,ge,Je){de()?this._history.pushState(P,ge,Je):this._location.hash=Je}replaceState(P,ge,Je){de()?this._history.replaceState(P,ge,Je):this._location.hash=Je}forward(){this._history.forward()}back(){this._history.back()}historyGo(P=0){this._history.go(P)}getState(){return this._history.state}}return O.\u0275fac=function(P){return new(P||O)(e.LFG(ne))},O.\u0275prov=e.Yz7({token:O,factory:function(){return function Y(){return new ce((0,e.LFG)(ne))}()},providedIn:"platform"}),O})();function de(){return!!window.history.pushState}function _e(O,J){if(0==O.length)return J;if(0==J.length)return O;let P=0;return O.endsWith("/")&&P++,J.startsWith("/")&&P++,2==P?O+J.substring(1):1==P?O+J:O+"/"+J}function ue(O){const J=O.match(/#|\?|$/),P=J&&J.index||O.length;return O.slice(0,P-("/"===O[P-1]?1:0))+O.slice(P)}function ie(O){return O&&"?"!==O[0]?"?"+O:O}let Ue=(()=>{class O{historyGo(P){throw new Error("Not implemented")}}return O.\u0275fac=function(P){return new(P||O)},O.\u0275prov=e.Yz7({token:O,factory:function(){return(0,e.f3M)(Ae)},providedIn:"root"}),O})();const ve=new e.OlP("appBaseHref");let Ae=(()=>{class O extends Ue{constructor(P,ge){var Je,Gt,tn;super(),this._platformLocation=P,this._removeListenerFns=[],this._baseHref=null!==(Je=null!==(Gt=null!=ge?ge:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Gt?Gt:null===(tn=(0,e.f3M)(ne).location)||void 0===tn?void 0:tn.origin)&&void 0!==Je?Je:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(P){this._removeListenerFns.push(this._platformLocation.onPopState(P),this._platformLocation.onHashChange(P))}getBaseHref(){return this._baseHref}prepareExternalUrl(P){return _e(this._baseHref,P)}path(P=!1){const ge=this._platformLocation.pathname+ie(this._platformLocation.search),Je=this._platformLocation.hash;return Je&&P?`${ge}${Je}`:ge}pushState(P,ge,Je,Gt){const tn=this.prepareExternalUrl(Je+ie(Gt));this._platformLocation.pushState(P,ge,tn)}replaceState(P,ge,Je,Gt){const tn=this.prepareExternalUrl(Je+ie(Gt));this._platformLocation.replaceState(P,ge,tn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(P=0){var ge,Je;null===(ge=(Je=this._platformLocation).historyGo)||void 0===ge||ge.call(Je,P)}}return O.\u0275fac=function(P){return new(P||O)(e.LFG(W),e.LFG(ve,8))},O.\u0275prov=e.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),Ve=(()=>{class O extends Ue{constructor(P,ge){super(),this._platformLocation=P,this._baseHref="",this._removeListenerFns=[],null!=ge&&(this._baseHref=ge)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(P){this._removeListenerFns.push(this._platformLocation.onPopState(P),this._platformLocation.onHashChange(P))}getBaseHref(){return this._baseHref}path(P=!1){let ge=this._platformLocation.hash;return null==ge&&(ge="#"),ge.length>0?ge.substring(1):ge}prepareExternalUrl(P){const ge=_e(this._baseHref,P);return ge.length>0?"#"+ge:ge}pushState(P,ge,Je,Gt){let tn=this.prepareExternalUrl(Je+ie(Gt));0==tn.length&&(tn=this._platformLocation.pathname),this._platformLocation.pushState(P,ge,tn)}replaceState(P,ge,Je,Gt){let tn=this.prepareExternalUrl(Je+ie(Gt));0==tn.length&&(tn=this._platformLocation.pathname),this._platformLocation.replaceState(P,ge,tn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(P=0){var ge,Je;null===(ge=(Je=this._platformLocation).historyGo)||void 0===ge||ge.call(Je,P)}}return O.\u0275fac=function(P){return new(P||O)(e.LFG(W),e.LFG(ve,8))},O.\u0275prov=e.Yz7({token:O,factory:O.\u0275fac}),O})(),je=(()=>{class O{constructor(P){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=P;const ge=this._locationStrategy.getBaseHref();this._basePath=function Oe(O){if(new RegExp("^(https?:)?//").test(O)){const[,P]=O.split(/\/\/[^\/]+/);return P}return O}(ue($e(ge))),this._locationStrategy.onPopState(Je=>{this._subject.emit({url:this.path(!0),pop:!0,state:Je.state,type:Je.type})})}ngOnDestroy(){var P;null===(P=this._urlChangeSubscription)||void 0===P||P.unsubscribe(),this._urlChangeListeners=[]}path(P=!1){return this.normalize(this._locationStrategy.path(P))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(P,ge=""){return this.path()==this.normalize(P+ie(ge))}normalize(P){return O.stripTrailingSlash(function ee(O,J){if(!O||!J.startsWith(O))return J;const P=J.substring(O.length);return""===P||["/",";","?","#"].includes(P[0])?P:J}(this._basePath,$e(P)))}prepareExternalUrl(P){return P&&"/"!==P[0]&&(P="/"+P),this._locationStrategy.prepareExternalUrl(P)}go(P,ge="",Je=null){this._locationStrategy.pushState(Je,"",P,ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(P+ie(ge)),Je)}replaceState(P,ge="",Je=null){this._locationStrategy.replaceState(Je,"",P,ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(P+ie(ge)),Je)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(P=0){var ge,Je;null===(ge=(Je=this._locationStrategy).historyGo)||void 0===ge||ge.call(Je,P)}onUrlChange(P){return this._urlChangeListeners.push(P),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ge=>{this._notifyUrlChangeListeners(ge.url,ge.state)})),()=>{const ge=this._urlChangeListeners.indexOf(P);var Je;this._urlChangeListeners.splice(ge,1),0===this._urlChangeListeners.length&&(null===(Je=this._urlChangeSubscription)||void 0===Je||Je.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(P="",ge){this._urlChangeListeners.forEach(Je=>Je(P,ge))}subscribe(P,ge,Je){return this._subject.subscribe({next:P,error:ge,complete:Je})}}return O.normalizeQueryParams=ie,O.joinWithSlash=_e,O.stripTrailingSlash=ue,O.\u0275fac=function(P){return new(P||O)(e.LFG(Ue))},O.\u0275prov=e.Yz7({token:O,factory:function(){return function se(){return new je((0,e.LFG)(Ue))}()},providedIn:"root"}),O})();function $e(O){return O.replace(/\/index.html$/,"")}var tt=(()=>((tt=tt||{})[tt.Zero=0]="Zero",tt[tt.One=1]="One",tt[tt.Two=2]="Two",tt[tt.Few=3]="Few",tt[tt.Many=4]="Many",tt[tt.Other=5]="Other",tt))();const Zt=e.kL8;let rn=(()=>{class O{}return O.\u0275fac=function(P){return new(P||O)},O.\u0275prov=e.Yz7({token:O,factory:function(P){let ge=null;return P?ge=new P:(Je=e.LFG(e.soG),ge=new gn(Je)),ge;var Je},providedIn:"root"}),O})();let gn=(()=>{class O extends rn{constructor(P){super(),this.locale=P}getPluralCategory(P,ge){switch(Zt(ge||this.locale)(P)){case tt.Zero:return"zero";case tt.One:return"one";case tt.Two:return"two";case tt.Few:return"few";case tt.Many:return"many";default:return"other"}}}return O.\u0275fac=function(P){return new(P||O)(e.LFG(e.soG))},O.\u0275prov=e.Yz7({token:O,factory:O.\u0275fac}),O})();function In(O,J){J=encodeURIComponent(J);for(const P of O.split(";")){const ge=P.indexOf("="),[Je,Gt]=-1==ge?[P,""]:[P.slice(0,ge),P.slice(ge+1)];if(Je.trim()===J)return decodeURIComponent(Gt)}return null}let $n=(()=>{class O{constructor(P){this._viewContainerRef=P,this.ngComponentOutlet=null}ngOnChanges(P){const{_viewContainerRef:ge,ngComponentOutletNgModule:Je,ngComponentOutletNgModuleFactory:Gt}=this;if(ge.clear(),this._componentRef=void 0,this.ngComponentOutlet){const tn=this.ngComponentOutletInjector||ge.parentInjector;(P.ngComponentOutletNgModule||P.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=Je?(0,e.Lck)(Je,ci(tn)):Gt?Gt.create(ci(tn)):void 0),this._componentRef=ge.createComponent(this.ngComponentOutlet,{index:ge.length,injector:tn,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.s_b))},O.\u0275dir=e.lG2({type:O,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[e.TTD]}),O})();function ci(O){return O.get(e.h0i).injector}class Xn{constructor(J,P,ge,Je){this.$implicit=J,this.ngForOf=P,this.index=ge,this.count=Je}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 Yn=(()=>{class O{set ngForOf(P){this._ngForOf=P,this._ngForOfDirty=!0}set ngForTrackBy(P){this._trackByFn=P}get ngForTrackBy(){return this._trackByFn}constructor(P,ge,Je){this._viewContainer=P,this._template=ge,this._differs=Je,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(P){P&&(this._template=P)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const P=this._ngForOf;!this._differ&&P&&(this._differ=this._differs.find(P).create(this.ngForTrackBy))}if(this._differ){const P=this._differ.diff(this._ngForOf);P&&this._applyChanges(P)}}_applyChanges(P){const ge=this._viewContainer;P.forEachOperation((Je,Gt,tn)=>{if(null==Je.previousIndex)ge.createEmbeddedView(this._template,new Xn(Je.item,this._ngForOf,-1,-1),null===tn?void 0:tn);else if(null==tn)ge.remove(null===Gt?void 0:Gt);else if(null!==Gt){const An=ge.get(Gt);ge.move(An,tn),Qn(An,Je)}});for(let Je=0,Gt=ge.length;Je{Qn(ge.get(Je.currentIndex),Je)})}static ngTemplateContextGuard(P,ge){return!0}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},O.\u0275dir=e.lG2({type:O,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),O})();function Qn(O,J){O.context.$implicit=J.item}let Ji=(()=>{class O{constructor(P,ge){this._viewContainer=P,this._context=new Wn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ge}set ngIf(P){this._context.$implicit=this._context.ngIf=P,this._updateView()}set ngIfThen(P){Ti("ngIfThen",P),this._thenTemplateRef=P,this._thenViewRef=null,this._updateView()}set ngIfElse(P){Ti("ngIfElse",P),this._elseTemplateRef=P,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(P,ge){return!0}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.s_b),e.Y36(e.Rgc))},O.\u0275dir=e.lG2({type:O,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),O})();class Wn{constructor(){this.$implicit=null,this.ngIf=null}}function Ti(O,J){if(J&&!J.createEmbeddedView)throw new Error(`${O} must be a TemplateRef, but received '${(0,e.AaK)(J)}'.`)}class ti{constructor(J,P){this._viewContainerRef=J,this._templateRef=P,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(J){J&&!this._created?this.create():!J&&this._created&&this.destroy()}}let Mi=(()=>{class O{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(P){this._ngSwitch=P,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(P){this._defaultViews.push(P)}_matchCase(P){const ge=P==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ge,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ge}_updateDefaultCases(P){if(this._defaultViews.length>0&&P!==this._defaultUsed){this._defaultUsed=P;for(const ge of this._defaultViews)ge.enforceState(P)}}}return O.\u0275fac=function(P){return new(P||O)},O.\u0275dir=e.lG2({type:O,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),O})(),to=(()=>{class O{constructor(P,ge,Je){this.ngSwitch=Je,Je._addCase(),this._view=new ti(P,ge)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Mi,9))},O.\u0275dir=e.lG2({type:O,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),O})(),lr=(()=>{class O{constructor(P){this._viewContainerRef=P,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(P){if(P.ngTemplateOutlet||P.ngTemplateOutletInjector){const ge=this._viewContainerRef;if(this._viewRef&&ge.remove(ge.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Je,ngTemplateOutletContext:Gt,ngTemplateOutletInjector:tn}=this;this._viewRef=ge.createEmbeddedView(Je,Gt,tn?{injector:tn}:void 0)}else this._viewRef=null}else this._viewRef&&P.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.s_b))},O.\u0275dir=e.lG2({type:O,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]}),O})();function Wi(O,J){return new e.vHH(2100,!1)}class Qi{createSubscription(J,P){return J.subscribe({next:P,error:ge=>{throw ge}})}dispose(J){J.unsubscribe()}}class yo{createSubscription(J,P){return J.then(P,ge=>{throw ge})}dispose(J){}}const Po=new yo,Vo=new Qi;let bo=(()=>{class O{constructor(P){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=P}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(P){return this._obj?P!==this._obj?(this._dispose(),this.transform(P)):this._latestValue:(P&&this._subscribe(P),this._latestValue)}_subscribe(P){this._obj=P,this._strategy=this._selectStrategy(P),this._subscription=this._strategy.createSubscription(P,ge=>this._updateLatestValue(P,ge))}_selectStrategy(P){if((0,e.QGY)(P))return Po;if((0,e.F4k)(P))return Vo;throw Wi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(P,ge){P===this._obj&&(this._latestValue=ge,this._ref.markForCheck())}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.sBO,16))},O.\u0275pipe=e.Yjl({name:"async",type:O,pure:!1,standalone:!0}),O})();const Nt=/#/g;let yn=(()=>{class O{constructor(P){this._localization=P}transform(P,ge,Je){if(null==P)return"";if("object"!=typeof ge||null===ge)throw Wi();return ge[function en(O,J,P,ge){let Je=`=${O}`;if(J.indexOf(Je)>-1||(Je=P.getPluralCategory(O,ge),J.indexOf(Je)>-1))return Je;if(J.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${O}"`)}(P,Object.keys(ge),this._localization,Je)].replace(Nt,P.toString())}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(rn,16))},O.\u0275pipe=e.Yjl({name:"i18nPlural",type:O,pure:!0,standalone:!0}),O})(),vi=(()=>{class O{transform(P){return JSON.stringify(P,null,2)}}return O.\u0275fac=function(P){return new(P||O)},O.\u0275pipe=e.Yjl({name:"json",type:O,pure:!1,standalone:!0}),O})(),Hr=(()=>{class O{}return O.\u0275fac=function(P){return new(P||O)},O.\u0275mod=e.oAB({type:O}),O.\u0275inj=e.cJS({}),O})();const mr="browser",zr="server";function To(O){return O===mr}function jo(O){return O===zr}let tr=(()=>{class O{}return O.\u0275prov=(0,e.Yz7)({token:O,providedIn:"root",factory:()=>new Ui((0,e.LFG)(ne),window)}),O})();class Ui{constructor(J,P){this.document=J,this.window=P,this.offset=()=>[0,0]}setOffset(J){this.offset=Array.isArray(J)?()=>J:J}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(J){this.supportsScrolling()&&this.window.scrollTo(J[0],J[1])}scrollToAnchor(J){if(!this.supportsScrolling())return;const P=function nr(O,J){const P=O.getElementById(J)||O.getElementsByName(J)[0];if(P)return P;if("function"==typeof O.createTreeWalker&&O.body&&(O.body.createShadowRoot||O.body.attachShadow)){const ge=O.createTreeWalker(O.body,NodeFilter.SHOW_ELEMENT);let Je=ge.currentNode;for(;Je;){const Gt=Je.shadowRoot;if(Gt){const tn=Gt.getElementById(J)||Gt.querySelector(`[name="${J}"]`);if(tn)return tn}Je=ge.nextNode()}}return null}(this.document,J);P&&(this.scrollToElement(P),P.focus())}setHistoryScrollRestoration(J){if(this.supportScrollRestoration()){const P=this.window.history;P&&P.scrollRestoration&&(P.scrollRestoration=J)}}scrollToElement(J){const P=J.getBoundingClientRect(),ge=P.left+this.window.pageXOffset,Je=P.top+this.window.pageYOffset,Gt=this.offset();this.window.scrollTo(ge-Gt[0],Je-Gt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const J=_r(this.window.history)||_r(Object.getPrototypeOf(this.window.history));return!(!J||!J.writable&&!J.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function _r(O){return Object.getOwnPropertyDescriptor(O,"scrollRestoration")}class Zr{}},5732:(Ht,Fe,c)=>{"use strict";c.d(Fe,{JF:()=>ot,eN:()=>Ge});var e=c(8692),s=c(4537),k=c(4945),z=c(7241),F=c(4551),ne=c(4970),W=c(7969);class te{}class pe{}class ce{constructor(V){this.normalizedNames=new Map,this.lazyUpdate=null,V?this.lazyInit="string"==typeof V?()=>{this.headers=new Map,V.split("\n").forEach(Pe=>{const bt=Pe.indexOf(":");if(bt>0){const gt=Pe.slice(0,bt),on=gt.toLowerCase(),$t=Pe.slice(bt+1).trim();this.maybeSetNormalizedName(gt,on),this.headers.has(on)?this.headers.get(on).push($t):this.headers.set(on,[$t])}})}:()=>{this.headers=new Map,Object.entries(V).forEach(([Pe,bt])=>{let gt;if(gt="string"==typeof bt?[bt]:"number"==typeof bt?[bt.toString()]:bt.map(on=>on.toString()),gt.length>0){const on=Pe.toLowerCase();this.headers.set(on,gt),this.maybeSetNormalizedName(Pe,on)}})}:this.headers=new Map}has(V){return this.init(),this.headers.has(V.toLowerCase())}get(V){this.init();const Pe=this.headers.get(V.toLowerCase());return Pe&&Pe.length>0?Pe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(V){return this.init(),this.headers.get(V.toLowerCase())||null}append(V,Pe){return this.clone({name:V,value:Pe,op:"a"})}set(V,Pe){return this.clone({name:V,value:Pe,op:"s"})}delete(V,Pe){return this.clone({name:V,value:Pe,op:"d"})}maybeSetNormalizedName(V,Pe){this.normalizedNames.has(Pe)||this.normalizedNames.set(Pe,V)}init(){this.lazyInit&&(this.lazyInit instanceof ce?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(V=>this.applyUpdate(V)),this.lazyUpdate=null))}copyFrom(V){V.init(),Array.from(V.headers.keys()).forEach(Pe=>{this.headers.set(Pe,V.headers.get(Pe)),this.normalizedNames.set(Pe,V.normalizedNames.get(Pe))})}clone(V){const Pe=new ce;return Pe.lazyInit=this.lazyInit&&this.lazyInit instanceof ce?this.lazyInit:this,Pe.lazyUpdate=(this.lazyUpdate||[]).concat([V]),Pe}applyUpdate(V){const Pe=V.name.toLowerCase();switch(V.op){case"a":case"s":let bt=V.value;if("string"==typeof bt&&(bt=[bt]),0===bt.length)return;this.maybeSetNormalizedName(V.name,Pe);const gt=("a"===V.op?this.headers.get(Pe):void 0)||[];gt.push(...bt),this.headers.set(Pe,gt);break;case"d":const on=V.value;if(on){let $t=this.headers.get(Pe);if(!$t)return;$t=$t.filter(vn=>-1===on.indexOf(vn)),0===$t.length?(this.headers.delete(Pe),this.normalizedNames.delete(Pe)):this.headers.set(Pe,$t)}else this.headers.delete(Pe),this.normalizedNames.delete(Pe)}}forEach(V){this.init(),Array.from(this.normalizedNames.keys()).forEach(Pe=>V(this.normalizedNames.get(Pe),this.headers.get(Pe)))}}class Y{encodeKey(V){return Ue(V)}encodeValue(V){return Ue(V)}decodeKey(V){return decodeURIComponent(V)}decodeValue(V){return decodeURIComponent(V)}}const ue=/%(\d[a-f0-9])/gi,ie={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ue(st){return encodeURIComponent(st).replace(ue,(V,Pe)=>{var bt;return null!==(bt=ie[Pe])&&void 0!==bt?bt:V})}function ve(st){return`${st}`}class Ae{constructor(V={}){if(this.updates=null,this.cloneFrom=null,this.encoder=V.encoder||new Y,V.fromString){if(V.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function _e(st,V){const Pe=new Map;return st.length>0&&st.replace(/^\?/,"").split("&").forEach(gt=>{const on=gt.indexOf("="),[$t,vn]=-1==on?[V.decodeKey(gt),""]:[V.decodeKey(gt.slice(0,on)),V.decodeValue(gt.slice(on+1))],Jt=Pe.get($t)||[];Jt.push(vn),Pe.set($t,Jt)}),Pe}(V.fromString,this.encoder)}else V.fromObject?(this.map=new Map,Object.keys(V.fromObject).forEach(Pe=>{const bt=V.fromObject[Pe],gt=Array.isArray(bt)?bt.map(ve):[ve(bt)];this.map.set(Pe,gt)})):this.map=null}has(V){return this.init(),this.map.has(V)}get(V){this.init();const Pe=this.map.get(V);return Pe?Pe[0]:null}getAll(V){return this.init(),this.map.get(V)||null}keys(){return this.init(),Array.from(this.map.keys())}append(V,Pe){return this.clone({param:V,value:Pe,op:"a"})}appendAll(V){const Pe=[];return Object.keys(V).forEach(bt=>{const gt=V[bt];Array.isArray(gt)?gt.forEach(on=>{Pe.push({param:bt,value:on,op:"a"})}):Pe.push({param:bt,value:gt,op:"a"})}),this.clone(Pe)}set(V,Pe){return this.clone({param:V,value:Pe,op:"s"})}delete(V,Pe){return this.clone({param:V,value:Pe,op:"d"})}toString(){return this.init(),this.keys().map(V=>{const Pe=this.encoder.encodeKey(V);return this.map.get(V).map(bt=>Pe+"="+this.encoder.encodeValue(bt)).join("&")}).filter(V=>""!==V).join("&")}clone(V){const Pe=new Ae({encoder:this.encoder});return Pe.cloneFrom=this.cloneFrom||this,Pe.updates=(this.updates||[]).concat(V),Pe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(V=>this.map.set(V,this.cloneFrom.map.get(V))),this.updates.forEach(V=>{switch(V.op){case"a":case"s":const Pe=("a"===V.op?this.map.get(V.param):void 0)||[];Pe.push(ve(V.value)),this.map.set(V.param,Pe);break;case"d":if(void 0===V.value){this.map.delete(V.param);break}{let bt=this.map.get(V.param)||[];const gt=bt.indexOf(ve(V.value));-1!==gt&&bt.splice(gt,1),bt.length>0?this.map.set(V.param,bt):this.map.delete(V.param)}}}),this.cloneFrom=this.updates=null)}}class je{constructor(){this.map=new Map}set(V,Pe){return this.map.set(V,Pe),this}get(V){return this.map.has(V)||this.map.set(V,V.defaultValue()),this.map.get(V)}delete(V){return this.map.delete(V),this}has(V){return this.map.has(V)}keys(){return this.map.keys()}}function ee(st){return typeof ArrayBuffer<"u"&&st instanceof ArrayBuffer}function $e(st){return typeof Blob<"u"&&st instanceof Blob}function Oe(st){return typeof FormData<"u"&&st instanceof FormData}class vt{constructor(V,Pe,bt,gt){let on;if(this.url=Pe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=V.toUpperCase(),function se(st){switch(st){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||gt?(this.body=void 0!==bt?bt:null,on=gt):on=bt,on&&(this.reportProgress=!!on.reportProgress,this.withCredentials=!!on.withCredentials,on.responseType&&(this.responseType=on.responseType),on.headers&&(this.headers=on.headers),on.context&&(this.context=on.context),on.params&&(this.params=on.params)),this.headers||(this.headers=new ce),this.context||(this.context=new je),this.params){const $t=this.params.toString();if(0===$t.length)this.urlWithParams=Pe;else{const vn=Pe.indexOf("?");this.urlWithParams=Pe+(-1===vn?"?":vnQ.set(H,V.setHeaders[H]),Nn)),V.setParams&&(Mn=Object.keys(V.setParams).reduce((Q,H)=>Q.set(H,V.setParams[H]),Mn)),new vt(bt,gt,$t,{params:Mn,headers:Nn,context:oe,reportProgress:Jt,responseType:on,withCredentials:vn})}}var tt=(()=>((tt=tt||{})[tt.Sent=0]="Sent",tt[tt.UploadProgress=1]="UploadProgress",tt[tt.ResponseHeader=2]="ResponseHeader",tt[tt.DownloadProgress=3]="DownloadProgress",tt[tt.Response=4]="Response",tt[tt.User=5]="User",tt))();class we{constructor(V,Pe=200,bt="OK"){this.headers=V.headers||new ce,this.status=void 0!==V.status?V.status:Pe,this.statusText=V.statusText||bt,this.url=V.url||null,this.ok=this.status>=200&&this.status<300}}class mt extends we{constructor(V={}){super(V),this.type=tt.ResponseHeader}clone(V={}){return new mt({headers:V.headers||this.headers,status:void 0!==V.status?V.status:this.status,statusText:V.statusText||this.statusText,url:V.url||this.url||void 0})}}class At extends we{constructor(V={}){super(V),this.type=tt.Response,this.body=void 0!==V.body?V.body:null}clone(V={}){return new At({body:void 0!==V.body?V.body:this.body,headers:V.headers||this.headers,status:void 0!==V.status?V.status:this.status,statusText:V.statusText||this.statusText,url:V.url||this.url||void 0})}}class Qe extends we{constructor(V){super(V,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${V.url||"(unknown url)"}`:`Http failure response for ${V.url||"(unknown url)"}: ${V.status} ${V.statusText}`,this.error=V.error||null}}function qe(st,V){return{body:V,headers:st.headers,context:st.context,observe:st.observe,params:st.params,reportProgress:st.reportProgress,responseType:st.responseType,withCredentials:st.withCredentials}}let Ge=(()=>{class st{constructor(Pe){this.handler=Pe}request(Pe,bt,gt={}){let on;if(Pe instanceof vt)on=Pe;else{let Jt,Nn;Jt=gt.headers instanceof ce?gt.headers:new ce(gt.headers),gt.params&&(Nn=gt.params instanceof Ae?gt.params:new Ae({fromObject:gt.params})),on=new vt(Pe,bt,void 0!==gt.body?gt.body:null,{headers:Jt,context:gt.context,params:Nn,reportProgress:gt.reportProgress,responseType:gt.responseType||"json",withCredentials:gt.withCredentials})}const $t=(0,k.of)(on).pipe((0,F.b)(Jt=>this.handler.handle(Jt)));if(Pe instanceof vt||"events"===gt.observe)return $t;const vn=$t.pipe((0,ne.h)(Jt=>Jt instanceof At));switch(gt.observe||"body"){case"body":switch(on.responseType){case"arraybuffer":return vn.pipe((0,W.U)(Jt=>{if(null!==Jt.body&&!(Jt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Jt.body}));case"blob":return vn.pipe((0,W.U)(Jt=>{if(null!==Jt.body&&!(Jt.body instanceof Blob))throw new Error("Response is not a Blob.");return Jt.body}));case"text":return vn.pipe((0,W.U)(Jt=>{if(null!==Jt.body&&"string"!=typeof Jt.body)throw new Error("Response is not a string.");return Jt.body}));default:return vn.pipe((0,W.U)(Jt=>Jt.body))}case"response":return vn;default:throw new Error(`Unreachable: unhandled observe type ${gt.observe}}`)}}delete(Pe,bt={}){return this.request("DELETE",Pe,bt)}get(Pe,bt={}){return this.request("GET",Pe,bt)}head(Pe,bt={}){return this.request("HEAD",Pe,bt)}jsonp(Pe,bt){return this.request("JSONP",Pe,{params:(new Ae).append(bt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Pe,bt={}){return this.request("OPTIONS",Pe,bt)}patch(Pe,bt,gt={}){return this.request("PATCH",Pe,qe(gt,bt))}post(Pe,bt,gt={}){return this.request("POST",Pe,qe(gt,bt))}put(Pe,bt,gt={}){return this.request("PUT",Pe,qe(gt,bt))}}return st.\u0275fac=function(Pe){return new(Pe||st)(s.LFG(te))},st.\u0275prov=s.Yz7({token:st,factory:st.\u0275fac}),st})();function R(st,V){return V(st)}function be(st,V){return(Pe,bt)=>V.intercept(Pe,{handle:gt=>st(gt,bt)})}const q=new s.OlP("HTTP_INTERCEPTORS"),ze=new s.OlP("HTTP_INTERCEPTOR_FNS");function N(){let st=null;return(V,Pe)=>{var bt;return null===st&&(st=(null!==(bt=(0,s.f3M)(q,{optional:!0}))&&void 0!==bt?bt:[]).reduceRight(be,R)),st(V,Pe)}}let Se=(()=>{class st extends te{constructor(Pe,bt){super(),this.backend=Pe,this.injector=bt,this.chain=null}handle(Pe){if(null===this.chain){const bt=Array.from(new Set(this.injector.get(ze)));this.chain=bt.reduceRight((gt,on)=>function S(st,V,Pe){return(bt,gt)=>Pe.runInContext(()=>V(bt,on=>st(on,gt)))}(gt,on,this.injector),R)}return this.chain(Pe,bt=>this.backend.handle(bt))}}return st.\u0275fac=function(Pe){return new(Pe||st)(s.LFG(pe),s.LFG(s.lqb))},st.\u0275prov=s.Yz7({token:st,factory:st.\u0275fac}),st})();const Xt=/^\)\]\}',?\n/;let hn=(()=>{class st{constructor(Pe){this.xhrFactory=Pe}handle(Pe){if("JSONP"===Pe.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new z.y(bt=>{const gt=this.xhrFactory.build();if(gt.open(Pe.method,Pe.urlWithParams),Pe.withCredentials&&(gt.withCredentials=!0),Pe.headers.forEach((H,le)=>gt.setRequestHeader(H,le.join(","))),Pe.headers.has("Accept")||gt.setRequestHeader("Accept","application/json, text/plain, */*"),!Pe.headers.has("Content-Type")){const H=Pe.detectContentTypeHeader();null!==H&>.setRequestHeader("Content-Type",H)}if(Pe.responseType){const H=Pe.responseType.toLowerCase();gt.responseType="json"!==H?H:"text"}const on=Pe.serializeBody();let $t=null;const vn=()=>{if(null!==$t)return $t;const H=gt.statusText||"OK",le=new ce(gt.getAllResponseHeaders()),Ie=function Qt(st){return"responseURL"in st&&st.responseURL?st.responseURL:/^X-Request-URL:/m.test(st.getAllResponseHeaders())?st.getResponseHeader("X-Request-URL"):null}(gt)||Pe.url;return $t=new mt({headers:le,status:gt.status,statusText:H,url:Ie}),$t},Jt=()=>{let{headers:H,status:le,statusText:Ie,url:rt}=vn(),nt=null;204!==le&&(nt=typeof gt.response>"u"?gt.responseText:gt.response),0===le&&(le=nt?200:0);let ut=le>=200&&le<300;if("json"===Pe.responseType&&"string"==typeof nt){const He=nt;nt=nt.replace(Xt,"");try{nt=""!==nt?JSON.parse(nt):null}catch(Ne){nt=He,ut&&(ut=!1,nt={error:Ne,text:nt})}}ut?(bt.next(new At({body:nt,headers:H,status:le,statusText:Ie,url:rt||void 0})),bt.complete()):bt.error(new Qe({error:nt,headers:H,status:le,statusText:Ie,url:rt||void 0}))},Nn=H=>{const{url:le}=vn(),Ie=new Qe({error:H,status:gt.status||0,statusText:gt.statusText||"Unknown Error",url:le||void 0});bt.error(Ie)};let Mn=!1;const oe=H=>{Mn||(bt.next(vn()),Mn=!0);let le={type:tt.DownloadProgress,loaded:H.loaded};H.lengthComputable&&(le.total=H.total),"text"===Pe.responseType&>.responseText&&(le.partialText=gt.responseText),bt.next(le)},Q=H=>{let le={type:tt.UploadProgress,loaded:H.loaded};H.lengthComputable&&(le.total=H.total),bt.next(le)};return gt.addEventListener("load",Jt),gt.addEventListener("error",Nn),gt.addEventListener("timeout",Nn),gt.addEventListener("abort",Nn),Pe.reportProgress&&(gt.addEventListener("progress",oe),null!==on&>.upload&>.upload.addEventListener("progress",Q)),gt.send(on),bt.next({type:tt.Sent}),()=>{gt.removeEventListener("error",Nn),gt.removeEventListener("abort",Nn),gt.removeEventListener("load",Jt),gt.removeEventListener("timeout",Nn),Pe.reportProgress&&(gt.removeEventListener("progress",oe),null!==on&>.upload&>.upload.removeEventListener("progress",Q)),gt.readyState!==gt.DONE&>.abort()}})}}return st.\u0275fac=function(Pe){return new(Pe||st)(s.LFG(e.JF))},st.\u0275prov=s.Yz7({token:st,factory:st.\u0275fac}),st})();const cn=new s.OlP("XSRF_ENABLED"),Re=new s.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),re=new s.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Xe{}let Le=(()=>{class st{constructor(Pe,bt,gt){this.doc=Pe,this.platform=bt,this.cookieName=gt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Pe=this.doc.cookie||"";return Pe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(Pe,this.cookieName),this.lastCookieString=Pe),this.lastToken}}return st.\u0275fac=function(Pe){return new(Pe||st)(s.LFG(e.K0),s.LFG(s.Lbi),s.LFG(Re))},st.\u0275prov=s.Yz7({token:st,factory:st.\u0275fac}),st})();function fe(st,V){const Pe=st.url.toLowerCase();if(!(0,s.f3M)(cn)||"GET"===st.method||"HEAD"===st.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return V(st);const bt=(0,s.f3M)(Xe).getToken(),gt=(0,s.f3M)(re);return null!=bt&&!st.headers.has(gt)&&(st=st.clone({headers:st.headers.set(gt,bt)})),V(st)}var ye=(()=>((ye=ye||{})[ye.Interceptors=0]="Interceptors",ye[ye.LegacyInterceptors=1]="LegacyInterceptors",ye[ye.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ye[ye.NoXsrfProtection=3]="NoXsrfProtection",ye[ye.JsonpSupport=4]="JsonpSupport",ye[ye.RequestsMadeViaParent=5]="RequestsMadeViaParent",ye))();function at(st,V){return{\u0275kind:st,\u0275providers:V}}function kt(...st){const V=[Ge,hn,Se,{provide:te,useExisting:Se},{provide:pe,useExisting:hn},{provide:ze,useValue:fe,multi:!0},{provide:cn,useValue:!0},{provide:Xe,useClass:Le}];for(const Pe of st)V.push(...Pe.\u0275providers);return(0,s.MR2)(V)}const Lt=new s.OlP("LEGACY_INTERCEPTOR_FN");let ot=(()=>{class st{}return st.\u0275fac=function(Pe){return new(Pe||st)},st.\u0275mod=s.oAB({type:st}),st.\u0275inj=s.cJS({providers:[kt(at(ye.LegacyInterceptors,[{provide:Lt,useFactory:N},{provide:ze,useExisting:Lt,multi:!0}]))]}),st})()},4537:(Ht,Fe,c)=>{"use strict";c.d(Fe,{$8M:()=>G,$WT:()=>rn,$Z:()=>qh,AFp:()=>qm,ALo:()=>vm,AaK:()=>te,AsE:()=>Pf,BQk:()=>ac,CHM:()=>M,CRH:()=>Am,CZH:()=>bc,CqO:()=>Ip,D6c:()=>qb,DdM:()=>cm,Dn7:()=>Cm,EJc:()=>gb,EiD:()=>Fl,EpF:()=>Ap,F$t:()=>Bp,F4k:()=>Sp,FYo:()=>Ah,FiY:()=>Jo,Gf:()=>wm,GfV:()=>Sh,GkF:()=>vf,Gpc:()=>de,Hsn:()=>Up,Ikx:()=>Af,JOm:()=>Yr,JVY:()=>Md,JZr:()=>Ue,Jf7:()=>Ih,KtG:()=>ae,L6k:()=>Ed,LAX:()=>xd,LFG:()=>ot,LSH:()=>wu,Lbi:()=>db,Lck:()=>f1,MAs:()=>Pp,MMx:()=>Hf,MR2:()=>Vl,NdJ:()=>bf,O4$:()=>gs,OlP:()=>_n,Oqu:()=>wf,P3R:()=>Hl,PXZ:()=>Ab,PiD:()=>Ks,Q6J:()=>gf,QGY:()=>yf,QbO:()=>fb,Qsj:()=>N0,R0b:()=>rs,RDi:()=>vd,Rgc:()=>Ju,SBq:()=>Fu,Sil:()=>_b,Suo:()=>Pm,TTD:()=>Tr,TgZ:()=>oc,Tol:()=>ng,Udp:()=>Ef,VKq:()=>dm,W1O:()=>Rm,WLB:()=>fm,X6Q:()=>Lb,XFs:()=>cn,Xpm:()=>ut,Xts:()=>xa,Y36:()=>Ia,YKP:()=>tm,YNc:()=>wp,Yjl:()=>ct,Yz7:()=>wt,Z0I:()=>It,ZZ4:()=>dh,_Bn:()=>em,_UZ:()=>_f,_Vd:()=>Nu,_c5:()=>Jb,_uU:()=>lg,aQg:()=>fh,c2e:()=>hb,cJS:()=>St,cg1:()=>If,d8E:()=>Sf,dDg:()=>Ob,dqk:()=>Le,eBb:()=>Od,eFA:()=>h0,eJc:()=>Zf,ekj:()=>Of,eoX:()=>l0,evT:()=>kh,f3M:()=>it,g9A:()=>t0,gxx:()=>Au,h0i:()=>Wa,hGG:()=>Qb,hij:()=>cc,iGM:()=>xm,ifc:()=>Jt,ip1:()=>Qm,jDz:()=>im,kL8:()=>Og,kcU:()=>ms,lG2:()=>xe,lcZ:()=>ym,lqb:()=>f,lri:()=>a0,mCW:()=>Ea,n5z:()=>Ys,n_E:()=>gc,oAB:()=>I,oJD:()=>Bl,oxw:()=>Fp,pB0:()=>wd,q3G:()=>Oo,qLn:()=>Bu,qOj:()=>df,qZA:()=>rc,qzn:()=>Xs,rWj:()=>u0,sBO:()=>Nb,s_b:()=>_c,soG:()=>Cc,tb:()=>d0,tp0:()=>Ss,uIk:()=>pf,vHH:()=>ve,vpe:()=>Ms,wAp:()=>ei,xi3:()=>bm,xp6:()=>Hh,ynx:()=>sc,z2F:()=>Dc,z3N:()=>ls,zSh:()=>Lu,zs3:()=>la});var e=c(8023),s=c(4813),k=c(7241),z=c(1860),F=c(815);function ne(t){for(let n in t)if(t[n]===ne)return n;throw Error("Could not find renamed property on target object.")}function W(t,n){for(const i in n)n.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=n[i])}function te(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(te).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const i=n.indexOf("\n");return-1===i?n:n.substring(0,i)}function pe(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const ce=ne({__forward_ref__:ne});function de(t){return t.__forward_ref__=de,t.toString=function(){return te(this())},t}function Y(t){return _e(t)?t():t}function _e(t){return"function"==typeof t&&t.hasOwnProperty(ce)&&t.__forward_ref__===de}function ue(t){return t&&!!t.\u0275providers}const Ue="https://g.co/ng/security#xss";class ve extends Error{constructor(n,i){super(Ae(n,i)),this.code=n}}function Ae(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}function Ve(t){return"string"==typeof t?t:null==t?"":String(t)}function Oe(t,n){throw new ve(-201,!1)}function ze(t,n){null==t&&function N(t,n,i,o){throw new Error(`ASSERTION ERROR: ${t}`+(null==o?"":` [Expected=> ${i} ${o} ${n} <=Actual]`))}(n,t,null,"!=")}function wt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function St(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ft(t){return Rt(t,Dt)||Rt(t,Qt)}function It(t){return null!==Ft(t)}function Rt(t,n){return t.hasOwnProperty(n)?t[n]:null}function Ut(t){return t&&(t.hasOwnProperty(Xt)||t.hasOwnProperty(hn))?t[Xt]:null}const Dt=ne({\u0275prov:ne}),Xt=ne({\u0275inj:ne}),Qt=ne({ngInjectableDef:ne}),hn=ne({ngInjectorDef:ne});var cn=(()=>((cn=cn||{})[cn.Default=0]="Default",cn[cn.Host=1]="Host",cn[cn.Self=2]="Self",cn[cn.SkipSelf=4]="SkipSelf",cn[cn.Optional=8]="Optional",cn))();let yt;function he(t){const n=yt;return yt=t,n}function re(t,n,i){const o=Ft(t);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&cn.Optional?null:void 0!==n?n:void Oe(te(t))}const Le=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),at={},kt="__NG_DI_FLAG__",qt="ngTempTokenPath",Lt="ngTokenPath",xt=/\n/gm,Wt="\u0275",Pt="__source";let an;function fn(t){const n=an;return an=t,n}function Ke(t,n=cn.Default){if(void 0===an)throw new ve(-203,!1);return null===an?re(t,void 0,n):an.get(t,n&cn.Optional?null:void 0,n)}function ot(t,n=cn.Default){return(function Re(){return yt}()||Ke)(Y(t),n)}function it(t,n=cn.Default){return ot(t,st(n))}function st(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function V(t){const n=[];for(let i=0;i((vn=vn||{})[vn.OnPush=0]="OnPush",vn[vn.Default=1]="Default",vn))(),Jt=(()=>{return(t=Jt||(Jt={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",Jt;var t})();const Nn={},Mn=[],oe=ne({\u0275cmp:ne}),Q=ne({\u0275dir:ne}),H=ne({\u0275pipe:ne}),le=ne({\u0275mod:ne}),Ie=ne({\u0275fac:ne}),rt=ne({__NG_ELEMENT_ID__:ne});let nt=0;function ut(t){return $t(()=>{const n=gn(t),i={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===vn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,data:t.data||{},encapsulation:t.encapsulation||Jt.Emulated,id:"c"+nt++,styles:t.styles||Mn,_:null,schemas:t.schemas||null,tView:null};pn(i);const o=t.dependencies;return i.directiveDefs=In(o,!1),i.pipeDefs=In(o,!0),i})}function Ne(t){return dt(t)||Bt(t)}function U(t){return null!==t}function I(t){return $t(()=>({type:t.type,bootstrap:t.bootstrap||Mn,declarations:t.declarations||Mn,imports:t.imports||Mn,exports:t.exports||Mn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function $(t,n){if(null==t)return Nn;const i={};for(const o in t)if(t.hasOwnProperty(o)){let a=t[o],d=a;Array.isArray(a)&&(d=a[1],a=a[0]),i[a]=o,n&&(n[a]=d)}return i}function xe(t){return $t(()=>{const n=gn(t);return pn(n),n})}function ct(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function dt(t){return t[oe]||null}function Bt(t){return t[Q]||null}function Yt(t){return t[H]||null}function rn(t){const n=dt(t)||Bt(t)||Yt(t);return null!==n&&n.standalone}function en(t,n){const i=t[le]||null;if(!i&&!0===n)throw new Error(`Type ${te(t)} does not have '\u0275mod' property.`);return i}function gn(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,exportAs:t.exportAs||null,standalone:!0===t.standalone,selectors:t.selectors||Mn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:$(t.inputs,n),outputs:$(t.outputs)}}function pn(t){var n;null===(n=t.features)||void 0===n||n.forEach(i=>i(t))}function In(t,n){if(!t)return null;const i=n?Yt:Ne;return()=>("function"==typeof t?t():t).map(o=>i(o)).filter(U)}const Kn=0,mn=1,xn=2,$n=3,ci=4,ri=5,Xn=6,Yn=7,Qn=8,Ai=9,Ji=10,Wn=11,Ti=12,ti=13,Mi=14,to=15,Ri=16,Wo=17,wo=18,no=19,qo=20,lr=21,ui=22,Qi=1,yo=2,Po=7,Vo=8,bo=9,ji=10;function Li(t){return Array.isArray(t)&&"object"==typeof t[Qi]}function Yi(t){return Array.isArray(t)&&!0===t[Qi]}function Si(t){return 0!=(4&t.flags)}function oo(t){return t.componentOffset>-1}function go(t){return 1==(1&t.flags)}function Pn(t){return!!t.template}function Nt(t){return 0!=(256&t[xn])}function co(t,n){return t.hasOwnProperty(Ie)?t[Ie]:null}class Sr{constructor(n,i,o){this.previousValue=n,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function Tr(){return tr}function tr(t){return t.type.prototype.ngOnChanges&&(t.setInput=_r),Ui}function Ui(){const t=Ir(this),n=null==t?void 0:t.current;if(n){const i=t.previous;if(i===Nn)t.previous=n;else for(let o in n)i[o]=n[o];t.current=null,this.ngOnChanges(n)}}function _r(t,n,i,o){const a=this.declaredInputs[i],d=Ir(t)||function Zr(t,n){return t[nr]=n}(t,{previous:Nn,current:null}),p=d.current||(d.current={}),C=d.previous,w=C[a];p[a]=new Sr(w&&w.currentValue,n,C===Nn),t[o]=n}Tr.ngInherit=!0;const nr="__ngSimpleChanges__";function Ir(t){return t[nr]||null}const mo=function(t,n,i){},Hi="svg";function Ei(t){for(;Array.isArray(t);)t=t[Kn];return t}function ir(t,n){return Ei(n[t])}function zi(t,n){return Ei(n[t.index])}function Er(t,n){return t.data[n]}function uo(t,n){return t[n]}function $i(t,n){const i=n[t];return Li(i)?i:i[Kn]}function Or(t){return 64==(64&t[xn])}function Mo(t,n){return null==n?null:t[n]}function Ee(t){t[wo]=0}function _(t,n){t[ri]+=n;let i=t,o=t[$n];for(;null!==o&&(1===n&&1===i[ri]||-1===n&&0===i[ri]);)o[ri]+=n,i=o,o=o[$n]}const y={lFrame:$r(null),bindingsEnabled:!0};function Vt(){return y.bindingsEnabled}function T(){return y.lFrame.lView}function E(){return y.lFrame.tView}function M(t){return y.lFrame.contextLView=t,t[Qn]}function ae(t){return y.lFrame.contextLView=null,t}function ft(){let t=Dn();for(;null!==t&&64===t.type;)t=t.parent;return t}function Dn(){return y.lFrame.currentTNode}function ii(t,n){const i=y.lFrame;i.currentTNode=t,i.isParent=n}function Di(){return y.lFrame.isParent}function mi(){y.lFrame.isParent=!1}function yi(){const t=y.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function or(){return y.lFrame.bindingIndex++}function fo(t){const n=y.lFrame,i=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,i}function qr(t,n){const i=y.lFrame;i.bindingIndex=i.bindingRootIndex=t,Vn(n)}function Vn(t){y.lFrame.currentDirectiveIndex=t}function jn(t){const n=y.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function si(){return y.lFrame.currentQueryIndex}function wi(t){y.lFrame.currentQueryIndex=t}function $o(t){const n=t[mn];return 2===n.type?n.declTNode:1===n.type?t[Xn]:null}function lo(t,n,i){if(i&cn.SkipSelf){let a=n,d=t;for(;!(a=a.parent,null!==a||i&cn.Host||(a=$o(d),null===a||(d=d[to],10&a.type))););if(null===a)return!1;n=a,t=d}const o=y.lFrame=Oi();return o.currentTNode=n,o.lView=t,!0}function Lo(t){const n=Oi(),i=t[mn];y.lFrame=n,n.currentTNode=i.firstChild,n.lView=t,n.tView=i,n.contextLView=t,n.bindingIndex=i.bindingStartIndex,n.inI18n=!1}function Oi(){const t=y.lFrame,n=null===t?null:t.child;return null===n?$r(t):n}function $r(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function Eo(){const t=y.lFrame;return y.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ho=Eo;function No(){const t=Eo();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ni(){return y.lFrame.selectedIndex}function Rr(t){y.lFrame.selectedIndex=t}function Gi(){const t=y.lFrame;return Er(t.tView,t.selectedIndex)}function gs(){y.lFrame.currentNamespace=Hi}function ms(){!function Vs(){y.lFrame.currentNamespace=null}()}function _s(t,n){for(let X=n.directiveStart,Me=n.directiveEnd;X=o)break}else n[w]<0&&(t[wo]+=65536),(C>11>16&&(3&t[xn])===n){t[xn]+=2048,mo(4,C,d);try{d.call(C)}finally{mo(5,C,d)}}}else{mo(4,C,d);try{d.call(C)}finally{mo(5,C,d)}}}const ge=-1;class Je{constructor(n,i,o){this.factory=n,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function bi(t,n,i){let o=0;for(;on){p=d-1;break}}}for(;d>16}(t),o=n;for(;i>0;)o=o[to],i--;return o}let ss=!0;function Gr(t){const n=ss;return ss=t,n}const Bo=255,Gs=5;let ea=0;const dr={};function vs(t,n){const i=xs(t,n);if(-1!==i)return i;const o=n[mn];o.firstCreatePass&&(t.injectorIndex=n.length,Os(o.data,t),Os(n,null),Os(o.blueprint,null));const a=Uo(t,n),d=t.injectorIndex;if(Go(a)){const p=rr(a),C=br(a,n),w=C[mn].data;for(let X=0;X<8;X++)n[d+X]=C[p+X]|w[p+X]}return n[d+8]=a,d}function Os(t,n){t.push(0,0,0,0,0,0,0,0,n)}function xs(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Uo(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,o=null,a=n;for(;null!==a;){if(o=x(a),null===o)return ge;if(i++,a=a[to],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return ge}function ws(t,n,i){!function ta(t,n,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(rt)&&(o=i[rt]),null==o&&(o=i[rt]=ea++);const a=o&Bo;n.data[t+(a>>Gs)]|=1<=0?n&Bo:_a:n}(i);if("function"==typeof d){if(!lo(n,t,o))return o&cn.Host?Ps(a,0,o):As(n,i,o,a);try{const p=d(o);if(null!=p||o&cn.Optional)return p;Oe()}finally{ho()}}else if("number"==typeof d){let p=null,C=xs(t,n),w=ge,X=o&cn.Host?n[Ri][Xn]:null;for((-1===C||o&cn.SkipSelf)&&(w=-1===C?Uo(t,n):n[C+8],w!==ge&&Ws(o,!1)?(p=n[mn],C=rr(w),n=br(w,n)):C=-1);-1!==C;){const Me=n[mn];if(fr(d,C,Me.data)){const Ze=ma(C,n,i,p,o,X);if(Ze!==dr)return Ze}w=n[C+8],w!==ge&&Ws(o,n[mn].data[C+8]===X)&&fr(d,C,n)?(p=Me,C=rr(w),n=br(w,n)):C=-1}}return a}function ma(t,n,i,o,a,d){const p=n[mn],C=p.data[t+8],Me=us(C,p,i,null==o?oo(C)&&ss:o!=p&&0!=(3&C.type),a&cn.Host&&d===C);return null!==Me?sr(n,p,Me,C):dr}function us(t,n,i,o,a){const d=t.providerIndexes,p=n.data,C=1048575&d,w=t.directiveStart,Me=d>>20,Mt=a?C+Me:t.directiveEnd;for(let zt=o?C:C+Me;zt=w&&dn.type===i)return zt}if(a){const zt=p[w];if(zt&&Pn(zt)&&zt.type===i)return w}return null}function sr(t,n,i,o){let a=t[i];const d=n.data;if(function Gt(t){return t instanceof Je}(a)){const p=a;p.resolving&&function se(t,n){const i=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new ve(-200,`Circular dependency in DI detected for ${t}${i}`)}(function je(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Ve(t)}(d[i]));const C=Gr(p.canSeeViewProviders);p.resolving=!0;const w=p.injectImpl?he(p.injectImpl):null;lo(t,o,cn.Default);try{a=t[i]=p.factory(void 0,d,t,o),n.firstCreatePass&&i>=o.directiveStart&&function $s(t,n,i){const{ngOnChanges:o,ngOnInit:a,ngDoCheck:d}=n.type.prototype;if(o){var p,C;const Ze=tr(n);(null!==(p=i.preOrderHooks)&&void 0!==p?p:i.preOrderHooks=[]).push(t,Ze),(null!==(C=i.preOrderCheckHooks)&&void 0!==C?C:i.preOrderCheckHooks=[]).push(t,Ze)}var w,X,Me;a&&(null!==(w=i.preOrderHooks)&&void 0!==w?w:i.preOrderHooks=[]).push(0-t,a),d&&((null!==(X=i.preOrderHooks)&&void 0!==X?X:i.preOrderHooks=[]).push(t,d),(null!==(Me=i.preOrderCheckHooks)&&void 0!==Me?Me:i.preOrderCheckHooks=[]).push(t,d))}(i,d[i],n)}finally{null!==w&&he(w),Gr(C),p.resolving=!1,ho()}}return a}function fr(t,n,i){return!!(i[n+(t>>Gs)]&1<{const n=t.prototype.constructor,i=n[Ie]||l(n),o=Object.prototype;let a=Object.getPrototypeOf(t.prototype).constructor;for(;a&&a!==o;){const d=a[Ie]||l(a);if(d&&d!==i)return d;a=Object.getPrototypeOf(a)}return d=>new d})}function l(t){return _e(t)?()=>{const n=l(Y(t));return n&&n()}:co(t)}function x(t){const n=t[mn],i=n.type;return 2===i?n.declTNode:1===i?t[Xn]:null}function G(t){return function as(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const i=t.attrs;if(i){const o=i.length;let a=0;for(;a{const o=function ht(t){return function(...i){if(t){const o=t(...i);for(const a in o)this[a]=o[a]}}}(n);function a(...d){if(this instanceof a)return o.apply(this,d),this;const p=new a(...d);return C.annotation=p,C;function C(w,X,Me){const Ze=w.hasOwnProperty(K)?w[K]:Object.defineProperty(w,K,{value:[]})[K];for(;Ze.length<=Me;)Ze.push(null);return(Ze[Me]=Ze[Me]||[]).push(p),w}}return i&&(a.prototype=Object.create(i.prototype)),a.prototype.ngMetadataName=t,a.annotationCls=a,a})}class _n{constructor(n,i){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=wt({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Wr(t,n){t.forEach(i=>Array.isArray(i)?Wr(i,n):n(i))}function ia(t,n,i){n>=t.length?t.push(i):t.splice(n,0,i)}function m(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function v(t,n){const i=[];for(let o=0;o=0?t[1|o]=i:(o=~o,function B(t,n,i,o){let a=t.length;if(a==n)t.push(i,o);else if(1===a)t.push(o,t[0]),t[0]=i;else{for(a--,t.push(t[a-1],t[a]);a>n;)t[a]=t[a-2],a--;t[n]=i,t[n+1]=o}}(t,o,n,i)),o}function Tt(t,n){const i=Kt(t,n);if(i>=0)return t[1|i]}function Kt(t,n){return function Un(t,n,i){let o=0,a=t.length>>i;for(;a!==o;){const d=o+(a-o>>1),p=t[d<n?a=d:o=d+1}return~(a<((Yr=Yr||{})[Yr.Important=1]="Important",Yr[Yr.DashCase=2]="DashCase",Yr))();const ul=new Map;let Dh=0;const iu="__ngContext__";function gr(t,n){Li(n)?(t[iu]=n[qo],function ll(t){ul.set(t[qo],t)}(n)):t[iu]=n}let ou;function ru(t,n){return ou(t,n)}function sa(t){const n=t[$n];return Yi(n)?n[$n]:n}function su(t){return gl(t[ti])}function au(t){return gl(t[ci])}function gl(t){for(;null!==t&&!Yi(t);)t=t[ci];return t}function Zs(t,n,i,o,a){if(null!=o){let d,p=!1;Yi(o)?d=o:Li(o)&&(p=!0,o=o[Kn]);const C=Ei(o);0===t&&null!==i?null==a?Cl(n,i,C):Rs(n,i,C,a||null,!0):1===t&&null!==i?Rs(n,i,C,a||null,!0):2===t?function gu(t,n,i){const o=ba(t,n);o&&function ld(t,n,i,o){t.removeChild(n,i,o)}(t,o,n,i)}(n,C,p):3===t&&n.destroyNode(C),null!=d&&function fd(t,n,i,o,a){const d=i[Po];d!==Ei(i)&&Zs(n,t,o,d,a);for(let C=ji;C0&&(t[i-1][ci]=o[ci]);const d=m(t,ji+n);!function td(t,n){aa(t,n,n[Wn],2,null,null),n[Kn]=null,n[Xn]=null}(o[mn],o);const p=d[no];null!==p&&p.detachView(d[mn]),o[$n]=null,o[ci]=null,o[xn]&=-65}return o}function vl(t,n){if(!(128&n[xn])){const i=n[Wn];i.destroyNode&&aa(t,n,i,3,null,null),function od(t){let n=t[ti];if(!n)return du(t[mn],t);for(;n;){let i=null;if(Li(n))i=n[ti];else{const o=n[ji];o&&(i=o)}if(!i){for(;n&&!n[ci]&&n!==t;)Li(n)&&du(n[mn],n),n=n[$n];null===n&&(n=t),Li(n)&&du(n[mn],n),i=n&&n[ci]}n=i}}(n)}}function du(t,n){if(!(128&n[xn])){n[xn]&=-65,n[xn]|=128,function ud(t,n){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let o=0;o=0?o[a=p]():o[a=-p].unsubscribe(),d+=2}else{const p=o[a=i[d+1]];i[d].call(p)}if(null!==o){for(let d=a+1;d-1){const{encapsulation:d}=t.data[o.directiveStart+a];if(d===Jt.None||d===Jt.Emulated)return null}return zi(o,i)}}(t,n.parent,i)}function Rs(t,n,i,o,a){t.insertBefore(n,i,o,a)}function Cl(t,n,i){t.appendChild(n,i)}function Dl(t,n,i,o,a){null!==o?Rs(t,n,i,o,a):Cl(t,n,i)}function ba(t,n){return t.parentNode(n)}function Tl(t,n,i){return El(t,n,i)}let fu,Ta,vu,Ma,El=function Ml(t,n,i){return 40&t.type?zi(t,i):null};function Ca(t,n,i,o){const a=yl(t,o,n),d=n[Wn],C=Tl(o.parent||n[Xn],o,n);if(null!=a)if(Array.isArray(i))for(let w=0;wt,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ta}())||void 0===n?void 0:n.createHTML(t))||t}function vd(t){vu=t}function yu(){if(void 0===Ma&&(Ma=null,Le.trustedTypes))try{Ma=Le.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ma}function Sl(t){var n;return(null===(n=yu())||void 0===n?void 0:n.createHTML(t))||t}function kl(t){var n;return(null===(n=yu())||void 0===n?void 0:n.createScriptURL(t))||t}class Ns{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ue})`}}class yd extends Ns{getTypeName(){return"HTML"}}class bd extends Ns{getTypeName(){return"Style"}}class Cd extends Ns{getTypeName(){return"Script"}}class Dd extends Ns{getTypeName(){return"URL"}}class Td extends Ns{getTypeName(){return"ResourceURL"}}function ls(t){return t instanceof Ns?t.changingThisBreaksApplicationSecurity:t}function Xs(t,n){const i=function Eh(t){return t instanceof Ns&&t.getTypeName()||null}(t);if(null!=i&&i!==n){if("ResourceURL"===i&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${i} (see ${Ue})`)}return i===n}function Md(t){return new yd(t)}function Ed(t){return new bd(t)}function Od(t){return new Cd(t)}function xd(t){return new Dd(t)}function wd(t){return new Td(t)}class Pd{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const i=(new window.DOMParser).parseFromString(Ls(n),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(n):(i.removeChild(i.firstChild),i)}catch{return null}}}class Ad{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const i=this.inertDocument.createElement("template");return i.innerHTML=Ls(n),i}}const Id=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ea(t){return(t=String(t)).match(Id)?t:"unsafe:"+t}function cs(t){const n={};for(const i of t.split(","))n[i]=!0;return n}function ua(...t){const n={};for(const i of t)for(const o in i)i.hasOwnProperty(o)&&(n[o]=!0);return n}const bu=cs("area,br,col,hr,img,wbr"),Cu=cs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kd=cs("rp,rt"),Du=ua(bu,ua(Cu,cs("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")),ua(kd,cs("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")),ua(kd,Cu)),Tu=cs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Mu=ua(Tu,cs("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"),cs("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")),Ll=cs("script,style,template");class Eu{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let i=n.firstChild,o=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?o=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,o&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let a=this.checkClobberedElement(i,i.nextSibling);if(a){i=a;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(n){const i=n.nodeName.toLowerCase();if(!Du.hasOwnProperty(i))return this.sanitizedSomething=!0,!Ll.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=n.attributes;for(let a=0;a"),!0}endElement(n){const i=n.nodeName.toLowerCase();Du.hasOwnProperty(i)&&!bu.hasOwnProperty(i)&&(this.buf.push(""))}chars(n){this.buf.push(Nl(n))}checkClobberedElement(n,i){if(i&&(n.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return i}}const Ou=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Rd=/([^\#-~ |!])/g;function Nl(t){return t.replace(/&/g,"&").replace(Ou,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Rd,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Oa;function Fl(t,n){let i=null;try{Oa=Oa||function Rl(t){const n=new Ad(t);return function Sd(){try{return!!(new window.DOMParser).parseFromString(Ls(""),"text/html")}catch{return!1}}()?new Pd(n):n}(t);let o=n?String(n):"";i=Oa.getInertBodyElement(o);let a=5,d=o;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,o=d,d=i.innerHTML,i=Oa.getInertBodyElement(o)}while(o!==d);return Ls((new Eu).sanitizeChildren(xu(i)||i))}finally{if(i){const o=xu(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function xu(t){return"content"in t&&function Ld(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Oo=(()=>((Oo=Oo||{})[Oo.NONE=0]="NONE",Oo[Oo.HTML=1]="HTML",Oo[Oo.STYLE=2]="STYLE",Oo[Oo.SCRIPT=3]="SCRIPT",Oo[Oo.URL=4]="URL",Oo[Oo.RESOURCE_URL=5]="RESOURCE_URL",Oo))();function Bl(t){const n=Js();return n?Sl(n.sanitize(Oo.HTML,t)||""):Xs(t,"HTML")?Sl(ls(t)):Fl(function Al(){return void 0!==vu?vu:typeof document<"u"?document:void 0}(),Ve(t))}function wu(t){const n=Js();return n?n.sanitize(Oo.URL,t)||"":Xs(t,"URL")?ls(t):Ea(Ve(t))}function Pu(t){const n=Js();if(n)return kl(n.sanitize(Oo.RESOURCE_URL,t)||"");if(Xs(t,"ResourceURL"))return kl(ls(t));throw new ve(904,!1)}function Hl(t,n,i){return function Ud(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?Pu:wu}(n,i)(t)}function Js(){const t=T();return t&&t[Ti]}const xa=new _n("ENVIRONMENT_INITIALIZER"),Au=new _n("INJECTOR",-1),Su=new _n("INJECTOR_DEF_TYPES");class zl{get(n,i=at){if(i===at){const o=new Error(`NullInjectorError: No provider for ${te(n)}!`);throw o.name="NullInjectorError",o}return i}}function Vl(t){return{\u0275providers:t}}function Vd(...t){return{\u0275providers:jl(0,t),\u0275fromNgModule:!0}}function jl(t,...n){const i=[],o=new Set;let a;return Wr(n,d=>{const p=d;Iu(p,i,[],o)&&(a||(a=[]),a.push(p))}),void 0!==a&&$l(a,i),i}function $l(t,n){for(let i=0;i{n.push(d)})}}function Iu(t,n,i,o){if(!(t=Y(t)))return!1;let a=null,d=Ut(t);const p=!d&&dt(t);if(d||p){if(p&&!p.standalone)return!1;a=t}else{const w=t.ngModule;if(d=Ut(w),!d)return!1;a=w}const C=o.has(a);if(p){if(C)return!1;if(o.add(a),p.dependencies){const w="function"==typeof p.dependencies?p.dependencies():p.dependencies;for(const X of w)Iu(X,n,i,o)}}else{if(!d)return!1;{if(null!=d.imports&&!C){let X;o.add(a);try{Wr(d.imports,Me=>{Iu(Me,n,i,o)&&(X||(X=[]),X.push(Me))})}finally{}void 0!==X&&$l(X,n)}if(!C){const X=co(a)||(()=>new a);n.push({provide:a,useFactory:X,deps:Mn},{provide:Su,useValue:a,multi:!0},{provide:xa,useValue:()=>ot(a),multi:!0})}const w=d.providers;null==w||C||Gl(w,Me=>{n.push(Me)})}}return a!==t&&void 0!==t.providers}function Gl(t,n){for(let i of t)ue(i)&&(i=i.\u0275providers),Array.isArray(i)?Gl(i,n):n(i)}const Ph=ne({provide:String,useValue:ne});function ku(t){return null!==t&&"object"==typeof t&&Ph in t}function Fs(t){return"function"==typeof t}const Lu=new _n("Set Injector scope."),wa={},u={};let b;function r(){return void 0===b&&(b=new zl),b}class f{}class L extends f{get destroyed(){return this._destroyed}constructor(n,i,o,a){super(),this.parent=i,this.source=o,this.scopes=a,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Qo(n,p=>this.processProvider(p)),this.records.set(Au,qn(void 0,this)),a.has("environment")&&this.records.set(f,qn(void 0,this));const d=this.records.get(Lu);null!=d&&"string"==typeof d.value&&this.scopes.add(d.value),this.injectorDefTypes=new Set(this.get(Su.multi,Mn,cn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const i=fn(this),o=he(void 0);try{return n()}finally{fn(i),he(o)}}get(n,i=at,o=cn.Default){this.assertNotDestroyed(),o=st(o);const a=fn(this),d=he(void 0);try{if(!(o&cn.SkipSelf)){let C=this.records.get(n);if(void 0===C){const w=function Dr(t){return"function"==typeof t||"object"==typeof t&&t instanceof _n}(n)&&Ft(n);C=w&&this.injectableDefInScope(w)?qn(me(n),wa):null,this.records.set(n,C)}if(null!=C)return this.hydrate(n,C)}return(o&cn.Self?r():this.parent).get(n,i=o&cn.Optional&&i===at?null:i)}catch(p){if("NullInjectorError"===p.name){if((p[qt]=p[qt]||[]).unshift(te(n)),a)throw p;return function gt(t,n,i,o){const a=t[qt];throw n[Pt]&&a.unshift(n[Pt]),t.message=function on(t,n,i,o=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==Wt?t.slice(2):t;let a=te(n);if(Array.isArray(n))a=n.map(te).join(" -> ");else if("object"==typeof n){let d=[];for(let p in n)if(n.hasOwnProperty(p)){let C=n[p];d.push(p+":"+("string"==typeof C?JSON.stringify(C):te(C)))}a=`{${d.join(", ")}}`}return`${i}${o?"("+o+")":""}[${a}]: ${t.replace(xt,"\n ")}`}("\n"+t.message,a,i,o),t[Lt]=a,t[qt]=null,t}(p,n,"R3InjectorError",this.source)}throw p}finally{he(d),fn(a)}}resolveInjectorInitializers(){const n=fn(this),i=he(void 0);try{const o=this.get(xa.multi,Mn,cn.Self);for(const a of o)a()}finally{fn(n),he(i)}}toString(){const n=[],i=this.records;for(const o of i.keys())n.push(te(o));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ve(205,!1)}processProvider(n){let i=Fs(n=Y(n))?n:Y(n&&n.provide);const o=function Fn(t){return ku(t)?qn(void 0,t.useValue):qn(Zn(t),wa)}(n);if(Fs(n)||!0!==n.multi)this.records.get(i);else{let a=this.records.get(i);a||(a=qn(void 0,wa,!0),a.factory=()=>V(a.multi),this.records.set(i,a)),i=n,a.multi.push(n)}this.records.set(i,o)}hydrate(n,i){return i.value===wa&&(i.value=u,i.value=i.factory()),"object"==typeof i.value&&i.value&&function Cr(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(n){if(!n.providedIn)return!1;const i=Y(n.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}}function me(t){const n=Ft(t),i=null!==n?n.factory:co(t);if(null!==i)return i;if(t instanceof _n)throw new ve(204,!1);if(t instanceof Function)return function jt(t){const n=t.length;if(n>0)throw v(n,"?"),new ve(204,!1);const i=function Zt(t){return t&&(t[Dt]||t[Qt])||null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new ve(204,!1)}function Zn(t,n,i){let o;if(Fs(t)){const a=Y(t);return co(a)||me(a)}if(ku(t))o=()=>Y(t.useValue);else if(function Ru(t){return!(!t||!t.useFactory)}(t))o=()=>t.useFactory(...V(t.deps||[]));else if(function Wl(t){return!(!t||!t.useExisting)}(t))o=()=>ot(Y(t.useExisting));else{const a=Y(t&&(t.useClass||t.provide));if(!function po(t){return!!t.deps}(t))return co(a)||me(a);o=()=>new a(...V(t.deps))}return o}function qn(t,n,i=!1){return{factory:t,value:n,multi:i?[]:void 0}}function Qo(t,n){for(const i of t)Array.isArray(i)?Qo(i,n):i&&ue(i)?Qo(i.\u0275providers,n):n(i)}class Bs{}class is{}class k0{resolveComponentFactory(n){throw function jd(t){const n=Error(`No component factory found for ${te(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let Nu=(()=>{class t{}return t.NULL=new k0,t})();function R0(){return Pa(ft(),T())}function Pa(t,n){return new Fu(zi(t,n))}let Fu=(()=>{class t{constructor(i){this.nativeElement=i}}return t.__NG_ELEMENT_ID__=R0,t})();function L0(t){return t instanceof Fu?t.nativeElement:t}class Ah{}let N0=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function F0(){const t=T(),i=$i(ft().index,t);return(Li(i)?i:t)[Wn]}(),t})(),B0=(()=>{class t{}return t.\u0275prov=wt({token:t,providedIn:"root",factory:()=>null}),t})();class Sh{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const U0=new Sh("15.2.10"),$d={},Gd="ngOriginalError";function Wd(t){return t[Gd]}class Bu{constructor(){this._console=console}handleError(n){const i=this._findOriginalError(n);this._console.error("ERROR",n),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(n){let i=n&&Wd(n);for(;i&&Wd(i);)i=Wd(i);return i||null}}function Ih(t){return t.ownerDocument.defaultView}function kh(t){return t.ownerDocument}function Us(t){return t instanceof Function?t():t}function Lh(t,n,i){let o=t.length;for(;;){const a=t.indexOf(n,i);if(-1===a)return a;if(0===a||t.charCodeAt(a-1)<=32){const d=n.length;if(a+d===o||t.charCodeAt(a+d)<=32)return a}i=a+1}}const Nh="ng-template";function K0(t,n,i){let o=0,a=!0;for(;od?"":a[Ze+1].toLowerCase();const zt=8&o?Mt:null;if(zt&&-1!==Lh(zt,X,0)||2&o&&X!==Mt){if(ds(o))return!1;p=!0}}}}else{if(!p&&!ds(o)&&!ds(w))return!1;if(p&&ds(w))continue;p=!1,o=w|1&o}}return ds(o)||p}function ds(t){return 0==(1&t)}function J0(t,n,i,o){if(null===n)return-1;let a=0;if(o||!i){let d=!1;for(;a-1)for(i++;i0?'="'+C+'"':"")+"]"}else 8&o?a+="."+p:4&o&&(a+=" "+p);else""!==a&&!ds(p)&&(n+=Uh(d,a),a=""),o=p,d=d||!ds(o);i++}return""!==a&&(n+=Uh(d,a)),n}const gi={};function Hh(t){zh(E(),T(),Ni()+t,!1)}function zh(t,n,i,o){if(!o)if(3==(3&n[xn])){const d=t.preOrderCheckHooks;null!==d&&Lr(n,d,i)}else{const d=t.preOrderHooks;null!==d&&Fo(n,d,0,i)}Rr(i)}function Gh(t,n=null,i=null,o){const a=Wh(t,n,i,o);return a.resolveInjectorInitializers(),a}function Wh(t,n=null,i=null,o,a=new Set){const d=[i||Mn,Vd(t)];return o=o||("object"==typeof t?void 0:te(t)),new L(d,n||r(),o||null,a)}let la=(()=>{class t{static create(i,o){if(Array.isArray(i))return Gh({name:""},o,i,"");{var a;const d=null!==(a=i.name)&&void 0!==a?a:"";return Gh({name:d},i.parent,i.providers,d)}}}return t.THROW_IF_NOT_FOUND=at,t.NULL=new zl,t.\u0275prov=wt({token:t,providedIn:"any",factory:()=>ot(Au)}),t.__NG_ELEMENT_ID__=-1,t})();function Ia(t,n=cn.Default){const i=T();return null===i?ot(t,n):es(ft(),i,Y(t),n)}function qh(){throw new Error("invalid")}function ep(t,n){const i=t.contentQueries;if(null!==i)for(let o=0;oui&&zh(t,n,ui,!1),mo(p?2:0,a),i(o,a)}finally{Rr(d),mo(p?3:1,a)}}function qd(t,n,i){if(Si(n)){const a=n.directiveEnd;for(let d=n.directiveStart;d0;){const i=t[--n];if("number"==typeof i&&i<0)return i}return 0})(p)!=C&&p.push(C),p.push(i,o,d)}}(t,n,o,Uu(t,i,a.hostVars,gi),a)}function bs(t,n,i,o,a,d){const p=zi(t,n);!function af(t,n,i,o,a,d,p){if(null==d)t.removeAttribute(n,a,i);else{const C=null==p?Ve(d):p(d,o||"",a);t.setAttribute(n,a,C,i)}}(n[Wn],p,d,t.value,i,o,a)}function j_(t,n,i,o,a,d){const p=d[n];if(null!==p){const C=o.setInput;for(let w=0;w0&&uf(i)}}function uf(t){for(let o=su(t);null!==o;o=au(o))for(let a=ji;a0&&uf(d)}const i=t[mn].components;if(null!==i)for(let o=0;o0&&uf(a)}}function K_(t,n){const i=$i(n,t),o=i[mn];(function Z_(t,n){for(let i=n.length;i-1&&(cu(n,o),m(i,o))}this._attachedToViewContainer=!1}vl(this._lView[mn],this._lView)}onDestroy(n){ip(this._lView[mn],this._lView,null,n)}markForCheck(){Ql(this._cdRefInjectingView||this._lView)}detach(){this._lView[xn]&=-65}reattach(){this._lView[xn]|=64}detectChanges(){ql(this._lView[mn],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ve(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function id(t,n){aa(t,n,n[Wn],2,null,null)}(this._lView[mn],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ve(902,!1);this._appRef=n}}class X_ extends Hu{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;ql(n[mn],n,n[Qn],!1)}checkNoChanges(){}get context(){return null}}class hp extends Nu{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const i=dt(n);return new zu(i,this.ngModule)}}function pp(t){const n=[];for(let i in t)t.hasOwnProperty(i)&&n.push({propName:t[i],templateName:i});return n}class Q_{constructor(n,i){this.injector=n,this.parentInjector=i}get(n,i,o){o=st(o);const a=this.injector.get(n,$d,o);return a!==$d||i===$d?a:this.parentInjector.get(n,i,o)}}class zu extends is{get inputs(){return pp(this.componentDef.inputs)}get outputs(){return pp(this.componentDef.outputs)}constructor(n,i){super(),this.componentDef=n,this.ngModule=i,this.componentType=n.type,this.selector=function i_(t){return t.map(n_).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!i}create(n,i,o,a){var d;let p=(a=a||this.ngModule)instanceof f?a:null===(d=a)||void 0===d?void 0:d.injector;p&&null!==this.componentDef.getStandaloneInjector&&(p=this.componentDef.getStandaloneInjector(p)||p);const C=p?new Q_(n,p):n,w=C.get(Ah,null);if(null===w)throw new ve(407,!1);const X=C.get(B0,null),Me=w.createRenderer(null,this.componentDef),Ze=this.componentDef.selectors[0][0]||"div",Mt=o?function x_(t,n,i){return t.selectRootElement(n,i===Jt.ShadowDom)}(Me,o,this.componentDef.encapsulation):lu(Me,Ze,function J_(t){const n=t.toLowerCase();return"svg"===n?Hi:"math"===n?"math":null}(Ze)),zt=this.componentDef.onPush?288:272,dn=nf(0,null,null,1,0,null,null,null,null,null),Tn=Zl(null,dn,null,zt,null,null,w,Me,X,C,null);let Sn,Gn;Lo(Tn);try{const Jn=this.componentDef;let bn,li=null;Jn.findHostDirectiveDefs?(bn=[],li=new Map,Jn.findHostDirectiveDefs(Jn,bn,li),bn.push(Jn)):bn=[Jn];const so=function ev(t,n){const i=t[mn],o=ui;return t[o]=n,ka(i,o,2,"#host",null)}(Tn,Mt),xo=function tv(t,n,i,o,a,d,p,C){const w=a[mn];!function nv(t,n,i,o){for(const a of t)n.mergedAttrs=vo(n.mergedAttrs,a.hostAttrs);null!==n.mergedAttrs&&(ec(n,n.mergedAttrs,!0),null!==i&&Pl(o,i,n))}(o,t,n,p);const X=d.createRenderer(n,i),Me=Zl(a,np(i),null,i.onPush?32:16,a[t.index],t,d,X,C||null,null,null);return w.firstCreatePass&&sf(w,t,o.length-1),Jl(a,Me),a[t.index]=Me}(so,Mt,Jn,bn,Tn,w,Me);Gn=Er(dn,ui),Mt&&function ov(t,n,i,o){if(o)bi(t,i,["ng-version",U0.full]);else{const{attrs:a,classes:d}=function o_(t){const n=[],i=[];let o=1,a=2;for(;o0&&wl(t,i,d.join(" "))}}(Me,Jn,Mt,o),void 0!==i&&function rv(t,n,i){const o=t.projection=[];for(let a=0;a=0;o--){const a=t[o];a.hostVars=n+=a.hostVars,a.hostAttrs=vo(a.hostAttrs,i=vo(i,a.hostAttrs))}}(o)}function ff(t){return t===Nn?{}:t===Mn?[]:t}function uv(t,n){const i=t.viewQuery;t.viewQuery=i?(o,a)=>{n(o,a),i(o,a)}:n}function lv(t,n){const i=t.contentQueries;t.contentQueries=i?(o,a,d)=>{n(o,a,d),i(o,a,d)}:n}function cv(t,n){const i=t.hostBindings;t.hostBindings=i?(o,a)=>{n(o,a),i(o,a)}:n}function nc(t){return!!hf(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function hf(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Cs(t,n,i){return t[n]=i}function Ar(t,n,i){return!Object.is(t[n],i)&&(t[n]=i,!0)}function ca(t,n,i,o){const a=Ar(t,n,i);return Ar(t,n+1,o)||a}function pf(t,n,i,o){const a=T();return Ar(a,or(),n)&&(E(),bs(Gi(),a,t,n,i,o)),pf}function Na(t,n,i,o,a,d){const C=ca(t,function eo(){return y.lFrame.bindingIndex}(),i,a);return fo(2),C?n+Ve(i)+o+Ve(a)+d:gi}function wp(t,n,i,o,a,d,p,C){const w=T(),X=E(),Me=t+ui,Ze=X.firstCreatePass?function bv(t,n,i,o,a,d,p,C,w){const X=n.consts,Me=ka(n,t,4,p||null,Mo(X,C));rf(n,i,Me,Mo(X,w)),_s(n,Me);const Ze=Me.tView=nf(2,Me,o,a,d,n.directiveRegistry,n.pipeRegistry,null,n.schemas,X);return null!==n.queries&&(n.queries.template(n,Me),Ze.queries=n.queries.embeddedTView(Me)),Me}(Me,X,w,n,i,o,a,d,p):X.data[Me];ii(Ze,!1);const Mt=w[Wn].createComment("");Ca(X,w,Mt,Ze),gr(Mt,w),Jl(w,w[Me]=up(Mt,w,Mt,Ze)),go(Ze)&&ef(X,w,Ze),null!=p&&tf(w,Ze,C)}function Pp(t){return uo(function _o(){return y.lFrame.contextLView}(),ui+t)}function gf(t,n,i){const o=T();return Ar(o,or(),n)&&Qr(E(),Gi(),o,t,n,o[Wn],i,!1),gf}function mf(t,n,i,o,a){const p=a?"class":"style";cf(t,i,n.inputs[p],p,o)}function oc(t,n,i,o){const a=T(),d=E(),p=ui+t,C=a[Wn],w=d.firstCreatePass?function Dv(t,n,i,o,a,d){const p=n.consts,w=ka(n,t,2,o,Mo(p,a));return rf(n,i,w,Mo(p,d)),null!==w.attrs&&ec(w,w.attrs,!1),null!==w.mergedAttrs&&ec(w,w.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,w),w}(p,d,a,n,i,o):d.data[p],X=a[p]=lu(C,n,function js(){return y.lFrame.currentNamespace}()),Me=go(w);return ii(w,!0),Pl(C,X,w),32!=(32&w.flags)&&Ca(d,a,X,w),0===function Ye(){return y.lFrame.elementDepthCount}()&&gr(X,a),function Ct(){y.lFrame.elementDepthCount++}(),Me&&(ef(d,a,w),qd(d,w,a)),null!==o&&tf(a,w),oc}function rc(){let t=ft();Di()?mi():(t=t.parent,ii(t,!1));const n=t;!function Ot(){y.lFrame.elementDepthCount--}();const i=E();return i.firstCreatePass&&(_s(i,t),Si(t)&&i.queries.elementEnd(t)),null!=n.classesWithoutHost&&function _i(t){return 0!=(8&t.flags)}(n)&&mf(i,n,T(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function fi(t){return 0!=(16&t.flags)}(n)&&mf(i,n,T(),n.stylesWithoutHost,!1),rc}function _f(t,n,i,o){return oc(t,n,i,o),rc(),_f}function sc(t,n,i){const o=T(),a=E(),d=t+ui,p=a.firstCreatePass?function Tv(t,n,i,o,a){const d=n.consts,p=Mo(d,o),C=ka(n,t,8,"ng-container",p);return null!==p&&ec(C,p,!0),rf(n,i,C,Mo(d,a)),null!==n.queries&&n.queries.elementStart(n,C),C}(d,a,o,n,i):a.data[d];ii(p,!0);const C=o[d]=o[Wn].createComment("");return Ca(a,o,C,p),gr(C,o),go(p)&&(ef(a,o,p),qd(a,p,o)),null!=i&&tf(o,p),sc}function ac(){let t=ft();const n=E();return Di()?mi():(t=t.parent,ii(t,!1)),n.firstCreatePass&&(_s(n,t),Si(t)&&n.queries.elementEnd(t)),ac}function vf(t,n,i){return sc(t,n,i),ac(),vf}function Ap(){return T()}function yf(t){return!!t&&"function"==typeof t.then}function Sp(t){return!!t&&"function"==typeof t.subscribe}const Ip=Sp;function bf(t,n,i,o){const a=T(),d=E(),p=ft();return function Rp(t,n,i,o,a,d,p){const C=go(o),X=t.firstCreatePass&&cp(t),Me=n[Qn],Ze=lp(n);let Mt=!0;if(3&o.type||p){const Tn=zi(o,n),Sn=p?p(Tn):Tn,Gn=Ze.length,Jn=p?li=>p(Ei(li[o.index])):o.index;let bn=null;if(!p&&C&&(bn=function Mv(t,n,i,o){const a=t.cleanup;if(null!=a)for(let d=0;dw?C[w]:null}"string"==typeof p&&(d+=2)}return null}(t,n,a,o.index)),null!==bn)(bn.__ngLastListenerFn__||bn).__ngNextListenerFn__=d,bn.__ngLastListenerFn__=d,Mt=!1;else{d=Np(o,n,Me,d,!1);const li=i.listen(Sn,a,d);Ze.push(d,li),X&&X.push(a,Jn,Gn,Gn+1)}}else d=Np(o,n,Me,d,!1);const zt=o.outputs;let dn;if(Mt&&null!==zt&&(dn=zt[a])){const Tn=dn.length;if(Tn)for(let Sn=0;Sn-1?$i(t.index,n):n);let w=Lp(n,i,o,p),X=d.__ngNextListenerFn__;for(;X;)w=Lp(n,i,X,p)&&w,X=X.__ngNextListenerFn__;return a&&!1===w&&(p.preventDefault(),p.returnValue=!1),w}}function Fp(t=1){return function Vi(t){return(y.lFrame.contextLView=function kr(t,n){for(;t>0;)n=n[to],t--;return n}(t,y.lFrame.contextLView))[Qn]}(t)}function Ev(t,n){let i=null;const o=function Q0(t){const n=t.attrs;if(null!=n){const i=n.indexOf(5);if(!(1&i))return n[i+1]}return null}(t);for(let a=0;a>17&32767}function Df(t){return 2|t}function da(t){return(131068&t)>>2}function Tf(t,n){return-131069&t|n<<2}function Mf(t){return 1|t}function Zp(t,n,i,o,a){const d=t[i+1],p=null===n;let C=o?Qs(d):da(d),w=!1;for(;0!==C&&(!1===w||p);){const Me=t[C+1];Sv(t[C],n)&&(w=!0,t[C+1]=o?Mf(Me):Df(Me)),C=o?Qs(Me):da(Me)}w&&(t[i+1]=o?Df(d):Mf(d))}function Sv(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&Kt(t,n)>=0}const ur={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Xp(t){return t.substring(ur.key,ur.keyEnd)}function Jp(t,n){const i=ur.textEnd;return i===n?-1:(n=ur.keyEnd=function Lv(t,n,i){for(;n32;)n++;return n}(t,ur.key=n,i),ja(t,n,i))}function ja(t,n,i){for(;n=0;i=Jp(n,i))Te(t,Xp(n),!0)}function fs(t,n,i,o){const a=T(),d=E(),p=fo(2);d.firstUpdatePass&&og(d,t,p,o),n!==gi&&Ar(a,p,n)&&sg(d,d.data[Ni()],a,a[Wn],t,a[p+1]=function Wv(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=te(ls(t)))),t}(n,i),o,p)}function ig(t,n){return n>=t.expandoStartIndex}function og(t,n,i,o){const a=t.data;if(null===a[i+1]){const d=a[Ni()],p=ig(t,i);ug(d,o)&&null===n&&!p&&(n=!1),n=function Uv(t,n,i,o){const a=jn(t);let d=o?n.residualClasses:n.residualStyles;if(null===a)0===(o?n.classBindings:n.styleBindings)&&(i=ju(i=xf(null,t,n,i,o),n.attrs,o),d=null);else{const p=n.directiveStylingLast;if(-1===p||t[p]!==a)if(i=xf(a,t,n,i,o),null===d){let w=function Hv(t,n,i){const o=i?n.classBindings:n.styleBindings;if(0!==da(o))return t[Qs(o)]}(t,n,o);void 0!==w&&Array.isArray(w)&&(w=xf(null,t,n,w[1],o),w=ju(w,n.attrs,o),function zv(t,n,i,o){t[Qs(i?n.classBindings:n.styleBindings)]=o}(t,n,o,w))}else d=function Vv(t,n,i){let o;const a=n.directiveEnd;for(let d=1+n.directiveStylingLast;d0)&&(X=!0)):Me=i,a)if(0!==w){const Mt=Qs(t[C+1]);t[o+1]=uc(Mt,C),0!==Mt&&(t[Mt+1]=Tf(t[Mt+1],o)),t[C+1]=function xv(t,n){return 131071&t|n<<17}(t[C+1],o)}else t[o+1]=uc(C,0),0!==C&&(t[C+1]=Tf(t[C+1],o)),C=o;else t[o+1]=uc(w,0),0===C?C=o:t[w+1]=Tf(t[w+1],o),w=o;X&&(t[o+1]=Df(t[o+1])),Zp(t,Me,o,!0),Zp(t,Me,o,!1),function Av(t,n,i,o,a){const d=a?t.residualClasses:t.residualStyles;null!=d&&"string"==typeof n&&Kt(d,n)>=0&&(i[o+1]=Mf(i[o+1]))}(n,Me,t,o,d),p=uc(C,w),d?n.classBindings=p:n.styleBindings=p}(a,d,n,i,p,o)}}function xf(t,n,i,o,a){let d=null;const p=i.directiveEnd;let C=i.directiveStylingLast;for(-1===C?C=i.directiveStart:C++;C0;){const w=t[a],X=Array.isArray(w),Me=X?w[1]:w,Ze=null===Me;let Mt=i[a+1];Mt===gi&&(Mt=Ze?Mn:void 0);let zt=Ze?Tt(Mt,o):Me===o?Mt:void 0;if(X&&!lc(zt)&&(zt=Tt(w,o)),lc(zt)&&(C=zt,p))return C;const dn=t[a+1];a=p?Qs(dn):da(dn)}if(null!==n){let w=d?n.residualClasses:n.residualStyles;null!=w&&(C=Tt(w,o))}return C}function lc(t){return void 0!==t}function ug(t,n){return 0!=(t.flags&(n?8:16))}function lg(t,n=""){const i=T(),o=E(),a=t+ui,d=o.firstCreatePass?ka(o,a,1,n,null):o.data[a],p=i[a]=function uu(t,n){return t.createText(n)}(i[Wn],n);Ca(o,i,p,d),ii(d,!1)}function wf(t){return cc("",t,""),wf}function cc(t,n,i){const o=T(),a=function La(t,n,i,o){return Ar(t,or(),i)?n+Ve(i)+o:gi}(o,t,n,i);return a!==gi&&Hs(o,Ni(),a),cc}function Pf(t,n,i,o,a){const d=T(),p=Na(d,t,n,i,o,a);return p!==gi&&Hs(d,Ni(),p),Pf}function Af(t,n,i){const o=T();return Ar(o,or(),n)&&Qr(E(),Gi(),o,t,n,o[Wn],i,!0),Af}function Sf(t,n,i){const o=T();if(Ar(o,or(),n)){const d=E(),p=Gi();Qr(d,p,o,t,n,function dp(t,n,i){return(null===t||Pn(t))&&(i=function ao(t){for(;Array.isArray(t);){if("object"==typeof t[Qi])return t;t=t[Kn]}return null}(i[n.index])),i[Wn]}(jn(d.data),p,o),i,!0)}return Sf}const fa=void 0;var fy=["en",[["a","p"],["AM","PM"],fa],[["AM","PM"],fa,fa],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],fa,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],fa,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",fa,"{1} 'at' {0}",fa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function dy(t){const i=Math.floor(Math.abs(t)),o=t.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let $a={};function If(t){const n=function hy(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=xg(n);if(i)return i;const o=n.split("-")[0];if(i=xg(o),i)return i;if("en"===o)return fy;throw new ve(701,!1)}function Og(t){return If(t)[ei.PluralCase]}function xg(t){return t in $a||($a[t]=Le.ng&&Le.ng.common&&Le.ng.common.locales&&Le.ng.common.locales[t]),$a[t]}var ei=(()=>((ei=ei||{})[ei.LocaleId=0]="LocaleId",ei[ei.DayPeriodsFormat=1]="DayPeriodsFormat",ei[ei.DayPeriodsStandalone=2]="DayPeriodsStandalone",ei[ei.DaysFormat=3]="DaysFormat",ei[ei.DaysStandalone=4]="DaysStandalone",ei[ei.MonthsFormat=5]="MonthsFormat",ei[ei.MonthsStandalone=6]="MonthsStandalone",ei[ei.Eras=7]="Eras",ei[ei.FirstDayOfWeek=8]="FirstDayOfWeek",ei[ei.WeekendRange=9]="WeekendRange",ei[ei.DateFormat=10]="DateFormat",ei[ei.TimeFormat=11]="TimeFormat",ei[ei.DateTimeFormat=12]="DateTimeFormat",ei[ei.NumberSymbols=13]="NumberSymbols",ei[ei.NumberFormats=14]="NumberFormats",ei[ei.CurrencyCode=15]="CurrencyCode",ei[ei.CurrencySymbol=16]="CurrencySymbol",ei[ei.CurrencyName=17]="CurrencyName",ei[ei.Currencies=18]="Currencies",ei[ei.Directionality=19]="Directionality",ei[ei.PluralCase=20]="PluralCase",ei[ei.ExtraData=21]="ExtraData",ei))();const Ga="en-US";let wg=Ga;function Lf(t,n,i,o,a){if(t=Y(t),Array.isArray(t))for(let d=0;d>20;if(Fs(t)||!t.multi){const zt=new Je(w,a,Ia),dn=Ff(C,n,a?Me:Me+Mt,Ze);-1===dn?(ws(vs(X,p),d,C),Nf(d,t,n.length),n.push(C),X.directiveStart++,X.directiveEnd++,a&&(X.providerIndexes+=1048576),i.push(zt),p.push(zt)):(i[dn]=zt,p[dn]=zt)}else{const zt=Ff(C,n,Me+Mt,Ze),dn=Ff(C,n,Me,Me+Mt),Sn=dn>=0&&i[dn];if(a&&!Sn||!a&&!(zt>=0&&i[zt])){ws(vs(X,p),d,C);const Gn=function d1(t,n,i,o,a){const d=new Je(t,i,Ia);return d.multi=[],d.index=n,d.componentProviders=0,qg(d,a,o&&!i),d}(a?c1:l1,i.length,a,o,w);!a&&Sn&&(i[dn].providerFactory=Gn),Nf(d,t,n.length,0),n.push(C),X.directiveStart++,X.directiveEnd++,a&&(X.providerIndexes+=1048576),i.push(Gn),p.push(Gn)}else Nf(d,t,zt>-1?zt:dn,qg(i[a?dn:zt],w,!a&&o));!a&&o&&Sn&&i[dn].componentProviders++}}}function Nf(t,n,i,o){const a=Fs(n),d=function Yl(t){return!!t.useClass}(n);if(a||d){const w=(d?Y(n.useClass):n).prototype.ngOnDestroy;if(w){const X=t.destroyHooks||(t.destroyHooks=[]);if(!a&&n.multi){const Me=X.indexOf(i);-1===Me?X.push(i,[o,w]):X[Me+1].push(o,w)}else X.push(i,w)}}}function qg(t,n,i){return i&&t.componentProviders++,t.multi.push(n)-1}function Ff(t,n,i,o){for(let a=i;a{i.providersResolver=(o,a)=>function u1(t,n,i){const o=E();if(o.firstCreatePass){const a=Pn(t);Lf(i,o.data,o.blueprint,a,!0),Lf(n,o.data,o.blueprint,a,!1)}}(o,a?a(t):t,n)}}class Wa{}class tm{}function f1(t,n){return new nm(t,null!=n?n:null)}class nm extends Wa{constructor(n,i){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new hp(this);const o=en(n);this._bootstrapComponents=Us(o.bootstrap),this._r3Injector=Wh(n,i,[{provide:Wa,useValue:this},{provide:Nu,useValue:this.componentFactoryResolver}],te(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Uf extends tm{constructor(n){super(),this.moduleType=n}create(n){return new nm(this.moduleType,n)}}class h1 extends Wa{constructor(n,i,o){super(),this.componentFactoryResolver=new hp(this),this.instance=null;const a=new L([...n,{provide:Wa,useValue:this},{provide:Nu,useValue:this.componentFactoryResolver}],i||r(),o,new Set(["environment"]));this.injector=a,a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Hf(t,n,i=null){return new h1(t,n,i).injector}let p1=(()=>{class t{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i.id)){const o=jl(0,i.type),a=o.length>0?Hf([o],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i.id,a)}return this.cachedInjectors.get(i.id)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=wt({token:t,providedIn:"environment",factory:()=>new t(ot(f))}),t})();function im(t){t.getStandaloneInjector=n=>n.get(p1).getOrCreateStandaloneInjector(t)}function cm(t,n,i){const o=yi()+t,a=T();return a[o]===gi?Cs(a,o,i?n.call(i):n()):function Vu(t,n){return t[n]}(a,o)}function dm(t,n,i,o){return hm(T(),yi(),t,n,i,o)}function fm(t,n,i,o,a){return pm(T(),yi(),t,n,i,o,a)}function Zu(t,n){const i=t[n];return i===gi?void 0:i}function hm(t,n,i,o,a,d){const p=n+i;return Ar(t,p,a)?Cs(t,p+1,d?o.call(d,a):o(a)):Zu(t,p+1)}function pm(t,n,i,o,a,d,p){const C=n+i;return ca(t,C,a,d)?Cs(t,C+2,p?o.call(p,a,d):o(a,d)):Zu(t,C+2)}function gm(t,n,i,o,a,d,p,C){const w=n+i;return function ic(t,n,i,o,a){const d=ca(t,n,i,o);return Ar(t,n+2,a)||d}(t,w,a,d,p)?Cs(t,w+3,C?o.call(C,a,d,p):o(a,d,p)):Zu(t,w+3)}function vm(t,n){const i=E();let o;const a=t+ui;var d;i.firstCreatePass?(o=function A1(t,n){if(n)for(let i=n.length-1;i>=0;i--){const o=n[i];if(t===o.name)return o}}(n,i.pipeRegistry),i.data[a]=o,o.onDestroy&&(null!==(d=i.destroyHooks)&&void 0!==d?d:i.destroyHooks=[]).push(a,o.onDestroy)):o=i.data[a];const p=o.factory||(o.factory=co(o.type)),C=he(Ia);try{const w=Gr(!1),X=p();return Gr(w),function Cv(t,n,i,o){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),n[i]=o}(i,T(),a,X),X}finally{he(C)}}function ym(t,n,i){const o=t+ui,a=T(),d=uo(a,o);return Xu(a,o)?hm(a,yi(),n,d.transform,i,d):d.transform(i)}function bm(t,n,i,o){const a=t+ui,d=T(),p=uo(d,a);return Xu(d,a)?pm(d,yi(),n,p.transform,i,o,p):p.transform(i,o)}function Cm(t,n,i,o,a){const d=t+ui,p=T(),C=uo(p,d);return Xu(p,d)?gm(p,yi(),n,C.transform,i,o,a,C):C.transform(i,o,a)}function Xu(t,n){return t[mn].data[n].pure}function Vf(t){return n=>{setTimeout(t,void 0,n)}}const Ms=class k1 extends e.x{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,i,o){let a=n,d=i||(()=>null),p=o;if(n&&"object"==typeof n){var C,w,X;const Ze=n;a=null===(C=Ze.next)||void 0===C?void 0:C.bind(Ze),d=null===(w=Ze.error)||void 0===w?void 0:w.bind(Ze),p=null===(X=Ze.complete)||void 0===X?void 0:X.bind(Ze)}this.__isAsync&&(d=Vf(d),a&&(a=Vf(a)),p&&(p=Vf(p)));const Me=super.subscribe({next:a,error:d,complete:p});return n instanceof s.w0&&n.add(Me),Me}};function R1(){return this._results[Symbol.iterator]()}class gc{get changes(){return this._changes||(this._changes=new Ms)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=gc.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=R1)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,i){return this._results.reduce(n,i)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,i){const o=this;o.dirty=!1;const a=function Xo(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function va(t,n,i){if(t.length!==n.length)return!1;for(let o=0;o{class t{}return t.__NG_ELEMENT_ID__=F1,t})();const L1=Ju,N1=class extends L1{constructor(n,i,o){super(),this._declarationLView=n,this._declarationTContainer=i,this.elementRef=o}createEmbeddedView(n,i){const o=this._declarationTContainer.tView,a=Zl(this._declarationLView,o,n,16,null,o.declTNode,null,null,null,null,i||null);a[Wo]=this._declarationLView[this._declarationTContainer.index];const p=this._declarationLView[no];return null!==p&&(a[no]=p.createEmbeddedView(o)),Qd(o,a,n),new Hu(a)}};function F1(){return mc(ft(),T())}function mc(t,n){return 4&t.type?new N1(n,t,Pa(t,n)):null}let _c=(()=>{class t{}return t.__NG_ELEMENT_ID__=B1,t})();function B1(){return Mm(ft(),T())}const U1=_c,Dm=class extends U1{constructor(n,i,o){super(),this._lContainer=n,this._hostTNode=i,this._hostLView=o}get element(){return Pa(this._hostTNode,this._hostLView)}get injector(){return new ar(this._hostTNode,this._hostLView)}get parentInjector(){const n=Uo(this._hostTNode,this._hostLView);if(Go(n)){const i=br(n,this._hostLView),o=rr(n);return new ar(i[mn].data[o+8],i)}return new ar(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const i=Tm(this._lContainer);return null!==i&&i[n]||null}get length(){return this._lContainer.length-ji}createEmbeddedView(n,i,o){let a,d;"number"==typeof o?a=o:null!=o&&(a=o.index,d=o.injector);const p=n.createEmbeddedView(i||{},d);return this.insert(p,a),p}createComponent(n,i,o,a,d){const p=n&&!function hr(t){return"function"==typeof t}(n);let C;if(p)C=i;else{const Ze=i||{};C=Ze.index,o=Ze.injector,a=Ze.projectableNodes,d=Ze.environmentInjector||Ze.ngModuleRef}const w=p?n:new zu(dt(n)),X=o||this.parentInjector;if(!d&&null==w.ngModule){const Mt=(p?X:this.parentInjector).get(f,null);Mt&&(d=Mt)}const Me=w.create(X,a,void 0,d);return this.insert(Me.hostView,C),Me}insert(n,i){const o=n._lView,a=o[mn];if(function vr(t){return Yi(t[$n])}(o)){const Me=this.indexOf(n);if(-1!==Me)this.detach(Me);else{const Ze=o[$n],Mt=new Dm(Ze,Ze[Xn],Ze[$n]);Mt.detach(Mt.indexOf(n))}}const d=this._adjustIndex(i),p=this._lContainer;!function rd(t,n,i,o){const a=ji+o,d=i.length;o>0&&(i[a-1][ci]=n),o0)o.push(p[C/2]);else{const X=d[C+1],Me=n[-w];for(let Ze=ji;Ze{class t{constructor(i){this.appInits=i,this.resolve=yc,this.reject=yc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,a)=>{this.resolve=o,this.reject=a})}runInitializers(){if(this.initialized)return;const i=[],o=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let a=0;a{d.subscribe({complete:C,error:w})});i.push(p)}}Promise.all(i).then(()=>{o()}).catch(a=>{this.reject(a)}),0===i.length&&o(),this.initialized=!0}}return t.\u0275fac=function(i){return new(i||t)(ot(Qm,8))},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const qm=new _n("AppId",{providedIn:"root",factory:function e0(){return`${eh()}${eh()}${eh()}`}});function eh(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const t0=new _n("Platform Initializer"),db=new _n("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),fb=new _n("AnimationModuleType");let hb=(()=>{class t{log(i){console.log(i)}warn(i){console.warn(i)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Cc=new _n("LocaleId",{providedIn:"root",factory:()=>it(Cc,cn.Optional|cn.SkipSelf)||function pb(){return typeof $localize<"u"&&$localize.locale||Ga}()}),gb=new _n("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class mb{constructor(n,i){this.ngModuleFactory=n,this.componentFactories=i}}let _b=(()=>{class t{compileModuleSync(i){return new Uf(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),d=Us(en(i).declarations).reduce((p,C)=>{const w=dt(C);return w&&p.push(new zu(w)),p},[]);return new mb(o,d)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const bb=(()=>Promise.resolve(0))();function th(t){typeof Zone>"u"?bb.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class rs{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ms(!1),this.onMicrotaskEmpty=new Ms(!1),this.onStable=new Ms(!1),this.onError=new Ms(!1),typeof Zone>"u")throw new ve(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&i,a.shouldCoalesceRunChangeDetection=o,a.lastRequestAnimationFrameId=-1,a.nativeRequestAnimationFrame=function Cb(){let t=Le.requestAnimationFrame,n=Le.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Mb(t){const n=()=>{!function Tb(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Le,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,ih(t),t.isCheckStableRunning=!0,nh(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),ih(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,a,d,p,C)=>{try{return r0(t),i.invokeTask(a,d,p,C)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===d.type||t.shouldCoalesceRunChangeDetection)&&n(),s0(t)}},onInvoke:(i,o,a,d,p,C,w)=>{try{return r0(t),i.invoke(a,d,p,C,w)}finally{t.shouldCoalesceRunChangeDetection&&n(),s0(t)}},onHasTask:(i,o,a,d)=>{i.hasTask(a,d),o===a&&("microTask"==d.change?(t._hasPendingMicrotasks=d.microTask,ih(t),nh(t)):"macroTask"==d.change&&(t.hasPendingMacrotasks=d.macroTask))},onHandleError:(i,o,a,d)=>(i.handleError(a,d),t.runOutsideAngular(()=>t.onError.emit(d)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!rs.isInAngularZone())throw new ve(909,!1)}static assertNotInAngularZone(){if(rs.isInAngularZone())throw new ve(909,!1)}run(n,i,o){return this._inner.run(n,i,o)}runTask(n,i,o,a){const d=this._inner,p=d.scheduleEventTask("NgZoneEvent: "+a,n,Db,yc,yc);try{return d.runTask(p,i,o)}finally{d.cancelTask(p)}}runGuarded(n,i,o){return this._inner.runGuarded(n,i,o)}runOutsideAngular(n){return this._outer.run(n)}}const Db={};function nh(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ih(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function r0(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function s0(t){t._nesting--,nh(t)}class Eb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ms,this.onMicrotaskEmpty=new Ms,this.onStable=new Ms,this.onError=new Ms}run(n,i,o){return n.apply(i,o)}runGuarded(n,i,o){return n.apply(i,o)}runOutsideAngular(n){return n()}runTask(n,i,o,a){return n.apply(i,o)}}const a0=new _n(""),u0=new _n("");let oh,Ob=(()=>{class t{constructor(i,o,a){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,oh||(function xb(t){oh=t}(a),a.addToWindow(o)),this._watchAngularEvents(),i.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:()=>{rs.assertNotInAngularZone(),th(()=>{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())th(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,a){let d=-1;o&&o>0&&(d=setTimeout(()=>{this._callbacks=this._callbacks.filter(p=>p.timeoutId!==d),i(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:i,timeoutId:d,updateCb:a})}whenStable(i,o,a){if(a&&!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(i,o,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,a){return[]}}return t.\u0275fac=function(i){return new(i||t)(ot(rs),ot(l0),ot(u0))},t.\u0275prov=wt({token:t,factory:t.\u0275fac}),t})(),l0=(()=>{class t{constructor(){this._applications=new Map}registerApplication(i,o){this._applications.set(i,o)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,o=!0){var a,d;return null!==(a=null===(d=oh)||void 0===d?void 0:d.findTestabilityInTree(this,i,o))&&void 0!==a?a:null}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const zs=!1;let qs=null;const c0=new _n("AllowMultipleToken"),rh=new _n("PlatformDestroyListeners"),d0=new _n("appBootstrapListener");class Ab{constructor(n,i){this.name=n,this.token=i}}function h0(t,n,i=[]){const o=`Platform: ${n}`,a=new _n(o);return(d=[])=>{let p=sh();if(!p||p.injector.get(c0,!1)){const C=[...i,...d,{provide:a,useValue:!0}];t?t(C):function Sb(t){if(qs&&!qs.get(c0,!1))throw new ve(400,!1);qs=t;const n=t.get(g0);(function f0(t){const n=t.get(t0,null);n&&n.forEach(i=>i())})(t)}(function p0(t=[],n){return la.create({name:n,providers:[{provide:Lu,useValue:"platform"},{provide:rh,useValue:new Set([()=>qs=null])},...t]})}(C,o))}return function kb(t){const n=sh();if(!n)throw new ve(401,!1);return n}()}}function sh(){var t,n;return null!==(t=null===(n=qs)||void 0===n?void 0:n.get(g0))&&void 0!==t?t:null}let g0=(()=>{class t{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,o){const a=function _0(t,n){let i;return i="noop"===t?new Eb:("zone.js"===t?void 0:t)||new rs(n),i}(null==o?void 0:o.ngZone,function m0(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(o)),d=[{provide:rs,useValue:a}];return a.run(()=>{const p=la.create({providers:d,parent:this.injector,name:i.moduleType.name}),C=i.create(p),w=C.injector.get(Bu,null);if(!w)throw new ve(402,!1);return a.runOutsideAngular(()=>{const X=a.onError.subscribe({next:Me=>{w.handleError(Me)}});C.onDestroy(()=>{Tc(this._modules,C),X.unsubscribe()})}),function v0(t,n,i){try{const o=i();return yf(o)?o.catch(a=>{throw n.runOutsideAngular(()=>t.handleError(a)),a}):o}catch(o){throw n.runOutsideAngular(()=>t.handleError(o)),o}}(w,a,()=>{const X=C.injector.get(bc);return X.runInitializers(),X.donePromise.then(()=>(function Pg(t){ze(t,"Expected localeId to be defined"),"string"==typeof t&&(wg=t.toLowerCase().replace(/_/g,"-"))}(C.injector.get(Cc,Ga)||Ga),this._moduleDoBootstrap(C),C))})})}bootstrapModule(i,o=[]){const a=y0({},o);return function wb(t,n,i){const o=new Uf(i);return Promise.resolve(o)}(0,0,i).then(d=>this.bootstrapModuleFactory(d,a))}_moduleDoBootstrap(i){const o=i.injector.get(Dc);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(a=>o.bootstrap(a));else{if(!i.instance.ngDoBootstrap)throw new ve(-403,!1);i.instance.ngDoBootstrap(o)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ve(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const i=this._injector.get(rh,null);i&&(i.forEach(o=>o()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(i){return new(i||t)(ot(la))},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function y0(t,n){return Array.isArray(n)?n.reduce(y0,t):{...t,...n}}let Dc=(()=>{class t{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(i,o,a){this._zone=i,this._injector=o,this._exceptionHandler=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const d=new k.y(C=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{C.next(this._stable),C.complete()})}),p=new k.y(C=>{let w;this._zone.runOutsideAngular(()=>{w=this._zone.onStable.subscribe(()=>{rs.assertNotInAngularZone(),th(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,C.next(!0))})})});const X=this._zone.onUnstable.subscribe(()=>{rs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{C.next(!1)}))});return()=>{w.unsubscribe(),X.unsubscribe()}});this.isStable=(0,z.T)(d,p.pipe((0,F.B)()))}bootstrap(i,o){const a=i instanceof is;if(!this._injector.get(bc).done){!a&&rn(i);throw new ve(405,zs)}let p;p=a?i:this._injector.get(Nu).resolveComponentFactory(i),this.componentTypes.push(p.componentType);const C=function Pb(t){return t.isBoundToModule}(p)?void 0:this._injector.get(Wa),X=p.create(la.NULL,[],o||p.selector,C),Me=X.location.nativeElement,Ze=X.injector.get(a0,null);return null==Ze||Ze.registerApplication(Me),X.onDestroy(()=>{this.detachView(X.hostView),Tc(this.components,X),null==Ze||Ze.unregisterApplication(Me)}),this._loadComponent(X),X}tick(){if(this._runningTick)throw new ve(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(i))}finally{this._runningTick=!1}}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;Tc(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(d0,[]);o.push(...this._bootstrapListeners),o.forEach(a=>a(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Tc(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new ve(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(i){return new(i||t)(ot(rs),ot(f),ot(Bu))},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Tc(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}function Lb(){return!1}let Nb=(()=>{class t{}return t.__NG_ELEMENT_ID__=Fb,t})();function Fb(t){return function Bb(t,n,i){if(oo(t)&&!i){const o=$i(t.index,n);return new Hu(o,o)}return 47&t.type?new Hu(n[Ri],n):null}(ft(),T(),16==(16&t))}class M0{constructor(){}supports(n){return nc(n)}create(n){return new $b(n)}}const jb=(t,n)=>n;class $b{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||jb}forEachItem(n){let i;for(i=this._itHead;null!==i;i=i._next)n(i)}forEachOperation(n){let i=this._itHead,o=this._removalsHead,a=0,d=null;for(;i||o;){const p=!o||i&&i.currentIndex{p=this._trackByFn(a,C),null!==i&&Object.is(i.trackById,p)?(o&&(i=this._verifyReinsertion(i,C,p,a)),Object.is(i.item,C)||this._addIdentityChange(i,C)):(i=this._mismatch(i,C,p,a),o=!0),i=i._next,a++}),this.length=a;return this._truncate(i),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,i,o,a){let d;return null===n?d=this._itTail:(d=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._reinsertAfter(n,d,a)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(o,a))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._moveAfter(n,d,a)):n=this._addAfter(new Gb(i,o),d,a),n}_verifyReinsertion(n,i,o,a){let d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==d?n=this._reinsertAfter(d,n._prev,a):n.currentIndex!=a&&(n.currentIndex=a,this._addToMoves(n,a)),n}_truncate(n){for(;null!==n;){const i=n._next;this._addToRemovals(this._unlink(n)),n=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const a=n._prevRemoved,d=n._nextRemoved;return null===a?this._removalsHead=d:a._nextRemoved=d,null===d?this._removalsTail=a:d._prevRemoved=a,this._insertAfter(n,i,o),this._addToMoves(n,o),n}_moveAfter(n,i,o){return this._unlink(n),this._insertAfter(n,i,o),this._addToMoves(n,o),n}_addAfter(n,i,o){return this._insertAfter(n,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,i,o){const a=null===i?this._itHead:i._next;return n._next=a,n._prev=i,null===a?this._itTail=n:a._prev=n,null===i?this._itHead=n:i._next=n,null===this._linkedRecords&&(this._linkedRecords=new E0),this._linkedRecords.put(n),n.currentIndex=o,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const i=n._prev,o=n._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,n}_addToMoves(n,i){return n.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new E0),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,i){return n.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Gb{constructor(n,i){this.item=n,this.trackById=i,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 Wb{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,n))return o;return null}remove(n){const i=n._prevDup,o=n._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class E0{constructor(){this.map=new Map}put(n){const i=n.trackById;let o=this.map.get(i);o||(o=new Wb,this.map.set(i,o)),o.add(n)}get(n,i){const a=this.map.get(n);return a?a.get(n,i):null}remove(n){const i=n.trackById;return this.map.get(i).remove(n)&&this.map.delete(i),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function O0(t,n,i){const o=t.previousIndex;if(null===o)return o;let a=0;return i&&o{if(i&&i.key===a)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const d=this._getOrCreateRecordForKey(a,o);i=this._insertBeforeOrAppend(i,d)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let o=i;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,i){if(n){const o=n._prev;return i._next=n,i._prev=o,n._prev=i,o&&(o._next=i),n===this._mapHead&&(this._mapHead=i),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(n,i){if(this._records.has(n)){const a=this._records.get(n);this._maybeAddToChanges(a,i);const d=a._prev,p=a._next;return d&&(d._next=p),p&&(p._prev=d),a._next=null,a._prev=null,a}const o=new Kb(n);return this._records.set(n,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,i){Object.is(i,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=i,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,i){n instanceof Map?n.forEach(i):Object.keys(n).forEach(o=>i(n[o],o))}}class Kb{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function w0(){return new dh([new M0])}let dh=(()=>{class t{constructor(i){this.factories=i}static create(i,o){if(null!=o){const a=o.factories.slice();i=i.concat(a)}return new t(i)}static extend(i){return{provide:t,useFactory:o=>t.create(i,o||w0()),deps:[[t,new Ss,new Jo]]}}find(i){const o=this.factories.find(a=>a.supports(i));if(null!=o)return o;throw new ve(901,!1)}}return t.\u0275prov=wt({token:t,providedIn:"root",factory:w0}),t})();function P0(){return new fh([new x0])}let fh=(()=>{class t{constructor(i){this.factories=i}static create(i,o){if(o){const a=o.factories.slice();i=i.concat(a)}return new t(i)}static extend(i){return{provide:t,useFactory:o=>t.create(i,o||P0()),deps:[[t,new Ss,new Jo]]}}find(i){const o=this.factories.find(a=>a.supports(i));if(o)return o;throw new ve(901,!1)}}return t.\u0275prov=wt({token:t,providedIn:"root",factory:P0}),t})();const Jb=h0(null,"core",[]);let Qb=(()=>{class t{constructor(i){}}return t.\u0275fac=function(i){return new(i||t)(ot(Dc))},t.\u0275mod=I({type:t}),t.\u0275inj=St({}),t})();function qb(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}},9900:(Ht,Fe,c)=>{"use strict";c.d(Fe,{gN:()=>yt,Fj:()=>se,NI:()=>Ri,oH:()=>Ii,u:()=>Ur,cw:()=>Ie,sg:()=>xi,u5:()=>sn,JU:()=>ie,a5:()=>Re,JJ:()=>Le,JL:()=>fe,On:()=>bo,UX:()=>kn,_Y:()=>ji});var e=c(4537),s=c(8692),k=c(985),z=c(7241),F=c(447),ne=c(5955),W=c(6651),te=c(8499),pe=c(2692),ce=c(9299),Y=c(7969);let _e=(()=>{class T{constructor(M,ae){this._renderer=M,this._elementRef=ae,this.onChange=ft=>{},this.onTouched=()=>{}}setProperty(M,ae){this._renderer.setProperty(this._elementRef.nativeElement,M,ae)}registerOnTouched(M){this.onTouched=M}registerOnChange(M){this.onChange=M}setDisabledState(M){this.setProperty("disabled",M)}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(e.Qsj),e.Y36(e.SBq))},T.\u0275dir=e.lG2({type:T}),T})(),ue=(()=>{class T extends _e{}return T.\u0275fac=function(){let E;return function(ae){return(E||(E=e.n5z(T)))(ae||T)}}(),T.\u0275dir=e.lG2({type:T,features:[e.qOj]}),T})();const ie=new e.OlP("NgValueAccessor"),Ae={provide:ie,useExisting:(0,e.Gpc)(()=>se),multi:!0},je=new e.OlP("CompositionEventMode");let se=(()=>{class T extends _e{constructor(M,ae,ft){super(M,ae),this._compositionMode=ft,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Ve(){const T=(0,s.q)()?(0,s.q)().getUserAgent():"";return/android (\d+)/.test(T.toLowerCase())}())}writeValue(M){this.setProperty("value",null==M?"":M)}_handleInput(M){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(M)}_compositionStart(){this._composing=!0}_compositionEnd(M){this._composing=!1,this._compositionMode&&this.onChange(M)}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(je,8))},T.\u0275dir=e.lG2({type:T,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(M,ae){1&M&&e.NdJ("input",function(Dn){return ae._handleInput(Dn.target.value)})("blur",function(){return ae.onTouched()})("compositionstart",function(){return ae._compositionStart()})("compositionend",function(Dn){return ae._compositionEnd(Dn.target.value)})},features:[e._Bn([Ae]),e.qOj]}),T})();const ee=!1,_t=new e.OlP("NgValidators"),vt=new e.OlP("NgAsyncValidators");function ze(T){return null!=T}function N(T){const E=(0,e.QGY)(T)?(0,k.D)(T):T;if(ee&&!(0,e.CqO)(E)){let M="Expected async validator to return Promise or Observable.";throw"object"==typeof T&&(M+=" Are you using a synchronous validator where an async validator is expected?"),new e.vHH(-1101,M)}return E}function Se(T){let E={};return T.forEach(M=>{E=null!=M?{...E,...M}:E}),0===Object.keys(E).length?null:E}function et(T,E){return E.map(M=>M(T))}function wt(T){return T.map(E=>function pt(T){return!T.validate}(E)?E:M=>E.validate(M))}function St(T){return null!=T?function Cn(T){if(!T)return null;const E=T.filter(ze);return 0==E.length?null:function(M){return Se(et(M,E))}}(wt(T)):null}function It(T){return null!=T?function Ft(T){if(!T)return null;const E=T.filter(ze);return 0==E.length?null:function(M){return function de(...T){const E=(0,W.jO)(T),{args:M,keys:ae}=(0,F.D)(T),ft=new z.y(Dn=>{const{length:zn}=M;if(!zn)return void Dn.complete();const ii=new Array(zn);let Di=zn,mi=zn;for(let _o=0;_o{Ro||(Ro=!0,mi--),ii[_o]=qi},()=>Di--,void 0,()=>{(!Di||!Ro)&&(mi||Dn.next(ae?(0,ce.n)(ae,ii):ii),Dn.complete())}))}});return E?ft.pipe((0,pe.Z)(E)):ft}(et(M,E).map(N)).pipe((0,Y.U)(Se))}}(wt(T)):null}function Rt(T,E){return null===T?[E]:Array.isArray(T)?[...T,E]:[T,E]}function Zt(T){return T._rawValidators}function Ut(T){return T._rawAsyncValidators}function Dt(T){return T?Array.isArray(T)?T:[T]:[]}function Xt(T,E){return Array.isArray(T)?T.includes(E):T===E}function Qt(T,E){const M=Dt(E);return Dt(T).forEach(ft=>{Xt(M,ft)||M.push(ft)}),M}function hn(T,E){return Dt(E).filter(M=>!Xt(T,M))}class cn{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(E){this._rawValidators=E||[],this._composedValidatorFn=St(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=It(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E){this.control&&this.control.reset(E)}hasError(E,M){return!!this.control&&this.control.hasError(E,M)}getError(E,M){return this.control?this.control.getError(E,M):null}}class yt extends cn{get formDirective(){return null}get path(){return null}}class Re extends cn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class he{constructor(E){this._cd=E}get isTouched(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.touched)}get isUntouched(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.untouched)}get isPristine(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.pristine)}get isDirty(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.dirty)}get isValid(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.valid)}get isInvalid(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.invalid)}get isPending(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.pending)}get isSubmitted(){var E;return!(null===(E=this._cd)||void 0===E||!E.submitted)}}let Le=(()=>{class T extends he{constructor(M){super(M)}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(Re,2))},T.\u0275dir=e.lG2({type:T,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(M,ae){2&M&&e.ekj("ng-untouched",ae.isUntouched)("ng-touched",ae.isTouched)("ng-pristine",ae.isPristine)("ng-dirty",ae.isDirty)("ng-valid",ae.isValid)("ng-invalid",ae.isInvalid)("ng-pending",ae.isPending)},features:[e.qOj]}),T})(),fe=(()=>{class T extends he{constructor(M){super(M)}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(yt,10))},T.\u0275dir=e.lG2({type:T,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(M,ae){2&M&&e.ekj("ng-untouched",ae.isUntouched)("ng-touched",ae.isTouched)("ng-pristine",ae.isPristine)("ng-dirty",ae.isDirty)("ng-valid",ae.isValid)("ng-invalid",ae.isInvalid)("ng-pending",ae.isPending)("ng-submitted",ae.isSubmitted)},features:[e.qOj]}),T})();function lt(T,E){return T?`with name: '${E}'`:`at index: ${E}`}const Pe=!1,bt="VALID",gt="INVALID",on="PENDING",$t="DISABLED";function vn(T){return(oe(T)?T.validators:T)||null}function Nn(T,E){return(oe(E)?E.asyncValidators:T)||null}function oe(T){return null!=T&&!Array.isArray(T)&&"object"==typeof T}class le{constructor(E,M){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(E),this._assignAsyncValidators(M)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get valid(){return this.status===bt}get invalid(){return this.status===gt}get pending(){return this.status==on}get disabled(){return this.status===$t}get enabled(){return this.status!==$t}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._assignValidators(E)}setAsyncValidators(E){this._assignAsyncValidators(E)}addValidators(E){this.setValidators(Qt(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(Qt(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(hn(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(hn(E,this._rawAsyncValidators))}hasValidator(E){return Xt(this._rawValidators,E)}hasAsyncValidator(E){return Xt(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){this.touched=!0,this._parent&&!E.onlySelf&&this._parent.markAsTouched(E)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(E=>E.markAllAsTouched())}markAsUntouched(E={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(M=>{M.markAsUntouched({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}markAsDirty(E={}){this.pristine=!1,this._parent&&!E.onlySelf&&this._parent.markAsDirty(E)}markAsPristine(E={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(M=>{M.markAsPristine({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}markAsPending(E={}){this.status=on,!1!==E.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!E.onlySelf&&this._parent.markAsPending(E)}disable(E={}){const M=this._parentMarkedDirty(E.onlySelf);this.status=$t,this.errors=null,this._forEachChild(ae=>{ae.disable({...E,onlySelf:!0})}),this._updateValue(),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...E,skipPristineCheck:M}),this._onDisabledChange.forEach(ae=>ae(!0))}enable(E={}){const M=this._parentMarkedDirty(E.onlySelf);this.status=bt,this._forEachChild(ae=>{ae.enable({...E,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors({...E,skipPristineCheck:M}),this._onDisabledChange.forEach(ae=>ae(!1))}_updateAncestors(E){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(E){this._parent=E}getRawValue(){return this.value}updateValueAndValidity(E={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bt||this.status===on)&&this._runAsyncValidator(E.emitEvent)),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity(E)}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(M=>M._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$t:bt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E){if(this.asyncValidator){this.status=on,this._hasOwnPendingAsyncValidator=!0;const M=N(this.asyncValidator(this));this._asyncValidationSubscription=M.subscribe(ae=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ae,{emitEvent:E})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(E,M={}){this.errors=E,this._updateControlsErrors(!1!==M.emitEvent)}get(E){let M=E;return null==M||(Array.isArray(M)||(M=M.split(".")),0===M.length)?null:M.reduce((ae,ft)=>ae&&ae._find(ft),this)}getError(E,M){const ae=M?this.get(M):this;return ae&&ae.errors?ae.errors[E]:null}hasError(E,M){return!!this.getError(E,M)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(E)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?$t:this.errors?gt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(on)?on:this._anyControlsHaveStatus(gt)?gt:bt}_anyControlsHaveStatus(E){return this._anyControls(M=>M.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E={}){this.pristine=!this._anyControlsDirty(),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}_updateTouched(E={}){this.touched=this._anyControlsTouched(),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){oe(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(E){return null}_assignValidators(E){this._rawValidators=Array.isArray(E)?E.slice():E,this._composedValidatorFn=function Jt(T){return Array.isArray(T)?St(T):T||null}(this._rawValidators)}_assignAsyncValidators(E){this._rawAsyncValidators=Array.isArray(E)?E.slice():E,this._composedAsyncValidatorFn=function Mn(T){return Array.isArray(T)?It(T):T||null}(this._rawAsyncValidators)}}class Ie extends le{constructor(E,M,ae){super(vn(M),Nn(ae,M)),this.controls=E,this._initObservables(),this._setUpdateStrategy(M),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(E,M){return this.controls[E]?this.controls[E]:(this.controls[E]=M,M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange),M)}addControl(E,M,ae={}){this.registerControl(E,M),this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}removeControl(E,M={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],this.updateValueAndValidity({emitEvent:M.emitEvent}),this._onCollectionChange()}setControl(E,M,ae={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],M&&this.registerControl(E,M),this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}contains(E){return this.controls.hasOwnProperty(E)&&this.controls[E].enabled}setValue(E,M={}){(function H(T,E,M){T._forEachChild((ae,ft)=>{if(void 0===M[ft])throw new e.vHH(1002,Pe?function V(T,E){return`Must supply a value for form control ${lt(T,E)}`}(E,ft):"")})})(this,!0,E),Object.keys(E).forEach(ae=>{(function Q(T,E,M){const ae=T.controls;if(!(E?Object.keys(ae):ae).length)throw new e.vHH(1e3,Pe?function it(T){return`\n There are no form controls registered with this ${T?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(E):"");if(!ae[M])throw new e.vHH(1001,Pe?function st(T,E){return`Cannot find form control ${lt(T,E)}`}(E,M):"")})(this,!0,ae),this.controls[ae].setValue(E[ae],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M)}patchValue(E,M={}){null!=E&&(Object.keys(E).forEach(ae=>{const ft=this.controls[ae];ft&&ft.patchValue(E[ae],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M))}reset(E={},M={}){this._forEachChild((ae,ft)=>{ae.reset(E[ft],{onlySelf:!0,emitEvent:M.emitEvent})}),this._updatePristine(M),this._updateTouched(M),this.updateValueAndValidity(M)}getRawValue(){return this._reduceChildren({},(E,M,ae)=>(E[ae]=M.getRawValue(),E))}_syncPendingControls(){let E=this._reduceChildren(!1,(M,ae)=>!!ae._syncPendingControls()||M);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_forEachChild(E){Object.keys(this.controls).forEach(M=>{const ae=this.controls[M];ae&&E(ae,M)})}_setUpControls(){this._forEachChild(E=>{E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(E){for(const[M,ae]of Object.entries(this.controls))if(this.contains(M)&&E(ae))return!0;return!1}_reduceValue(){return this._reduceChildren({},(M,ae,ft)=>((ae.enabled||this.disabled)&&(M[ft]=ae.value),M))}_reduceChildren(E,M){let ae=E;return this._forEachChild((ft,Dn)=>{ae=M(ae,ft,Dn)}),ae}_allControlsDisabled(){for(const E of Object.keys(this.controls))if(this.controls[E].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(E){return this.controls.hasOwnProperty(E)?this.controls[E]:null}}const Ne=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>U}),U="always";function I(T,E){return[...E.path,T]}function A(T,E,M=U){var ae,ft;dt(T,E),E.valueAccessor.writeValue(T.value),(T.disabled||"always"===M)&&(null===(ae=(ft=E.valueAccessor).setDisabledState)||void 0===ae||ae.call(ft,T.disabled)),function Yt(T,E){E.valueAccessor.registerOnChange(M=>{T._pendingValue=M,T._pendingChange=!0,T._pendingDirty=!0,"change"===T.updateOn&&en(T,E)})}(T,E),function gn(T,E){const M=(ae,ft)=>{E.valueAccessor.writeValue(ae),ft&&E.viewToModelUpdate(ae)};T.registerOnChange(M),E._registerOnDestroy(()=>{T._unregisterOnChange(M)})}(T,E),function rn(T,E){E.valueAccessor.registerOnTouched(()=>{T._pendingTouched=!0,"blur"===T.updateOn&&T._pendingChange&&en(T,E),"submit"!==T.updateOn&&T.markAsTouched()})}(T,E),function ct(T,E){if(E.valueAccessor.setDisabledState){const M=ae=>{E.valueAccessor.setDisabledState(ae)};T.registerOnDisabledChange(M),E._registerOnDestroy(()=>{T._unregisterOnDisabledChange(M)})}}(T,E)}function $(T,E,M=!0){const ae=()=>{};E.valueAccessor&&(E.valueAccessor.registerOnChange(ae),E.valueAccessor.registerOnTouched(ae)),Bt(T,E),T&&(E._invokeOnDestroyCallbacks(),T._registerOnCollectionChange(()=>{}))}function xe(T,E){T.forEach(M=>{M.registerOnValidatorChange&&M.registerOnValidatorChange(E)})}function dt(T,E){const M=Zt(T);null!==E.validator?T.setValidators(Rt(M,E.validator)):"function"==typeof M&&T.setValidators([M]);const ae=Ut(T);null!==E.asyncValidator?T.setAsyncValidators(Rt(ae,E.asyncValidator)):"function"==typeof ae&&T.setAsyncValidators([ae]);const ft=()=>T.updateValueAndValidity();xe(E._rawValidators,ft),xe(E._rawAsyncValidators,ft)}function Bt(T,E){let M=!1;if(null!==T){if(null!==E.validator){const ft=Zt(T);if(Array.isArray(ft)&&ft.length>0){const Dn=ft.filter(zn=>zn!==E.validator);Dn.length!==ft.length&&(M=!0,T.setValidators(Dn))}}if(null!==E.asyncValidator){const ft=Ut(T);if(Array.isArray(ft)&&ft.length>0){const Dn=ft.filter(zn=>zn!==E.asyncValidator);Dn.length!==ft.length&&(M=!0,T.setAsyncValidators(Dn))}}}const ae=()=>{};return xe(E._rawValidators,ae),xe(E._rawAsyncValidators,ae),M}function en(T,E){T._pendingDirty&&T.markAsDirty(),T.setValue(T._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(T._pendingValue),T._pendingChange=!1}function ri(T,E){if(!T.hasOwnProperty("model"))return!1;const M=T.model;return!!M.isFirstChange()||!Object.is(E,M.currentValue)}function Qn(T,E){if(!E)return null;let M,ae,ft;return Array.isArray(E),E.forEach(Dn=>{Dn.constructor===se?M=Dn:function Xn(T){return Object.getPrototypeOf(T.constructor)===ue}(Dn)?ae=Dn:ft=Dn}),ft||ae||M||null}function Mi(T,E){const M=T.indexOf(E);M>-1&&T.splice(M,1)}function to(T){return"object"==typeof T&&null!==T&&2===Object.keys(T).length&&"value"in T&&"disabled"in T}const Ri=class extends le{constructor(E=null,M,ae){super(vn(M),Nn(ae,M)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(M),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),oe(M)&&(M.nonNullable||M.initialValueIsDefault)&&(this.defaultValue=to(E)?E.value:E)}setValue(E,M={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==M.emitModelToViewChange&&this._onChange.forEach(ae=>ae(this.value,!1!==M.emitViewToModelChange)),this.updateValueAndValidity(M)}patchValue(E,M={}){this.setValue(E,M)}reset(E=this.defaultValue,M={}){this._applyFormState(E),this.markAsPristine(M),this.markAsUntouched(M),this.setValue(this.value,M),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){Mi(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){Mi(this._onDisabledChange,E)}_forEachChild(E){}_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(E){to(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}},Po={provide:Re,useExisting:(0,e.Gpc)(()=>bo)},Vo=(()=>Promise.resolve())();let bo=(()=>{class T extends Re{constructor(M,ae,ft,Dn,zn,ii){super(),this._changeDetectorRef=zn,this.callSetDisabledState=ii,this.control=new Ri,this._registered=!1,this.update=new e.vpe,this._parent=M,this._setValidators(ae),this._setAsyncValidators(ft),this.valueAccessor=Qn(0,Dn)}ngOnChanges(M){if(this._checkForErrors(),!this._registered||"name"in M){if(this._registered&&(this._checkName(),this.formDirective)){const ae=M.name.previousValue;this.formDirective.removeControl({name:ae,path:this._getPath(ae)})}this._setUpControl()}"isDisabled"in M&&this._updateDisabled(M),ri(M,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(M){this.viewModel=M,this.update.emit(M)}_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(){A(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(M){Vo.then(()=>{var ae;this.control.setValue(M,{emitViewToModelChange:!1}),null===(ae=this._changeDetectorRef)||void 0===ae||ae.markForCheck()})}_updateDisabled(M){const ae=M.isDisabled.currentValue,ft=0!==ae&&(0,e.D6c)(ae);Vo.then(()=>{var Dn;ft&&!this.control.disabled?this.control.disable():!ft&&this.control.disabled&&this.control.enable(),null===(Dn=this._changeDetectorRef)||void 0===Dn||Dn.markForCheck()})}_getPath(M){return this._parent?I(M,this._parent):[M]}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(yt,9),e.Y36(_t,10),e.Y36(vt,10),e.Y36(ie,10),e.Y36(e.sBO,8),e.Y36(Ne,8))},T.\u0275dir=e.lG2({type:T,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([Po]),e.qOj,e.TTD]}),T})(),ji=(()=>{class T{}return T.\u0275fac=function(M){return new(M||T)},T.\u0275dir=e.lG2({type:T,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),T})(),oo=(()=>{class T{}return T.\u0275fac=function(M){return new(M||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({}),T})();const Rn=new e.OlP("NgModelWithFormControlWarning"),vi={provide:Re,useExisting:(0,e.Gpc)(()=>Ii)};let Ii=(()=>{class T extends Re{set isDisabled(M){}constructor(M,ae,ft,Dn,zn){super(),this._ngModelWarningConfig=Dn,this.callSetDisabledState=zn,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(M),this._setAsyncValidators(ae),this.valueAccessor=Qn(0,ft)}ngOnChanges(M){if(this._isControlChanged(M)){const ae=M.form.previousValue;ae&&$(ae,this,!1),A(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ri(M,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&$(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(M){this.viewModel=M,this.update.emit(M)}_isControlChanged(M){return M.hasOwnProperty("form")}}return T._ngModelWarningSentOnce=!1,T.\u0275fac=function(M){return new(M||T)(e.Y36(_t,10),e.Y36(vt,10),e.Y36(ie,10),e.Y36(Rn,8),e.Y36(Ne,8))},T.\u0275dir=e.lG2({type:T,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([vi]),e.qOj,e.TTD]}),T})();const Bi={provide:yt,useExisting:(0,e.Gpc)(()=>xi)};let xi=(()=>{class T extends yt{constructor(M,ae,ft){super(),this.callSetDisabledState=ft,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(M),this._setAsyncValidators(ae)}ngOnChanges(M){this._checkFormPresent(),M.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Bt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(M){const ae=this.form.get(M.path);return A(ae,M,this.callSetDisabledState),ae.updateValueAndValidity({emitEvent:!1}),this.directives.push(M),ae}getControl(M){return this.form.get(M.path)}removeControl(M){$(M.control||null,M,!1),function Ai(T,E){const M=T.indexOf(E);M>-1&&T.splice(M,1)}(this.directives,M)}addFormGroup(M){this._setUpFormContainer(M)}removeFormGroup(M){this._cleanUpFormContainer(M)}getFormGroup(M){return this.form.get(M.path)}addFormArray(M){this._setUpFormContainer(M)}removeFormArray(M){this._cleanUpFormContainer(M)}getFormArray(M){return this.form.get(M.path)}updateModel(M,ae){this.form.get(M.path).setValue(ae)}onSubmit(M){var ae;return this.submitted=!0,function Yn(T,E){T._syncPendingControls(),E.forEach(M=>{const ae=M.control;"submit"===ae.updateOn&&ae._pendingChange&&(M.viewToModelUpdate(ae._pendingValue),ae._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(M),"dialog"===(null==M||null===(ae=M.target)||void 0===ae?void 0:ae.method)}onReset(){this.resetForm()}resetForm(M){this.form.reset(M),this.submitted=!1}_updateDomValue(){this.directives.forEach(M=>{const ae=M.control,ft=this.form.get(M.path);ae!==ft&&($(ae||null,M),(T=>T instanceof Ri)(ft)&&(A(ft,M,this.callSetDisabledState),M.control=ft))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(M){const ae=this.form.get(M.path);(function pn(T,E){dt(T,E)})(ae,M),ae.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(M){if(this.form){const ae=this.form.get(M.path);ae&&function In(T,E){return Bt(T,E)}(ae,M)&&ae.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){dt(this.form,this),this._oldForm&&Bt(this._oldForm,this)}_checkFormPresent(){}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(_t,10),e.Y36(vt,10),e.Y36(Ne,8))},T.\u0275dir=e.lG2({type:T,selectors:[["","formGroup",""]],hostBindings:function(M,ae){1&M&&e.NdJ("submit",function(Dn){return ae.onSubmit(Dn)})("reset",function(){return ae.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Bi]),e.qOj,e.TTD]}),T})();const So={provide:Re,useExisting:(0,e.Gpc)(()=>Ur)};let Ur=(()=>{class T extends Re{set isDisabled(M){}constructor(M,ae,ft,Dn,zn){super(),this._ngModelWarningConfig=zn,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=M,this._setValidators(ae),this._setAsyncValidators(ft),this.valueAccessor=Qn(0,Dn)}ngOnChanges(M){this._added||this._setUpControl(),ri(M,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(M){this.viewModel=M,this.update.emit(M)}get path(){return I(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return T._ngModelWarningSentOnce=!1,T.\u0275fac=function(M){return new(M||T)(e.Y36(yt,13),e.Y36(_t,10),e.Y36(vt,10),e.Y36(ie,10),e.Y36(Rn,8))},T.\u0275dir=e.lG2({type:T,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([So]),e.qOj,e.TTD]}),T})(),Ee=(()=>{class T{}return T.\u0275fac=function(M){return new(M||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({imports:[oo]}),T})(),sn=(()=>{class T{static withConfig(M){var ae;return{ngModule:T,providers:[{provide:Ne,useValue:null!==(ae=M.callSetDisabledState)&&void 0!==ae?ae:U}]}}}return T.\u0275fac=function(M){return new(M||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({imports:[Ee]}),T})(),kn=(()=>{class T{static withConfig(M){var ae,ft;return{ngModule:T,providers:[{provide:Rn,useValue:null!==(ae=M.warnOnNgModelWithFormControl)&&void 0!==ae?ae:"always"},{provide:Ne,useValue:null!==(ft=M.callSetDisabledState)&&void 0!==ft?ft:U}]}}}return T.\u0275fac=function(M){return new(M||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({imports:[Ee]}),T})()},5998:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Dx:()=>fe,H7:()=>vn,b2:()=>Re,q6:()=>Qt,s3:()=>ue,se:()=>Qe});var e=c(8692),s=c(4537);class k extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class z extends k{static makeCurrent(){(0,e.HT)(new z)}onAndCancel(Q,H,le){return Q.addEventListener(H,le,!1),()=>{Q.removeEventListener(H,le,!1)}}dispatchEvent(Q,H){Q.dispatchEvent(H)}remove(Q){Q.parentNode&&Q.parentNode.removeChild(Q)}createElement(Q,H){return(H=H||this.getDefaultDocument()).createElement(Q)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Q){return Q.nodeType===Node.ELEMENT_NODE}isShadowRoot(Q){return Q instanceof DocumentFragment}getGlobalEventTarget(Q,H){return"window"===H?window:"document"===H?Q:"body"===H?Q.body:null}getBaseHref(Q){const H=function ne(){return F=F||document.querySelector("base"),F?F.getAttribute("href"):null}();return null==H?null:function te(oe){W=W||document.createElement("a"),W.setAttribute("href",oe);const Q=W.pathname;return"/"===Q.charAt(0)?Q:`/${Q}`}(H)}resetBaseElement(){F=null}getUserAgent(){return window.navigator.userAgent}getCookie(Q){return(0,e.Mx)(document.cookie,Q)}}let W,F=null;const pe=new s.OlP("TRANSITION_ID"),de=[{provide:s.ip1,useFactory:function ce(oe,Q,H){return()=>{H.get(s.CZH).donePromise.then(()=>{const le=(0,e.q)(),Ie=Q.querySelectorAll(`style[ng-transition="${oe}"]`);for(let rt=0;rt{class oe{build(){return new XMLHttpRequest}}return oe.\u0275fac=function(H){return new(H||oe)},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const ue=new s.OlP("EventManagerPlugins");let ie=(()=>{class oe{constructor(H,le){this._zone=le,this._eventNameToPlugin=new Map,H.forEach(Ie=>{Ie.manager=this}),this._plugins=H.slice().reverse()}addEventListener(H,le,Ie){return this._findPluginFor(le).addEventListener(H,le,Ie)}addGlobalEventListener(H,le,Ie){return this._findPluginFor(le).addGlobalEventListener(H,le,Ie)}getZone(){return this._zone}_findPluginFor(H){const le=this._eventNameToPlugin.get(H);if(le)return le;const Ie=this._plugins;for(let rt=0;rt{class oe{constructor(){this.usageCount=new Map}addStyles(H){for(const le of H)1===this.changeUsageCount(le,1)&&this.onStyleAdded(le)}removeStyles(H){for(const le of H)0===this.changeUsageCount(le,-1)&&this.onStyleRemoved(le)}onStyleRemoved(H){}onStyleAdded(H){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(H,le){var Ie;const rt=this.usageCount;let nt=null!==(Ie=rt.get(H))&&void 0!==Ie?Ie:0;return nt+=le,nt>0?rt.set(H,nt):rt.delete(H),nt}ngOnDestroy(){for(const H of this.getAllStyles())this.onStyleRemoved(H);this.usageCount.clear()}}return oe.\u0275fac=function(H){return new(H||oe)},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})(),Ae=(()=>{class oe extends ve{constructor(H){super(),this.doc=H,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(H){for(const le of this.hostNodes)this.addStyleToHost(le,H)}onStyleRemoved(H){const le=this.styleRef,Ie=le.get(H);null==Ie||Ie.forEach(rt=>rt.remove()),le.delete(H)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(H){this.hostNodes.add(H);for(const le of this.getAllStyles())this.addStyleToHost(H,le)}removeHost(H){this.hostNodes.delete(H)}addStyleToHost(H,le){const Ie=this.doc.createElement("style");Ie.textContent=le,H.appendChild(Ie);const rt=this.styleRef.get(le);rt?rt.push(Ie):this.styleRef.set(le,[Ie])}resetHostNodes(){const H=this.hostNodes;H.clear(),H.add(this.doc.head)}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(e.K0))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const Ve={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/"},je=/%COMP%/g,vt=new s.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function mt(oe,Q){return Q.flat(100).map(H=>H.replace(je,oe))}function At(oe){return Q=>{if("__ngUnwrap__"===Q)return oe;!1===oe(Q)&&(Q.preventDefault(),Q.returnValue=!1)}}let Qe=(()=>{class oe{constructor(H,le,Ie,rt){this.eventManager=H,this.sharedStylesHost=le,this.appId=Ie,this.removeStylesOnCompDestory=rt,this.rendererByCompId=new Map,this.defaultRenderer=new qe(H)}createRenderer(H,le){if(!H||!le)return this.defaultRenderer;const Ie=this.getOrCreateRenderer(H,le);return Ie instanceof ze?Ie.applyToHost(H):Ie instanceof q&&Ie.applyStyles(),Ie}getOrCreateRenderer(H,le){const Ie=this.rendererByCompId;let rt=Ie.get(le.id);if(!rt){const nt=this.eventManager,ut=this.sharedStylesHost,He=this.removeStylesOnCompDestory;switch(le.encapsulation){case s.ifc.Emulated:rt=new ze(nt,ut,le,this.appId,He);break;case s.ifc.ShadowDom:return new S(nt,ut,H,le);default:rt=new q(nt,ut,le,He)}rt.onDestroy=()=>Ie.delete(le.id),Ie.set(le.id,rt)}return rt}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(ie),s.LFG(Ae),s.LFG(s.AFp),s.LFG(vt))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})();class qe{constructor(Q){this.eventManager=Q,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Q,H){return H?document.createElementNS(Ve[H]||H,Q):document.createElement(Q)}createComment(Q){return document.createComment(Q)}createText(Q){return document.createTextNode(Q)}appendChild(Q,H){(be(Q)?Q.content:Q).appendChild(H)}insertBefore(Q,H,le){Q&&(be(Q)?Q.content:Q).insertBefore(H,le)}removeChild(Q,H){Q&&Q.removeChild(H)}selectRootElement(Q,H){let le="string"==typeof Q?document.querySelector(Q):Q;if(!le)throw new Error(`The selector "${Q}" did not match any elements`);return H||(le.textContent=""),le}parentNode(Q){return Q.parentNode}nextSibling(Q){return Q.nextSibling}setAttribute(Q,H,le,Ie){if(Ie){H=Ie+":"+H;const rt=Ve[Ie];rt?Q.setAttributeNS(rt,H,le):Q.setAttribute(H,le)}else Q.setAttribute(H,le)}removeAttribute(Q,H,le){if(le){const Ie=Ve[le];Ie?Q.removeAttributeNS(Ie,H):Q.removeAttribute(`${le}:${H}`)}else Q.removeAttribute(H)}addClass(Q,H){Q.classList.add(H)}removeClass(Q,H){Q.classList.remove(H)}setStyle(Q,H,le,Ie){Ie&(s.JOm.DashCase|s.JOm.Important)?Q.style.setProperty(H,le,Ie&s.JOm.Important?"important":""):Q.style[H]=le}removeStyle(Q,H,le){le&s.JOm.DashCase?Q.style.removeProperty(H):Q.style[H]=""}setProperty(Q,H,le){Q[H]=le}setValue(Q,H){Q.nodeValue=H}listen(Q,H,le){return"string"==typeof Q?this.eventManager.addGlobalEventListener(Q,H,At(le)):this.eventManager.addEventListener(Q,H,At(le))}}function be(oe){return"TEMPLATE"===oe.tagName&&void 0!==oe.content}class S extends qe{constructor(Q,H,le,Ie){super(Q),this.sharedStylesHost=H,this.hostEl=le,this.shadowRoot=le.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const rt=mt(Ie.id,Ie.styles);for(const nt of rt){const ut=document.createElement("style");ut.textContent=nt,this.shadowRoot.appendChild(ut)}}nodeOrShadowRoot(Q){return Q===this.hostEl?this.shadowRoot:Q}appendChild(Q,H){return super.appendChild(this.nodeOrShadowRoot(Q),H)}insertBefore(Q,H,le){return super.insertBefore(this.nodeOrShadowRoot(Q),H,le)}removeChild(Q,H){return super.removeChild(this.nodeOrShadowRoot(Q),H)}parentNode(Q){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Q)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class q extends qe{constructor(Q,H,le,Ie,rt=le.id){super(Q),this.sharedStylesHost=H,this.removeStylesOnCompDestory=Ie,this.rendererUsageCount=0,this.styles=mt(rt,le.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){var Q;this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount)&&(null===(Q=this.onDestroy)||void 0===Q||Q.call(this))}}class ze extends q{constructor(Q,H,le,Ie,rt){const nt=Ie+"-"+le.id;super(Q,H,le,rt,nt),this.contentAttr=function tt(oe){return"_ngcontent-%COMP%".replace(je,oe)}(nt),this.hostAttr=function we(oe){return"_nghost-%COMP%".replace(je,oe)}(nt)}applyToHost(Q){this.applyStyles(),this.setAttribute(Q,this.hostAttr,"")}createElement(Q,H){const le=super.createElement(Q,H);return super.setAttribute(le,this.contentAttr,""),le}}let N=(()=>{class oe extends Ue{constructor(H){super(H)}supports(H){return!0}addEventListener(H,le,Ie){return H.addEventListener(le,Ie,!1),()=>this.removeEventListener(H,le,Ie)}removeEventListener(H,le,Ie){return H.removeEventListener(le,Ie)}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(e.K0))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const Se=["alt","control","meta","shift"],et={"\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"},pt={alt:oe=>oe.altKey,control:oe=>oe.ctrlKey,meta:oe=>oe.metaKey,shift:oe=>oe.shiftKey};let wt=(()=>{class oe extends Ue{constructor(H){super(H)}supports(H){return null!=oe.parseEventName(H)}addEventListener(H,le,Ie){const rt=oe.parseEventName(le),nt=oe.eventCallback(rt.fullKey,Ie,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(H,rt.domEventName,nt))}static parseEventName(H){const le=H.toLowerCase().split("."),Ie=le.shift();if(0===le.length||"keydown"!==Ie&&"keyup"!==Ie)return null;const rt=oe._normalizeKey(le.pop());let nt="",ut=le.indexOf("code");if(ut>-1&&(le.splice(ut,1),nt="code."),Se.forEach(Ne=>{const U=le.indexOf(Ne);U>-1&&(le.splice(U,1),nt+=Ne+".")}),nt+=rt,0!=le.length||0===rt.length)return null;const He={};return He.domEventName=Ie,He.fullKey=nt,He}static matchEventFullKeyCode(H,le){let Ie=et[H.key]||H.key,rt="";return le.indexOf("code.")>-1&&(Ie=H.code,rt="code."),!(null==Ie||!Ie)&&(Ie=Ie.toLowerCase()," "===Ie?Ie="space":"."===Ie&&(Ie="dot"),Se.forEach(nt=>{nt!==Ie&&(0,pt[nt])(H)&&(rt+=nt+".")}),rt+=Ie,rt===le)}static eventCallback(H,le,Ie){return rt=>{oe.matchEventFullKeyCode(rt,H)&&Ie.runGuarded(()=>le(rt))}}static _normalizeKey(H){return"esc"===H?"escape":H}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(e.K0))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const Qt=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:e.bD},{provide:s.g9A,useValue:function Zt(){z.makeCurrent()},multi:!0},{provide:e.K0,useFactory:function Dt(){return(0,s.RDi)(document),document},deps:[]}]),hn=new s.OlP(""),cn=[{provide:s.rWj,useClass:class Y{addToWindow(Q){s.dqk.getAngularTestability=(le,Ie=!0)=>{const rt=Q.findTestabilityInTree(le,Ie);if(null==rt)throw new Error("Could not find testability for element.");return rt},s.dqk.getAllAngularTestabilities=()=>Q.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>Q.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(le=>{const Ie=s.dqk.getAllAngularTestabilities();let rt=Ie.length,nt=!1;const ut=function(He){nt=nt||He,rt--,0==rt&&le(nt)};Ie.forEach(function(He){He.whenStable(ut)})})}findTestabilityInTree(Q,H,le){if(null==H)return null;const Ie=Q.getTestability(H);return null!=Ie?Ie:le?(0,e.q)().isShadowRoot(H)?this.findTestabilityInTree(Q,H.host,!0):this.findTestabilityInTree(Q,H.parentElement,!0):null}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],yt=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function Ut(){return new s.qLn},deps:[]},{provide:ue,useClass:N,multi:!0,deps:[e.K0,s.R0b,s.Lbi]},{provide:ue,useClass:wt,multi:!0,deps:[e.K0]},{provide:Qe,useClass:Qe,deps:[ie,Ae,s.AFp,vt]},{provide:s.FYo,useExisting:Qe},{provide:ve,useExisting:Ae},{provide:Ae,useClass:Ae,deps:[e.K0]},{provide:ie,useClass:ie,deps:[ue,s.R0b]},{provide:e.JF,useClass:_e,deps:[]},[]];let Re=(()=>{class oe{constructor(H){}static withServerTransition(H){return{ngModule:oe,providers:[{provide:s.AFp,useValue:H.appId},{provide:pe,useExisting:s.AFp},de]}}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(hn,12))},oe.\u0275mod=s.oAB({type:oe}),oe.\u0275inj=s.cJS({providers:[...yt,...cn],imports:[e.ez,s.hGG]}),oe})(),fe=(()=>{class oe{constructor(H){this._doc=H}getTitle(){return this._doc.title}setTitle(H){this._doc.title=H||""}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(e.K0))},oe.\u0275prov=s.Yz7({token:oe,factory:function(H){let le=null;return le=H?new H:function Le(){return new fe((0,s.LFG)(e.K0))}(),le},providedIn:"root"}),oe})();typeof window<"u"&&window;let vn=(()=>{class oe{}return oe.\u0275fac=function(H){return new(H||oe)},oe.\u0275prov=s.Yz7({token:oe,factory:function(H){let le=null;return le=H?new(H||oe):s.LFG(Nn),le},providedIn:"root"}),oe})(),Nn=(()=>{class oe extends vn{constructor(H){super(),this._doc=H}sanitize(H,le){if(null==le)return null;switch(H){case s.q3G.NONE:return le;case s.q3G.HTML:return(0,s.qzn)(le,"HTML")?(0,s.z3N)(le):(0,s.EiD)(this._doc,String(le)).toString();case s.q3G.STYLE:return(0,s.qzn)(le,"Style")?(0,s.z3N)(le):le;case s.q3G.SCRIPT:if((0,s.qzn)(le,"Script"))return(0,s.z3N)(le);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.qzn)(le,"URL")?(0,s.z3N)(le):(0,s.mCW)(String(le));case s.q3G.RESOURCE_URL:if((0,s.qzn)(le,"ResourceURL"))return(0,s.z3N)(le);throw new Error(`unsafe value used in a resource URL context (see ${s.JZr})`);default:throw new Error(`Unexpected SecurityContext ${H} (see ${s.JZr})`)}}bypassSecurityTrustHtml(H){return(0,s.JVY)(H)}bypassSecurityTrustStyle(H){return(0,s.L6k)(H)}bypassSecurityTrustScript(H){return(0,s.eBb)(H)}bypassSecurityTrustUrl(H){return(0,s.LAX)(H)}bypassSecurityTrustResourceUrl(H){return(0,s.pB0)(H)}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(e.K0))},oe.\u0275prov=s.Yz7({token:oe,factory:function(H){let le=null;return le=H?new H:function Jt(oe){return new Nn(oe.get(e.K0))}(s.LFG(s.zs3)),le},providedIn:"root"}),oe})()},3178:(Ht,Fe,c)=>{"use strict";c.d(Fe,{gz:()=>yn,m2:()=>Ai,F0:()=>Uo,rH:()=>as,Od:()=>Ps,yS:()=>as,Bz:()=>Bn,lC:()=>Sr,Xs:()=>Qi,Hx:()=>Pt});var e=c(4537),s=c(985),k=c(4945),z=c(4121),F=c(7472),ne=c(5696),W=c(3729),te=c(3072),pe=c(7824),ce=c(3787),de=c(7241),Y=c(9018),_e=c(4813),ue=c(2085),ie=c(8499);function Ue(){return(0,ue.e)((m,v)=>{let h=null;m._refCount++;const D=(0,ie.x)(v,void 0,void 0,void 0,()=>{if(!m||m._refCount<=0||0<--m._refCount)return void(h=null);const B=m._connection,Ce=h;h=null,B&&(!Ce||B===Ce)&&B.unsubscribe(),v.unsubscribe()});m.subscribe(D),D.closed||(h=m.connect())})}class ve extends de.y{constructor(v,h){super(),this.source=v,this.subjectFactory=h,this._subject=null,this._refCount=0,this._connection=null,(0,ue.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,null==v||v.unsubscribe()}connect(){let v=this._connection;if(!v){v=this._connection=new _e.w0;const h=this.getSubject();v.add(this.source.subscribe((0,ie.x)(h,void 0,()=>{this._teardown(),h.complete()},D=>{this._teardown(),h.error(D)},()=>this._teardown()))),v.closed&&(this._connection=null,v=_e.w0.EMPTY)}return v}refCount(){return Ue()(this)}}var Ae=c(8023),Ve=c(8692),je=c(7969),se=c(1528),ee=c(5598),$e=c(3674),Oe=c(4970),_t=c(4882),vt=c(9676),tt=c(4551),we=c(8168),mt=c(3568);function Qe(m,v){return(0,ue.e)(function At(m,v,h,D,B){return(Ce,Te)=>{let Tt=h,Kt=v,On=0;Ce.subscribe((0,ie.x)(Te,Un=>{const Ln=On++;Kt=Tt?m(Kt,Un,Ln):(Tt=!0,Un),D&&Te.next(Kt)},B&&(()=>{Tt&&Te.next(Kt),Te.complete()})))}}(m,v,arguments.length>=2,!0))}function qe(m){return m<=0?()=>Y.E:(0,ue.e)((v,h)=>{let D=[];v.subscribe((0,ie.x)(h,B=>{D.push(B),m{for(const B of D)h.next(B);h.complete()},void 0,()=>{D=null}))})}var Ge=c(8623),R=c(2686),be=c(8330);function S(m,v){const h=arguments.length>=2;return D=>D.pipe(m?(0,Oe.h)((B,Ce)=>m(B,Ce,D)):be.y,qe(1),h?(0,R.d)(v):(0,Ge.T)(()=>new F.K))}var q=c(5857),ze=c(116),N=c(5490),Se=c(549),et=c(5998);const pt="primary",wt=Symbol("RouteTitle");class Cn{constructor(v){this.params=v||{}}has(v){return Object.prototype.hasOwnProperty.call(this.params,v)}get(v){if(this.has(v)){const h=this.params[v];return Array.isArray(h)?h[0]:h}return null}getAll(v){if(this.has(v)){const h=this.params[v];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function St(m){return new Cn(m)}function Ft(m,v,h){const D=h.path.split("/");if(D.length>m.length||"full"===h.pathMatch&&(v.hasChildren()||D.lengthD[Ce]===B)}return m===v}function Ut(m){return Array.prototype.concat.apply([],m)}function Dt(m){return m.length>0?m[m.length-1]:null}function Qt(m,v){for(const h in m)m.hasOwnProperty(h)&&v(m[h],h)}function hn(m){return(0,e.CqO)(m)?m:(0,e.QGY)(m)?(0,s.D)(Promise.resolve(m)):(0,k.of)(m)}const cn=!1,yt={exact:function Xe(m,v,h){if(!xt(m.segments,v.segments)||!ye(m.segments,v.segments,h)||m.numberOfChildren!==v.numberOfChildren)return!1;for(const D in v.children)if(!m.children[D]||!Xe(m.children[D],v.children[D],h))return!1;return!0},subset:fe},Re={exact:function re(m,v){return Rt(m,v)},subset:function Le(m,v){return Object.keys(v).length<=Object.keys(m).length&&Object.keys(v).every(h=>Zt(m[h],v[h]))},ignored:()=>!0};function he(m,v,h){return yt[h.paths](m.root,v.root,h.matrixParams)&&Re[h.queryParams](m.queryParams,v.queryParams)&&!("exact"===h.fragment&&m.fragment!==v.fragment)}function fe(m,v,h){return We(m,v,v.segments,h)}function We(m,v,h,D){if(m.segments.length>h.length){const B=m.segments.slice(0,h.length);return!(!xt(B,h)||v.hasChildren()||!ye(B,h,D))}if(m.segments.length===h.length){if(!xt(m.segments,h)||!ye(m.segments,h,D))return!1;for(const B in v.children)if(!m.children[B]||!fe(m.children[B],v.children[B],D))return!1;return!0}{const B=h.slice(0,m.segments.length),Ce=h.slice(m.segments.length);return!!(xt(m.segments,B)&&ye(m.segments,B,D)&&m.children[pt])&&We(m.children[pt],v,Ce,D)}}function ye(m,v,h){return v.every((D,B)=>Re[h](m[B].parameters,D.parameters))}class at{constructor(v=new kt([],{}),h={},D=null){this.root=v,this.queryParams=h,this.fragment=D}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=St(this.queryParams)),this._queryParamMap}toString(){return fn.serialize(this)}}class kt{constructor(v,h){this.segments=v,this.children=h,this.parent=null,Qt(h,(D,B)=>D.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ke(this)}}class qt{constructor(v,h){this.path=v,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=St(this.parameters)),this._parameterMap}toString(){return gt(this)}}function xt(m,v){return m.length===v.length&&m.every((h,D)=>h.path===v[D].path)}let Pt=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:function(){return new an},providedIn:"root"}),m})();class an{parse(v){const h=new H(v);return new at(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(v){const h=`/${ot(v.root,!0)}`,D=function $t(m){const v=Object.keys(m).map(h=>{const D=m[h];return Array.isArray(D)?D.map(B=>`${it(h)}=${it(B)}`).join("&"):`${it(h)}=${it(D)}`}).filter(h=>!!h);return v.length?`?${v.join("&")}`:""}(v.queryParams);return`${h}${D}${"string"==typeof v.fragment?`#${function st(m){return encodeURI(m)}(v.fragment)}`:""}`}}const fn=new an;function Ke(m){return m.segments.map(v=>gt(v)).join("/")}function ot(m,v){if(!m.hasChildren())return Ke(m);if(v){const h=m.children[pt]?ot(m.children[pt],!1):"",D=[];return Qt(m.children,(B,Ce)=>{Ce!==pt&&D.push(`${Ce}:${ot(B,!1)}`)}),D.length>0?`${h}(${D.join("//")})`:h}{const h=function Wt(m,v){let h=[];return Qt(m.children,(D,B)=>{B===pt&&(h=h.concat(v(D,B)))}),Qt(m.children,(D,B)=>{B!==pt&&(h=h.concat(v(D,B)))}),h}(m,(D,B)=>B===pt?[ot(m.children[pt],!1)]:[`${B}:${ot(D,!1)}`]);return 1===Object.keys(m.children).length&&null!=m.children[pt]?`${Ke(m)}/${h[0]}`:`${Ke(m)}/(${h.join("//")})`}}function lt(m){return encodeURIComponent(m).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function it(m){return lt(m).replace(/%3B/gi,";")}function V(m){return lt(m).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pe(m){return decodeURIComponent(m)}function bt(m){return Pe(m.replace(/\+/g,"%20"))}function gt(m){return`${V(m.path)}${function on(m){return Object.keys(m).map(v=>`;${V(v)}=${V(m[v])}`).join("")}(m.parameters)}`}const vn=/^[^\/()?;=#]+/;function Jt(m){const v=m.match(vn);return v?v[0]:""}const Nn=/^[^=?&#]+/,oe=/^[^&#]+/;class H{constructor(v){this.url=v,this.remaining=v}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new kt([],{}):new kt([],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 h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let D={};return this.peekStartsWith("(")&&(D=this.parseParens(!1)),(v.length>0||Object.keys(h).length>0)&&(D[pt]=new kt(v,h)),D}parseSegment(){const v=Jt(this.remaining);if(""===v&&this.peekStartsWith(";"))throw new e.vHH(4009,cn);return this.capture(v),new qt(Pe(v),this.parseMatrixParams())}parseMatrixParams(){const v={};for(;this.consumeOptional(";");)this.parseParam(v);return v}parseParam(v){const h=Jt(this.remaining);if(!h)return;this.capture(h);let D="";if(this.consumeOptional("=")){const B=Jt(this.remaining);B&&(D=B,this.capture(D))}v[Pe(h)]=Pe(D)}parseQueryParam(v){const h=function Mn(m){const v=m.match(Nn);return v?v[0]:""}(this.remaining);if(!h)return;this.capture(h);let D="";if(this.consumeOptional("=")){const Te=function Q(m){const v=m.match(oe);return v?v[0]:""}(this.remaining);Te&&(D=Te,this.capture(D))}const B=bt(h),Ce=bt(D);if(v.hasOwnProperty(B)){let Te=v[B];Array.isArray(Te)||(Te=[Te],v[B]=Te),Te.push(Ce)}else v[B]=Ce}parseParens(v){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const D=Jt(this.remaining),B=this.remaining[D.length];if("/"!==B&&")"!==B&&";"!==B)throw new e.vHH(4010,cn);let Ce;D.indexOf(":")>-1?(Ce=D.slice(0,D.indexOf(":")),this.capture(Ce),this.capture(":")):v&&(Ce=pt);const Te=this.parseChildren();h[Ce]=1===Object.keys(Te).length?Te[pt]:new kt([],Te),this.consumeOptional("//")}return h}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 e.vHH(4011,cn)}}function le(m){return m.segments.length>0?new kt([],{[pt]:m}):m}function Ie(m){const v={};for(const D of Object.keys(m.children)){const Ce=Ie(m.children[D]);(Ce.segments.length>0||Ce.hasChildren())&&(v[D]=Ce)}return function rt(m){if(1===m.numberOfChildren&&m.children[pt]){const v=m.children[pt];return new kt(m.segments.concat(v.segments),v.children)}return m}(new kt(m.segments,v))}function nt(m){return m instanceof at}const ut=!1;function I(m,v,h,D,B){var Ce;if(0===h.length)return xe(v.root,v.root,v.root,D,B);const Te=function Bt(m){if("string"==typeof m[0]&&1===m.length&&"/"===m[0])return new dt(!0,0,m);let v=0,h=!1;const D=m.reduce((B,Ce,Te)=>{if("object"==typeof Ce&&null!=Ce){if(Ce.outlets){const Tt={};return Qt(Ce.outlets,(Kt,On)=>{Tt[On]="string"==typeof Kt?Kt.split("/"):Kt}),[...B,{outlets:Tt}]}if(Ce.segmentPath)return[...B,Ce.segmentPath]}return"string"!=typeof Ce?[...B,Ce]:0===Te?(Ce.split("/").forEach((Tt,Kt)=>{0==Kt&&"."===Tt||(0==Kt&&""===Tt?h=!0:".."===Tt?v++:""!=Tt&&B.push(Tt))}),B):[...B,Ce]},[]);return new dt(h,v,D)}(h);return Te.toRoot()?xe(v.root,v.root,new kt([],{}),D,B):function Tt(On){var Un;const Ln=function en(m,v,h,D){if(m.isAbsolute)return new Yt(v.root,!0,0);if(-1===D)return new Yt(h,h===v.root,0);return function gn(m,v,h){let D=m,B=v,Ce=h;for(;Ce>B;){if(Ce-=B,D=D.parent,!D)throw new e.vHH(4005,ut&&"Invalid number of '../'");B=D.segments.length}return new Yt(D,!1,B-Ce)}(h,D+(A(m.commands[0])?0:1),m.numberOfDoubleDots)}(Te,v,null===(Un=m.snapshot)||void 0===Un?void 0:Un._urlSegment,On),ki=Ln.processChildren?Kn(Ln.segmentGroup,Ln.index,Te.commands):In(Ln.segmentGroup,Ln.index,Te.commands);return xe(v.root,Ln.segmentGroup,ki,D,B)}(null===(Ce=m.snapshot)||void 0===Ce?void 0:Ce._lastPathIndex)}function A(m){return"object"==typeof m&&null!=m&&!m.outlets&&!m.segmentPath}function $(m){return"object"==typeof m&&null!=m&&m.outlets}function xe(m,v,h,D,B){let Te,Ce={};D&&Qt(D,(Kt,On)=>{Ce[On]=Array.isArray(Kt)?Kt.map(Un=>`${Un}`):`${Kt}`}),Te=m===v?h:ct(m,v,h);const Tt=le(Ie(Te));return new at(Tt,Ce,B)}function ct(m,v,h){const D={};return Qt(m.children,(B,Ce)=>{D[Ce]=B===v?h:ct(B,v,h)}),new kt(m.segments,D)}class dt{constructor(v,h,D){if(this.isAbsolute=v,this.numberOfDoubleDots=h,this.commands=D,v&&D.length>0&&A(D[0]))throw new e.vHH(4003,ut&&"Root segment cannot have matrix parameters");const B=D.find($);if(B&&B!==Dt(D))throw new e.vHH(4004,ut&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Yt{constructor(v,h,D){this.segmentGroup=v,this.processChildren=h,this.index=D}}function In(m,v,h){if(m||(m=new kt([],{})),0===m.segments.length&&m.hasChildren())return Kn(m,v,h);const D=function mn(m,v,h){let D=0,B=v;const Ce={match:!1,pathIndex:0,commandIndex:0};for(;B=h.length)return Ce;const Te=m.segments[B],Tt=h[D];if($(Tt))break;const Kt=`${Tt}`,On=D0&&void 0===Kt)break;if(Kt&&On&&"object"==typeof On&&void 0===On.outlets){if(!ri(Kt,On,Te))return Ce;D+=2}else{if(!ri(Kt,{},Te))return Ce;D++}B++}return{match:!0,pathIndex:B,commandIndex:D}}(m,v,h),B=h.slice(D.commandIndex);if(D.match&&D.pathIndex{"string"==typeof Ce&&(Ce=[Ce]),null!==Ce&&(B[Te]=In(m.children[Te],v,Ce))}),Qt(m.children,(Ce,Te)=>{void 0===D[Te]&&(B[Te]=Ce)}),new kt(m.segments,B)}}function xn(m,v,h){const D=m.segments.slice(0,v);let B=0;for(;B{"string"==typeof h&&(h=[h]),null!==h&&(v[D]=xn(new kt([],{}),0,h))}),v}function ci(m){const v={};return Qt(m,(h,D)=>v[D]=`${h}`),v}function ri(m,v,h){return m==h.path&&Rt(v,h.parameters)}const Xn="imperative";class Yn{constructor(v,h){this.id=v,this.url=h}}class Qn extends Yn{constructor(v,h,D="imperative",B=null){super(v,h),this.type=0,this.navigationTrigger=D,this.restoredState=B}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ai extends Yn{constructor(v,h,D){super(v,h),this.urlAfterRedirects=D,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ji extends Yn{constructor(v,h,D,B){super(v,h),this.reason=D,this.code=B,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Wn extends Yn{constructor(v,h,D,B){super(v,h),this.reason=D,this.code=B,this.type=16}}class Ti extends Yn{constructor(v,h,D,B){super(v,h),this.error=D,this.target=B,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ti extends Yn{constructor(v,h,D,B){super(v,h),this.urlAfterRedirects=D,this.state=B,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mi extends Yn{constructor(v,h,D,B){super(v,h),this.urlAfterRedirects=D,this.state=B,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class to extends Yn{constructor(v,h,D,B,Ce){super(v,h),this.urlAfterRedirects=D,this.state=B,this.shouldActivate=Ce,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ri extends Yn{constructor(v,h,D,B){super(v,h),this.urlAfterRedirects=D,this.state=B,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wo extends Yn{constructor(v,h,D,B){super(v,h),this.urlAfterRedirects=D,this.state=B,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wo{constructor(v){this.route=v,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class no{constructor(v){this.route=v,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class qo{constructor(v){this.snapshot=v,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lr{constructor(v){this.snapshot=v,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ui{constructor(v){this.snapshot=v,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wi{constructor(v){this.snapshot=v,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qi{constructor(v,h,D){this.routerEvent=v,this.position=h,this.anchor=D,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Vo=(()=>{class m{createUrlTree(h,D,B,Ce,Te,Tt){return I(h||D.root,B,Ce,Te,Tt)}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac}),m})(),ji=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:function(v){return Vo.\u0275fac(v)},providedIn:"root"}),m})();class io{constructor(v){this._root=v}get root(){return this._root.value}parent(v){const h=this.pathFromRoot(v);return h.length>1?h[h.length-2]:null}children(v){const h=Li(v,this._root);return h?h.children.map(D=>D.value):[]}firstChild(v){const h=Li(v,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(v){const h=Yi(v,this._root);return h.length<2?[]:h[h.length-2].children.map(B=>B.value).filter(B=>B!==v)}pathFromRoot(v){return Yi(v,this._root).map(h=>h.value)}}function Li(m,v){if(m===v.value)return v;for(const h of v.children){const D=Li(m,h);if(D)return D}return null}function Yi(m,v){if(m===v.value)return[v];for(const h of v.children){const D=Yi(m,h);if(D.length)return D.unshift(v),D}return[]}class Si{constructor(v,h){this.value=v,this.children=h}toString(){return`TreeNode(${this.value})`}}function oo(m){const v={};return m&&m.children.forEach(h=>v[h.value.outlet]=h),v}class go extends io{constructor(v,h){super(v),this.snapshot=h,xi(this,v)}toString(){return this.snapshot.toString()}}function Pn(m,v){const h=function Nt(m,v){const Te=new Ii([],{},{},"",{},pt,v,null,m.root,-1,{});return new Bi("",new Si(Te,[]))}(m,v),D=new z.X([new qt("",{})]),B=new z.X({}),Ce=new z.X({}),Te=new z.X({}),Tt=new z.X(""),Kt=new yn(D,B,Te,Tt,Ce,pt,v,h.root);return Kt.snapshot=h.root,new go(new Si(Kt,[]),h)}class yn{constructor(v,h,D,B,Ce,Te,Tt,Kt){var On,Un;this.url=v,this.params=h,this.queryParams=D,this.fragment=B,this.data=Ce,this.outlet=Te,this.component=Tt,this.title=null!==(On=null===(Un=this.data)||void 0===Un?void 0:Un.pipe((0,je.U)(Ln=>Ln[wt])))&&void 0!==On?On:(0,k.of)(void 0),this._futureSnapshot=Kt}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=>St(v)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,je.U)(v=>St(v)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Rn(m,v="emptyOnly"){const h=m.pathFromRoot;let D=0;if("always"!==v)for(D=h.length-1;D>=1;){const B=h[D],Ce=h[D-1];if(B.routeConfig&&""===B.routeConfig.path)D--;else{if(Ce.component)break;D--}}return function vi(m){return m.reduce((v,h)=>{var D;return{params:{...v.params,...h.params},data:{...v.data,...h.data},resolve:{...h.data,...v.resolve,...null===(D=h.routeConfig)||void 0===D?void 0:D.data,...h._resolvedData}}},{params:{},data:{},resolve:{}})}(h.slice(D))}class Ii{get title(){var v;return null===(v=this.data)||void 0===v?void 0:v[wt]}constructor(v,h,D,B,Ce,Te,Tt,Kt,On,Un,Ln){this.url=v,this.params=h,this.queryParams=D,this.fragment=B,this.data=Ce,this.outlet=Te,this.component=Tt,this.routeConfig=Kt,this._urlSegment=On,this._lastPathIndex=Un,this._resolve=Ln}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=St(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=St(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(D=>D.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bi extends io{constructor(v,h){super(h),this.url=v,xi(this,h)}toString(){return Ao(this._root)}}function xi(m,v){v.value._routerState=m,v.children.forEach(h=>xi(m,h))}function Ao(m){const v=m.children.length>0?` { ${m.children.map(Ao).join(", ")} } `:"";return`${m.value}${v}`}function Co(m){if(m.snapshot){const v=m.snapshot,h=m._futureSnapshot;m.snapshot=h,Rt(v.queryParams,h.queryParams)||m.queryParams.next(h.queryParams),v.fragment!==h.fragment&&m.fragment.next(h.fragment),Rt(v.params,h.params)||m.params.next(h.params),function It(m,v){if(m.length!==v.length)return!1;for(let h=0;hRt(h.parameters,v[D].parameters))}(m.url,v.url);return h&&!(!m.parent!=!v.parent)&&(!m.parent||Ki(m.parent,v.parent))}function Do(m,v,h){if(h&&m.shouldReuseRoute(v.value,h.value.snapshot)){const D=h.value;D._futureSnapshot=v.value;const B=function So(m,v,h){return v.children.map(D=>{for(const B of h.children)if(m.shouldReuseRoute(D.value,B.value.snapshot))return Do(m,D,B);return Do(m,D)})}(m,v,h);return new Si(D,B)}{if(m.shouldAttach(v.value)){const Ce=m.retrieve(v.value);if(null!==Ce){const Te=Ce.route;return Te.value._futureSnapshot=v.value,Te.children=v.children.map(Tt=>Do(m,Tt)),Te}}const D=function Ur(m){return new yn(new z.X(m.url),new z.X(m.params),new z.X(m.queryParams),new z.X(m.fragment),new z.X(m.data),m.outlet,m.component,m)}(v.value),B=v.children.map(Ce=>Do(m,Ce));return new Si(D,B)}}const Hr="ngNavigationCancelingError";function mr(m,v){const{redirectTo:h,navigationBehaviorOptions:D}=nt(v)?{redirectTo:v,navigationBehaviorOptions:void 0}:v,B=zr(!1,0,v);return B.url=h,B.navigationBehaviorOptions=D,B}function zr(m,v,h){const D=new Error("NavigationCancelingError: "+(m||""));return D[Hr]=!0,D.cancellationCode=v,h&&(D.url=h),D}function er(m){return Vr(m)&&nt(m.url)}function Vr(m){return m&&m[Hr]}class To{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new jo,this.attachRef=null}}let jo=(()=>{class m{constructor(){this.contexts=new Map}onChildOutletCreated(h,D){const B=this.getOrCreateContext(h);B.outlet=D,this.contexts.set(h,B)}onChildOutletDestroyed(h){const D=this.getContext(h);D&&(D.outlet=null,D.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let D=this.getContext(h);return D||(D=new To,this.contexts.set(h,D)),D}getContext(h){return this.contexts.get(h)||null}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const co=!1;let Sr=(()=>{class m{constructor(){this.activated=null,this._activatedRoute=null,this.name=pt,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.parentContexts=(0,e.f3M)(jo),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb)}ngOnChanges(h){if(h.name){const{firstChange:D,previousValue:B}=h.name;if(D)return;this.isTrackedInParentContexts(B)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(B)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(h){var D;return(null===(D=this.parentContexts.getContext(h))||void 0===D?void 0:D.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const h=this.parentContexts.getContext(this.name);null!=h&&h.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,co);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,co);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,co);this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,D){this.activated=h,this._activatedRoute=D,this.location.insert(h.hostView),this.attachEvents.emit(h.instance)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,D){if(this.isActivated)throw new e.vHH(4013,co);this._activatedRoute=h;const B=this.location,Te=h.snapshot.component,Tt=this.parentContexts.getOrCreateContext(this.name).children,Kt=new Tr(h,Tt,B.injector);if(D&&function tr(m){return!!m.resolveComponentFactory}(D)){const On=D.resolveComponentFactory(Te);this.activated=B.createComponent(On,B.length,Kt)}else this.activated=B.createComponent(Te,{index:B.length,injector:Kt,environmentInjector:null!=D?D:this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275dir=e.lG2({type:m,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]}),m})();class Tr{constructor(v,h,D){this.route=v,this.childContexts=h,this.parent=D}get(v,h){return v===yn?this.route:v===jo?this.childContexts:this.parent.get(v,h)}}let Ui=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275cmp=e.Xpm({type:m,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(h,D){1&h&&e._UZ(0,"router-outlet")},dependencies:[Sr],encapsulation:2}),m})();function _r(m,v){var h;return m.providers&&!m._injector&&(m._injector=(0,e.MMx)(m.providers,v,`Route: ${m.path}`)),null!==(h=m._injector)&&void 0!==h?h:v}function Ei(m){const v=m.children&&m.children.map(Ei),h=v?{...m,children:v}:{...m};return!h.component&&!h.loadComponent&&(v||h.loadChildren)&&h.outlet&&h.outlet!==pt&&(h.component=Ui),h}function ao(m){return m.outlet||pt}function ir(m,v){const h=m.filter(D=>ao(D)===v);return h.push(...m.filter(D=>ao(D)!==v)),h}function zi(m){var v;if(!m)return null;if(null!==(v=m.routeConfig)&&void 0!==v&&v._injector)return m.routeConfig._injector;for(let h=m.parent;h;h=h.parent){const D=h.routeConfig;if(null!=D&&D._loadedInjector)return D._loadedInjector;if(null!=D&&D._injector)return D._injector}return null}class Er{constructor(v,h,D,B){this.routeReuseStrategy=v,this.futureState=h,this.currState=D,this.forwardEvent=B}activate(v){const h=this.futureState._root,D=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,D,v),Co(this.futureState.root),this.activateChildRoutes(h,D,v)}deactivateChildRoutes(v,h,D){const B=oo(h);v.children.forEach(Ce=>{const Te=Ce.value.outlet;this.deactivateRoutes(Ce,B[Te],D),delete B[Te]}),Qt(B,(Ce,Te)=>{this.deactivateRouteAndItsChildren(Ce,D)})}deactivateRoutes(v,h,D){const B=v.value,Ce=h?h.value:null;if(B===Ce)if(B.component){const Te=D.getContext(B.outlet);Te&&this.deactivateChildRoutes(v,h,Te.children)}else this.deactivateChildRoutes(v,h,D);else Ce&&this.deactivateRouteAndItsChildren(h,D)}deactivateRouteAndItsChildren(v,h){v.value.component&&this.routeReuseStrategy.shouldDetach(v.value.snapshot)?this.detachAndStoreRouteSubtree(v,h):this.deactivateRouteAndOutlet(v,h)}detachAndStoreRouteSubtree(v,h){const D=h.getContext(v.value.outlet),B=D&&v.value.component?D.children:h,Ce=oo(v);for(const Te of Object.keys(Ce))this.deactivateRouteAndItsChildren(Ce[Te],B);if(D&&D.outlet){const Te=D.outlet.detach(),Tt=D.children.onOutletDeactivated();this.routeReuseStrategy.store(v.value.snapshot,{componentRef:Te,route:v,contexts:Tt})}}deactivateRouteAndOutlet(v,h){const D=h.getContext(v.value.outlet),B=D&&v.value.component?D.children:h,Ce=oo(v);for(const Te of Object.keys(Ce))this.deactivateRouteAndItsChildren(Ce[Te],B);D&&(D.outlet&&(D.outlet.deactivate(),D.children.onOutletDeactivated()),D.attachRef=null,D.resolver=null,D.route=null)}activateChildRoutes(v,h,D){const B=oo(h);v.children.forEach(Ce=>{this.activateRoutes(Ce,B[Ce.value.outlet],D),this.forwardEvent(new Wi(Ce.value.snapshot))}),v.children.length&&this.forwardEvent(new lr(v.value.snapshot))}activateRoutes(v,h,D){const B=v.value,Ce=h?h.value:null;if(Co(B),B===Ce)if(B.component){const Tt=D.getOrCreateContext(B.outlet);this.activateChildRoutes(v,h,Tt.children)}else this.activateChildRoutes(v,h,D);else if(B.component){const Tt=D.getOrCreateContext(B.outlet);if(this.routeReuseStrategy.shouldAttach(B.snapshot)){const Kt=this.routeReuseStrategy.retrieve(B.snapshot);this.routeReuseStrategy.store(B.snapshot,null),Tt.children.onOutletReAttached(Kt.contexts),Tt.attachRef=Kt.componentRef,Tt.route=Kt.route.value,Tt.outlet&&Tt.outlet.attach(Kt.componentRef,Kt.route.value),Co(Kt.route.value),this.activateChildRoutes(v,null,Tt.children)}else{var Te;const Kt=zi(B.snapshot),On=null!==(Te=null==Kt?void 0:Kt.get(e._Vd))&&void 0!==Te?Te:null;Tt.attachRef=null,Tt.route=B,Tt.resolver=On,Tt.injector=Kt,Tt.outlet&&Tt.outlet.activateWith(B,Tt.injector),this.activateChildRoutes(v,null,Tt.children)}}else this.activateChildRoutes(v,null,D)}}class uo{constructor(v){this.path=v,this.route=this.path[this.path.length-1]}}class $i{constructor(v,h){this.component=v,this.route=h}}function ko(m,v,h){const D=m._root;return Mo(D,v?v._root:null,h,[D.value])}function vr(m,v){const h=Symbol(),D=v.get(m,h);return D===h?"function"!=typeof m||(0,e.Z0I)(m)?v.get(m):m:D}function Mo(m,v,h,D,B={canDeactivateChecks:[],canActivateChecks:[]}){const Ce=oo(v);return m.children.forEach(Te=>{(function Ee(m,v,h,D,B={canDeactivateChecks:[],canActivateChecks:[]}){const Ce=m.value,Te=v?v.value:null,Tt=h?h.getContext(m.value.outlet):null;if(Te&&Ce.routeConfig===Te.routeConfig){const Kt=function _(m,v,h){if("function"==typeof h)return h(m,v);switch(h){case"pathParamsChange":return!xt(m.url,v.url);case"pathParamsOrQueryParamsChange":return!xt(m.url,v.url)||!Rt(m.queryParams,v.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ki(m,v)||!Rt(m.queryParams,v.queryParams);default:return!Ki(m,v)}}(Te,Ce,Ce.routeConfig.runGuardsAndResolvers);Kt?B.canActivateChecks.push(new uo(D)):(Ce.data=Te.data,Ce._resolvedData=Te._resolvedData),Mo(m,v,Ce.component?Tt?Tt.children:null:h,D,B),Kt&&Tt&&Tt.outlet&&Tt.outlet.isActivated&&B.canDeactivateChecks.push(new $i(Tt.outlet.component,Te))}else Te&&y(v,Tt,B),B.canActivateChecks.push(new uo(D)),Mo(m,null,Ce.component?Tt?Tt.children:null:h,D,B)})(Te,Ce[Te.value.outlet],h,D.concat([Te.value]),B),delete Ce[Te.value.outlet]}),Qt(Ce,(Te,Tt)=>y(Te,h.getContext(Tt),B)),B}function y(m,v,h){const D=oo(m),B=m.value;Qt(D,(Ce,Te)=>{y(Ce,B.component?v?v.children.getContext(Te):null:v,h)}),h.canDeactivateChecks.push(new $i(B.component&&v&&v.outlet&&v.outlet.isActivated?v.outlet.component:null,B))}function j(m){return"function"==typeof m}function E(m){return m instanceof F.K||"EmptyError"===(null==m?void 0:m.name)}const M=Symbol("INITIAL_VALUE");function ae(){return(0,se.w)(m=>(0,ne.a)(m.map(v=>v.pipe((0,ee.q)(1),(0,$e.O)(M)))).pipe((0,je.U)(v=>{for(const h of v)if(!0!==h){if(h===M)return M;if(!1===h||h instanceof at)return h}return!0}),(0,Oe.h)(v=>v!==M),(0,ee.q)(1)))}function yi(m){return(0,pe.z)((0,we.b)(v=>{if(nt(v))throw mr(0,v)}),(0,je.U)(v=>!0===v))}const Zi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function or(m,v,h,D,B){const Ce=fo(m,v,h);return Ce.matched?function eo(m,v,h,D){const B=v.canMatch;if(!B||0===B.length)return(0,k.of)(!0);const Ce=B.map(Te=>{const Tt=vr(Te,m);return hn(function sn(m){return m&&j(m.canMatch)}(Tt)?Tt.canMatch(v,h):m.runInContext(()=>Tt(v,h)))});return(0,k.of)(Ce).pipe(ae(),yi())}(D=_r(v,D),v,h).pipe((0,je.U)(Te=>!0===Te?Ce:{...Zi})):(0,k.of)(Ce)}function fo(m,v,h){var D;if(""===v.path)return"full"===v.pathMatch&&(m.hasChildren()||h.length>0)?{...Zi}:{matched:!0,consumedSegments:[],remainingSegments:h,parameters:{},positionalParamSegments:{}};const Ce=(v.matcher||Ft)(h,m,v);if(!Ce)return{...Zi};const Te={};Qt(Ce.posParams,(Kt,On)=>{Te[On]=Kt.path});const Tt=Ce.consumed.length>0?{...Te,...Ce.consumed[Ce.consumed.length-1].parameters}:Te;return{matched:!0,consumedSegments:Ce.consumed,remainingSegments:h.slice(Ce.consumed.length),parameters:Tt,positionalParamSegments:null!==(D=Ce.posParams)&&void 0!==D?D:{}}}function Zo(m,v,h,D){if(h.length>0&&function Hn(m,v,h){return h.some(D=>jn(m,v,D)&&ao(D)!==pt)}(m,h,D)){const Ce=new kt(v,function qr(m,v,h,D){const B={};B[pt]=D,D._sourceSegment=m,D._segmentIndexShift=v.length;for(const Ce of h)if(""===Ce.path&&ao(Ce)!==pt){const Te=new kt([],{});Te._sourceSegment=m,Te._segmentIndexShift=v.length,B[ao(Ce)]=Te}return B}(m,v,D,new kt(h,m.children)));return Ce._sourceSegment=m,Ce._segmentIndexShift=v.length,{segmentGroup:Ce,slicedSegments:[]}}if(0===h.length&&function Vn(m,v,h){return h.some(D=>jn(m,v,D))}(m,h,D)){const Ce=new kt(m.segments,function cr(m,v,h,D,B){const Ce={};for(const Te of D)if(jn(m,h,Te)&&!B[ao(Te)]){const Tt=new kt([],{});Tt._sourceSegment=m,Tt._segmentIndexShift=v.length,Ce[ao(Te)]=Tt}return{...B,...Ce}}(m,v,h,D,m.children));return Ce._sourceSegment=m,Ce._segmentIndexShift=v.length,{segmentGroup:Ce,slicedSegments:h}}const B=new kt(m.segments,m.children);return B._sourceSegment=m,B._segmentIndexShift=v.length,{segmentGroup:B,slicedSegments:h}}function jn(m,v,h){return(!(m.hasChildren()||v.length>0)||"full"!==h.pathMatch)&&""===h.path}function si(m,v,h,D){return!!(ao(m)===D||D!==pt&&jn(v,h,m))&&("**"===m.path||fo(v,m,h).matched)}function wi(m,v,h){return 0===v.length&&!m.children[h]}const $o=!1;class lo{constructor(v){this.segmentGroup=v||null}}class Lo{constructor(v){this.urlTree=v}}function Oi(m){return(0,ce._)(new lo(m))}function $r(m){return(0,ce._)(new Lo(m))}class Vi{constructor(v,h,D,B,Ce){this.injector=v,this.configLoader=h,this.urlSerializer=D,this.urlTree=B,this.config=Ce,this.allowRedirects=!0}apply(){const v=Zo(this.urlTree.root,[],[],this.config).segmentGroup,h=new kt(v.segments,v.children);return this.expandSegmentGroup(this.injector,this.config,h,pt).pipe((0,je.U)(Ce=>this.createUrlTree(Ie(Ce),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,mt.K)(Ce=>{if(Ce instanceof Lo)return this.allowRedirects=!1,this.match(Ce.urlTree);throw Ce instanceof lo?this.noMatchError(Ce):Ce}))}match(v){return this.expandSegmentGroup(this.injector,this.config,v.root,pt).pipe((0,je.U)(B=>this.createUrlTree(Ie(B),v.queryParams,v.fragment))).pipe((0,mt.K)(B=>{throw B instanceof lo?this.noMatchError(B):B}))}noMatchError(v){return new e.vHH(4002,$o)}createUrlTree(v,h,D){const B=le(v);return new at(B,h,D)}expandSegmentGroup(v,h,D,B){return 0===D.segments.length&&D.hasChildren()?this.expandChildren(v,h,D).pipe((0,je.U)(Ce=>new kt([],Ce))):this.expandSegment(v,D,h,D.segments,B,!0)}expandChildren(v,h,D){const B=[];for(const Ce of Object.keys(D.children))"primary"===Ce?B.unshift(Ce):B.push(Ce);return(0,s.D)(B).pipe((0,tt.b)(Ce=>{const Te=D.children[Ce],Tt=ir(h,Ce);return this.expandSegmentGroup(v,Tt,Te,Ce).pipe((0,je.U)(Kt=>({segment:Kt,outlet:Ce})))}),Qe((Ce,Te)=>(Ce[Te.outlet]=Te.segment,Ce),{}),S())}expandSegment(v,h,D,B,Ce,Te){return(0,s.D)(D).pipe((0,tt.b)(Tt=>this.expandSegmentAgainstRoute(v,h,D,Tt,B,Ce,Te).pipe((0,mt.K)(On=>{if(On instanceof lo)return(0,k.of)(null);throw On}))),(0,vt.P)(Tt=>!!Tt),(0,mt.K)((Tt,Kt)=>{if(E(Tt))return wi(h,B,Ce)?(0,k.of)(new kt([],{})):Oi(h);throw Tt}))}expandSegmentAgainstRoute(v,h,D,B,Ce,Te,Tt){return si(B,h,Ce,Te)?void 0===B.redirectTo?this.matchSegmentAgainstRoute(v,h,B,Ce,Te):Tt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(v,h,D,B,Ce,Te):Oi(h):Oi(h)}expandSegmentAgainstRouteUsingRedirect(v,h,D,B,Ce,Te){return"**"===B.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(v,D,B,Te):this.expandRegularSegmentAgainstRouteUsingRedirect(v,h,D,B,Ce,Te)}expandWildCardWithParamsAgainstRouteUsingRedirect(v,h,D,B){const Ce=this.applyRedirectCommands([],D.redirectTo,{});return D.redirectTo.startsWith("/")?$r(Ce):this.lineralizeSegments(D,Ce).pipe((0,_t.z)(Te=>{const Tt=new kt(Te,{});return this.expandSegment(v,Tt,h,Te,B,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(v,h,D,B,Ce,Te){const{matched:Tt,consumedSegments:Kt,remainingSegments:On,positionalParamSegments:Un}=fo(h,B,Ce);if(!Tt)return Oi(h);const Ln=this.applyRedirectCommands(Kt,B.redirectTo,Un);return B.redirectTo.startsWith("/")?$r(Ln):this.lineralizeSegments(B,Ln).pipe((0,_t.z)(ki=>this.expandSegment(v,h,D,ki.concat(On),Te,!1)))}matchSegmentAgainstRoute(v,h,D,B,Ce){return"**"===D.path?(v=_r(D,v),D.loadChildren?(D._loadedRoutes?(0,k.of)({routes:D._loadedRoutes,injector:D._loadedInjector}):this.configLoader.loadChildren(v,D)).pipe((0,je.U)(Tt=>(D._loadedRoutes=Tt.routes,D._loadedInjector=Tt.injector,new kt(B,{})))):(0,k.of)(new kt(B,{}))):or(h,D,B,v).pipe((0,se.w)(({matched:Te,consumedSegments:Tt,remainingSegments:Kt})=>{var On;return Te?(v=null!==(On=D._injector)&&void 0!==On?On:v,this.getChildConfig(v,D,B).pipe((0,_t.z)(Ln=>{var ki;const Ho=null!==(ki=Ln.injector)&&void 0!==ki?ki:v,pr=Ln.routes,{segmentGroup:Jr,slicedSegments:wr}=Zo(h,Tt,Kt,pr),Fr=new kt(Jr.segments,Jr.children);if(0===wr.length&&Fr.hasChildren())return this.expandChildren(Ho,pr,Fr).pipe((0,je.U)(Ks=>new kt(Tt,Ks)));if(0===pr.length&&0===wr.length)return(0,k.of)(new kt(Tt,{}));const ts=ao(D)===Ce;return this.expandSegment(Ho,Fr,pr,wr,ts?pt:Ce,!0).pipe((0,je.U)(Jo=>new kt(Tt.concat(Jo.segments),Jo.children)))}))):Oi(h)}))}getChildConfig(v,h,D){return h.children?(0,k.of)({routes:h.children,injector:v}):h.loadChildren?void 0!==h._loadedRoutes?(0,k.of)({routes:h._loadedRoutes,injector:h._loadedInjector}):function qi(m,v,h,D){const B=v.canLoad;if(void 0===B||0===B.length)return(0,k.of)(!0);const Ce=B.map(Te=>{const Tt=vr(Te,m);return hn(function Ye(m){return m&&j(m.canLoad)}(Tt)?Tt.canLoad(v,h):m.runInContext(()=>Tt(v,h)))});return(0,k.of)(Ce).pipe(ae(),yi())}(v,h,D).pipe((0,_t.z)(B=>B?this.configLoader.loadChildren(v,h).pipe((0,we.b)(Ce=>{h._loadedRoutes=Ce.routes,h._loadedInjector=Ce.injector})):function ho(m){return(0,ce._)(zr($o,3))}())):(0,k.of)({routes:[],injector:v})}lineralizeSegments(v,h){let D=[],B=h.root;for(;;){if(D=D.concat(B.segments),0===B.numberOfChildren)return(0,k.of)(D);if(B.numberOfChildren>1||!B.children[pt])return v.redirectTo,(0,ce._)(new e.vHH(4e3,$o));B=B.children[pt]}}applyRedirectCommands(v,h,D){return this.applyRedirectCreateUrlTree(h,this.urlSerializer.parse(h),v,D)}applyRedirectCreateUrlTree(v,h,D,B){const Ce=this.createSegmentGroup(v,h.root,D,B);return new at(Ce,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(v,h){const D={};return Qt(v,(B,Ce)=>{if("string"==typeof B&&B.startsWith(":")){const Tt=B.substring(1);D[Ce]=h[Tt]}else D[Ce]=B}),D}createSegmentGroup(v,h,D,B){const Ce=this.createSegments(v,h.segments,D,B);let Te={};return Qt(h.children,(Tt,Kt)=>{Te[Kt]=this.createSegmentGroup(v,Tt,D,B)}),new kt(Ce,Te)}createSegments(v,h,D,B){return h.map(Ce=>Ce.path.startsWith(":")?this.findPosParam(v,Ce,B):this.findOrReturn(Ce,D))}findPosParam(v,h,D){const B=D[h.path.substring(1)];if(!B)throw new e.vHH(4001,$o);return B}findOrReturn(v,h){let D=0;for(const B of h){if(B.path===v.path)return h.splice(D),B;D++}return v}}class Rr{}class Es{constructor(v,h,D,B,Ce,Te,Tt){this.injector=v,this.rootComponentType=h,this.config=D,this.urlTree=B,this.url=Ce,this.paramsInheritanceStrategy=Te,this.urlSerializer=Tt}recognize(){const v=Zo(this.urlTree.root,[],[],this.config.filter(h=>void 0===h.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,v,pt).pipe((0,je.U)(h=>{if(null===h)return null;const D=new Ii([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},pt,this.rootComponentType,null,this.urlTree.root,-1,{}),B=new Si(D,h),Ce=new Bi(this.url,B);return this.inheritParamsAndData(Ce._root),Ce}))}inheritParamsAndData(v){const h=v.value,D=Rn(h,this.paramsInheritanceStrategy);h.params=Object.freeze(D.params),h.data=Object.freeze(D.data),v.children.forEach(B=>this.inheritParamsAndData(B))}processSegmentGroup(v,h,D,B){return 0===D.segments.length&&D.hasChildren()?this.processChildren(v,h,D):this.processSegment(v,h,D,D.segments,B)}processChildren(v,h,D){return(0,s.D)(Object.keys(D.children)).pipe((0,tt.b)(B=>{const Ce=D.children[B],Te=ir(h,B);return this.processSegmentGroup(v,Te,Ce,B)}),Qe((B,Ce)=>B&&Ce?(B.push(...Ce),B):null),(0,q.o)(B=>null!==B),(0,R.d)(null),S(),(0,je.U)(B=>{if(null===B)return null;const Ce=$s(B);return function ms(m){m.sort((v,h)=>v.value.outlet===pt?-1:h.value.outlet===pt?1:v.value.outlet.localeCompare(h.value.outlet))}(Ce),Ce}))}processSegment(v,h,D,B,Ce){return(0,s.D)(h).pipe((0,tt.b)(Te=>{var Tt;return this.processSegmentAgainstRoute(null!==(Tt=Te._injector)&&void 0!==Tt?Tt:v,Te,D,B,Ce)}),(0,vt.P)(Te=>!!Te),(0,mt.K)(Te=>{if(E(Te))return wi(D,B,Ce)?(0,k.of)([]):(0,k.of)(null);throw Te}))}processSegmentAgainstRoute(v,h,D,B,Ce){if(h.redirectTo||!si(h,D,B,Ce))return(0,k.of)(null);let Te;if("**"===h.path){var Tt,Kt;const On=B.length>0?Dt(B).parameters:{},Un=Fo(D)+B.length,Ln=new Ii(B,On,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,J(h),ao(h),null!==(Tt=null!==(Kt=h.component)&&void 0!==Kt?Kt:h._loadedComponent)&&void 0!==Tt?Tt:null,h,Lr(D),Un,P(h));Te=(0,k.of)({snapshot:Ln,consumedSegments:[],remainingSegments:[]})}else Te=or(D,h,B,v).pipe((0,je.U)(({matched:On,consumedSegments:Un,remainingSegments:Ln,parameters:ki})=>{var Ho,pr;if(!On)return null;const Jr=Fo(D)+Un.length;return{snapshot:new Ii(Un,ki,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,J(h),ao(h),null!==(Ho=null!==(pr=h.component)&&void 0!==pr?pr:h._loadedComponent)&&void 0!==Ho?Ho:null,h,Lr(D),Jr,P(h)),consumedSegments:Un,remainingSegments:Ln}}));return Te.pipe((0,se.w)(On=>{var Un,Ln;if(null===On)return(0,k.of)(null);const{snapshot:ki,consumedSegments:Ho,remainingSegments:pr}=On;v=null!==(Un=h._injector)&&void 0!==Un?Un:v;const Jr=null!==(Ln=h._loadedInjector)&&void 0!==Ln?Ln:v,wr=function Vs(m){return m.children?m.children:m.loadChildren?m._loadedRoutes:[]}(h),{segmentGroup:Fr,slicedSegments:ts}=Zo(D,Ho,pr,wr.filter(Jo=>void 0===Jo.redirectTo));if(0===ts.length&&Fr.hasChildren())return this.processChildren(Jr,wr,Fr).pipe((0,je.U)(Jo=>null===Jo?null:[new Si(ki,Jo)]));if(0===wr.length&&0===ts.length)return(0,k.of)([new Si(ki,[])]);const ns=ao(h)===Ce;return this.processSegment(Jr,wr,Fr,ts,ns?pt:Ce).pipe((0,je.U)(Jo=>null===Jo?null:[new Si(ki,Jo)]))}))}}function js(m){const v=m.value.routeConfig;return v&&""===v.path&&void 0===v.redirectTo}function $s(m){const v=[],h=new Set;for(const D of m){if(!js(D)){v.push(D);continue}const B=v.find(Ce=>D.value.routeConfig===Ce.value.routeConfig);void 0!==B?(B.children.push(...D.children),h.add(B)):v.push(D)}for(const D of h){const B=$s(D.children);v.push(new Si(D.value,B))}return v.filter(D=>!h.has(D))}function Lr(m){let v=m;for(;v._sourceSegment;)v=v._sourceSegment;return v}function Fo(m){var v;let h=m,D=null!==(v=h._segmentIndexShift)&&void 0!==v?v:0;for(;h._sourceSegment;){var B;h=h._sourceSegment,D+=null!==(B=h._segmentIndexShift)&&void 0!==B?B:0}return D-1}function J(m){return m.data||{}}function P(m){return m.resolve||{}}function _i(m){return"string"==typeof m.title||null===m.title}function fi(m){return(0,se.w)(v=>{const h=m(v);return h?(0,s.D)(h).pipe((0,je.U)(()=>v)):(0,k.of)(v)})}const Pi=new e.OlP("ROUTES");let bi=(()=>{class m{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.f3M)(e.Sil)}loadComponent(h){if(this.componentLoaders.get(h))return this.componentLoaders.get(h);if(h._loadedComponent)return(0,k.of)(h._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(h);const D=hn(h.loadComponent()).pipe((0,je.U)(xr),(0,we.b)(Ce=>{this.onLoadEndListener&&this.onLoadEndListener(h),h._loadedComponent=Ce}),(0,N.x)(()=>{this.componentLoaders.delete(h)})),B=new ve(D,()=>new Ae.x).pipe(Ue());return this.componentLoaders.set(h,B),B}loadChildren(h,D){if(this.childrenLoaders.get(D))return this.childrenLoaders.get(D);if(D._loadedRoutes)return(0,k.of)({routes:D._loadedRoutes,injector:D._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(D);const Ce=this.loadModuleFactoryOrRoutes(D.loadChildren).pipe((0,je.U)(Tt=>{this.onLoadEndListener&&this.onLoadEndListener(D);let Kt,On,Un=!1;Array.isArray(Tt)?On=Tt:(Kt=Tt.create(h).injector,On=Ut(Kt.get(Pi,[],e.XFs.Self|e.XFs.Optional)));return{routes:On.map(Ei),injector:Kt}}),(0,N.x)(()=>{this.childrenLoaders.delete(D)})),Te=new ve(Ce,()=>new Ae.x).pipe(Ue());return this.childrenLoaders.set(D,Te),Te}loadModuleFactoryOrRoutes(h){return hn(h()).pipe((0,je.U)(xr),(0,_t.z)(D=>D instanceof e.YKP||Array.isArray(D)?(0,k.of)(D):(0,s.D)(this.compiler.compileModuleAsync(D))))}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function xr(m){return function Xi(m){return m&&"object"==typeof m&&"default"in m}(m)?m.default:m}let yr=(()=>{class m{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Ae.x,this.configLoader=(0,e.f3M)(bi),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(Pt),this.rootContexts=(0,e.f3M)(jo),this.navigationId=0,this.afterPreactivation=()=>(0,k.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=B=>this.events.next(new no(B)),this.configLoader.onLoadStartListener=B=>this.events.next(new wo(B))}complete(){var h;null===(h=this.transitions)||void 0===h||h.complete()}handleNavigationRequest(h){var D;const B=++this.navigationId;null===(D=this.transitions)||void 0===D||D.next({...this.transitions.value,...h,id:B})}setupNavigations(h){return this.transitions=new z.X({id:0,targetPageId:0,currentUrlTree:h.currentUrlTree,currentRawUrl:h.currentUrlTree,extractedUrl:h.urlHandlingStrategy.extract(h.currentUrlTree),urlAfterRedirects:h.urlHandlingStrategy.extract(h.currentUrlTree),rawUrl:h.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Xn,restoredState:null,currentSnapshot:h.routerState.snapshot,targetSnapshot:null,currentRouterState:h.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Oe.h)(D=>0!==D.id),(0,je.U)(D=>({...D,extractedUrl:h.urlHandlingStrategy.extract(D.rawUrl)})),(0,se.w)(D=>{let B=!1,Ce=!1;return(0,k.of)(D).pipe((0,we.b)(Te=>{this.currentNavigation={id:Te.id,initialUrl:Te.rawUrl,extractedUrl:Te.extractedUrl,trigger:Te.source,extras:Te.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,se.w)(Te=>{var Tt;const Kt=h.browserUrlTree.toString(),On=!h.navigated||Te.extractedUrl.toString()!==Kt||Kt!==h.currentUrlTree.toString(),Un=null!==(Tt=Te.extras.onSameUrlNavigation)&&void 0!==Tt?Tt:h.onSameUrlNavigation;if(!On&&"reload"!==Un){const Ln="";return this.events.next(new Wn(Te.id,h.serializeUrl(D.rawUrl),Ln,0)),h.rawUrlTree=Te.rawUrl,Te.resolve(null),Y.E}if(h.urlHandlingStrategy.shouldProcessUrl(Te.rawUrl))return Go(Te.source)&&(h.browserUrlTree=Te.extractedUrl),(0,k.of)(Te).pipe((0,se.w)(Ln=>{var ki,Ho;const pr=null===(ki=this.transitions)||void 0===ki?void 0:ki.getValue();return this.events.next(new Qn(Ln.id,this.urlSerializer.serialize(Ln.extractedUrl),Ln.source,Ln.restoredState)),pr!==(null===(Ho=this.transitions)||void 0===Ho?void 0:Ho.getValue())?Y.E:Promise.resolve(Ln)}),function kr(m,v,h,D){return(0,se.w)(B=>function No(m,v,h,D,B){return new Vi(m,v,h,D,B).apply()}(m,v,h,B.extractedUrl,D).pipe((0,je.U)(Ce=>({...B,urlAfterRedirects:Ce}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,h.config),(0,we.b)(Ln=>{this.currentNavigation={...this.currentNavigation,finalUrl:Ln.urlAfterRedirects},D.urlAfterRedirects=Ln.urlAfterRedirects}),function ge(m,v,h,D,B){return(0,_t.z)(Ce=>function gs(m,v,h,D,B,Ce,Te="emptyOnly"){return new Es(m,v,h,D,B,Te,Ce).recognize().pipe((0,se.w)(Tt=>null===Tt?function Gi(m){return new de.y(v=>v.error(m))}(new Rr):(0,k.of)(Tt)))}(m,v,h,Ce.urlAfterRedirects,D.serialize(Ce.urlAfterRedirects),D,B).pipe((0,je.U)(Te=>({...Ce,targetSnapshot:Te}))))}(this.environmentInjector,this.rootComponentType,h.config,this.urlSerializer,h.paramsInheritanceStrategy),(0,we.b)(Ln=>{if(D.targetSnapshot=Ln.targetSnapshot,"eager"===h.urlUpdateStrategy){if(!Ln.extras.skipLocationChange){const Ho=h.urlHandlingStrategy.merge(Ln.urlAfterRedirects,Ln.rawUrl);h.setBrowserUrl(Ho,Ln)}h.browserUrlTree=Ln.urlAfterRedirects}const ki=new ti(Ln.id,this.urlSerializer.serialize(Ln.extractedUrl),this.urlSerializer.serialize(Ln.urlAfterRedirects),Ln.targetSnapshot);this.events.next(ki)}));if(On&&h.urlHandlingStrategy.shouldProcessUrl(h.rawUrlTree)){const{id:Ln,extractedUrl:ki,source:Ho,restoredState:pr,extras:Jr}=Te,wr=new Qn(Ln,this.urlSerializer.serialize(ki),Ho,pr);this.events.next(wr);const Fr=Pn(ki,this.rootComponentType).snapshot;return D={...Te,targetSnapshot:Fr,urlAfterRedirects:ki,extras:{...Jr,skipLocationChange:!1,replaceUrl:!1}},(0,k.of)(D)}{const Ln="";return this.events.next(new Wn(Te.id,h.serializeUrl(D.extractedUrl),Ln,1)),h.rawUrlTree=Te.rawUrl,Te.resolve(null),Y.E}}),(0,we.b)(Te=>{const Tt=new Mi(Te.id,this.urlSerializer.serialize(Te.extractedUrl),this.urlSerializer.serialize(Te.urlAfterRedirects),Te.targetSnapshot);this.events.next(Tt)}),(0,je.U)(Te=>D={...Te,guards:ko(Te.targetSnapshot,Te.currentSnapshot,this.rootContexts)}),function ft(m,v){return(0,_t.z)(h=>{const{targetSnapshot:D,currentSnapshot:B,guards:{canActivateChecks:Ce,canDeactivateChecks:Te}}=h;return 0===Te.length&&0===Ce.length?(0,k.of)({...h,guardsResult:!0}):function Dn(m,v,h,D){return(0,s.D)(m).pipe((0,_t.z)(B=>function Ro(m,v,h,D,B){const Ce=v&&v.routeConfig?v.routeConfig.canDeactivate:null;if(!Ce||0===Ce.length)return(0,k.of)(!0);const Te=Ce.map(Tt=>{var Kt;const On=null!==(Kt=zi(v))&&void 0!==Kt?Kt:B,Un=vr(Tt,On);return hn(function Vt(m){return m&&j(m.canDeactivate)}(Un)?Un.canDeactivate(m,v,h,D):On.runInContext(()=>Un(m,v,h,D))).pipe((0,vt.P)())});return(0,k.of)(Te).pipe(ae())}(B.component,B.route,h,v,D)),(0,vt.P)(B=>!0!==B,!0))}(Te,D,B,m).pipe((0,_t.z)(Tt=>Tt&&function De(m){return"boolean"==typeof m}(Tt)?function zn(m,v,h,D){return(0,s.D)(v).pipe((0,tt.b)(B=>(0,W.z)(function Di(m,v){return null!==m&&v&&v(new qo(m)),(0,k.of)(!0)}(B.route.parent,D),function ii(m,v){return null!==m&&v&&v(new ui(m)),(0,k.of)(!0)}(B.route,D),function _o(m,v,h){const D=v[v.length-1],Ce=v.slice(0,v.length-1).reverse().map(Te=>function Or(m){const v=m.routeConfig?m.routeConfig.canActivateChild:null;return v&&0!==v.length?{node:m,guards:v}:null}(Te)).filter(Te=>null!==Te).map(Te=>(0,te.P)(()=>{const Tt=Te.guards.map(Kt=>{var On;const Un=null!==(On=zi(Te.node))&&void 0!==On?On:h,Ln=vr(Kt,Un);return hn(function Ot(m){return m&&j(m.canActivateChild)}(Ln)?Ln.canActivateChild(D,m):Un.runInContext(()=>Ln(D,m))).pipe((0,vt.P)())});return(0,k.of)(Tt).pipe(ae())}));return(0,k.of)(Ce).pipe(ae())}(m,B.path,h),function mi(m,v,h){const D=v.routeConfig?v.routeConfig.canActivate:null;if(!D||0===D.length)return(0,k.of)(!0);const B=D.map(Ce=>(0,te.P)(()=>{var Te;const Tt=null!==(Te=zi(v))&&void 0!==Te?Te:h,Kt=vr(Ce,Tt);return hn(function Ct(m){return m&&j(m.canActivate)}(Kt)?Kt.canActivate(v,m):Tt.runInContext(()=>Kt(v,m))).pipe((0,vt.P)())}));return(0,k.of)(B).pipe(ae())}(m,B.route,h))),(0,vt.P)(B=>!0!==B,!0))}(D,Ce,m,v):(0,k.of)(Tt)),(0,je.U)(Tt=>({...h,guardsResult:Tt})))})}(this.environmentInjector,Te=>this.events.next(Te)),(0,we.b)(Te=>{if(D.guardsResult=Te.guardsResult,nt(Te.guardsResult))throw mr(0,Te.guardsResult);const Tt=new to(Te.id,this.urlSerializer.serialize(Te.extractedUrl),this.urlSerializer.serialize(Te.urlAfterRedirects),Te.targetSnapshot,!!Te.guardsResult);this.events.next(Tt)}),(0,Oe.h)(Te=>!!Te.guardsResult||(h.restoreHistory(Te),this.cancelNavigationTransition(Te,"",3),!1)),fi(Te=>{if(Te.guards.canActivateChecks.length)return(0,k.of)(Te).pipe((0,we.b)(Tt=>{const Kt=new Ri(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),this.urlSerializer.serialize(Tt.urlAfterRedirects),Tt.targetSnapshot);this.events.next(Kt)}),(0,se.w)(Tt=>{let Kt=!1;return(0,k.of)(Tt).pipe(function Je(m,v){return(0,_t.z)(h=>{const{targetSnapshot:D,guards:{canActivateChecks:B}}=h;if(!B.length)return(0,k.of)(h);let Ce=0;return(0,s.D)(B).pipe((0,tt.b)(Te=>function Gt(m,v,h,D){const B=m.routeConfig,Ce=m._resolve;return void 0!==(null==B?void 0:B.title)&&!_i(B)&&(Ce[wt]=B.title),function tn(m,v,h,D){const B=function An(m){return[...Object.keys(m),...Object.getOwnPropertySymbols(m)]}(m);if(0===B.length)return(0,k.of)({});const Ce={};return(0,s.D)(B).pipe((0,_t.z)(Te=>function di(m,v,h,D){var B;const Ce=null!==(B=zi(v))&&void 0!==B?B:D,Te=vr(m,Ce);return hn(Te.resolve?Te.resolve(v,h):Ce.runInContext(()=>Te(v,h)))}(m[Te],v,h,D).pipe((0,vt.P)(),(0,we.b)(Tt=>{Ce[Te]=Tt}))),qe(1),(0,ze.h)(Ce),(0,mt.K)(Te=>E(Te)?Y.E:(0,ce._)(Te)))}(Ce,m,v,D).pipe((0,je.U)(Te=>(m._resolvedData=Te,m.data=Rn(m,h).resolve,B&&_i(B)&&(m.data[wt]=B.title),null)))}(Te.route,D,m,v)),(0,we.b)(()=>Ce++),qe(1),(0,_t.z)(Te=>Ce===B.length?(0,k.of)(h):Y.E))})}(h.paramsInheritanceStrategy,this.environmentInjector),(0,we.b)({next:()=>Kt=!0,complete:()=>{Kt||(h.restoreHistory(Tt),this.cancelNavigationTransition(Tt,"",2))}}))}),(0,we.b)(Tt=>{const Kt=new Wo(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),this.urlSerializer.serialize(Tt.urlAfterRedirects),Tt.targetSnapshot);this.events.next(Kt)}))}),fi(Te=>{const Tt=Kt=>{var On;const Un=[];null!==(On=Kt.routeConfig)&&void 0!==On&&On.loadComponent&&!Kt.routeConfig._loadedComponent&&Un.push(this.configLoader.loadComponent(Kt.routeConfig).pipe((0,we.b)(Ln=>{Kt.component=Ln}),(0,je.U)(()=>{})));for(const Ln of Kt.children)Un.push(...Tt(Ln));return Un};return(0,ne.a)(Tt(Te.targetSnapshot.root)).pipe((0,R.d)(),(0,ee.q)(1))}),fi(()=>this.afterPreactivation()),(0,je.U)(Te=>{const Tt=function Yo(m,v,h){const D=Do(m,v._root,h?h._root:void 0);return new go(D,v)}(h.routeReuseStrategy,Te.targetSnapshot,Te.currentRouterState);return D={...Te,targetRouterState:Tt}}),(0,we.b)(Te=>{h.currentUrlTree=Te.urlAfterRedirects,h.rawUrlTree=h.urlHandlingStrategy.merge(Te.urlAfterRedirects,Te.rawUrl),h.routerState=Te.targetRouterState,"deferred"===h.urlUpdateStrategy&&(Te.extras.skipLocationChange||h.setBrowserUrl(h.rawUrlTree,Te),h.browserUrlTree=Te.urlAfterRedirects)}),((m,v,h)=>(0,je.U)(D=>(new Er(v,D.targetRouterState,D.currentRouterState,h).activate(m),D)))(this.rootContexts,h.routeReuseStrategy,Te=>this.events.next(Te)),(0,ee.q)(1),(0,we.b)({next:Te=>{var Tt;B=!0,this.lastSuccessfulNavigation=this.currentNavigation,h.navigated=!0,this.events.next(new Ai(Te.id,this.urlSerializer.serialize(Te.extractedUrl),this.urlSerializer.serialize(h.currentUrlTree))),null===(Tt=h.titleStrategy)||void 0===Tt||Tt.updateTitle(Te.targetRouterState.snapshot),Te.resolve(!0)},complete:()=>{B=!0}}),(0,N.x)(()=>{var Te;B||Ce||this.cancelNavigationTransition(D,"",1),(null===(Te=this.currentNavigation)||void 0===Te?void 0:Te.id)===D.id&&(this.currentNavigation=null)}),(0,mt.K)(Te=>{if(Ce=!0,Vr(Te)){er(Te)||(h.navigated=!0,h.restoreHistory(D,!0));const Kt=new Ji(D.id,this.urlSerializer.serialize(D.extractedUrl),Te.message,Te.cancellationCode);if(this.events.next(Kt),er(Te)){const On=h.urlHandlingStrategy.merge(Te.url,h.rawUrlTree),Un={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===h.urlUpdateStrategy||Go(D.source)};h.scheduleNavigation(On,Xn,null,Un,{resolve:D.resolve,reject:D.reject,promise:D.promise})}else D.resolve(!1)}else{var Tt;h.restoreHistory(D,!0);const Kt=new Ti(D.id,this.urlSerializer.serialize(D.extractedUrl),Te,null!==(Tt=D.targetSnapshot)&&void 0!==Tt?Tt:void 0);this.events.next(Kt);try{D.resolve(h.errorHandler(Te))}catch(On){D.reject(On)}}return Y.E}))}))}cancelNavigationTransition(h,D,B){const Ce=new Ji(h.id,this.urlSerializer.serialize(h.extractedUrl),D,B);this.events.next(Ce),h.resolve(!1)}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function Go(m){return m!==Xn}let rr=(()=>{class m{buildTitle(h){let D,B=h.root;for(;void 0!==B;){var Ce;D=null!==(Ce=this.getResolvedTitleForRoute(B))&&void 0!==Ce?Ce:D,B=B.children.find(Te=>Te.outlet===pt)}return D}getResolvedTitleForRoute(h){return h.data[wt]}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:function(){return(0,e.f3M)(Nr)},providedIn:"root"}),m})(),Nr=(()=>{class m extends rr{constructor(h){super(),this.title=h}updateTitle(h){const D=this.buildTitle(h);void 0!==D&&this.title.setTitle(D)}}return m.\u0275fac=function(h){return new(h||m)(e.LFG(et.Dx))},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),br=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:function(){return(0,e.f3M)(Gr)},providedIn:"root"}),m})();class ss{shouldDetach(v){return!1}store(v,h){}shouldAttach(v){return!1}retrieve(v){return null}shouldReuseRoute(v,h){return v.routeConfig===h.routeConfig}}let Gr=(()=>{class m extends ss{}return m.\u0275fac=function(){let v;return function(D){return(v||(v=e.n5z(m)))(D||m)}}(),m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const Bo=new e.OlP("",{providedIn:"root",factory:()=>({})});let Gs=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:function(){return(0,e.f3M)(ea)},providedIn:"root"}),m})(),ea=(()=>{class m{shouldProcessUrl(h){return!0}extract(h){return h}merge(h,D){return h}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function ta(m){throw m}function vs(m,v,h){return v.parse("/")}const Os={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Uo=(()=>{class m{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){var h;if("computed"===this.canceledNavigationResolution)return null===(h=this.location.getState())||void 0===h?void 0:h.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){var h;this.disposed=!1,this.currentPageId=0,this.console=(0,e.f3M)(e.c2e),this.isNgZoneEnabled=!1,this.options=(0,e.f3M)(Bo,{optional:!0})||{},this.errorHandler=this.options.errorHandler||ta,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||vs,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,e.f3M)(Gs),this.routeReuseStrategy=(0,e.f3M)(br),this.urlCreationStrategy=(0,e.f3M)(ji),this.titleStrategy=(0,e.f3M)(rr),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=Ut(null!==(h=(0,e.f3M)(Pi,{optional:!0}))&&void 0!==h?h:[]),this.navigationTransitions=(0,e.f3M)(yr),this.urlSerializer=(0,e.f3M)(Pt),this.location=(0,e.f3M)(Ve.Ye),this.isNgZoneEnabled=(0,e.f3M)(e.R0b)instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new at,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Pn(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(D=>{var B;this.lastSuccessfulId=D.id,this.currentPageId=null!==(B=this.browserPageId)&&void 0!==B?B:0},D=>{this.console.warn(`Unhandled Navigation Error: ${D}`)})}resetRootComponentType(h){this.routerState.root.component=h,this.navigationTransitions.rootComponentType=h}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const h=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Xn,h)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(h=>{const D="popstate"===h.type?"popstate":"hashchange";"popstate"===D&&setTimeout(()=>{this.navigateToSyncWithBrowser(h.url,D,h.state)},0)}))}navigateToSyncWithBrowser(h,D,B){const Ce={replaceUrl:!0},Te=null!=B&&B.navigationId?B:null;if(B){const Kt={...B};delete Kt.navigationId,delete Kt.\u0275routerPageId,0!==Object.keys(Kt).length&&(Ce.state=Kt)}const Tt=this.parseUrl(h);this.scheduleNavigation(Tt,D,Te,Ce)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(h){this.config=h.map(Ei),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}createUrlTree(h,D={}){const{relativeTo:B,queryParams:Ce,fragment:Te,queryParamsHandling:Tt,preserveFragment:Kt}=D,On=Kt?this.currentUrlTree.fragment:Te;let Un=null;switch(Tt){case"merge":Un={...this.currentUrlTree.queryParams,...Ce};break;case"preserve":Un=this.currentUrlTree.queryParams;break;default:Un=Ce||null}return null!==Un&&(Un=this.removeEmptyProps(Un)),this.urlCreationStrategy.createUrlTree(B,this.routerState,this.currentUrlTree,h,Un,null!=On?On:null)}navigateByUrl(h,D={skipLocationChange:!1}){const B=nt(h)?h:this.parseUrl(h),Ce=this.urlHandlingStrategy.merge(B,this.rawUrlTree);return this.scheduleNavigation(Ce,Xn,null,D)}navigate(h,D={skipLocationChange:!1}){return function ws(m){for(let v=0;v{const Ce=h[B];return null!=Ce&&(D[B]=Ce),D},{})}scheduleNavigation(h,D,B,Ce,Te){if(this.disposed)return Promise.resolve(!1);let Tt,Kt,On,Un;if(Te?(Tt=Te.resolve,Kt=Te.reject,On=Te.promise):On=new Promise((ki,Ho)=>{Tt=ki,Kt=Ho}),"computed"===this.canceledNavigationResolution)if(B&&B.\u0275routerPageId)Un=B.\u0275routerPageId;else{var Ln;Un=(null!==(Ln=this.browserPageId)&&void 0!==Ln?Ln:0)+1}else Un=0;return this.navigationTransitions.handleNavigationRequest({targetPageId:Un,source:D,restoredState:B,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:h,extras:Ce,resolve:Tt,reject:Kt,promise:On,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),On.catch(ki=>Promise.reject(ki))}setBrowserUrl(h,D){const B=this.urlSerializer.serialize(h);if(this.location.isCurrentPathEqualTo(B)||D.extras.replaceUrl){const Te={...D.extras.state,...this.generateNgRouterState(D.id,this.browserPageId)};this.location.replaceState(B,"",Te)}else{const Ce={...D.extras.state,...this.generateNgRouterState(D.id,D.targetPageId)};this.location.go(B,"",Ce)}}restoreHistory(h,D=!1){if("computed"===this.canceledNavigationResolution){var B,Ce;const Te=null!==(B=this.browserPageId)&&void 0!==B?B:this.currentPageId,Tt=this.currentPageId-Te;0!==Tt?this.location.historyGo(Tt):this.currentUrlTree===(null===(Ce=this.getCurrentNavigation())||void 0===Ce?void 0:Ce.finalUrl)&&0===Tt&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(D&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){this.routerState=h.currentRouterState,this.currentUrlTree=h.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,h.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(h,D){return"computed"===this.canceledNavigationResolution?{navigationId:h,\u0275routerPageId:D}:{navigationId:h}}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),as=(()=>{class m{constructor(h,D,B,Ce,Te,Tt){var Kt;this.router=h,this.route=D,this.tabIndexAttribute=B,this.renderer=Ce,this.el=Te,this.locationStrategy=Tt,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Ae.x;const On=null===(Kt=Te.nativeElement.tagName)||void 0===Kt?void 0:Kt.toLowerCase();this.isAnchorElement="a"===On||"area"===On,this.isAnchorElement?this.subscription=h.events.subscribe(Un=>{Un instanceof Ai&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(h){this._preserveFragment=(0,e.D6c)(h)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(h){this._skipLocationChange=(0,e.D6c)(h)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(h){this._replaceUrl=(0,e.D6c)(h)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(h){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",h)}ngOnChanges(h){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(h){null!=h?(this.commands=Array.isArray(h)?h:[h],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(h,D,B,Ce,Te){return!!(null===this.urlTree||this.isAnchorElement&&(0!==h||D||B||Ce||Te||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){var h;null===(h=this.subscription)||void 0===h||h.unsubscribe()}updateHref(){var h;this.href=null!==this.urlTree&&this.locationStrategy?null===(h=this.locationStrategy)||void 0===h?void 0:h.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const D=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",D)}applyAttributeValue(h,D){const B=this.renderer,Ce=this.el.nativeElement;null!==D?B.setAttribute(Ce,h,D):B.removeAttribute(Ce,h)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return m.\u0275fac=function(h){return new(h||m)(e.Y36(Uo),e.Y36(yn),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(Ve.S$))},m.\u0275dir=e.lG2({type:m,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(h,D){1&h&&e.NdJ("click",function(Ce){return D.onClick(Ce.button,Ce.ctrlKey,Ce.shiftKey,Ce.altKey,Ce.metaKey)}),2&h&&e.uIk("target",D.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[e.TTD]}),m})(),Ps=(()=>{class m{get isActive(){return this._isActive}constructor(h,D,B,Ce,Te){this.router=h,this.element=D,this.renderer=B,this.cdr=Ce,this.link=Te,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=h.events.subscribe(Tt=>{Tt instanceof Ai&&this.update()})}ngAfterContentInit(){(0,k.of)(this.links.changes,(0,k.of)(null)).pipe((0,Se.J)()).subscribe(h=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var h;null===(h=this.linkInputChangesSubscription)||void 0===h||h.unsubscribe();const D=[...this.links.toArray(),this.link].filter(B=>!!B).map(B=>B.onChanges);this.linkInputChangesSubscription=(0,s.D)(D).pipe((0,Se.J)()).subscribe(B=>{this._isActive!==this.isLinkActive(this.router)(B)&&this.update()})}set routerLinkActive(h){const D=Array.isArray(h)?h:h.split(" ");this.classes=D.filter(B=>!!B)}ngOnChanges(h){this.update()}ngOnDestroy(){var h;this.routerEventsSubscription.unsubscribe(),null===(h=this.linkInputChangesSubscription)||void 0===h||h.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const h=this.hasActiveLinks();this._isActive!==h&&(this._isActive=h,this.cdr.markForCheck(),this.classes.forEach(D=>{h?this.renderer.addClass(this.element.nativeElement,D):this.renderer.removeClass(this.element.nativeElement,D)}),h&&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(h))})}isLinkActive(h){const D=function As(m){return!!m.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return B=>!!B.urlTree&&h.isActive(B.urlTree,D)}hasActiveLinks(){const h=this.isLinkActive(this.router);return this.link&&h(this.link)||this.links.some(h)}}return m.\u0275fac=function(h){return new(h||m)(e.Y36(Uo),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(as,8))},m.\u0275dir=e.lG2({type:m,selectors:[["","routerLinkActive",""]],contentQueries:function(h,D,B){if(1&h&&e.Suo(B,as,5),2&h){let Ce;e.iGM(Ce=e.CRH())&&(D.links=Ce)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.TTD]}),m})();class es{}let us=(()=>{class m{constructor(h,D,B,Ce,Te){this.router=h,this.injector=B,this.preloadingStrategy=Ce,this.loader=Te}setUpPreloading(){this.subscription=this.router.events.pipe((0,Oe.h)(h=>h instanceof Ai),(0,tt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,D){const B=[];for(const Kt of D){var Ce,Te;Kt.providers&&!Kt._injector&&(Kt._injector=(0,e.MMx)(Kt.providers,h,`Route: ${Kt.path}`));const On=null!==(Ce=Kt._injector)&&void 0!==Ce?Ce:h,Un=null!==(Te=Kt._loadedInjector)&&void 0!==Te?Te:On;var Tt;(Kt.loadChildren&&!Kt._loadedRoutes&&void 0===Kt.canLoad||Kt.loadComponent&&!Kt._loadedComponent)&&B.push(this.preloadConfig(On,Kt)),(Kt.children||Kt._loadedRoutes)&&B.push(this.processRoutes(Un,null!==(Tt=Kt.children)&&void 0!==Tt?Tt:Kt._loadedRoutes))}return(0,s.D)(B).pipe((0,Se.J)())}preloadConfig(h,D){return this.preloadingStrategy.preload(D,()=>{let B;B=D.loadChildren&&void 0===D.canLoad?this.loader.loadChildren(h,D):(0,k.of)(null);const Ce=B.pipe((0,_t.z)(Te=>{var Tt;return null===Te?(0,k.of)(void 0):(D._loadedRoutes=Te.routes,D._loadedInjector=Te.injector,this.processRoutes(null!==(Tt=Te.injector)&&void 0!==Tt?Tt:h,Te.routes))}));if(D.loadComponent&&!D._loadedComponent){const Te=this.loader.loadComponent(D);return(0,s.D)([Ce,Te]).pipe((0,Se.J)())}return Ce})}}return m.\u0275fac=function(h){return new(h||m)(e.LFG(Uo),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(es),e.LFG(bi))},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const sr=new e.OlP("");let na=(()=>{class m{constructor(h,D,B,Ce,Te={}){this.urlSerializer=h,this.transitions=D,this.viewportScroller=B,this.zone=Ce,this.options=Te,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Te.scrollPositionRestoration=Te.scrollPositionRestoration||"disabled",Te.anchorScrolling=Te.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(h=>{h instanceof Qn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof Ai&&(this.lastId=h.id,this.scheduleScrollEvent(h,this.urlSerializer.parse(h.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(h=>{h instanceof Qi&&(h.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(h.position):h.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(h.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(h,D){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Qi(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,D))})},0)})}ngOnDestroy(){var h,D;null===(h=this.routerEventsSubscription)||void 0===h||h.unsubscribe(),null===(D=this.scrollEventsSubscription)||void 0===D||D.unsubscribe()}}return m.\u0275fac=function(h){e.$Z()},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac}),m})();var fr=(()=>((fr=fr||{})[fr.COMPLETE=0]="COMPLETE",fr[fr.FAILED=1]="FAILED",fr[fr.REDIRECTING=2]="REDIRECTING",fr))();const ar=!1;function l(m,v){return{\u0275kind:m,\u0275providers:v}}const g=new e.OlP("",{providedIn:"root",factory:()=>!1});function K(){const m=(0,e.f3M)(e.zs3);return v=>{var h,D;const B=m.get(e.z2F);if(v!==B.components[0])return;const Ce=m.get(Uo),Te=m.get(Be);1===m.get(ke)&&Ce.initialNavigation(),null===(h=m.get(nn,null,e.XFs.Optional))||void 0===h||h.setUpPreloading(),null===(D=m.get(sr,null,e.XFs.Optional))||void 0===D||D.init(),Ce.resetRootComponentType(B.componentTypes[0]),Te.closed||(Te.next(),Te.complete(),Te.unsubscribe())}}const Be=new e.OlP(ar?"bootstrap done indicator":"",{factory:()=>new Ae.x}),ke=new e.OlP(ar?"initial navigation":"",{providedIn:"root",factory:()=>1});function ln(){let m=[];return m=ar?[{provide:e.Xts,multi:!0,useFactory:()=>{const v=(0,e.f3M)(Uo);return()=>v.events.subscribe(h=>{var D,B,Ce,Te;null===(D=(B=console).group)||void 0===D||D.call(B,`Router Event: ${h.constructor.name}`),console.log(function yo(m){var v,h,D,B;if(!("type"in m))return`Unknown Router Event: ${m.constructor.name}`;switch(m.type){case 14:return`ActivationEnd(path: '${(null===(v=m.snapshot.routeConfig)||void 0===v?void 0:v.path)||""}')`;case 13:return`ActivationStart(path: '${(null===(h=m.snapshot.routeConfig)||void 0===h?void 0:h.path)||""}')`;case 12:return`ChildActivationEnd(path: '${(null===(D=m.snapshot.routeConfig)||void 0===D?void 0:D.path)||""}')`;case 11:return`ChildActivationStart(path: '${(null===(B=m.snapshot.routeConfig)||void 0===B?void 0:B.path)||""}')`;case 8:return`GuardsCheckEnd(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state}, shouldActivate: ${m.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case 2:return`NavigationCancel(id: ${m.id}, url: '${m.url}')`;case 16:return`NavigationSkipped(id: ${m.id}, url: '${m.url}')`;case 1:return`NavigationEnd(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${m.id}, url: '${m.url}', error: ${m.error})`;case 0:return`NavigationStart(id: ${m.id}, url: '${m.url}')`;case 6:return`ResolveEnd(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case 5:return`ResolveStart(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case 10:return`RouteConfigLoadEnd(path: ${m.route.path})`;case 9:return`RouteConfigLoadStart(path: ${m.route.path})`;case 4:return`RoutesRecognized(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case 15:return`Scroll(anchor: '${m.anchor}', position: '${m.position?`${m.position[0]}, ${m.position[1]}`:null}')`}}(h)),console.log(h),null===(Ce=(Te=console).groupEnd)||void 0===Ce||Ce.call(Te)})}}]:[],l(1,m)}const nn=new e.OlP(ar?"router preloader":"");function _n(m){return l(0,[{provide:nn,useExisting:us},{provide:es,useExisting:m}])}const hi=!1,Fi=new e.OlP(hi?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),wn=[Ve.Ye,{provide:Pt,useClass:an},Uo,jo,{provide:yn,useFactory:function Ys(m){return m.routerState.root},deps:[Uo]},bi,hi?{provide:g,useValue:!0}:[]];function ni(){return new e.PXZ("Router",Uo)}let Bn=(()=>{class m{constructor(h){}static forRoot(h,D){return{ngModule:m,providers:[wn,hi&&null!=D&&D.enableTracing?ln().\u0275providers:[],{provide:Pi,multi:!0,useValue:h},{provide:Fi,useFactory:hr,deps:[[Uo,new e.FiY,new e.tp0]]},{provide:Bo,useValue:D||{}},null!=D&&D.useHash?{provide:Ve.S$,useClass:Ve.Do}:{provide:Ve.S$,useClass:Ve.b0},{provide:sr,useFactory:()=>{const m=(0,e.f3M)(Ve.EM),v=(0,e.f3M)(e.R0b),h=(0,e.f3M)(Bo),D=(0,e.f3M)(yr),B=(0,e.f3M)(Pt);return h.scrollOffset&&m.setOffset(h.scrollOffset),new na(B,D,m,v,h)}},null!=D&&D.preloadingStrategy?_n(D.preloadingStrategy).\u0275providers:[],{provide:e.PXZ,multi:!0,useFactory:ni},null!=D&&D.initialNavigation?va(D):[],[{provide:Xo,useFactory:K},{provide:e.tb,multi:!0,useExisting:Xo}]]}}static forChild(h){return{ngModule:m,providers:[{provide:Pi,multi:!0,useValue:h}]}}}return m.\u0275fac=function(h){return new(h||m)(e.LFG(Fi,8))},m.\u0275mod=e.oAB({type:m}),m.\u0275inj=e.cJS({imports:[Ui]}),m})();function hr(m){if(hi&&m)throw new e.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function va(m){return["disabled"===m.initialNavigation?l(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const v=(0,e.f3M)(Uo);return()=>{v.setUpLocationChangeListener()}}},{provide:ke,useValue:2}]).\u0275providers:[],"enabledBlocking"===m.initialNavigation?l(2,[{provide:ke,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:v=>{const h=v.get(Ve.V_,Promise.resolve());return()=>h.then(()=>new Promise(D=>{const B=v.get(Uo),Ce=v.get(Be);(function Ws(m,v){m.events.pipe((0,Oe.h)(h=>h instanceof Ai||h instanceof Ji||h instanceof Ti||h instanceof Wn),(0,je.U)(h=>h instanceof Ai||h instanceof Wn?fr.COMPLETE:h instanceof Ji&&(0===h.code||1===h.code)?fr.REDIRECTING:fr.FAILED),(0,Oe.h)(h=>h!==fr.REDIRECTING),(0,ee.q)(1)).subscribe(()=>{v()})})(B,()=>{D(!0)}),v.get(yr).afterPreactivation=()=>(D(!0),Ce.closed?(0,k.of)(void 0):Ce),B.initialNavigation()}))}}]).\u0275providers:[]]}const Xo=new e.OlP(hi?"Router Initializer":"")},5432:(Ht,Fe,c)=>{"use strict";c.d(Fe,{rN:()=>we,y$:()=>qe,_l:()=>Ge});var e=c(4537),s=c(4121),k=c(9018),z=c(3787),F=c(7241),ne=c(5955),W=c(697),te=c(8499),pe=c(6651),de=c(985),Y=c(3466),_e=c(4813);const ue={schedule(R){let be=requestAnimationFrame,S=cancelAnimationFrame;const{delegate:q}=ue;q&&(be=q.requestAnimationFrame,S=q.cancelAnimationFrame);const ze=be(N=>{S=void 0,R(N)});return new _e.w0(()=>null==S?void 0:S(ze))},requestAnimationFrame(...R){const{delegate:be}=ue;return((null==be?void 0:be.requestAnimationFrame)||requestAnimationFrame)(...R)},cancelAnimationFrame(...R){const{delegate:be}=ue;return((null==be?void 0:be.cancelAnimationFrame)||cancelAnimationFrame)(...R)},delegate:void 0};var Ue=c(474);const Ae=new class ve extends Ue.v{flush(be){this._active=!0;const S=this._scheduled;this._scheduled=void 0;const{actions:q}=this;let ze;be=be||q.shift();do{if(ze=be.execute(be.state,be.delay))break}while((be=q[0])&&be.id===S&&q.shift());if(this._active=!1,ze){for(;(be=q[0])&&be.id===S&&q.shift();)be.unsubscribe();throw ze}}}(class ie extends Y.o{constructor(be,S){super(be,S),this.scheduler=be,this.work=S}requestAsyncId(be,S,q=0){return null!==q&&q>0?super.requestAsyncId(be,S,q):(be.actions.push(this),be._scheduled||(be._scheduled=ue.requestAnimationFrame(()=>be.flush(void 0))))}recycleAsyncId(be,S,q=0){var ze;if(null!=q?q>0:this.delay>0)return super.recycleAsyncId(be,S,q);const{actions:N}=be;null!=S&&(null===(ze=N[N.length-1])||void 0===ze?void 0:ze.id)!==S&&(ue.cancelAnimationFrame(S),be._scheduled=void 0)}});var je=c(4970),se=c(7969),ee=c(5598),$e=c(1528),Oe=c(8168),_t=c(3568),vt=c(8692),tt=c(5998);const we=new e.OlP("HIGHLIGHT_OPTIONS");let mt=(()=>{class R{constructor(S,q,ze){var N;this.doc=S,this._options=ze,this._ready=new s.X(null),this.ready=this._ready.asObservable().pipe((0,je.h)(Se=>!!Se),(0,se.U)(Se=>Se),(0,ee.q)(1)),(0,vt.NF)(q)&&(S.defaultView.hljs?this._ready.next(S.defaultView.hljs):this._loadLibrary().pipe((0,$e.w)(Se=>this._options&&this._options.lineNumbersLoader?(S.defaultView.hljs=Se,this.loadLineNumbers().pipe((0,Oe.b)(()=>this._ready.next(Se)))):(this._ready.next(Se),k.E)),(0,_t.K)(Se=>(console.error("[HLJS] ",Se),k.E))).subscribe(),null!==(N=this._options)&&void 0!==N&&N.themePath&&this.loadTheme(this._options.themePath))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,z._)(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,z._)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,z._)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,z._)(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,$e.w)(S=>this._loadLanguages(S)))}return(0,z._)(()=>"Highlight.js library was not imported!")}_loadLanguages(S){return function ce(...R){const be=(0,pe.jO)(R),S=(0,W.k)(R);return S.length?new F.y(q=>{let ze=S.map(()=>[]),N=S.map(()=>!1);q.add(()=>{ze=N=null});for(let Se=0;!q.closed&&Se{if(ze[Se].push(et),ze.every(pt=>pt.length)){const pt=ze.map(wt=>wt.shift());q.next(be?be(...pt):pt),ze.some((wt,Cn)=>!wt.length&&N[Cn])&&q.complete()}},()=>{N[Se]=!0,!ze[Se].length&&q.complete()}));return()=>{ze=N=null}}):k.E}(...Object.entries(this._options.languages).map(([ze,N])=>At(N()).pipe((0,Oe.b)(Se=>S.registerLanguage(ze,Se))))).pipe((0,se.U)(()=>S))}loadCoreLibrary(){return At(this._options.coreLibraryLoader())}loadFullLibrary(){return At(this._options.fullLibraryLoader())}loadLineNumbers(){return At(this._options.lineNumbersLoader())}setTheme(S){this._themeLinkElement.href=S}loadTheme(S){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=S,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return R.\u0275fac=function(S){return new(S||R)(e.LFG(vt.K0),e.LFG(e.Lbi),e.LFG(we,8))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const At=R=>(0,de.D)(R).pipe((0,je.h)(be=>!!be&&!!be.default),(0,se.U)(be=>be.default));let Qe=(()=>{class R{constructor(S,q){this._loader=S,this._hljs=null,S.ready.subscribe(ze=>{this._hljs=ze,q&&q.config&&(ze.configure(q.config),ze.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}get hljs(){return this._hljs}highlight(S,{language:q,ignoreIllegals:ze}){return this._loader.ready.pipe((0,se.U)(N=>N.highlight(S,{language:q,ignoreIllegals:ze})))}highlightAuto(S,q){return this._loader.ready.pipe((0,se.U)(ze=>ze.highlightAuto(S,q)))}highlightElement(S){return this._loader.ready.pipe((0,se.U)(q=>q.highlightElement(S)))}highlightAll(){return this._loader.ready.pipe((0,se.U)(S=>S.highlightAll()))}configure(S){return this._loader.ready.pipe((0,se.U)(q=>q.configure(S)))}registerLanguage(S,q){return this._loader.ready.pipe((0,Oe.b)(ze=>ze.registerLanguage(S,q)))}unregisterLanguage(S){return this._loader.ready.pipe((0,Oe.b)(q=>q.unregisterLanguage(S)))}registerAliases(S,{languageName:q}){return this._loader.ready.pipe((0,Oe.b)(ze=>ze.registerAliases(S,{languageName:q})))}listLanguages(){return this._loader.ready.pipe((0,se.U)(S=>S.listLanguages()))}getLanguage(S){return this._loader.ready.pipe((0,se.U)(q=>q.getLanguage(S)))}safeMode(){return this._loader.ready.pipe((0,se.U)(S=>S.safeMode()))}debugMode(){return this._loader.ready.pipe((0,se.U)(S=>S.debugMode()))}lineNumbersBlock(S){return this._loader.ready.pipe((0,je.h)(q=>!!q.lineNumbersBlock),(0,Oe.b)(q=>q.lineNumbersBlock(S)))}}return R.\u0275fac=function(S){return new(S||R)(e.LFG(mt),e.LFG(we,8))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),qe=(()=>{class R{constructor(S,q,ze,N){this._hljs=q,this._sanitizer=ze,this._options=N,this.highlighted=new e.vpe,this._nativeElement=S.nativeElement}ngOnChanges(S){var q;null!==(null==S||null===(q=S.code)||void 0===q?void 0:q.currentValue)&&S.code.currentValue!==S.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(S,q){this.setTextContent(S),this._hljs.highlightAuto(S,q).subscribe(ze=>{this.setInnerHTML(null==ze?void 0:ze.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(ze)})}addLineNumbers(){this.destroyLineNumbersObserver(),Ae.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(S){Ae.schedule(()=>this._nativeElement.textContent=S)}setInnerHTML(S){Ae.schedule(()=>this._nativeElement.innerHTML=this._sanitizer.sanitize(e.q3G.HTML,S)||"")}}return R.\u0275fac=function(S){return new(S||R)(e.Y36(e.SBq),e.Y36(Qe),e.Y36(tt.H7),e.Y36(we,8))},R.\u0275dir=e.lG2({type:R,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(S,q){2&S&&e.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[e.TTD]}),R})(),Ge=(()=>{class R{}return R.\u0275fac=function(S){return new(S||R)},R.\u0275mod=e.oAB({type:R}),R.\u0275inj=e.cJS({}),R})()},5551:(Ht,Fe,c)=>{"use strict";c.d(Fe,{lF:()=>le,JP:()=>ut});var e=c(4537),s=c(8023),k=c(1860),z=c(4945),F=c(1995),ne=c(1528),W=c(116),te=c(2147),pe=c(6466),ce=c(3674),de=c(7969),Y=c(3528),ue=(c(9676),c(8692));function ie(Ne){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(U){return typeof U}:function(U){return U&&"function"==typeof Symbol&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U})(Ne)}let je={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 ee=/[&<>"']/,$e=new RegExp(ee.source,"g"),Oe=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,_t=new RegExp(Oe.source,"g"),vt={"&":"&","<":"<",">":">",'"':""","'":"'"},tt=Ne=>vt[Ne];function we(Ne,U){if(U){if(ee.test(Ne))return Ne.replace($e,tt)}else if(Oe.test(Ne))return Ne.replace(_t,tt);return Ne}const mt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function At(Ne){return Ne.replace(mt,(U,I)=>"colon"===(I=I.toLowerCase())?":":"#"===I.charAt(0)?"x"===I.charAt(1)?String.fromCharCode(parseInt(I.substring(2),16)):String.fromCharCode(+I.substring(1)):"")}const Qe=/(^|[^\[])\^/g;function qe(Ne,U){Ne="string"==typeof Ne?Ne:Ne.source,U=U||"";const I={replace:(A,$)=>($=($=$.source||$).replace(Qe,"$1"),Ne=Ne.replace(A,$),I),getRegex:()=>new RegExp(Ne,U)};return I}const Ge=/[^\w:]/g,R=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function be(Ne,U,I){if(Ne){let A;try{A=decodeURIComponent(At(I)).replace(Ge,"").toLowerCase()}catch{return null}if(0===A.indexOf("javascript:")||0===A.indexOf("vbscript:")||0===A.indexOf("data:"))return null}U&&!R.test(I)&&(I=function Se(Ne,U){S[" "+Ne]||(S[" "+Ne]=q.test(Ne)?Ne+"/":wt(Ne,"/",!0));const I=-1===(Ne=S[" "+Ne]).indexOf(":");return"//"===U.substring(0,2)?I?U:Ne.replace(ze,"$1")+U:"/"===U.charAt(0)?I?U:Ne.replace(N,"$1")+U:Ne+U}(U,I));try{I=encodeURI(I).replace(/%25/g,"%")}catch{return null}return I}const S={},q=/^[^:]+:\/*[^/]*$/,ze=/^([^:]+:)[\s\S]*$/,N=/^([^:]+:\/*[^/]*)[\s\S]*$/,et={exec:function(){}};function pt(Ne,U){const A=Ne.replace(/\|/g,(xe,ct,dt)=>{let Bt=!1,Yt=ct;for(;--Yt>=0&&"\\"===dt[Yt];)Bt=!Bt;return Bt?"|":" |"}).split(/ \|/);let $=0;if(A[0].trim()||A.shift(),A.length>0&&!A[A.length-1].trim()&&A.pop(),A.length>U)A.splice(U);else for(;A.length1;)1&U&&(I+=Ne),U>>=1,Ne+=Ne;return I+Ne}function It(Ne,U,I,A){const $=U.href,xe=U.title?we(U.title):null,ct=Ne[1].replace(/\\([\[\]])/g,"$1");if("!"!==Ne[0].charAt(0)){A.state.inLink=!0;const dt={type:"link",raw:I,href:$,title:xe,text:ct,tokens:A.inlineTokens(ct)};return A.state.inLink=!1,dt}return{type:"image",raw:I,href:$,title:xe,text:we(ct)}}class Zt{constructor(U){this.options=U||je}space(U){const I=this.rules.block.newline.exec(U);if(I&&I[0].length>0)return{type:"space",raw:I[0]}}code(U){const I=this.rules.block.code.exec(U);if(I){const A=I[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:I[0],codeBlockStyle:"indented",text:this.options.pedantic?A:wt(A,"\n")}}}fences(U){const I=this.rules.block.fences.exec(U);if(I){const A=I[0],$=function Rt(Ne,U){const I=Ne.match(/^(\s+)(?:```)/);if(null===I)return U;const A=I[1];return U.split("\n").map($=>{const xe=$.match(/^\s+/);if(null===xe)return $;const[ct]=xe;return ct.length>=A.length?$.slice(A.length):$}).join("\n")}(A,I[3]||"");return{type:"code",raw:A,lang:I[2]?I[2].trim().replace(this.rules.inline._escapes,"$1"):I[2],text:$}}}heading(U){const I=this.rules.block.heading.exec(U);if(I){let A=I[2].trim();if(/#$/.test(A)){const $=wt(A,"#");(this.options.pedantic||!$||/ $/.test($))&&(A=$.trim())}return{type:"heading",raw:I[0],depth:I[1].length,text:A,tokens:this.lexer.inline(A)}}}hr(U){const I=this.rules.block.hr.exec(U);if(I)return{type:"hr",raw:I[0]}}blockquote(U){const I=this.rules.block.blockquote.exec(U);if(I){const A=I[0].replace(/^ *>[ \t]?/gm,""),$=this.lexer.state.top;this.lexer.state.top=!0;const xe=this.lexer.blockTokens(A);return this.lexer.state.top=$,{type:"blockquote",raw:I[0],tokens:xe,text:A}}}list(U){let I=this.rules.block.list.exec(U);if(I){let A,$,xe,ct,dt,Bt,Yt,rn,en,gn,pn,In,Kn=I[1].trim();const mn=Kn.length>1,xn={type:"list",raw:"",ordered:mn,start:mn?+Kn.slice(0,-1):"",loose:!1,items:[]};Kn=mn?`\\d{1,9}\\${Kn.slice(-1)}`:`\\${Kn}`,this.options.pedantic&&(Kn=mn?Kn:"[*+-]");const $n=new RegExp(`^( {0,3}${Kn})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;U&&(In=!1,(I=$n.exec(U))&&!this.rules.block.hr.test(U));){if(A=I[0],U=U.substring(A.length),rn=I[2].split("\n",1)[0].replace(/^\t+/,ri=>" ".repeat(3*ri.length)),en=U.split("\n",1)[0],this.options.pedantic?(ct=2,pn=rn.trimLeft()):(ct=I[2].search(/[^ ]/),ct=ct>4?1:ct,pn=rn.slice(ct),ct+=I[1].length),Bt=!1,!rn&&/^ *$/.test(en)&&(A+=en+"\n",U=U.substring(en.length+1),In=!0),!In){const ri=new RegExp(`^ {0,${Math.min(3,ct-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),Xn=new RegExp(`^ {0,${Math.min(3,ct-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Yn=new RegExp(`^ {0,${Math.min(3,ct-1)}}(?:\`\`\`|~~~)`),Qn=new RegExp(`^ {0,${Math.min(3,ct-1)}}#`);for(;U&&(gn=U.split("\n",1)[0],en=gn,this.options.pedantic&&(en=en.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(Yn.test(en)||Qn.test(en)||ri.test(en)||Xn.test(U)));){if(en.search(/[^ ]/)>=ct||!en.trim())pn+="\n"+en.slice(ct);else{if(Bt||rn.search(/[^ ]/)>=4||Yn.test(rn)||Qn.test(rn)||Xn.test(rn))break;pn+="\n"+en}!Bt&&!en.trim()&&(Bt=!0),A+=gn+"\n",U=U.substring(gn.length+1),rn=en.slice(ct)}}xn.loose||(Yt?xn.loose=!0:/\n *\n *$/.test(A)&&(Yt=!0)),this.options.gfm&&($=/^\[[ xX]\] /.exec(pn),$&&(xe="[ ] "!==$[0],pn=pn.replace(/^\[[ xX]\] +/,""))),xn.items.push({type:"list_item",raw:A,task:!!$,checked:xe,loose:!1,text:pn}),xn.raw+=A}xn.items[xn.items.length-1].raw=A.trimRight(),xn.items[xn.items.length-1].text=pn.trimRight(),xn.raw=xn.raw.trimRight();const ci=xn.items.length;for(dt=0;dt"space"===Yn.type),Xn=ri.length>0&&ri.some(Yn=>/\n.*\n/.test(Yn.raw));xn.loose=Xn}if(xn.loose)for(dt=0;dt$/,"$1").replace(this.rules.inline._escapes,"$1"):"",xe=I[3]?I[3].substring(1,I[3].length-1).replace(this.rules.inline._escapes,"$1"):I[3];return{type:"def",tag:A,raw:I[0],href:$,title:xe}}}table(U){const I=this.rules.block.table.exec(U);if(I){const A={type:"table",header:pt(I[1]).map($=>({text:$})),align:I[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:I[3]&&I[3].trim()?I[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(A.header.length===A.align.length){A.raw=I[0];let xe,ct,dt,Bt,$=A.align.length;for(xe=0;xe<$;xe++)A.align[xe]=/^ *-+: *$/.test(A.align[xe])?"right":/^ *:-+: *$/.test(A.align[xe])?"center":/^ *:-+ *$/.test(A.align[xe])?"left":null;for($=A.rows.length,xe=0;xe<$;xe++)A.rows[xe]=pt(A.rows[xe],A.header.length).map(Yt=>({text:Yt}));for($=A.header.length,ct=0;ct<$;ct++)A.header[ct].tokens=this.lexer.inline(A.header[ct].text);for($=A.rows.length,ct=0;ct<$;ct++)for(Bt=A.rows[ct],dt=0;dt/i.test(I[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(I[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(I[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:I[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(I[0]):we(I[0]):I[0]}}link(U){const I=this.rules.inline.link.exec(U);if(I){const A=I[2].trim();if(!this.options.pedantic&&/^$/.test(A))return;const ct=wt(A.slice(0,-1),"\\");if((A.length-ct.length)%2==0)return}else{const ct=function Cn(Ne,U){if(-1===Ne.indexOf(U[1]))return-1;const I=Ne.length;let A=0,$=0;for(;$-1){const Bt=(0===I[0].indexOf("!")?5:4)+I[1].length+ct;I[2]=I[2].substring(0,ct),I[0]=I[0].substring(0,Bt).trim(),I[3]=""}}let $=I[2],xe="";if(this.options.pedantic){const ct=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec($);ct&&($=ct[1],xe=ct[3])}else xe=I[3]?I[3].slice(1,-1):"";return $=$.trim(),/^$/.test(A)?$.slice(1):$.slice(1,-1)),It(I,{href:$&&$.replace(this.rules.inline._escapes,"$1"),title:xe&&xe.replace(this.rules.inline._escapes,"$1")},I[0],this.lexer)}}reflink(U,I){let A;if((A=this.rules.inline.reflink.exec(U))||(A=this.rules.inline.nolink.exec(U))){let $=(A[2]||A[1]).replace(/\s+/g," ");if($=I[$.toLowerCase()],!$){const xe=A[0].charAt(0);return{type:"text",raw:xe,text:xe}}return It(A,$,A[0],this.lexer)}}emStrong(U,I,A=""){let $=this.rules.inline.emStrong.lDelim.exec(U);if(!$||$[3]&&A.match(/[\p{L}\p{N}]/u))return;const xe=$[1]||$[2]||"";if(!xe||xe&&(""===A||this.rules.inline.punctuation.exec(A))){const ct=$[0].length-1;let dt,Bt,Yt=ct,rn=0;const en="*"===$[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(en.lastIndex=0,I=I.slice(-1*U.length+ct);null!=($=en.exec(I));){if(dt=$[1]||$[2]||$[3]||$[4]||$[5]||$[6],!dt)continue;if(Bt=dt.length,$[3]||$[4]){Yt+=Bt;continue}if(($[5]||$[6])&&ct%3&&!((ct+Bt)%3)){rn+=Bt;continue}if(Yt-=Bt,Yt>0)continue;Bt=Math.min(Bt,Bt+Yt+rn);const gn=U.slice(0,ct+$.index+($[0].length-dt.length)+Bt);if(Math.min(ct,Bt)%2){const In=gn.slice(1,-1);return{type:"em",raw:gn,text:In,tokens:this.lexer.inlineTokens(In)}}const pn=gn.slice(2,-2);return{type:"strong",raw:gn,text:pn,tokens:this.lexer.inlineTokens(pn)}}}}codespan(U){const I=this.rules.inline.code.exec(U);if(I){let A=I[2].replace(/\n/g," ");const $=/[^ ]/.test(A),xe=/^ /.test(A)&&/ $/.test(A);return $&&xe&&(A=A.substring(1,A.length-1)),A=we(A,!0),{type:"codespan",raw:I[0],text:A}}}br(U){const I=this.rules.inline.br.exec(U);if(I)return{type:"br",raw:I[0]}}del(U){const I=this.rules.inline.del.exec(U);if(I)return{type:"del",raw:I[0],text:I[2],tokens:this.lexer.inlineTokens(I[2])}}autolink(U,I){const A=this.rules.inline.autolink.exec(U);if(A){let $,xe;return"@"===A[2]?($=we(this.options.mangle?I(A[1]):A[1]),xe="mailto:"+$):($=we(A[1]),xe=$),{type:"link",raw:A[0],text:$,href:xe,tokens:[{type:"text",raw:$,text:$}]}}}url(U,I){let A;if(A=this.rules.inline.url.exec(U)){let $,xe;if("@"===A[2])$=we(this.options.mangle?I(A[0]):A[0]),xe="mailto:"+$;else{let ct;do{ct=A[0],A[0]=this.rules.inline._backpedal.exec(A[0])[0]}while(ct!==A[0]);$=we(A[0]),xe="www."===A[1]?"http://"+A[0]:A[0]}return{type:"link",raw:A[0],text:$,href:xe,tokens:[{type:"text",raw:$,text:$}]}}}inlineText(U,I){const A=this.rules.inline.text.exec(U);if(A){let $;return $=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(A[0]):we(A[0]):A[0]:we(this.options.smartypants?I(A[0]):A[0]),{type:"text",raw:A[0],text:$}}}}const Ut={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:et,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?'|\([^()]*\))/};Ut.def=qe(Ut.def).replace("label",Ut._label).replace("title",Ut._title).getRegex(),Ut.bullet=/(?:[*+-]|\d{1,9}[.)])/,Ut.listItemStart=qe(/^( *)(bull) */).replace("bull",Ut.bullet).getRegex(),Ut.list=qe(Ut.list).replace(/bull/g,Ut.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ut.def.source+")").getRegex(),Ut._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",Ut._comment=/|$)/,Ut.html=qe(Ut.html,"i").replace("comment",Ut._comment).replace("tag",Ut._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ut.paragraph=qe(Ut._paragraph).replace("hr",Ut.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",Ut._tag).getRegex(),Ut.blockquote=qe(Ut.blockquote).replace("paragraph",Ut.paragraph).getRegex(),Ut.normal={...Ut},Ut.gfm={...Ut.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},Ut.gfm.table=qe(Ut.gfm.table).replace("hr",Ut.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",Ut._tag).getRegex(),Ut.gfm.paragraph=qe(Ut._paragraph).replace("hr",Ut.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Ut.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",Ut._tag).getRegex(),Ut.pedantic={...Ut.normal,html:qe("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Ut._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:et,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:qe(Ut.normal._paragraph).replace("hr",Ut.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Ut.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const Dt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:et,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:et,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(A="x"+A.toString(16)),U+="&#"+A+";";return U}Dt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Dt.punctuation=qe(Dt.punctuation).replace(/punctuation/g,Dt._punctuation).getRegex(),Dt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Dt.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,Dt._comment=qe(Ut._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Dt.emStrong.lDelim=qe(Dt.emStrong.lDelim).replace(/punct/g,Dt._punctuation).getRegex(),Dt.emStrong.rDelimAst=qe(Dt.emStrong.rDelimAst,"g").replace(/punct/g,Dt._punctuation).getRegex(),Dt.emStrong.rDelimUnd=qe(Dt.emStrong.rDelimUnd,"g").replace(/punct/g,Dt._punctuation).getRegex(),Dt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Dt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Dt._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])?)+(?![-_])/,Dt.autolink=qe(Dt.autolink).replace("scheme",Dt._scheme).replace("email",Dt._email).getRegex(),Dt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Dt.tag=qe(Dt.tag).replace("comment",Dt._comment).replace("attribute",Dt._attribute).getRegex(),Dt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Dt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Dt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Dt.link=qe(Dt.link).replace("label",Dt._label).replace("href",Dt._href).replace("title",Dt._title).getRegex(),Dt.reflink=qe(Dt.reflink).replace("label",Dt._label).replace("ref",Ut._label).getRegex(),Dt.nolink=qe(Dt.nolink).replace("ref",Ut._label).getRegex(),Dt.reflinkSearch=qe(Dt.reflinkSearch,"g").replace("reflink",Dt.reflink).replace("nolink",Dt.nolink).getRegex(),Dt.normal={...Dt},Dt.pedantic={...Dt.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:qe(/^!?\[(label)\]\((.*?)\)/).replace("label",Dt._label).getRegex(),reflink:qe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Dt._label).getRegex()},Dt.gfm={...Dt.normal,escape:qe(Dt.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]*?(?:(?=[\\Bt+" ".repeat(Yt.length));U;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(dt=>!!(A=dt.call({lexer:this},U,I))&&(U=U.substring(A.raw.length),I.push(A),!0)))){if(A=this.tokenizer.space(U)){U=U.substring(A.raw.length),1===A.raw.length&&I.length>0?I[I.length-1].raw+="\n":I.push(A);continue}if(A=this.tokenizer.code(U)){U=U.substring(A.raw.length),$=I[I.length-1],!$||"paragraph"!==$.type&&"text"!==$.type?I.push(A):($.raw+="\n"+A.raw,$.text+="\n"+A.text,this.inlineQueue[this.inlineQueue.length-1].src=$.text);continue}if(A=this.tokenizer.fences(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.heading(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.hr(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.blockquote(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.list(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.html(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.def(U)){U=U.substring(A.raw.length),$=I[I.length-1],!$||"paragraph"!==$.type&&"text"!==$.type?this.tokens.links[A.tag]||(this.tokens.links[A.tag]={href:A.href,title:A.title}):($.raw+="\n"+A.raw,$.text+="\n"+A.raw,this.inlineQueue[this.inlineQueue.length-1].src=$.text);continue}if(A=this.tokenizer.table(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.lheading(U)){U=U.substring(A.raw.length),I.push(A);continue}if(xe=U,this.options.extensions&&this.options.extensions.startBlock){let dt=1/0;const Bt=U.slice(1);let Yt;this.options.extensions.startBlock.forEach(function(rn){Yt=rn.call({lexer:this},Bt),"number"==typeof Yt&&Yt>=0&&(dt=Math.min(dt,Yt))}),dt<1/0&&dt>=0&&(xe=U.substring(0,dt+1))}if(this.state.top&&(A=this.tokenizer.paragraph(xe))){$=I[I.length-1],ct&&"paragraph"===$.type?($.raw+="\n"+A.raw,$.text+="\n"+A.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=$.text):I.push(A),ct=xe.length!==U.length,U=U.substring(A.raw.length);continue}if(A=this.tokenizer.text(U)){U=U.substring(A.raw.length),$=I[I.length-1],$&&"text"===$.type?($.raw+="\n"+A.raw,$.text+="\n"+A.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=$.text):I.push(A);continue}if(U){const dt="Infinite loop on byte: "+U.charCodeAt(0);if(this.options.silent){console.error(dt);break}throw new Error(dt)}}return this.state.top=!0,I}inline(U,I=[]){return this.inlineQueue.push({src:U,tokens:I}),I}inlineTokens(U,I=[]){let A,$,xe,dt,Bt,Yt,ct=U;if(this.tokens.links){const rn=Object.keys(this.tokens.links);if(rn.length>0)for(;null!=(dt=this.tokenizer.rules.inline.reflinkSearch.exec(ct));)rn.includes(dt[0].slice(dt[0].lastIndexOf("[")+1,-1))&&(ct=ct.slice(0,dt.index)+"["+Ft("a",dt[0].length-2)+"]"+ct.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(dt=this.tokenizer.rules.inline.blockSkip.exec(ct));)ct=ct.slice(0,dt.index)+"["+Ft("a",dt[0].length-2)+"]"+ct.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(dt=this.tokenizer.rules.inline.escapedEmSt.exec(ct));)ct=ct.slice(0,dt.index+dt[0].length-2)+"++"+ct.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;U;)if(Bt||(Yt=""),Bt=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(rn=>!!(A=rn.call({lexer:this},U,I))&&(U=U.substring(A.raw.length),I.push(A),!0)))){if(A=this.tokenizer.escape(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.tag(U)){U=U.substring(A.raw.length),$=I[I.length-1],$&&"text"===A.type&&"text"===$.type?($.raw+=A.raw,$.text+=A.text):I.push(A);continue}if(A=this.tokenizer.link(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.reflink(U,this.tokens.links)){U=U.substring(A.raw.length),$=I[I.length-1],$&&"text"===A.type&&"text"===$.type?($.raw+=A.raw,$.text+=A.text):I.push(A);continue}if(A=this.tokenizer.emStrong(U,ct,Yt)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.codespan(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.br(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.del(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.autolink(U,Qt)){U=U.substring(A.raw.length),I.push(A);continue}if(!this.state.inLink&&(A=this.tokenizer.url(U,Qt))){U=U.substring(A.raw.length),I.push(A);continue}if(xe=U,this.options.extensions&&this.options.extensions.startInline){let rn=1/0;const en=U.slice(1);let gn;this.options.extensions.startInline.forEach(function(pn){gn=pn.call({lexer:this},en),"number"==typeof gn&&gn>=0&&(rn=Math.min(rn,gn))}),rn<1/0&&rn>=0&&(xe=U.substring(0,rn+1))}if(A=this.tokenizer.inlineText(xe,Xt)){U=U.substring(A.raw.length),"_"!==A.raw.slice(-1)&&(Yt=A.raw.slice(-1)),Bt=!0,$=I[I.length-1],$&&"text"===$.type?($.raw+=A.raw,$.text+=A.text):I.push(A);continue}if(U){const rn="Infinite loop on byte: "+U.charCodeAt(0);if(this.options.silent){console.error(rn);break}throw new Error(rn)}}return I}}class cn{constructor(U){this.options=U||je}code(U,I,A){const $=(I||"").match(/\S*/)[0];if(this.options.highlight){const xe=this.options.highlight(U,$);null!=xe&&xe!==U&&(A=!0,U=xe)}return U=U.replace(/\n$/,"")+"\n",$?'
'+(A?U:we(U,!0))+"
\n":"
"+(A?U:we(U,!0))+"
\n"}blockquote(U){return`
\n${U}
\n`}html(U){return U}heading(U,I,A,$){return this.options.headerIds?`${U}\n`:`${U}\n`}hr(){return this.options.xhtml?"
\n":"
\n"}list(U,I,A){const $=I?"ol":"ul";return"<"+$+(I&&1!==A?' start="'+A+'"':"")+">\n"+U+"\n"}listitem(U){return`
  • ${U}
  • \n`}checkbox(U){return" "}paragraph(U){return`

    ${U}

    \n`}table(U,I){return I&&(I=`${I}`),"\n\n"+U+"\n"+I+"
    \n"}tablerow(U){return`\n${U}\n`}tablecell(U,I){const A=I.header?"th":"td";return(I.align?`<${A} align="${I.align}">`:`<${A}>`)+U+`\n`}strong(U){return`${U}`}em(U){return`${U}`}codespan(U){return`${U}`}br(){return this.options.xhtml?"
    ":"
    "}del(U){return`${U}`}link(U,I,A){if(null===(U=be(this.options.sanitize,this.options.baseUrl,U)))return A;let $='",$}image(U,I,A){if(null===(U=be(this.options.sanitize,this.options.baseUrl,U)))return A;let $=`${A}":">",$}text(U){return U}}class yt{strong(U){return U}em(U){return U}codespan(U){return U}del(U){return U}html(U){return U}text(U){return U}link(U,I,A){return""+A}image(U,I,A){return""+A}br(){return""}}class Re{constructor(){this.seen={}}serialize(U){return U.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(U,I){let A=U,$=0;if(this.seen.hasOwnProperty(A)){$=this.seen[U];do{$++,A=U+"-"+$}while(this.seen.hasOwnProperty(A))}return I||(this.seen[U]=$,this.seen[A]=0),A}slug(U,I={}){const A=this.serialize(U);return this.getNextSafeSlug(A,I.dryrun)}}class he{constructor(U){this.options=U||je,this.options.renderer=this.options.renderer||new cn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new yt,this.slugger=new Re}static parse(U,I){return new he(I).parse(U)}static parseInline(U,I){return new he(I).parseInline(U)}parse(U,I=!0){let $,xe,ct,dt,Bt,Yt,rn,en,gn,pn,In,Kn,mn,xn,$n,ci,ri,Xn,Yn,A="";const Qn=U.length;for($=0;$0&&"paragraph"===$n.tokens[0].type?($n.tokens[0].text=Xn+" "+$n.tokens[0].text,$n.tokens[0].tokens&&$n.tokens[0].tokens.length>0&&"text"===$n.tokens[0].tokens[0].type&&($n.tokens[0].tokens[0].text=Xn+" "+$n.tokens[0].tokens[0].text)):$n.tokens.unshift({type:"text",text:Xn}):xn+=Xn),xn+=this.parse($n.tokens,mn),gn+=this.renderer.listitem(xn,ri,ci);A+=this.renderer.list(gn,In,Kn);continue;case"html":A+=this.renderer.html(pn.text);continue;case"paragraph":A+=this.renderer.paragraph(this.parseInline(pn.tokens));continue;case"text":for(gn=pn.tokens?this.parseInline(pn.tokens):pn.text;$+1{"function"==typeof A&&($=A,A=null);const xe={...A},ct=function Xe(Ne,U,I){return A=>{if(A.message+="\nPlease report this to https://github.com/markedjs/marked.",Ne){const $="

    An error occurred:

    "+we(A.message+"",!0)+"
    ";return U?Promise.resolve($):I?void I(null,$):$}if(U)return Promise.reject(A);if(!I)throw A;I(A)}}((A={...fe.defaults,...xe}).silent,A.async,$);if(typeof I>"u"||null===I)return ct(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof I)return ct(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(I)+", string expected"));if(function St(Ne){Ne&&Ne.sanitize&&!Ne.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")}(A),A.hooks&&(A.hooks.options=A),$){const dt=A.highlight;let Bt;try{A.hooks&&(I=A.hooks.preprocess(I)),Bt=Ne(I,A)}catch(en){return ct(en)}const Yt=function(en){let gn;if(!en)try{A.walkTokens&&fe.walkTokens(Bt,A.walkTokens),gn=U(Bt,A),A.hooks&&(gn=A.hooks.postprocess(gn))}catch(pn){en=pn}return A.highlight=dt,en?ct(en):$(null,gn)};if(!dt||dt.length<3||(delete A.highlight,!Bt.length))return Yt();let rn=0;return fe.walkTokens(Bt,function(en){"code"===en.type&&(rn++,setTimeout(()=>{dt(en.text,en.lang,function(gn,pn){if(gn)return Yt(gn);null!=pn&&pn!==en.text&&(en.text=pn,en.escaped=!0),rn--,0===rn&&Yt()})},0))}),void(0===rn&&Yt())}if(A.async)return Promise.resolve(A.hooks?A.hooks.preprocess(I):I).then(dt=>Ne(dt,A)).then(dt=>A.walkTokens?Promise.all(fe.walkTokens(dt,A.walkTokens)).then(()=>dt):dt).then(dt=>U(dt,A)).then(dt=>A.hooks?A.hooks.postprocess(dt):dt).catch(ct);try{A.hooks&&(I=A.hooks.preprocess(I));const dt=Ne(I,A);A.walkTokens&&fe.walkTokens(dt,A.walkTokens);let Bt=U(dt,A);return A.hooks&&(Bt=A.hooks.postprocess(Bt)),Bt}catch(dt){return ct(dt)}}}function fe(Ne,U,I){return Le(hn.lex,he.parse)(Ne,U,I)}!function Ae(Ne,U,I){(U=function ve(Ne){var U=function Ue(Ne,U){if("object"!==ie(Ne)||null===Ne)return Ne;var I=Ne[Symbol.toPrimitive];if(void 0!==I){var A=I.call(Ne,U||"default");if("object"!==ie(A))return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===U?String:Number)(Ne)}(Ne,"string");return"symbol"===ie(U)?U:String(U)}(U))in Ne?Object.defineProperty(Ne,U,{value:I,enumerable:!0,configurable:!0,writable:!0}):Ne[U]=I}(re,"passThroughHooks",new Set(["preprocess","postprocess"])),fe.options=fe.setOptions=function(Ne){return function se(Ne){je=Ne}(fe.defaults={...fe.defaults,...Ne}),fe},fe.getDefaults=function Ve(){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}},fe.defaults=je,fe.use=function(...Ne){const U=fe.defaults.extensions||{renderers:{},childTokens:{}};Ne.forEach(I=>{const A={...I};if(A.async=fe.defaults.async||A.async||!1,I.extensions&&(I.extensions.forEach($=>{if(!$.name)throw new Error("extension name required");if($.renderer){const xe=U.renderers[$.name];U.renderers[$.name]=xe?function(...ct){let dt=$.renderer.apply(this,ct);return!1===dt&&(dt=xe.apply(this,ct)),dt}:$.renderer}if($.tokenizer){if(!$.level||"block"!==$.level&&"inline"!==$.level)throw new Error("extension level must be 'block' or 'inline'");U[$.level]?U[$.level].unshift($.tokenizer):U[$.level]=[$.tokenizer],$.start&&("block"===$.level?U.startBlock?U.startBlock.push($.start):U.startBlock=[$.start]:"inline"===$.level&&(U.startInline?U.startInline.push($.start):U.startInline=[$.start]))}$.childTokens&&(U.childTokens[$.name]=$.childTokens)}),A.extensions=U),I.renderer){const $=fe.defaults.renderer||new cn;for(const xe in I.renderer){const ct=$[xe];$[xe]=(...dt)=>{let Bt=I.renderer[xe].apply($,dt);return!1===Bt&&(Bt=ct.apply($,dt)),Bt}}A.renderer=$}if(I.tokenizer){const $=fe.defaults.tokenizer||new Zt;for(const xe in I.tokenizer){const ct=$[xe];$[xe]=(...dt)=>{let Bt=I.tokenizer[xe].apply($,dt);return!1===Bt&&(Bt=ct.apply($,dt)),Bt}}A.tokenizer=$}if(I.hooks){const $=fe.defaults.hooks||new re;for(const xe in I.hooks){const ct=$[xe];$[xe]=re.passThroughHooks.has(xe)?dt=>{if(fe.defaults.async)return Promise.resolve(I.hooks[xe].call($,dt)).then(Yt=>ct.call($,Yt));const Bt=I.hooks[xe].call($,dt);return ct.call($,Bt)}:(...dt)=>{let Bt=I.hooks[xe].apply($,dt);return!1===Bt&&(Bt=ct.apply($,dt)),Bt}}A.hooks=$}if(I.walkTokens){const $=fe.defaults.walkTokens;A.walkTokens=function(xe){let ct=[];return ct.push(I.walkTokens.call(this,xe)),$&&(ct=ct.concat($.call(this,xe))),ct}}fe.setOptions(A)})},fe.walkTokens=function(Ne,U){let I=[];for(const A of Ne)switch(I=I.concat(U.call(fe,A)),A.type){case"table":for(const $ of A.header)I=I.concat(fe.walkTokens($.tokens,U));for(const $ of A.rows)for(const xe of $)I=I.concat(fe.walkTokens(xe.tokens,U));break;case"list":I=I.concat(fe.walkTokens(A.items,U));break;default:fe.defaults.extensions&&fe.defaults.extensions.childTokens&&fe.defaults.extensions.childTokens[A.type]?fe.defaults.extensions.childTokens[A.type].forEach(function($){I=I.concat(fe.walkTokens(A[$],U))}):A.tokens&&(I=I.concat(fe.walkTokens(A.tokens,U)))}return I},fe.parseInline=Le(hn.lexInline,he.parseInline),fe.Parser=he,fe.parser=he.parse,fe.Renderer=cn,fe.TextRenderer=yt,fe.Lexer=hn,fe.lexer=hn.lex,fe.Tokenizer=Zt,fe.Slugger=Re,fe.Hooks=re,fe.parse=fe;var Pt=c(5732),an=c(5998);const fn=["*"];let lt=(()=>{class Ne{constructor(){this._buttonClick$=new s.x,this.copied$=this._buttonClick$.pipe((0,ne.w)(()=>(0,k.T)((0,z.of)(!0),(0,F.H)(3e3).pipe((0,W.h)(!1)))),(0,te.x)(),(0,pe.d)(1)),this.copiedText$=this.copied$.pipe((0,ce.O)(!1),(0,de.U)(I=>I?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}}return Ne.\u0275fac=function(I){return new(I||Ne)},Ne.\u0275cmp=e.Xpm({type:Ne,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(I,A){1&I&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return A.onCopyToClipboardClick()}),e.ALo(1,"async"),e._uU(2),e.ALo(3,"async"),e.qZA()),2&I&&(e.ekj("copied",e.lcZ(1,3,A.copied$)),e.xp6(2),e.Oqu(e.lcZ(3,5,A.copiedText$)))},dependencies:[ue.Ov],encapsulation:2,changeDetection:0}),Ne})();class it{}var bt=(()=>{return(Ne=bt||(bt={})).CommandLine="command-line",Ne.LineHighlight="line-highlight",Ne.LineNumbers="line-numbers",bt;var Ne})();class gt{}const oe=new e.OlP("SECURITY_CONTEXT");let H=(()=>{class Ne{constructor(I,A,$,xe,ct,dt){this.platform=I,this.securityContext=A,this.http=$,this.clipboardOptions=xe,this.sanitizer=dt,this.DEFAULT_MARKED_OPTIONS={renderer:new cn},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 s.x,this.reload$=this._reload$.asObservable(),this.options=ct}get options(){return this._options}set options(I){this._options={...this.DEFAULT_MARKED_OPTIONS,...I}}get renderer(){return this.options.renderer}set renderer(I){this.options.renderer=I}parse(I,A=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:$,inline:xe,emoji:ct,mermaid:dt,disableSanitizer:Bt}=A,Yt={...this.options,...A.markedOptions};dt&&(this.renderer=this.extendRenderer(Yt.renderer||new cn));const rn=this.trimIndentation(I),en=$?this.decodeHtml(rn):rn,gn=ct?this.parseEmoji(en):en,pn=this.parseMarked(gn,Yt,xe);return(Bt?pn:this.sanitizer.sanitize(this.securityContext,pn))||""}render(I,A=this.DEFAULT_RENDER_OPTIONS,$){const{clipboard:xe,clipboardOptions:ct,katex:dt,katexOptions:Bt,mermaid:Yt,mermaidOptions:rn}=A;xe&&this.renderClipboard(I,$,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...ct}),dt&&this.renderKatex(I,{...this.DEFAULT_KATEX_OPTIONS,...Bt}),Yt&&this.renderMermaid(I,{...this.DEFAULT_MERMAID_OPTIONS,...rn}),this.highlight(I)}reload(){this._reload$.next()}getSource(I){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(I,{responseType:"text"}).pipe((0,de.U)(A=>this.handleExtension(I,A)))}highlight(I){if(!(0,ue.NF)(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;I||(I=document);const A=I.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(A,$=>$.classList.add("language-none")),Prism.highlightAllUnder(I)}decodeHtml(I){if(!(0,ue.NF)(this.platform))return I;const A=document.createElement("textarea");return A.innerHTML=I,A.value}extendRenderer(I){const A=I;if(!0===A.\u0275NgxMarkdownRendererExtended)return I;const $=I.code;return I.code=function(xe,ct,dt){return"mermaid"===ct?`
    ${xe}
    `:$.call(this,xe,ct,dt)},A.\u0275NgxMarkdownRendererExtended=!0,I}handleExtension(I,A){const $=I.lastIndexOf("://"),xe=$>-1?I.substring($+4):I,ct=xe.lastIndexOf("/"),dt=ct>-1?xe.substring(ct+1).split("?")[0]:"",Bt=dt.lastIndexOf("."),Yt=Bt>-1?dt.substring(Bt+1):"";return Yt&&"md"!==Yt?"```"+Yt+"\n"+A+"\n```":A}parseMarked(I,A,$=!1){return $?fe.parseInline(I,A):fe.parse(I,A)}parseEmoji(I){if(!(0,ue.NF)(this.platform))return I;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(I)}renderKatex(I,A){if((0,ue.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(I,A)}}renderClipboard(I,A,$){if(!(0,ue.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(!A)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:xe,buttonTemplate:ct}=$,dt=I.querySelectorAll("pre");for(let Bt=0;Bten.style.opacity="1",Yt.onmouseout=()=>en.style.opacity="0",gn=xe?A.createComponent(xe).hostView:ct?A.createEmbeddedView(ct):A.createComponent(lt).hostView,gn.rootNodes.forEach(In=>{In.onmouseover=()=>en.style.opacity="1",en.appendChild(In),pn=new ClipboardJS(In,{text:()=>Yt.innerText})}),gn.onDestroy(()=>pn.destroy())}}renderMermaid(I,A=this.DEFAULT_MERMAID_OPTIONS){if(!(0,ue.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 $=I.querySelectorAll(".mermaid");0!==$.length&&(mermaid.initialize(A),mermaid.init($))}trimIndentation(I){if(!I)return"";let A;return I.split("\n").map($=>{let xe=A;return $.length>0&&(xe=isNaN(xe)?$.search(/\S|$/):Math.min($.search(/\S|$/),xe)),isNaN(A)&&(A=xe),xe?$.substring(xe):$}).join("\n")}}return Ne.\u0275fac=function(I){return new(I||Ne)(e.LFG(e.Lbi),e.LFG(oe),e.LFG(Pt.eN,8),e.LFG(it,8),e.LFG(gt,8),e.LFG(an.H7))},Ne.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),le=(()=>{class Ne{constructor(I,A,$){this.element=I,this.markdownService=A,this.viewContainerRef=$,this.error=new e.vpe,this.load=new e.vpe,this.ready=new e.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 s.x}get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(I){this._disableSanitizer=this.coerceBooleanProperty(I)}get inline(){return this._inline}set inline(I){this._inline=this.coerceBooleanProperty(I)}get srcRelativeLink(){return this._srcRelativeLink}set srcRelativeLink(I){this._srcRelativeLink=this.coerceBooleanProperty(I)}get clipboard(){return this._clipboard}set clipboard(I){this._clipboard=this.coerceBooleanProperty(I)}get emoji(){return this._emoji}set emoji(I){this._emoji=this.coerceBooleanProperty(I)}get katex(){return this._katex}set katex(I){this._katex=this.coerceBooleanProperty(I)}get mermaid(){return this._mermaid}set mermaid(I){this._mermaid=this.coerceBooleanProperty(I)}get lineHighlight(){return this._lineHighlight}set lineHighlight(I){this._lineHighlight=this.coerceBooleanProperty(I)}get lineNumbers(){return this._lineNumbers}set lineNumbers(I){this._lineNumbers=this.coerceBooleanProperty(I)}get commandLine(){return this._commandLine}set commandLine(I){this._commandLine=this.coerceBooleanProperty(I)}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,Y.R)(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(I,A=!1){let $;this.src&&this.srcRelativeLink&&($={baseUrl:new URL(this.src,location.origin).pathname});const ct={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},dt=this.markdownService.parse(I,{decodeHtml:A,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,markedOptions:$,disableSanitizer:this.disableSanitizer});this.element.nativeElement.innerHTML=dt,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,ct,this.viewContainerRef),this.ready.emit()}coerceBooleanProperty(I){return null!=I&&"false"!=`${String(I)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:I=>{this.render(I),this.load.emit(I)},error:I=>this.error.emit(I)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,bt.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,bt.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(I,A){const $=I.querySelectorAll("pre");for(let xe=0;xe<$.length;xe++){const ct=A instanceof Array?A:[A];$.item(xe).classList.add(...ct)}}setPluginOptions(I,A){const $=I.querySelectorAll("pre");for(let xe=0;xe<$.length;xe++)Object.keys(A).forEach(ct=>{const dt=A[ct];if(dt){const Bt=this.toLispCase(ct);$.item(xe).setAttribute(Bt,dt.toString())}})}toLispCase(I){const A=I.match(/([A-Z])/g);if(!A)return I;let $=I.toString();for(let xe=0,ct=A.length;xe{class Ne{static forRoot(I){return{ngModule:Ne,providers:[H,I&&I.loader||[],I&&I.clipboardOptions||[],I&&I.markedOptions||[],{provide:oe,useValue:I&&null!=I.sanitize?I.sanitize:e.q3G.HTML}]}}static forChild(){return{ngModule:Ne}}}return Ne.\u0275fac=function(I){return new(I||Ne)},Ne.\u0275mod=e.oAB({type:Ne}),Ne.\u0275inj=e.cJS({imports:[ue.ez]}),Ne})();var He;!function(Ne){let U;var $;let I,A;($=U=Ne.SecurityLevel||(Ne.SecurityLevel={})).Strict="strict",$.Loose="loose",$.Antiscript="antiscript",$.Sandbox="sandbox",function($){$.Base="base",$.Forest="forest",$.Dark="dark",$.Default="default",$.Neutral="neutral"}(I=Ne.Theme||(Ne.Theme={})),function($){$[$.Debug=1]="Debug",$[$.Info=2]="Info",$[$.Warn=3]="Warn",$[$.Error=4]="Error",$[$.Fatal=5]="Fatal"}(A=Ne.LogLevel||(Ne.LogLevel={}))}(He||(He={}))},8239:(Ht,Fe,c)=>{"use strict";function e(k,z,F,ne,W,te,pe){try{var ce=k[te](pe),de=ce.value}catch(Y){return void F(Y)}ce.done?z(de):Promise.resolve(de).then(ne,W)}function s(k){return function(){var z=this,F=arguments;return new Promise(function(ne,W){var te=k.apply(z,F);function pe(de){e(te,ne,W,pe,ce,"next",de)}function ce(de){e(te,ne,W,pe,ce,"throw",de)}pe(void 0)})}}c.d(Fe,{Z:()=>s})},4911:(Ht,Fe,c)=>{"use strict";function z(S,q){var ze={};for(var N in S)Object.prototype.hasOwnProperty.call(S,N)&&q.indexOf(N)<0&&(ze[N]=S[N]);if(null!=S&&"function"==typeof Object.getOwnPropertySymbols){var Se=0;for(N=Object.getOwnPropertySymbols(S);Se=0;wt--)(pt=S[wt])&&(et=(Se<3?pt(et):Se>3?pt(q,ze,et):pt(q,ze))||et);return Se>3&&et&&Object.defineProperty(q,ze,et),et}function Y(S,q,ze,N){return new(ze||(ze=Promise))(function(et,pt){function wt(Ft){try{St(N.next(Ft))}catch(It){pt(It)}}function Cn(Ft){try{St(N.throw(Ft))}catch(It){pt(It)}}function St(Ft){Ft.done?et(Ft.value):function Se(et){return et instanceof ze?et:new ze(function(pt){pt(et)})}(Ft.value).then(wt,Cn)}St((N=N.apply(S,q||[])).next())})}function se(S){return this instanceof se?(this.v=S,this):new se(S)}function ee(S,q,ze){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Se,N=ze.apply(S,q||[]),et=[];return Se={},pt("next"),pt("throw"),pt("return"),Se[Symbol.asyncIterator]=function(){return this},Se;function pt(Rt){N[Rt]&&(Se[Rt]=function(Zt){return new Promise(function(Ut,Dt){et.push([Rt,Zt,Ut,Dt])>1||wt(Rt,Zt)})})}function wt(Rt,Zt){try{!function Cn(Rt){Rt.value instanceof se?Promise.resolve(Rt.value.v).then(St,Ft):It(et[0][2],Rt)}(N[Rt](Zt))}catch(Ut){It(et[0][3],Ut)}}function St(Rt){wt("next",Rt)}function Ft(Rt){wt("throw",Rt)}function It(Rt,Zt){Rt(Zt),et.shift(),et.length&&wt(et[0][0],et[0][1])}}function Oe(S){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ze,q=S[Symbol.asyncIterator];return q?q.call(S):(S=function Ue(S){var q="function"==typeof Symbol&&Symbol.iterator,ze=q&&S[q],N=0;if(ze)return ze.call(S);if(S&&"number"==typeof S.length)return{next:function(){return S&&N>=S.length&&(S=void 0),{value:S&&S[N++],done:!S}}};throw new TypeError(q?"Object is not iterable.":"Symbol.iterator is not defined.")}(S),ze={},N("next"),N("throw"),N("return"),ze[Symbol.asyncIterator]=function(){return this},ze);function N(et){ze[et]=S[et]&&function(pt){return new Promise(function(wt,Cn){!function Se(et,pt,wt,Cn){Promise.resolve(Cn).then(function(St){et({value:St,done:wt})},pt)}(wt,Cn,(pt=S[et](pt)).done,pt.value)})}}}c.d(Fe,{FC:()=>ee,KL:()=>Oe,_T:()=>z,gn:()=>F,mG:()=>Y,qq:()=>se}),"function"==typeof SuppressedError&&SuppressedError}},Ht=>{Ht(Ht.s=8179)}]); \ No newline at end of file +(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[179,6429],{2579:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Ct:()=>ve,H3:()=>Ue,L1:()=>de,UA:()=>ie,m9:()=>ce,s5:()=>Ae,ux:()=>ue,yZ:()=>tt});var e=c(4537),s=c(7241),k=c(4581),z=c(815),F=c(3674),ne=c(7969),W=c(2147),te=c(6466),pe=c(8692);const ce=new e.OlP("An abstraction over global window object",{factory:()=>{const{defaultView:we}=(0,e.f3M)(pe.K0);if(!we)throw new Error("Window is not available");return we}}),de=new e.OlP("Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{const{requestAnimationFrame:we,cancelAnimationFrame:mt}=(0,e.f3M)(ce);return new s.y(Qe=>{let qe=NaN;const Ge=R=>{Qe.next(R),qe=we(Ge)};return qe=we(Ge),()=>{mt(qe)}}).pipe((0,z.B)())}}),ue=(new e.OlP("An abstraction over window.caches object",{factory:()=>(0,e.f3M)(ce).caches}),new e.OlP("An abstraction over window.crypto object",{factory:()=>(0,e.f3M)(ce).crypto}),new e.OlP("An abstraction over window.CSS object",{factory:()=>(0,e.f3M)(ce).CSS||{escape:we=>we,supports:()=>!1}})),ie=new e.OlP("An abstraction over window.history object",{factory:()=>(0,e.f3M)(ce).history}),Ue=new e.OlP("An abstraction over window.localStorage object",{factory:()=>(0,e.f3M)(ce).localStorage}),ve=new e.OlP("An abstraction over window.location object",{factory:()=>(0,e.f3M)(ce).location}),Ae=new e.OlP("An abstraction over window.navigator object",{factory:()=>(0,e.f3M)(ce).navigator}),tt=(new e.OlP("An abstraction over window.navigator.mediaDevices object",{factory:()=>(0,e.f3M)(Ae).mediaDevices}),new e.OlP("An abstraction over window.navigator.connection object",{factory:()=>(0,e.f3M)(Ae).connection||null}),new e.OlP("Shared Observable based on `document visibility changed`",{factory:()=>{const we=(0,e.f3M)(pe.K0);return(0,k.R)(we,"visibilitychange").pipe((0,F.O)(0),(0,ne.U)(()=>"hidden"!==we.visibilityState),(0,W.x)(),(0,te.d)({refCount:!1,bufferSize:1}))}}),new e.OlP("An abstraction over window.performance object",{factory:()=>(0,e.f3M)(ce).performance}),new e.OlP("An abstraction over window.screen object",{factory:()=>(0,e.f3M)(ce).screen}),new e.OlP("An abstraction over window.sessionStorage object",{factory:()=>(0,e.f3M)(ce).sessionStorage}),new e.OlP("An abstraction over SpeechRecognition class",{factory:()=>{const we=(0,e.f3M)(ce);return we.speechRecognition||we.webkitSpeechRecognition||null}}),new e.OlP("An abstraction over window.speechSynthesis object",{factory:()=>(0,e.f3M)(ce).speechSynthesis}),new e.OlP("An abstraction over window.navigator.userAgent object",{factory:()=>(0,e.f3M)(Ae).userAgent}))},9439:(Ht,Fe,c)=>{"use strict";c.d(Fe,{c0:()=>bu,JF:()=>Cu,FU:()=>Du,mG:()=>Tu,zb:()=>Bl,Lx:()=>wu,B7:()=>Ll,f2:()=>Ud,u4:()=>Hl,$5:()=>ku,qn:()=>Wl,qo:()=>Lu,Lq:()=>wa,nj:()=>Yl,hs:()=>Fd});var e=c(4537),s=c(4548),k=c(2497),z=c(4121),F=c(8023),ne=c(1995),W=c(1860),te=c(5696),pe=c(1528),ce=c(7969),de=c(3674),Y=c(3528),_e=c(4970),ue=c(4882),ie=c(5598),Ue=c(2147),ve=c(815),Ae=c(2628),Ve=c(2847),je=c(1515),se=c(4789),ee=c(3770),$e=c(719),Oe=c(8692);const _t=["wrapper"];function vt(u,b){if(1&u&&(e.TgZ(0,"tui-loader",4),e.GkF(1,5),e.qZA()),2&u){const r=e.oxw(2);e.Q6J("overlay",!0)("showLoader",r.loading),e.xp6(1),e.Q6J("ngTemplateOutlet",r.content)}}function tt(u,b){if(1&u&&(e.ynx(0),e.Hsn(1),e.YNc(2,vt,2,3,"tui-loader",3),e.BQk()),2&u){const r=e.oxw();e.xp6(2),e.Q6J("ngIf",r.async)("ngIfElse",r.content)}}const we=["*"];let mt=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiExpandContent",""]]}),u})();let qe=(()=>{class u{constructor(r){this.cdr=r,this.state=0,this.async=!1,this.content=null,this.expanded=null}set expandedSetter(r){if(null!==this.expanded)return 0!==this.state?(this.expanded=r,void(this.state=3)):(this.expanded=r,void this.retrigger(this.async&&r?1:3));this.expanded=r}get overflow(){return 0!==this.state}get loading(){return!!this.expanded&&this.async&&1===this.state}get height(){const{expanded:r,state:f,contentWrapper:L}=this;return r&&2===f||!r&&3===f?0:L&&(!r&&2===f||r&&3===f)?L.nativeElement.offsetHeight:L&&r&&1===f?Math.max(L.nativeElement.offsetHeight,48):null}get contentVisible(){return this.expanded||0!==this.state}onTransitionEnd({propertyName:r}){"opacity"===r&&3===this.state&&(this.state=0)}onExpandLoaded(r){r.stopPropagation(),1===this.state&&this.retrigger(3)}retrigger(r){this.state=2,setTimeout(()=>{2===this.state&&(this.state=r,this.cdr.markForCheck())})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-expand"]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,mt,5,e.Rgc),2&r){let me;e.iGM(me=e.CRH())&&(f.content=me.first)}},viewQuery:function(r,f){if(1&r&&e.Gf(_t,5),2&r){let L;e.iGM(L=e.CRH())&&(f.contentWrapper=L.first)}},hostVars:9,hostBindings:function(r,f){1&r&&e.NdJ("transitionend.self",function(me){return f.onTransitionEnd(me)})("tui-expand-loaded",function(me){return f.onExpandLoaded(me)}),2&r&&(e.uIk("aria-expanded",f.expanded),e.Udp("height",f.height,"px"),e.ekj("_expanded",f.expanded)("_overflow",f.overflow)("_loading",f.loading))},inputs:{async:"async",expandedSetter:["expanded","expandedSetter"]},ngContentSelectors:we,decls:3,vars:3,consts:[[1,"t-wrapper"],["wrapper",""],[4,"ngIf"],["size","l",3,"overlay","showLoader",4,"ngIf","ngIfElse"],["size","l",3,"overlay","showLoader"],[3,"ngTemplateOutlet"]],template:function(r,f){1&r&&(e.F$t(),e.TgZ(0,"div",0,1),e.YNc(2,tt,3,2,"ng-container",2),e.qZA()),2&r&&(e.Q6J("@tuiParentAnimation",void 0)("@.disabled",f.overflow),e.xp6(2),e.Q6J("ngIf",f.contentVisible))},dependencies:[$e.kM,Oe.O5,Oe.tP],styles:['[_nghost-%COMP%]{transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;opacity:0;transition-delay:1ms}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translate(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[ee.Kx]},changeDetection:0}),u})(),Ge=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,$e.dS]]}),u})();var R=c(5452),be=c(8940),S=c(8089),q=c(5111),ze=c(5974),N=c(5640),Se=c(885),et=c(8952),pt=c(134),wt=c(6480);let Cn=(()=>{class u extends wt.GM{}return u.\u0275fac=function(){let b;return function(f){return(b||(b=e.n5z(u)))(f||u)}}(),u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-theme-night"]],features:[e.qOj],decls:0,vars:0,template:function(r,f){},styles:[":root{--tui-base-01: #222;--tui-base-02: #333;--tui-base-03: #808080;--tui-base-04: #959595;--tui-base-05: #b0b0b0;--tui-base-06: #d7d7d7;--tui-base-07: #ededed;--tui-base-08: #f6f6f6;--tui-base-09: #fff;--tui-focus: rgba(51, 51, 51, .64);--tui-secondary: rgba(255, 255, 255, .16);--tui-secondary-hover: rgba(255, 255, 255, .24);--tui-secondary-active: rgba(255, 255, 255, .4);--tui-clear: rgba(255, 255, 255, .16);--tui-clear-disabled: rgba(255, 255, 255, .08);--tui-clear-hover: rgba(255, 255, 255, .24);--tui-clear-active: rgba(255, 255, 255, .4);--tui-error-fill: #ff8c67;--tui-error-bg: rgba(244, 87, 37, .32);--tui-error-bg-hover: rgba(244, 87, 37, .4);--tui-success-fill: #4ac99b;--tui-success-bg: rgba(74, 201, 155, .32);--tui-success-bg-hover: rgba(74, 201, 155, .4);--tui-warning-fill: #ffc700;--tui-warning-bg: rgba(255, 199, 0, .32);--tui-warning-bg-hover: rgba(255, 199, 0, .4);--tui-info-fill: #70b6f6;--tui-info-bg: rgba(112, 182, 246, .32);--tui-info-bg-hover: rgba(112, 182, 246, .4);--tui-neutral-fill: #959ba4;--tui-neutral-bg: rgba(149, 155, 164, .32);--tui-neutral-bg-hover: rgba(149, 155, 164, .48);--tui-text-01: #ffffff;--tui-text-02: rgba(255, 255, 255, .72);--tui-text-03: rgba(255, 255, 255, .6);--tui-link: #6788ff;--tui-link-hover: #526ed3;--tui-positive: #44c596;--tui-positive-hover: #3aa981;--tui-negative: #ff8c67;--tui-negative-hover: #bb593a;--tui-autofill: var(--tui-autofill-night);--tui-elevation-01: #222;--tui-elevation-02: #222;--tui-shadow: 0 .25rem 1.5rem rgba(0, 0, 0, .12);--tui-shadow-hover: 0 .75rem 2.25rem rgba(0, 0, 0, .2);--tui-shadow-dropdown: 0 1.5rem 1rem rgba(0, 0, 0, .03), 0 .75rem .75rem rgba(0, 0, 0, .04), 0 .25rem .375rem rgba(0, 0, 0, .05);--tui-shadow-modal: 0 1.125rem 1.875rem rgba(0, 0, 0, .48);--tui-shadow-sidebar: .25rem 0 1.5rem rgba(0, 0, 0, .12);--tui-shadow-navigation: 0 .125rem 1rem rgba(0, 0, 0, .08);--tui-shadow-sheet: 0 -1rem 1.75rem rgba(0, 0, 0, .24)}tui-notification{--tui-base-01: #000}\n"],encapsulation:2,changeDetection:0}),u})(),St=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var Ft=c(1359),It=c(5122),Rt=c(4091),Zt=c(5998),Ut=c(2579),Dt=c(9669),Xt=c(8033),Qt=c(1927),hn=c(4945),cn=c(4493),yt=c(7179);let Re=(()=>{class u{constructor(r,f,L){this.doc=r,this.el=f,this.renderer=L,this.activeElement=(0,yt.ie)(this.doc),Promise.resolve().then(()=>this.el.nativeElement.focus())}onBlur(){this.renderer.removeAttribute(this.el.nativeElement,"tabIndex")}onFocusIn(r){const{nativeElement:f}=this.el;if((0,cn.PP)(f,r))return;const L=(0,yt.BW)({initial:f,root:f});L&&L.focus()}ngOnDestroy(){(0,yt.hp)(this.doc),Promise.resolve().then(()=>{(0,cn.dW)(this.activeElement)&&this.activeElement.focus()})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Oe.K0),e.Y36(e.SBq),e.Y36(e.Qsj))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiFocusTrap",""]],hostAttrs:["tabIndex","0"],hostBindings:function(r,f){1&r&&e.NdJ("blur",function(){return f.onBlur()})("focusin.silent",function(me){return f.onFocusIn(me.target)},!1,e.Jf7)}}),u})(),he=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var re=c(1486),Xe=c(2668),Le=c(9570);function fe(u,b){1&u&&e.GkF(0)}function We(u,b){1&u&&e._UZ(0,"tui-scroll-controls",5)}function ye(u,b){if(1&u&&(e.TgZ(0,"section",2),e.YNc(1,fe,1,0,"ng-container",3),e.YNc(2,We,1,0,"tui-scroll-controls",4),e.qZA()),2&u){const r=b.$implicit,f=e.oxw();e.Q6J("@host",void 0),e.uIk("aria-labelledby",r.id),e.xp6(1),e.Q6J("polymorpheusOutlet",r.component)("polymorpheusOutletContext",r),e.xp6(1),e.Q6J("ngIf",!f.isMobile)}}function at(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",6),e.NdJ("transitionend",function(L){const jt=e.CHM(r).tuiLet,Fn=e.oxw();return e.KtG(Fn.onDialog(L,!!Fn.dialogs.length,!!jt))})("popstate",function(){const me=e.CHM(r).tuiLet,jt=e.oxw();return e.KtG(jt.closeLast(jt.dialogs,!!me))},!1,e.Jf7),e.qZA()}if(2&u){const r=e.oxw();e.ekj("t-overlay_visible",r.dialogs.length)}}const kt={label:"ignoreMe"},Lt=(0,Qt.JN)((0,hn.of)(!1));let xt=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,qn){this.isMobile=r,this.isDialogClosesOnBack$=f,this.dialogsByType=L,this.historyRef=me,this.titleService=jt,this.destroy$=Fn,this.cdr=Zn,this.doc=qn,this.dialogs=[]}ngOnInit(){(0,te.a)(this.dialogsByType).pipe((0,ce.U)(r=>[].concat(...r).sort((f,L)=>f.createdAt-L.createdAt)),(0,Y.R)(this.destroy$)).subscribe(r=>{this.dialogs=r,this.cdr.markForCheck(),this.doc.documentElement.classList.toggle("t-overscroll-none",!!r.length)})}closeLast(r,f){if(!f)return;const[L]=r.slice(-1);L&&(r.length>1&&this.historyRef.pushState(kt,this.titleService.getTitle()),L.$implicit.complete())}onDialog({propertyName:r},f,L){!L||"letter-spacing"!==r||(f?this.historyRef.pushState(kt,this.titleService.getTitle()):(u=>(null==u?void 0:u.label)===kt.label)(this.historyRef.state)&&this.historyRef.back())}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Xt.fL),e.Y36(Lt),e.Y36(Xt.qY),e.Y36(Ut.UA),e.Y36(Zt.Dx),e.Y36(Dt.a3,2),e.Y36(e.sBO),e.Y36(Oe.K0))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-dialog-host"]],features:[e._Bn([Dt.a3])],decls:3,vars:4,consts:[["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","","class","t-dialog",4,"ngFor","ngForOf"],["class","t-overlay",3,"t-overlay_visible","transitionend","popstate",4,"tuiLet"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["class","t-scrollbars",4,"ngIf"],[1,"t-scrollbars"],[1,"t-overlay",3,"transitionend","popstate"]],template:function(r,f){1&r&&(e.YNc(0,ye,3,5,"section",0),e.YNc(1,at,1,2,"div",1),e.ALo(2,"async")),2&r&&(e.Q6J("ngForOf",f.dialogs),e.xp6(1),e.Q6J("tuiLet",e.lcZ(2,2,f.isDialogClosesOnBack$)))},dependencies:[Ft.tZ,Oe.sg,Re,re.W,Ft.ex,Le.Li,Oe.O5,Xe.Ls,Oe.Ov],styles:["[_nghost-%COMP%]{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-dialog[_ngcontent-%COMP%]{bottom:auto;height:100%}.t-overlay[_ngcontent-%COMP%]{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration, .3s),letter-spacing .01s;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-overlay_visible[_ngcontent-%COMP%]{opacity:1;letter-spacing:1px}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;color:#747474}"],data:{animation:[(0,Rt.X$)("host",[(0,Rt.eR)(":enter",[(0,Rt.oB)({overflow:"clip"}),(0,Rt.IO)(":scope > *",[(0,Rt.pV)()],{optional:!0})]),(0,Rt.eR)(":leave",[(0,Rt.oB)({overflow:"clip"}),(0,Rt.IO)(":scope > *",[(0,Rt.pV)()],{optional:!0})])])]}}),u})(),Wt=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,re.e,he,Xe.WD,Ft.eI]]}),u})(),Pt=(()=>{class u{transform(r,f,...L){return f(r,...L)}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiMapper",type:u,pure:!0}),u})(),an=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();function fn(u,b){if(1&u&&(e.GkF(0,3),e.ALo(1,"tuiMapper")),2&u){const r=b.$implicit,f=e.oxw(2);e.Q6J("ngComponentOutlet",r.component.component)("ngComponentOutletInjector",e.xi3(1,2,r,f.mapper))}}function Ke(u,b){if(1&u&&(e.TgZ(0,"div",1),e.YNc(1,fn,2,5,"ng-container",2),e.qZA()),2&u){const r=b.$implicit;e.Q6J("@tuiParentAnimation",void 0),e.xp6(1),e.Q6J("ngForOf",r)}}let ot=(()=>{class u{constructor(r,f,L,me){this.allAlerts=r,this.injector=f,this.destroy$=L,this.cdr=me,this.alerts=[],this.trackBy=jt=>jt,this.mapper=jt=>e.zs3.create({providers:[{provide:Le.yf,useValue:jt}],parent:this.injector})}ngOnInit(){(0,te.a)(this.allAlerts).pipe((0,Y.R)(this.destroy$)).subscribe(r=>{this.alerts=r,this.cdr.detectChanges()})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Xt.bS),e.Y36(e.gxx),e.Y36(Dt.a3,2),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-alert-host"]],features:[e._Bn([Dt.a3])],decls:1,vars:2,consts:[["class","t-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"t-wrapper"],[3,"ngComponentOutlet","ngComponentOutletInjector",4,"ngFor","ngForOf"],[3,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(r,f){1&r&&e.YNc(0,Ke,2,2,"div",0),2&r&&e.Q6J("ngForOf",f.alerts)("ngForTrackBy",f.trackBy)},dependencies:[Oe.sg,Oe.$G,Pt],styles:["tui-alert-host>.t-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-wrapper>*{pointer-events:auto}\n"],encapsulation:2,data:{animation:[ee.Kx]}}),u})(),lt=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,an]]}),u})();var it=c(7941),st=c(6060),V=c(3151);function Pe(u,b){1&u&&(e.O4$(),e._UZ(0,"defs",4)),2&u&&e.Q6J("innerHTML",b.$implicit,e.oJD)}function bt(u,b){if(1&u&&(e.O4$(),e.ynx(0),e.YNc(1,Pe,1,1,"defs",3),e.BQk()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("ngForOf",r.items)}}function gt(u,b){if(1&u&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"svg",6),e.qZA()),2&u){const r=b.$implicit;e.xp6(1),e.Q6J("outerHTML",r,e.oJD)}}function on(u,b){if(1&u&&(e.O4$(),e.YNc(0,gt,2,1,"defs",5)),2&u){const r=e.oxw();e.Q6J("ngForOf",r.items)}}let $t=(()=>{class u{constructor(r,f,L,me){this.svgService=r,this.cdr=f,this.destroy$=L,this.isBrowser=!0,this.isBrowser=!(0,Oe.PM)(me)}ngOnInit(){this.svgService.items$.pipe((0,Y.R)(this.destroy$)).subscribe(r=>{this.items=r.values(),this.cdr.detectChanges()})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(it.K5),e.Y36(e.sBO),e.Y36(Dt.a3,2),e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-svg-defs-host"]],features:[e._Bn([Dt.a3])],decls:4,vars:2,consts:[["version","1.1",0,"xmlns","xlink","http://www.w3.org/1999/xlink","xmlns","http://www.w3.org/2000/svg"],[4,"ngIf","ngIfElse"],["server",""],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[3,"outerHTML"]],template:function(r,f){if(1&r&&(e.O4$(),e.TgZ(0,"svg",0),e.YNc(1,bt,2,1,"ng-container",1),e.YNc(2,on,1,1,"ng-template",null,2,e.W1O),e.qZA()),2&r){const L=e.MAs(3);e.xp6(1),e.Q6J("ngIf",f.isBrowser)("ngIfElse",L)}},dependencies:[Oe.O5,Oe.sg],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0}),u})(),vn=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Xe.WD]]}),u})();var Jt=c(221);function Nn(u,b){1&u&&e.GkF(0)}const Mn=function(u){return{$implicit:u}};function oe(u,b){if(1&u&&(e.TgZ(0,"div",1),e.YNc(1,Nn,1,0,"ng-container",2),e.qZA()),2&u){const r=b.$implicit;e.Q6J("@tuiParentAnimation",void 0)("tuiActiveZoneParent",r.activeZone||null),e.xp6(1),e.Q6J("polymorpheusOutlet",r.component)("polymorpheusOutletContext",e.VKq(4,Mn,r))}}let Q=(()=>{class u{constructor(r,f,L){this.hints$=r,this.destroy$=f,this.cdr=L,this.hints=[]}ngOnInit(){this.hints$.pipe((0,Y.R)(this.destroy$)).subscribe(r=>{this.hints=r,this.cdr.detectChanges()})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(it.BN),e.Y36(Dt.a3,2),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-hints-host"]],hostAttrs:["aria-live","polite"],features:[e._Bn([Dt.a3])],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(r,f){1&r&&e.YNc(0,oe,2,6,"div",0),2&r&&e.Q6J("ngForOf",f.hints)},dependencies:[Oe.sg,Jt.e,Le.Li],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:0}"],data:{animation:[ee.Kx]}}),u})(),H=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,Jt.A]]}),u})();var le=c(126);function Ie(u,b){1&u&&e._UZ(0,"tui-scroll-controls",2)}const rt=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],nt=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];let ut=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,{body:qn},po){this.reducedMotion=r,this.duration=f,this.dialogs=L,this.isMobile=me,this.breakpoint=jt,this.isIOS=Fn,this.isAndroid=Zn,this.isMobileRes$=this.breakpoint.pipe((0,ce.U)(Cr=>"mobile"===Cr)),this.scrollbars$=this.dialogs.length&&!this.isMobile?(0,te.a)([...this.dialogs]).pipe((0,ce.U)(Cr=>!Cr.some(({length:Dr})=>Dr)),(0,V.b)(0)):(0,hn.of)(!this.isMobile),qn.setAttribute("data-tui-theme",po.toLowerCase())}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(st.TK),e.Y36(st.dx),e.Y36(Xt.qY),e.Y36(Xt.fL),e.Y36(it.zE),e.Y36(Xt.FA),e.Y36(Xt.XG),e.Y36(Oe.K0),e.Y36(st.r2))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-root"]],hostAttrs:["data-tui-version","3.61.0"],hostVars:9,hostBindings:function(r,f){1&r&&e.NdJ("$.class._mobile",function(){return f.isMobileRes$}),2&r&&(e.Ikx("$.class._mobile",f.isMobileRes$),e.Udp("--tui-duration",f.duration,"ms"),e.ekj("_ios",f.isIOS)("_android",f.isAndroid)("_reduced-motion",f.reducedMotion))},ngContentSelectors:nt,decls:14,vars:3,consts:[["class","t-root-scrollbar",4,"ngIf"],[1,"t-root-content"],[1,"t-root-scrollbar"]],template:function(r,f){1&r&&(e.F$t(rt),e.YNc(0,Ie,1,0,"tui-scroll-controls",0),e.ALo(1,"async"),e._UZ(2,"tui-svg-defs-host"),e.TgZ(3,"tui-dropdown-host")(4,"div",1),e.Hsn(5),e.qZA(),e.Hsn(6,1),e._UZ(7,"tui-dialog-host"),e.Hsn(8,2),e._UZ(9,"tui-alert-host"),e.Hsn(10,3),e.qZA(),e.Hsn(11,4),e._UZ(12,"tui-hints-host"),e.Hsn(13,5)),2&r&&e.Q6J("ngIf",e.lcZ(1,1,f.scrollbars$))},dependencies:[Ft.tZ,$t,It.qY,xt,ot,Q,Oe.O5,Oe.Ov],styles:['@keyframes tuiPresent{to{content:"1"}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html,.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}body{font:var(--tui-font-text-s);color:var(--tui-text-01);background:var(--tui-base-01);margin:0}tui-root{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;margin:0}.t-root-content{height:100%;isolation:isolate}.t-overscroll-none{overscroll-behavior:none}\n'],encapsulation:2}),u})(),He=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,le.X1,It.mL,vn,H,Wt,lt,Ft.eI]]}),u})();var Ne=c(9941),U=c(4581),I=c(5261);function A(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function $(u,b){if(1&u&&(e.TgZ(0,"label",4),e.YNc(1,A,2,1,"ng-container",5),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.item.label)("polymorpheusOutletContext",r.item)}}function xe(u,b){1&u&&e._UZ(0,"div",6),2&u&&e.Q6J("innerHTML",b.polymorpheusOutlet,e.oJD)}const ct=(0,Qt.N1)(()=>(0,e.f3M)(Xt.fL)?"1rem 1rem 0 auto":"2rem 3rem 0 auto");let dt=(()=>{class u{constructor(r,f,L,me,jt){this.el=r,this.destroy$=f,this.position=L,this.options=me,this.item=jt,this.autoClose="function"==typeof this.item.autoClose?this.item.autoClose(this.item.status):this.item.autoClose,this.animation=this.position.endsWith("auto")?Object.assign(Object.assign({},this.options),{value:"right"}):Object.assign(Object.assign({},this.options),{value:"left"})}ngOnInit(){this.initAutoClose()}close(){this.item.$implicit.complete()}initAutoClose(){this.autoClose&&(0,ne.H)((0,Qt.dt)(this.autoClose)?this.autoClose:3e3).pipe((0,Y.R)((0,U.R)(this.el.nativeElement,"mouseenter")),(0,I.a)(()=>(0,U.R)(this.el.nativeElement,"mouseleave")),(0,Y.R)(this.destroy$)).subscribe(()=>this.close())}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq),e.Y36(Dt.a3,2),e.Y36(ct),e.Y36(st.Pw),e.Y36(Le.yf))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(r,f){2&r&&(e.d8E("@tuiFadeIn",f.options)("@tuiSlideIn",f.animation)("@tuiHeightCollapse",f.animation),e.Udp("margin",f.position))},features:[e._Bn([Dt.a3])],decls:4,vars:7,consts:[[3,"hasIcon","hideClose","icon","status","close"],["automation-id","tui-notification-alert__heading","class","t-heading",4,"ngIf"],["automation-id","tui-notification-alert__content",1,"t-content"],[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification-alert__heading",1,"t-heading"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(r,f){1&r&&(e.TgZ(0,"tui-notification",0),e.NdJ("close",function(){return f.close()}),e.YNc(1,$,2,2,"label",1),e.TgZ(2,"div",2),e.YNc(3,xe,1,1,"div",3),e.qZA()()),2&r&&(e.Q6J("hasIcon",f.item.hasIcon)("hideClose",!f.item.hasCloseButton)("icon",f.item.icon)("status",f.item.status),e.xp6(1),e.Q6J("ngIf",f.item.label),e.xp6(2),e.Q6J("polymorpheusOutlet",f.item.content)("polymorpheusOutletContext",f.item))},dependencies:[Se.L,Oe.O5,Le.Li],styles:["[_nghost-%COMP%]{display:block;box-shadow:var(--tui-shadow-dropdown);border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:bold}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-01);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[Ne.QF,Ne.Gw,Ne.eu]},changeDetection:0}),u})(),Bt=(()=>{class u extends wt.d5{constructor(r,f){super(f),this.defaultOptions=r,this.component=new Le.Al(dt)}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(st.Ln),e.LFG(Dt.ll))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),rn=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({providers:[(0,Xt.XH)(Bt)],imports:[[Oe.ez,Le.wq,Se.H]]}),u})();var en=c(5600),pn=c(7241),In=c(5955),Kn=c(697),mn=c(8499);var ci=c(6148),ri=c(2085),Yn=c(5675);let Qn=(()=>{class u{constructor(r,f){this.focusable=r,this.el=f}get element(){var r;return(null===(r=this.focusable)||void 0===r?void 0:r.nativeFocusableElement)||this.el.nativeElement}get isTextFieldElement(){return this.element.matches("input, textarea, [contenteditable]")}}return u.\u0275fac=function(r){e.$Z()},u.\u0275dir=e.lG2({type:u}),u})(),Wn=(()=>{class u extends Qn{constructor(r,f,L){super(r,f),this.animationFrame$=L}setFocus(){this.isTextFieldElement?function xn(...u){return 1===(u=(0,Kn.k)(u)).length?(0,In.Xf)(u[0]):new pn.y(function $n(u){return b=>{let r=[];for(let f=0;r&&!b.closed&&f{if(r){for(let me=0;methis.element.closest(".ng-animating")),function Xn(u){return(0,ri.e)((b,r)=>{let f=!1,L=0;b.subscribe((0,mn.x)(r,me=>(f||(f=!u(me,L++)))&&r.next(me)))})}(Boolean),(0,ie.q)(1))).subscribe(()=>this.element.focus({preventScroll:!0})):this.element.focus({preventScroll:!0})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Xt.KZ,10),e.Y36(e.SBq),e.Y36(Ut.L1))},u.\u0275dir=e.lG2({type:u,features:[e.qOj]}),u})();const Ti=["type","inputMode","autocomplete","accept","min","max","step","pattern","size","maxlength"];let ti=(()=>{class u extends Qn{constructor(r,f,L,me,jt){super(r,f),this.renderer=L,this.zone=me,this.win=jt,this.patchCssStyles()}setFocus(){this.isTextFieldElement?this.zone.runOutsideAngular(()=>this.iosWebkitAutofocus()):this.element.focus({preventScroll:!0})}iosWebkitAutofocus(){var r;const f=this.makeFakeInput(),L=this.getDurationTimeBeforeFocus();let me=0,jt=0;const Fn=()=>f.focus({preventScroll:!0}),Zn=()=>{clearTimeout(me),me=this.win.setTimeout(()=>{clearTimeout(jt),f.removeEventListener("blur",Fn),f.removeEventListener("focus",Zn),jt=this.win.setTimeout(()=>{this.element.focus({preventScroll:!1}),f.remove()},L)})};f.addEventListener("blur",Fn,{once:!0}),f.addEventListener("focus",Zn),this.insideDialog()?this.win.document.body.appendChild(f):null===(r=this.element.parentElement)||void 0===r||r.appendChild(f),f.focus({preventScroll:!0})}makeFakeInput(){const r=this.renderer.createElement("input"),f=this.element.getBoundingClientRect();return this.patchFakeInputFromFocusableElement(r),r.style.height=(0,Yn.O)(f.height),r.style.width=(0,Yn.O)(f.width/2),r.style.position="fixed",r.style.zIndex="-99999999",r.style.caretColor="transparent",r.style.border="none",r.style.outline="none",r.style.color="transparent",r.style.background="transparent",r.style.cursor="none",r.style.fontSize=(0,Yn.O)(16),r.style.top=(0,Yn.O)(f.top),r.style.left=(0,Yn.O)(f.left),r}getDurationTimeBeforeFocus(){return parseFloat(this.win.getComputedStyle(this.element).getPropertyValue("--tui-duration"))||0}insideDialog(){return!!this.element.closest("tui-dialog")}patchCssStyles(){[this.win.document.documentElement,this.win.document.body].forEach(r=>{r.style.setProperty("overflow","auto"),r.style.setProperty("height","100%")})}patchFakeInputFromFocusableElement(r){Ti.forEach(f=>{const L=this.element.getAttribute(f);(0,Qt.Pc)(L)&&r.setAttribute(f,L)})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Xt.KZ,10),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(Ut.m9))},u.\u0275dir=e.lG2({type:u,features:[e.qOj]}),u})();const to=(0,Qt.JN)({delay:NaN}),Wo=new e.OlP("[TUI_AUTOFOCUS_HANDLER]"),wo=[{provide:Wo,useFactory:(u,b,r,f,L,me,jt)=>jt?new ti(u,b,f,L,me):new Wn(u,b,r),deps:[[new e.FiY,new e.PiD,Xt.KZ],e.SBq,Ut.L1,e.Qsj,e.R0b,Ut.m9,Xt.FA]},Dt.a3];let no=(()=>{class u{constructor(r,f,L){this.handler=r,this.options=f,this.destroy$=L,this.autoFocus=!0}ngAfterViewInit(){(function gn(u){return null!==u&&typeof u<"u"&&"false"!=`${u}`})(this.autoFocus)&&this.focus()}focus(){Number.isNaN(this.options.delay)?Promise.resolve().then(()=>this.handler.setFocus()):(0,ne.H)(this.options.delay).pipe((0,Y.R)(this.destroy$)).subscribe(()=>this.handler.setFocus())}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Wo),e.Y36(to),e.Y36(Dt.a3,2))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiAutoFocus",""]],inputs:{autoFocus:["tuiAutoFocus","autoFocus"]},features:[e._Bn(wo)]}),u})(),qo=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var ui=c(2325),Wi=c(9018),Qi=c(97),yo=c(7766);function Po(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function Vo(u,b){if(1&u&&(e.TgZ(0,"header",6),e.YNc(1,Po,2,1,"ng-container",3),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.header)("polymorpheusOutletContext",r.context)}}function bo(u,b){if(1&u){const r=e.EpF();e.ynx(0),e._UZ(1,"div",7),e.TgZ(2,"div",8)(3,"button",9),e.NdJ("click",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.context.$implicit.complete())}),e._uU(4),e.qZA()(),e.BQk()}if(2&u){const r=b.polymorpheusOutlet,f=e.oxw();let L;e.xp6(1),e.Q6J("innerHTML",r,e.oJD),e.xp6(3),e.hij(" ",(null==(L=f.context.data)?null:L.button)||"OK"," ")}}function ji(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",10)(1,"button",11),e.NdJ("click",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.close$.next())})("mousedown.prevent.silent",function(){return 0}),e.ALo(2,"async"),e.qZA()()}if(2&u){const r=e.oxw();e.xp6(1),e.Q6J("appearance",r.fullscreen?"secondary":"")("icon",r.icons.close)("title",e.lcZ(2,3,r.closeWord$))}}const Li=(0,Qt.JN)(Wi.E),Yi=(0,Qt.JN)({size:"m",required:!1,closeable:!0,dismissible:!0,label:"",header:""});let go=(()=>{class u extends pn.y{constructor(r,f,L){super(me=>(0,W.T)(this.esc$,this.mousedown$).subscribe(me)),this.win=r,this.doc=f,this.el=L,this.esc$=(0,ui.mL)(this.doc,"keydown").pipe((0,_e.h)(me=>{const jt=(0,cn.mA)(me);return"Escape"===me.key&&!me.defaultPrevented&&(this.element.contains(jt)||this.isOutside(jt))})),this.mousedown$=(0,ui.mL)(this.doc,"mousedown").pipe((0,_e.h)(me=>(0,yo.ic)(this.win)-me.clientX>17&&this.isOutside((0,cn.mA)(me))),(0,pe.w)(()=>(0,ui.mL)(this.doc,"mouseup").pipe((0,ie.q)(1),(0,ce.U)(cn.mA),(0,_e.h)(me=>this.isOutside(me)))))}get element(){return this.el.nativeElement}isOutside(r){return(0,cn.ve)(r)&&(!(0,cn.PP)(this.element,r)||r===this.element)}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(Ut.m9),e.LFG(Oe.K0),e.LFG(e.SBq))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})();const Pn=new Error("Required dialog was dismissed");function Nt(u){return(0,Qi.b)(u)?u:(0,hn.of)(u)}const Rn=new Le.Al((()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,qn){this.duration=r,this.isMobile=f,this.context=L,this.closeWord$=Zn,this.icons=qn,this.animation={value:"",params:{start:"40px",duration:this.duration}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:this.duration}},this.close$=new F.x,(0,W.T)(this.close$.pipe((0,pe.w)(()=>Nt(L.closeable))),jt.pipe((0,pe.w)(()=>Nt(L.dismissible))),Fn.pipe((0,ce.U)(ee.Ye))).pipe((0,_e.h)(Boolean),(0,Y.R)(me)).subscribe(()=>{this.close()})}get size(){return this.context.size}get header(){return this.context.header}get slideInTop(){return this.fullscreen||this.isMobile?this.fullscreenAnimation:this.animation}get fullscreen(){return!this.isMobile&&("fullscreen"===this.size||"page"===this.size)}close(){this.context.required?this.context.$implicit.error(Pn):this.context.$implicit.complete()}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(st.dx),e.Y36(Xt.fL),e.Y36(Le.yf),e.Y36(Dt.a3,2),e.Y36(go),e.Y36(Li),e.Y36(st.U0),e.Y36(st.Gs))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(r,f){2&r&&(e.uIk("data-appearance",f.context.appearance)("data-size",f.size),e.d8E("@tuiSlideInTop",f.slideInTop)("@tuiFadeIn",f.slideInTop),e.ekj("_centered",f.header))},features:[e._Bn([Dt.a3,go])],decls:7,vars:6,consts:[["class","t-header",4,"ngIf"],[1,"t-content"],[1,"t-heading",3,"id","textContent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-filler"],["class","t-wrapper",4,"ngIf"],[1,"t-header"],[3,"innerHTML"],[1,"t-buttons"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","shape","rounded","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","icon","title","click","mousedown.prevent.silent"]],template:function(r,f){1&r&&(e.YNc(0,Vo,2,2,"header",0),e.TgZ(1,"div",1),e._UZ(2,"h2",2),e.TgZ(3,"section"),e.YNc(4,bo,5,2,"ng-container",3),e.qZA()(),e._UZ(5,"div",4),e.YNc(6,ji,3,5,"div",5)),2&r&&(e.Q6J("ngIf",f.header),e.xp6(2),e.Q6J("id",f.context.id)("textContent",f.context.label),e.xp6(2),e.Q6J("polymorpheusOutlet",f.context.content)("polymorpheusOutletContext",f.context),e.xp6(2),e.Q6J("ngIf",f.context.closeable))},dependencies:[Ae.v0,Oe.O5,Le.Li,no,Oe.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:auto;border-radius:1rem;border:2.5rem solid transparent}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";border-radius:inherit;pointer-events:none;box-shadow:var(--tui-shadow-modal)}[data-size=auto][_nghost-%COMP%]{width:auto}[data-size=s][_nghost-%COMP%]{width:30rem}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[data-size=s][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}[data-size=m][_nghost-%COMP%]{width:42.5rem}[data-size=m][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.75rem;font:var(--tui-font-heading-4)}[data-size=l][_nghost-%COMP%]{width:55rem}[data-size=l][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=fullscreen][_nghost-%COMP%], [data-size=page][_nghost-%COMP%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-elevation-01);box-shadow:0 4rem var(--tui-elevation-01)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - (45rem / 2))}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}._centered[_nghost-%COMP%]{text-align:center}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%]{min-width:100%;width:100%;max-width:100%;border-radius:0;border:none;margin:auto 0 0}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}.t-heading[_ngcontent-%COMP%]{margin:0;word-wrap:break-word;font:var(--tui-font-heading-3)}.t-heading[_ngcontent-%COMP%]:empty{display:none}.t-header[_ngcontent-%COMP%]{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}[data-size=fullscreen][_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{flex:1}.t-content[_ngcontent-%COMP%]{border-radius:inherit;padding:2rem;background:var(--tui-elevation-01)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:1;order:-1}.t-filler[_ngcontent-%COMP%]{flex-grow:1}.t-close[_ngcontent-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:fixed;top:1.5rem;right:1.5rem;display:none;color:var(--tui-base-01)}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]{animation:tuiFadeIn var(--tui-duration);background:rgba(104,104,104,.96)}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]:hover{background:rgba(159,159,159,.86)}[_nghost-%COMP%]:not([data-size="fullscreen"]).ng-animating .t-close[_ngcontent-%COMP%]{display:none}tui-root._mobile[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-01);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[Ne.X9,Ne.QF]}}),u})());let vi=(()=>{class u extends wt.d5{constructor(){super(...arguments),this.component=Rn,this.defaultOptions=Object.assign(Object.assign({},(0,e.f3M)(Yi)),{data:void 0})}}return u.\u0275fac=function(){let b;return function(f){return(b||(b=e.n5z(u)))(f||u)}}(),u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),Bi=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({providers:[(0,Xt.Q)(vi)],imports:[[Le.wq,Ae.fN,Oe.ez,qo]]}),u})();var xi=c(5432);class Ao{constructor(b,r){this._document=r;const f=this._textarea=this._document.createElement("textarea"),L=f.style;L.position="fixed",L.top=L.opacity="0",L.left="-999em",f.setAttribute("aria-hidden","true"),f.value=b,f.readOnly=!0,this._document.body.appendChild(f)}copy(){const b=this._textarea;let r=!1;try{if(b){const f=this._document.activeElement;b.select(),b.setSelectionRange(0,b.value.length),r=this._document.execCommand("copy"),f&&f.focus()}}catch{}return r}destroy(){const b=this._textarea;b&&(b.remove(),this._textarea=void 0)}}let Co=(()=>{class u{constructor(r){this._document=r}copy(r){const f=this.beginCopy(r),L=f.copy();return f.destroy(),L}beginCopy(r){return new Ao(r,this._document)}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(Oe.K0))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Ki=new e.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let Yo=(()=>{class u{constructor(r,f,L){this._clipboard=r,this._ngZone=f,this.text="",this.attempts=1,this.copied=new e.vpe,this._pending=new Set,L&&null!=L.attempts&&(this.attempts=L.attempts)}copy(r=this.attempts){if(r>1){let f=r;const L=this._clipboard.beginCopy(this.text);this._pending.add(L);const me=()=>{const jt=L.copy();jt||!--f||this._destroyed?(this._currentTimeout=null,this._pending.delete(L),L.destroy(),this.copied.emit(jt)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(me,1))};me()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(r=>r.destroy()),this._pending.clear(),this._destroyed=!0}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Co),e.Y36(e.R0b),e.Y36(Ki,8))},u.\u0275dir=e.lG2({type:u,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(r,f){1&r&&e.NdJ("click",function(){return f.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),u})(),Do=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var So=c(4911);let Ur=(()=>{class u{constructor({nativeElement:r}){return new e.SBq(r)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiElement",""]],exportAs:["elementRef"]}),u})(),Hr=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})(),mr=(()=>{class u extends Ur{}return u.\u0275fac=function(){let b;return function(f){return(b||(b=e.n5z(u)))(f||u)}}(),u.\u0275dir=e.lG2({type:u,selectors:[["","tuiResizeable",""]],features:[e.qOj]}),u})(),zr=(()=>{class u{constructor(r){this.resizeable=r,this.tuiResizer=[0,0],this.tuiSizeChange=new e.vpe,this.x=NaN,this.y=NaN,this.width=0,this.height=0}get cursor(){return this.tuiResizer[0]?this.tuiResizer[1]?this.tuiResizer[0]*this.tuiResizer[1]>0?"nwse-resize":"nesw-resize":"ew-resize":"ns-resize"}onTouchStart({touches:r}){this.onMouseDown(r[0].clientX,r[0].clientY)}onMouseDown(r,f){this.x=r,this.y=f,this.width=this.resizeable.nativeElement.clientWidth,this.height=this.resizeable.nativeElement.clientHeight}onMouseMove({x:r,y:f,buttons:L}){L?this.onMove(r,f):this.onMouseUp()}onTouchMove({touches:r}){this.onMove(r[0].clientX,r[0].clientY)}onMouseUp(){this.x=NaN}onMove(r,f){if(Number.isNaN(this.x))return;const{style:L}=this.resizeable.nativeElement,me=[this.width+this.tuiResizer[0]*(r-this.x),this.height+this.tuiResizer[1]*(f-this.y)];this.tuiResizer[0]&&(L.width=(0,Yn.O)(me[0])),this.tuiResizer[1]&&(L.height=(0,Yn.O)(me[1])),this.tuiSizeChange.emit(me)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(mr))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiResizer",""]],hostVars:4,hostBindings:function(r,f){1&r&&e.NdJ("touchstart.silent.passive",function(me){return f.onTouchStart(me)})("mousedown.silent.prevent",function(me){return f.onMouseDown(me.x,me.y)})("mousemove.silent",function(me){return f.onMouseMove(me)},!1,e.evT)("touchmove.silent",function(me){return f.onTouchMove(me)},!1,e.evT)("mouseup.silent",function(){return f.onMouseUp()},!1,e.evT)("touchend.silent",function(){return f.onMouseUp()},!1,e.evT),2&r&&e.Udp("touch-action","none")("cursor",f.cursor)},inputs:{tuiResizer:"tuiResizer"},outputs:{tuiSizeChange:"tuiSizeChange"}}),u})(),er=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})(),Vr=(()=>{class u{transform(r,f,...L){return r.filter(me=>f(me,...L))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiFilter",type:u,pure:!0}),u})(),To=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})(),jo=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiItem",""]]}),u})(),co=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})(),Sr=(()=>{class u{transform(r,f,L){var me;return null!==(me=null==r?void 0:r.replace(f,L))&&void 0!==me?me:""}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiReplace",type:u,pure:!0}),u})(),Tr=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var tr=c(5648),Ui=c(4358);function _r(u){const b=u.replace("#","").split("").map((r,f,L)=>3===L.length?r+r:r).join("").match(/.{2}/g);return b?b.map(r=>Number.parseInt(r,16)):[0,0,0]}var uo=c(1489),$i=c(3631),ko=c(9811);let Or=(()=>{class u{constructor(r,f,L,me,jt){this.host=r,this.control=f,this.el=L,this.idService=me,this.itemsHandlers=jt,this.disabledItemHandler=null,this.datalist=null}get id(){return this.el.nativeElement.id||this.idService.generate()}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(st.S0),e.Y36(wt.M$),e.Y36(e.SBq),e.Y36(Dt.ll),e.Y36(ko.Ys))},u.\u0275dir=e.lG2({type:u,viewQuery:function(r,f){if(1&r&&e.Gf(q.gX,7,e.Rgc),2&r){let L;e.iGM(L=e.CRH())&&(f.datalist=L.first)}},hostVars:1,hostBindings:function(r,f){2&r&&e.Ikx("id",f.id)},inputs:{disabledItemHandler:"disabledItemHandler"}}),u})();function De(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function Ye(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"button",4,5),e.NdJ("click",function(){const me=e.CHM(r).$implicit,jt=e.oxw(2);return e.KtG(jt.itemClick.emit(me))}),e.TgZ(2,"span",6),e.YNc(3,De,2,1,"ng-container",7),e.qZA()()}if(2&u){const r=b.$implicit,f=e.MAs(1),L=e.oxw(2);e.Q6J("disabled",L.disabledItemHandler(r))("value",r),e.xp6(3),e.Q6J("polymorpheusOutlet",L.itemContent)("polymorpheusOutletContext",L.getContext(r,f))}}function Ct(u,b){if(1&u&&(e.TgZ(0,"tui-data-list",2),e.YNc(1,Ye,4,4,"button",3),e.qZA()),2&u){const r=e.oxw();e.Q6J("emptyContent",r.emptyContent)("size",r.size),e.xp6(1),e.Q6J("ngForOf",r.items)}}function Ot(u,b){1&u&&e._UZ(0,"tui-loader",8)}let sn=(()=>{class u{constructor(r,f){this.itemsHandlers=r,this.defaultSize=f,this.optionsQuery=ee.Mm,this.disabledItemHandler=this.itemsHandlers.disabledItemHandler,this.size=this.defaultSize,this.itemClick=new e.vpe,this.itemContent=({$implicit:L})=>this.itemsHandlers.stringify(L)}getContext(r,{nativeElement:f}){return{$implicit:r,active:(0,yt.V8)(f)}}getOptions(r=!1){return this.optionsQuery.filter(({disabled:f})=>r||!f).map(({value:f})=>f).filter(Qt.Pc)}}return u.\u0275fac=function(r){e.$Z()},u.\u0275dir=e.lG2({type:u,viewQuery:function(r,f){if(1&r&&e.Gf(q.vK,5),2&r){let L;e.iGM(L=e.CRH())&&(f.optionsQuery=L)}},inputs:{disabledItemHandler:"disabledItemHandler",emptyContent:"emptyContent",size:"size",itemContent:"itemContent"},outputs:{itemClick:"itemClick"}}),u})(),T=(()=>{class u extends sn{constructor(r,f){super(r,(null==f?void 0:f.size)||"m"),this.items=[]}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ko.Ys),e.Y36(be.Cs,8))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-data-list-wrapper",3,"labels",""]],inputs:{items:"items"},features:[e._Bn([(0,st.RB)(u),be.Y0]),e.qOj],decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["elementRef","elementRef"],[1,"t-content"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-data-list-wrapper__loader",1,"t-loader"]],template:function(r,f){if(1&r&&(e.YNc(0,Ct,2,3,"tui-data-list",0),e.YNc(1,Ot,1,0,"ng-template",null,1,e.W1O)),2&r){const L=e.MAs(2);e.Q6J("ngIf",f.items)("ngIfElse",L)}},dependencies:[q.qi,q.vK,$e.kM,Oe.O5,Oe.sg,Ur,Le.Li],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),u})(),E=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,Hr,q.pc,$e.dS]]}),u})(),ae=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var ft=c(9900),Dn=c(6640);function zn(u,b){1&u&&e._UZ(0,"tui-svg",2),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function ii(u,b){1&u&&e.GkF(0)}const mi=(0,Qt.JN)({iconSmall:"tuiIconChevronDown",iconLarge:"tuiIconChevronDownLarge"}),qi=new Le.Al((()=>{class u{constructor(r,f,L){this.dropdown=r,this.textfieldSize=f,this.options=L}get rotated(){return this.dropdown.open}get arrowIcon(){return(0,Dn.R9)(this.textfieldSize.size)?this.options.iconLarge:this.options.iconSmall}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(en.o1),e.Y36(be.kI),e.Y36(mi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-arrow"]],hostVars:2,hostBindings:function(r,f){2&r&&e.ekj("_rotated",f.rotated)},decls:3,vars:4,consts:[[3,"src",4,"polymorpheusOutlet"],[4,"ngIf"],[3,"src"]],template:function(r,f){1&r&&(e.YNc(0,zn,1,1,"tui-svg",0),e.YNc(1,ii,1,0,"ng-container",1),e.ALo(2,"async")),2&r&&(e.Q6J("polymorpheusOutlet",f.arrowIcon),e.xp6(1),e.Q6J("ngIf",e.lcZ(2,2,f.dropdown.openChange)))},dependencies:[se.PN,Le.Li,Oe.O5,Oe.Ov],styles:["[_nghost-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;cursor:pointer;pointer-events:none}._rotated[_nghost-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),u})());let yi=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,se.EI,Le.wq]]}),u})();const Zi=(0,Qt.JN)({interactive:qi,disabled:qi});var fo=c(8269);let Zo=(()=>{class u{constructor(r,f){this.el=r,this.destroy$=f}set tuiScrollIntoView(r){r&&(0,ne.H)(0).pipe((0,Y.R)(this.destroy$)).subscribe(()=>{this.el.nativeElement.dispatchEvent(new CustomEvent(fo.fe,{bubbles:!0,detail:this.el.nativeElement}))})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq),e.Y36(Dt.a3,2))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},features:[e._Bn([Dt.a3])]}),u})(),cr=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();function qr(u,b){if(1&u&&e._UZ(0,"tui-svg",3),2&u){const r=e.oxw();e.Q6J("src",r.icons.check)("tuiScrollIntoView",!0)}}function Hn(u,b){1&u&&e._UZ(0,"span",4)}const jn=new Le.Al((()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,qn){this.icons=r,this.context=f,this.host=L,this.el=me,this.option=jt,this.dataList=Fn,this.control=Zn,this.abstractControl=qn,this.changeDetection$=new F.x,this.selected$=(0,W.T)(this.changeDetection$,this.control.valueChanges||Wi.E,(0,ui.mL)(this.el.nativeElement,"animationstart")).pipe((0,de.O)(null),(0,ce.U)(()=>this.selected),(0,Ue.x)())}get matcher(){return this.host.identityMatcher||ee.bg}ngOnInit(){Promise.resolve().then(()=>{var r,f;(0,Qt.Pc)(this.option.value)&&!this.option.disabled&&(null===(f=(r=this.host).checkOption)||void 0===f||f.call(r,this.option.value))})}ngDoCheck(){this.changeDetection$.next()}get value(){var r,f;return null!==(f=null===(r=this.abstractControl)||void 0===r?void 0:r.value)&&void 0!==f?f:this.control.value}get selected(){return(0,Qt.Pc)(this.option.value)&&(0,Qt.Pc)(this.value)&&this.matcher(this.value,this.option.value)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(st.Gs),e.Y36(Le.yf),e.Y36(st.N1),e.Y36(e.SBq),e.Y36(q.vK),e.Y36(q.qi,8),e.Y36(ft.a5),e.Y36(wt.M$,8))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-select-option"]],decls:5,vars:5,consts:[[3,"ngTemplateOutlet"],["automation-id","tui-select-option__checkmark","class","t-checkmark",3,"src","tuiScrollIntoView",4,"ngIf","ngIfElse"],["dummy",""],["automation-id","tui-select-option__checkmark",1,"t-checkmark",3,"src","tuiScrollIntoView"],[1,"t-dummy"]],template:function(r,f){if(1&r&&(e.GkF(0,0),e.YNc(1,qr,1,2,"tui-svg",1),e.ALo(2,"async"),e.YNc(3,Hn,1,0,"ng-template",null,2,e.W1O)),2&r){const L=e.MAs(4);e.Q6J("ngTemplateOutlet",f.context.$implicit),e.xp6(1),e.Q6J("ngIf",e.lcZ(2,3,f.selected$))("ngIfElse",L)}},dependencies:[se.PN,Oe.tP,Oe.O5,Zo,Oe.Ov],styles:['@keyframes _ngcontent-%COMP%_retrigger{0%{left:1px}to{left:2px}}[_nghost-%COMP%]{display:flex;flex:1;align-items:center;max-width:100%;animation:_ngcontent-%COMP%_retrigger 1s}.t-checkmark[_ngcontent-%COMP%]{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-border-start:.25rem solid transparent;border-inline-start:.25rem solid transparent}tui-data-list[data-list-size="s"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="s"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}tui-data-list[data-list-size="m"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="m"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}.t-dummy[_ngcontent-%COMP%]{width:1.75rem}'],changeDetection:0}),u})());let si=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,se.EI,cr]]}),u})();var wi=c(26);function Vi(u,b){1&u&&e.Hsn(0,2,["*ngIf","isMobile"])}function kr(u,b){if(1&u&&e.YNc(0,Vi,1,0,"ng-content",6),2&u){const r=e.oxw();e.Q6J("ngIf",r.isMobile)}}function Ni(u,b){1&u&&e.GkF(0,7)}function Rr(u,b){1&u&&e._UZ(0,"div",10),2&u&&e.Q6J("textContent",b.polymorpheusOutlet)}const Gi=function(u,b){return{$implicit:u,active:b}};function gs(u,b){if(1&u&&(e.TgZ(0,"div",8),e.YNc(1,Rr,1,1,"div",9),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.computedContent)("polymorpheusOutletContext",e.WLB(2,Gi,r.value,r.computedFocused))}}function Es(u,b){1&u&&e.GkF(0)}function ms(u,b){if(1&u&&(e.TgZ(0,"div",11),e.YNc(1,Es,1,0,"ng-container",12),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.arrow)}}const Vs=["*",[["input"]],[["select"]]],js=["*","input","select"],Fo=(0,Qt.JN)({valueContent:""});let J=(()=>{class u extends wt.F9{constructor(r,f,L,me,jt,Fn,Zn,qn){super(r,f),this.textfieldCleaner=L,this.textfieldSize=me,this.arrowMode=jt,this.itemsHandlers=Fn,this.options=Zn,this.isMobile=qn,this.stringify=this.itemsHandlers.stringify,this.identityMatcher=this.itemsHandlers.identityMatcher,this.valueContent=this.options.valueContent}get size(){return this.textfieldSize.size}get arrow(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled}get nativeFocusableElement(){var r,f;return null!==(f=null===(r=this.textfield)||void 0===r?void 0:r.nativeFocusableElement)&&void 0!==f?f:null}get focused(){return(0,yt.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}get nativeDropdownMode(){return!!this.nativeSelect&&this.isMobile}get computedValue(){return null===this.value?"":this.stringify(this.value)||" "}get computedContent(){return this.valueContent||this.computedValue}onValueChange(r){this.value=r||null}onActiveZone(r){this.updateFocused(r)}onKeyDownDelete(){this.textfieldCleaner.cleaner&&(this.value=null)}handleOption(r){var f;this.focusInput(),this.value=r,null===(f=this.hostedDropdown)||void 0===f||f.updateOpen(!1)}focusInput(r=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:r})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ft.a5,10),e.Y36(e.sBO),e.Y36(be.Ym),e.Y36(be.kI),e.Y36(Zi),e.Y36(ko.Ys),e.Y36(Fo),e.Y36(Xt.fL))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-select"]],contentQueries:function(r,f,L){if(1&r&&(e.Suo(L,Or,7),e.Suo(L,q.gX,5,e.Rgc)),2&r){let me;e.iGM(me=e.CRH())&&(f.nativeSelect=me.first),e.iGM(me=e.CRH())&&(f.datalist=me.first)}},viewQuery:function(r,f){if(1&r&&(e.Gf(N.yc,5),e.Gf(en.o1,5)),2&r){let L;e.iGM(L=e.CRH())&&(f.textfield=L.first),e.iGM(L=e.CRH())&&(f.hostedDropdown=L.first)}},hostVars:1,hostBindings:function(r,f){2&r&&e.uIk("data-size",f.size)},inputs:{stringify:"stringify",identityMatcher:"identityMatcher",valueContent:"valueContent"},features:[e._Bn([(0,Xt.FT)(u),(0,wt.wB)(u),(0,st.oE)(u),(0,st.P7)(jn)],[wi.yn]),e.qOj],ngContentSelectors:js,decls:10,vars:15,consts:[[1,"t-hosted",3,"canOpen","content","tuiActiveZoneChange"],["automation-id","tui-select__textfield",1,"t-textfield",3,"disabled","editable","focusable","invalid","nativeId","pseudoActive","pseudoFocus","pseudoHover","readOnly","tuiTextfieldIcon","value","keydown.backspace.prevent","keydown.delete.prevent","valueChange"],["select",""],["ngProjectAs","select",5,["select"],4,"ngTemplateOutlet"],["automation-id","tui-select__value","ngProjectAs","tuiContent","class","t-value",5,["tuiContent"],4,"ngIf"],["icon",""],[4,"ngIf"],["ngProjectAs","select",5,["select"]],["automation-id","tui-select__value","ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value"],["class","t-primitive-value",3,"textContent",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive-value",3,"textContent"],["appearance","icon","tuiWrapper","",1,"t-icon"],[4,"polymorpheusOutlet"]],template:function(r,f){if(1&r&&(e.F$t(Vs),e.TgZ(0,"tui-hosted-dropdown",0),e.NdJ("tuiActiveZoneChange",function(me){return f.onActiveZone(me)}),e.TgZ(1,"tui-primitive-textfield",1),e.NdJ("keydown.backspace.prevent",function(){return f.onKeyDownDelete()})("keydown.delete.prevent",function(){return f.onKeyDownDelete()})("valueChange",function(me){return f.onValueChange(me)}),e.Hsn(2),e.Hsn(3,1,["ngProjectAs","input",5,["input"]]),e.YNc(4,kr,1,1,"ng-template",null,2,e.W1O),e.YNc(6,Ni,1,0,"ng-container",3),e.YNc(7,gs,2,5,"div",4),e.qZA(),e.YNc(8,ms,2,1,"ng-template",null,5,e.W1O),e.qZA()),2&r){const L=e.MAs(5),me=e.MAs(9);e.Q6J("canOpen",f.interactive&&!f.nativeDropdownMode)("content",f.datalist||""),e.xp6(1),e.Q6J("disabled",f.computedDisabled)("editable",!1)("focusable",f.computedFocusable)("invalid",f.computedInvalid)("nativeId",f.nativeId)("pseudoActive",f.pseudoActive)("pseudoFocus",f.computedFocused)("pseudoHover",f.pseudoHover)("readOnly",f.readOnly)("tuiTextfieldIcon",f.arrow?me:"")("value",f.computedValue),e.xp6(5),e.Q6J("ngTemplateOutlet",L),e.xp6(1),e.Q6J("ngIf",null!==f.value)}},dependencies:[en.o1,N.yc,Jt.e,N.B1,be.AW,Oe.O5,Oe.tP,Le.Li,uo.o],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}[_nghost-%COMP%]:not(._readonly) input:not(:disabled){cursor:pointer}._readonly[_nghost-%COMP%] input{cursor:default}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}.t-value[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center}.t-primitive-value[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),u})(),P=(()=>{class u extends $i.D1{get readOnly(){return!0}get value(){return this.host.computedValue}get stringify(){return this.host.stringify}onValueChange(r){this.host.onValueChange(r)}}return u.\u0275fac=function(){let b;return function(f){return(b||(b=e.n5z(u)))(f||u)}}(),u.\u0275dir=e.lG2({type:u,selectors:[["tui-select"]],features:[e._Bn([(0,st.cp)(u)]),e.qOj]}),u})(),ge=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,Jt.A,N.KW,en.jh,si,yi,uo.W,be.cn,E,q.pc,ae]]}),u})();var Je=c(7320),Gt=c(4541),tn=c(3633),An=c(5059),di=c(8491);const _i=["*"];let fi=(()=>{class u{constructor(){this.name="tui-radio-group-"+u.index++}}return u.index=0,u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-radio-group"]],inputs:{name:"name"},ngContentSelectors:_i,decls:1,vars:0,template:function(r,f){1&r&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),u})();const Pi=["focusableElement"],Xi=(0,Qt.JN)({size:"m",appearances:{unchecked:Je.Nm.Outline,checked:Je.Nm.Primary}});let vo=(()=>{class u extends wt.F9{constructor(r,f,L,me){super(r,f),this.options=L,this.radioGroup=me,this.identityMatcher=ee.bg,this.name=null,this.size=this.options.size,this.pseudoDisabled=!1}get appearance(){return this.checked?this.options.appearances.checked:this.options.appearances.unchecked}get computedDisabled(){return this.disabled||this.pseudoDisabled}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,yt.V8)(this.nativeFocusableElement)}get checked(){return null===this.value?null===this.item:null!=this.item&&this.identityMatcher(this.value,this.item)}get computedName(){return this.name||this.radioGroupName||this.controlName||""}get isFocusable(){return!this.readOnly&&this.computedFocusable}onChecked(r){r&&(this.value=void 0!==this.item?this.item:this.fallbackValue)}onFocused(r){this.updateFocused(r)}onFocusVisible(r){this.updateFocusVisible(r)}get radioGroupName(){return null===this.radioGroup?null:this.radioGroup.name}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ft.a5,10),e.Y36(e.sBO),e.Y36(Xi),e.Y36(fi,8))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-radio"]],viewQuery:function(r,f){if(1&r&&e.Gf(Pi,5),2&r){let L;e.iGM(L=e.CRH())&&(f.focusableElement=L.first)}},hostVars:3,hostBindings:function(r,f){2&r&&(e.uIk("data-size",f.size),e.ekj("_disabled",f.computedDisabled))},inputs:{item:"item",identityMatcher:"identityMatcher",name:"name",size:"size",pseudoDisabled:"pseudoDisabled"},features:[e._Bn([(0,Xt.FT)(u),(0,wt.wB)(u)]),e.qOj],decls:4,vars:13,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],[1,"t-mark"],["type","radio",1,"t-native",3,"disabled","id","tuiChecked","tuiFocusable","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(r,f){1&r&&(e.TgZ(0,"div",0),e._UZ(1,"div",1),e.TgZ(2,"input",2,3),e.NdJ("tuiCheckedChange",function(me){return f.onChecked(me)})("tuiFocusedChange",function(me){return f.onFocused(me)})("tuiFocusVisibleChange",function(me){return f.onFocusVisible(me)}),e.qZA()()),2&r&&(e.Q6J("active",f.pseudoActive)("appearance",f.appearance)("disabled",f.computedDisabled)("focus",f.computedFocusVisible)("hover",f.pseudoHover)("invalid",f.computedInvalid),e.xp6(1),e.ekj("t-mark_visible",f.checked),e.xp6(1),e.Q6J("disabled",f.computedDisabled)("id",f.id)("tuiChecked",f.checked)("tuiFocusable",f.isFocusable),e.uIk("name",f.computedName))},dependencies:[uo.o,Gt.t,tn.t,An.U,di.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0;border-radius:100%}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%]{pointer-events:none}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;background-color:currentColor;border-radius:100%;transform:scale(0)}.t-mark_visible[_ngcontent-%COMP%]{transform:scale(1)}[data-size=m][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.25rem;width:.5rem;height:.5rem}[data-size=l][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.4375rem;width:.625rem;height:.625rem}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-native[_ngcontent-%COMP%]{cursor:default}"],changeDetection:0}),u})(),yr=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Gt.S,tn.u,An.F,di.c,uo.W]]}),u})();function Go(u,b){1&u&&e.GkF(0)}const rr=["*"];let Nr=(()=>{class u extends wt.F9{constructor(r,f,L){super(r,f),this.modeDirective=L,this.identityMatcher=ee.bg,this.contentAlign="right",this.size="l",this.hideRadio=!1,this.pseudoDisabled=!1}get nativeFocusableElement(){var r,f;return null!==(f=null===(r=this.radio)||void 0===r?void 0:r.nativeFocusableElement)&&void 0!==f?f:null}get focused(){return!!this.radio&&this.radio.focused}get computedDisabled(){return this.disabled||this.pseudoDisabled}get checked(){var r;return!(null===(r=this.radio)||void 0===r||!r.checked)&&this.hideRadio}get checkboxSize(){return"l"===this.size?"l":"m"}get appearance(){var r;return null!==(r=this.modeDirective)&&void 0!==r&&r.mode?this.checked?Je.Nm.Primary:Je.Nm.Secondary:this.checked?Je.Nm.WhiteblockActive:Je.Nm.Whiteblock}onFocused(r){this.updateFocused(r)}onFocusVisible(r){this.updateFocusVisible(r)}onModelChange(r){this.value=r}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ft.a5,10),e.Y36(e.sBO),e.Y36(R.w,8))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-radio-block"]],viewQuery:function(r,f){if(1&r&&e.Gf(vo,5),2&r){let L;e.iGM(L=e.CRH())&&(f.radio=L.first)}},hostVars:8,hostBindings:function(r,f){2&r&&(e.uIk("data-align",f.contentAlign)("data-size",f.size),e.ekj("_hidden_input",f.hideRadio)("_disabled",f.computedDisabled)("_active",f.checked))},inputs:{item:"item",identityMatcher:"identityMatcher",contentAlign:"contentAlign",size:"size",hideRadio:"hideRadio",pseudoDisabled:"pseudoDisabled"},features:[e._Bn([(0,Xt.FT)(u),(0,wt.wB)(u)]),e.qOj],ngContentSelectors:rr,decls:7,vars:22,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","focus","hover","invalid"],[1,"t-view",3,"focusable","identityMatcher","item","name","nativeId","pseudoActive","pseudoDisabled","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange","focusVisibleChange"],[1,"t-label"],[1,"t-content"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,Go,1,0,"ng-container",0),e.ALo(1,"async"),e.TgZ(2,"label",1)(3,"tui-radio",2),e.NdJ("ngModelChange",function(me){return f.value=me})("focusedChange",function(me){return f.onFocused(me)})("focusVisibleChange",function(me){return f.onFocusVisible(me)}),e.qZA(),e.TgZ(4,"div",3)(5,"div",4),e.Hsn(6),e.qZA()()()),2&r&&(e.Q6J("ngIf",f.modeDirective&&e.lcZ(1,20,f.modeDirective.change$)),e.xp6(2),e.Q6J("active",f.pseudoActive)("appearance",f.appearance)("disabled",f.computedDisabled)("focus",f.computedFocusVisible)("hover",f.pseudoHover)("invalid",f.computedInvalid),e.xp6(1),e.Q6J("focusable",f.focusable)("identityMatcher",f.identityMatcher)("item",f.item)("name",f.computedName||"")("nativeId",f.nativeId)("pseudoActive",f.pseudoActive)("pseudoDisabled",f.computedDisabled)("pseudoFocus",!1)("pseudoHover",f.pseudoHover)("pseudoInvalid",f.computedInvalid)("readOnly",f.readOnly)("size",f.checkboxSize)("ngModel",f.value))},dependencies:[vo,Oe.O5,uo.o,ft.JJ,ft.On,Oe.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);display:inline-block;vertical-align:top;align-items:flex-start;border-radius:var(--tui-radius-m)}[data-size=xs][_nghost-%COMP%]{font:var(--tui-font-text-xs)}[data-size=m][_nghost-%COMP%], [data-size=l][_nghost-%COMP%]{font:var(--tui-font-text-m)}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:inherit;box-sizing:border-box;border-radius:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0 1rem 0 0}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-right:.5rem}[data-align=right][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{flex-direction:row-reverse;padding:0 0 0 1rem}[data-align=right][data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-left:.5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:not(._focused):after{border-width:1px}[data-size=s]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1rem}[data-size=m]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1.5rem}[data-size=l]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 2.25rem}[data-size=xs][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-xs) / 2 - .5rem) .25rem;transform:scale(.75)}[data-size=s][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-s) / 2 - .5rem) .5rem}[data-size=m][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-m) / 2 - .5rem) .75rem}[data-size=l][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-l) / 2 - .75rem) 1rem}._hidden_input[_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{position:absolute;height:1px;width:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(0);clip-path:inset(0)}.t-label[_ngcontent-%COMP%]{display:flex;flex-grow:1;align-self:flex-start;align-items:center;overflow:hidden}[data-size=xs][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-l)}._hidden_input[_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{text-align:center;justify-content:center}.t-content[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),u})(),br=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,ft.u5,yr,uo.W]]}),u})();var ss=c(3063),Gr=c(2130);const pa=["*"];let Bo=(()=>{class u{constructor(r){this.mode$=r,this.size="m",this.status="default",this.hoverable=!1}get padding(){var r;return this.isEmpty?"none":(0,Qt.dt)(null===(r=this.value)||void 0===r?void 0:r.valueOf())?"m":"l"}get outputValue(){var r;const f=null===(r=this.value)||void 0===r?void 0:r.valueOf();return(0,Qt.dt)(f)&&f>99?"99+":(0,Qt.Pc)(this.value)?String(this.value):""}get isEmpty(){return!this.value&&0!==this.value}titleText({offsetWidth:r,scrollWidth:f}){return r{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez]]}),u})(),dr=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();const ta=["focusableElement"];function vs(u,b){if(1&u&&e._UZ(0,"tui-loader",7),2&u){const r=e.oxw();e.Q6J("inheritColor",!0)("showLoader",r.value)("size",r.loaderSize)}}function Os(u,b){1&u&&e._UZ(0,"tui-svg",10),2&u&&e.Q6J("src",b.polymorpheusOutlet)}const xs=function(u){return{$implicit:u}};function Uo(u,b){if(1&u&&(e.TgZ(0,"span",8),e.YNc(1,Os,1,1,"tui-svg",9),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.iconOn)("polymorpheusOutletContext",e.VKq(2,xs,r.size))}}function ws(u,b){if(1&u&&e._UZ(0,"tui-loader",7),2&u){const r=e.oxw();e.Q6J("inheritColor",!0)("showLoader",!r.value)("size",r.loaderSize)}}function as(u,b){1&u&&e._UZ(0,"tui-svg",12),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function Ps(u,b){if(1&u&&(e.TgZ(0,"span",8),e.YNc(1,as,1,1,"tui-svg",11),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.iconOff)("polymorpheusOutletContext",e.VKq(2,xs,r.size))}}const es=(0,Qt.JN)({icons:{toggleOff:({$implicit:u})=>"m"===u?"tuiIconToggleOff":"tuiIconToggleOffLarge",toggleOn:({$implicit:u})=>"m"===u?"tuiIconToggleOn":"tuiIconToggleOnLarge"},appearances:{checked:Je.Nm.Primary,unchecked:Je.Nm.Secondary},singleColor:!1,showIcons:!1,size:"m"});let ma=(()=>{class u extends wt.M${constructor(r,f,L,me){super(r,f),this.modeDirective=L,this.options=me,this.singleColor=this.options.singleColor,this.showIcons=this.options.showIcons,this.showLoader=!1,this.size=this.options.size}get iconOn(){return this.options.icons.toggleOn}get iconOff(){return this.options.icons.toggleOff}get nativeFocusableElement(){var r,f;return null!==(f=null===(r=this.focusableElement)||void 0===r?void 0:r.nativeElement)&&void 0!==f?f:null}get focused(){return(0,yt.V8)(this.nativeFocusableElement)}get appearance(){return this.singleColor||this.value?this.options.appearances.checked:this.options.appearances.unchecked}get sizeM(){return"m"===this.size}get loaderSize(){return this.sizeM?"xs":"s"}get hostMode(){var r,f;return null!==(f=null===(r=this.modeDirective)||void 0===r?void 0:r.mode)&&void 0!==f?f:null}onChecked(r){this.value=r}onFocused(r){this.updateFocused(r)}onFocusVisible(r){this.updateFocusVisible(r)}getFallbackValue(){return!1}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ft.a5,10),e.Y36(e.sBO),e.Y36(R.w,8),e.Y36(es))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-toggle"]],viewQuery:function(r,f){if(1&r&&e.Gf(ta,5),2&r){let L;e.iGM(L=e.CRH())&&(f.focusableElement=L.first)}},hostVars:4,hostBindings:function(r,f){2&r&&(e.uIk("data-size",f.size)("data-mode",f.hostMode),e.ekj("_checked",f.value))},inputs:{singleColor:"singleColor",showIcons:"showIcons",showLoader:"showLoader",size:"size"},features:[e._Bn([(0,Xt.FT)(u),(0,wt.wB)(u)]),e.qOj],decls:9,vars:16,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly"],[1,"t-toggle"],["class","t-loader",3,"inheritColor","showLoader","size",4,"ngIf"],["class","t-icon-wrapper",4,"ngIf"],[1,"t-circle"],["automation-id","tui-toggle__checkbox","role","switch","type","checkbox",1,"t-checkbox",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],[1,"t-loader",3,"inheritColor","showLoader","size"],[1,"t-icon-wrapper"],["automation-id","tui-toggle__check-icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__check-icon",1,"t-icon",3,"src"],["automation-id","tui-toggle__cancel-icon","class","t-icon t-icon_off",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__cancel-icon",1,"t-icon","t-icon_off",3,"src"]],template:function(r,f){1&r&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,vs,1,3,"tui-loader",2),e.YNc(3,Uo,2,4,"span",3),e._UZ(4,"div",4),e.YNc(5,ws,1,3,"tui-loader",2),e.YNc(6,Ps,2,4,"span",3),e.qZA(),e.TgZ(7,"input",5,6),e.NdJ("tuiCheckedChange",function(me){return f.value=me})("tuiFocusedChange",function(me){return f.onFocused(me)})("tuiFocusVisibleChange",function(me){return f.onFocusVisible(me)}),e.qZA()()),2&r&&(e.Q6J("active",f.pseudoActive)("appearance",f.appearance)("disabled",f.computedDisabled)("focus",f.computedFocusVisible)("hover",f.pseudoHover)("invalid",f.computedInvalid)("readOnly",f.readOnly),e.xp6(2),e.Q6J("ngIf",f.showLoader),e.xp6(1),e.Q6J("ngIf",f.showIcons&&!f.showLoader),e.xp6(2),e.Q6J("ngIf",f.showLoader),e.xp6(1),e.Q6J("ngIf",f.showIcons&&!f.showLoader),e.xp6(1),e.Q6J("disabled",f.disabled)("id",f.id)("tuiFocusable",f.focusable)("tuiChecked",f.value),e.uIk("aria-checked",f.value))},dependencies:[$e.kM,se.PN,uo.o,Oe.O5,Le.Li,Gt.t,tn.t,An.U,di.q],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;border-radius:6.25rem}[data-size=m][_nghost-%COMP%]{width:2rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:3rem;height:1.5rem}.t-checkbox[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;height:100%;width:100%;opacity:0;cursor:pointer}.t-checkbox[_ngcontent-%COMP%]:-webkit-autofill, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-checkbox[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.t-toggle[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center}[data-size=m][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:3rem;height:1rem;transform:translate(-1rem)}[data-size=l][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:4.5rem;height:1.5rem;transform:translate(-1.5rem)}._checked[_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{transform:translate(0)}.t-circle[_ngcontent-%COMP%]{margin:.125rem 0;flex-shrink:0;border-radius:100%;background-color:var(--tui-base-01)}._disabled[_nghost-%COMP%] .t-circle_light[_ngcontent-%COMP%]{opacity:.24}[data-size=m][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:.75rem;height:.75rem}[data-size=l][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:1rem;height:1rem}._disabled[_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{background-color:var(--tui-base-01)}.t-loader[_ngcontent-%COMP%]{min-width:auto}[_nghost-%COMP%]:not(._checked) .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-06)}[_nghost-%COMP%]:not(._checked)._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-05)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:.75rem;margin:0 .2rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:1rem;margin:0 .25rem}.t-icon-wrapper[_ngcontent-%COMP%]{display:flex}.t-icon[_ngcontent-%COMP%]{opacity:.8}.t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-06)}._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-05)}[data-mode=onDark][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[data-mode=onLight][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{margin:0 .125rem;width:1.5rem;height:1.5rem}[_nghost-%COMP%]:hover .t-icon[_ngcontent-%COMP%]{opacity:1}"],changeDetection:0}),u})(),us=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,An.F,tn.u,dr,di.c,Gt.S,uo.W,se.EI,$e.dS,Le.wq]]}),u})();var sr=c(4555);function ar(u,b){const[,r=""]=function Ws(u){const b=String(u),[r,f]=b.split("e-");let L=b;if(f){const[,me]=r.split("."),jt=Number(f)+((null==me?void 0:me.length)||0);L=u.toFixed(jt)}return L}(u).split(".");return(0,Qt.dt)(b)?r.slice(0,Math.max(0,b)):r}let g=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiValueAccessor",""]],features:[e._Bn([wi.E2])]}),u})(),x=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();var G=c(3402);function Z(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function K(u,b){if(1&u&&(e.TgZ(0,"div",6),e.YNc(1,Z,2,1,"ng-container",7),e.qZA()),2&u){e.oxw();const r=e.MAs(9);e.xp6(1),e.Q6J("polymorpheusOutlet",r)}}function Be(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"section",8)(1,"button",9),e.NdJ("click.prevent",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.onArrow(L.step))})("mousedown.prevent",function(){e.CHM(r);const L=e.oxw();return e.KtG(null==L.nativeFocusableElement?null:L.nativeFocusableElement.focus())}),e._uU(2," + "),e.qZA(),e.TgZ(3,"button",9),e.NdJ("click.prevent",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.onArrow(-L.step))})("mousedown.prevent",function(){e.CHM(r);const L=e.oxw();return e.KtG(null==L.nativeFocusableElement?null:L.nativeFocusableElement.focus())}),e._uU(4," - "),e.qZA()()}if(2&u){const r=e.oxw(),f=e.MAs(1);e.xp6(1),e.Q6J("appearance",f.appearance)("disabled",!r.canIncrement)("focusable",!1)("icon",r.options.icons.up),e.xp6(2),e.Q6J("appearance",f.appearance)("disabled",!r.canDecrement)("focusable",!1)("icon",r.options.icons.down)}}function ke(u,b){1&u&&e.GkF(0)}function ht(u,b){1&u&&e.Hsn(0,2)}const Et=["*",[["input"]],[["tuiContent"]]],ln=["*","input","tuiContent"],_n=(0,Qt.JN)({icons:{up:"tuiIconPlus",down:"tuiIconMinus"},min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,step:0,decimal:"not-zero",precision:2}),pi=new e.OlP("");let hi=(()=>{class u extends wt.F9{constructor(r,f,L,me,jt,Fn,Zn,qn){super(r,f,L),this.options=me,this.numberFormat=jt,this.isIOS=Fn,this.textfieldSize=Zn,this.controller=qn,this.unfinishedValue="",this.min=this.options.min,this.max=this.options.max,this.decimal=this.options.decimal,this.precision=this.options.precision,this.step=this.options.step,this.prefix="",this.postfix="",this.polymorpheusValueContent=ee.Mm}get size(){return this.textfieldSize.size}get computedMin(){return this.computeMin(this.min,this.max)}get computedMax(){return this.computeMax(this.min,this.max)}get nativeFocusableElement(){return!this.textfield||this.computedDisabled?null:this.textfield.nativeFocusableElement}get focused(){var r;return!(null===(r=this.textfield)||void 0===r||!r.focused)}get isNegativeAllowed(){return this.computedMin<0}get inputMode(){return this.isIOS&&this.isNegativeAllowed?"text":"never"===this.decimal?"numeric":"decimal"}get calculatedMaxLength(){return 18+("never"!==this.decimal&&this.nativeValue.includes(this.numberFormat.decimalSeparator)?Math.min(this.precision+1,20):0)+this.numberFormat.thousandSeparator.repeat(5).length}get formattedValue(){return null!==this.value?this.getFormattedValue(this.value||0):""}get computedValue(){return this.focused?this.nativeValue:this.formattedValue}get canDecrement(){return this.interactive&&(this.value||0)>this.computedMin}get canIncrement(){return this.interactive&&(this.value||0)this.computedMax||(this.value=f)}onFocused(r){this.updateFocused(r);const f=this.unfinishedValue?(0,sr.vZ)(this.unfinishedValue,this.numberFormat.decimalSeparator):this.nativeNumberValue;if(this.unfinishedValue=null,Number.isNaN(f))return this.nativeValue=r?this.computedPrefix+this.computedPostfix:"",void(this.value=null);r||(this.value=f,this.nativeValue=this.formattedValue)}getFormattedValue(r){const L=Math.abs(r)%1>0;let me="always"===this.decimal||L&&"never"!==this.decimal?this.precision:0;const jt=L?ar(r,this.precision):"";return this.focused&&"always"!==this.decimal&&(me=jt.length),this.computedPrefix+function _a(u,b={}){const{decimalLimit:r,decimalSeparator:f,thousandSeparator:L,zeroPadding:me,rounding:jt}=Object.assign(Object.assign({},fo.Jl),b),Fn=Number.isFinite(r)?(0,tr.h0)({value:u,precision:r,method:jt}):u,Zn=String(Math.floor(Math.abs(Fn)));let qn=ar(Fn,r);if(Number.isFinite(r))if(me){const Qo=Math.max(r-qn.length,0);qn=`${qn}${"0".repeat(Qo)}`}else qn=qn.replace(/0*$/,"");const po=Zn.length%3;let Dr=(u<0?ee.fv:"")+Zn.charAt(0);for(let Qo=1;Qo3&&(Dr+=L),Dr+=Zn.charAt(Qo);return qn?Dr+f+qn:Dr}(r,Object.assign(Object.assign({},this.numberFormat),{decimalLimit:me})).replace(ee.fv,ee.em)+this.computedPostfix}get isNativeValueNotFinished(){const r=this.nativeNumberValue;return r<0?r>this.computedMax:r[Zn.length,Qo.length-qn.length])]})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(ft.a5,10),e.Y36(e.sBO),e.Y36(pi,8),e.Y36(_n),e.Y36(st.HO),e.Y36(Xt.FA),e.Y36(be.kI),e.Y36(be.Cs))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-input-number"]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,Le.Li,5),2&r){let me;e.iGM(me=e.CRH())&&(f.polymorpheusValueContent=me)}},viewQuery:function(r,f){if(1&r&&e.Gf(N.yc,5),2&r){let L;e.iGM(L=e.CRH())&&(f.textfield=L.first)}},hostVars:1,hostBindings:function(r,f){1&r&&e.NdJ("keydown.arrowDown",function(){return f.onArrow(-f.step)})("keydown.arrowUp",function(){return f.onArrow(f.step)}),2&r&&e.uIk("data-size",f.size)},inputs:{min:"min",max:"max",decimal:"decimal",precision:"precision",step:"step",prefix:"prefix",postfix:"postfix"},features:[e._Bn([(0,Xt.FT)(u),(0,wt.wB)(u),be.Y0]),e.qOj],ngContentSelectors:ln,decls:10,vars:14,consts:[["tuiTextfieldPostfix","","tuiTextfieldPrefix","","tuiValueAccessor","",1,"t-textfield",3,"disabled","focusable","invalid","maskito","pseudoActive","pseudoFocus","pseudoHover","readOnly","value","focusedChange","valueChange"],["textfield",""],["ngProjectAs","tuiContent","class","t-value-content",5,["tuiContent"],4,"ngIf"],["class","t-buttons",4,"ngIf"],[4,"ngIf"],["valueContent",""],["ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value-content"],[4,"polymorpheusOutlet"],[1,"t-buttons"],["size","s","tuiIconButton","","type","button",1,"t-button",3,"appearance","disabled","focusable","icon","click.prevent","mousedown.prevent"]],template:function(r,f){1&r&&(e.F$t(Et),e.TgZ(0,"tui-primitive-textfield",0,1),e.NdJ("focusedChange",function(me){return f.onFocused(me)})("valueChange",function(me){return f.onValueChange(me)}),e.Hsn(2),e.Hsn(3,1,["ngProjectAs","input",5,["input"]]),e.YNc(4,K,2,1,"div",2),e.qZA(),e.YNc(5,Be,5,8,"section",3),e.YNc(6,ke,1,0,"ng-container",4),e.ALo(7,"async"),e.YNc(8,ht,1,0,"ng-template",null,5,e.W1O)),2&r&&(e.Q6J("disabled",f.computedDisabled)("focusable",f.focusable)("invalid",f.computedInvalid)("maskito",f.mask)("pseudoActive",f.pseudoActive)("pseudoFocus",f.computedFocused)("pseudoHover",f.pseudoHover)("readOnly",f.readOnly)("value",f.computedValue),e.xp6(4),e.Q6J("ngIf",f.polymorpheusValueContent.length),e.xp6(1),e.Q6J("ngIf",f.step),e.xp6(1),e.Q6J("ngIf",e.lcZ(7,12,f.polymorpheusValueContent.changes)))},dependencies:[N.yc,Ae.v0,N.B1,be.Tq,be.A7,g,G.ro,Oe.O5,Le.Li,Oe.Ov],styles:["[_nghost-%COMP%]{display:flex;border-radius:var(--tui-radius-m);text-align:left}.t-textfield[_ngcontent-%COMP%]{flex:1;max-width:100%;border-radius:inherit;text-align:inherit}.t-textfield[_ngcontent-%COMP%]:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content[_ngcontent-%COMP%]{width:100%}.t-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;margin-left:.125rem;border-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%]{flex-direction:row-reverse}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin:0 0 0 .125rem;border-top-right-radius:inherit;border-bottom-right-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-radius:0}[data-size=m][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-m) * .75)}[data-size=l][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-l) * .75)}.t-button[_ngcontent-%COMP%]{display:flex;flex:1;height:auto;border-radius:0}.t-button[_ngcontent-%COMP%]:first-child{margin-bottom:.125rem;border-top-right-radius:inherit}.t-button[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:inherit}"],changeDetection:0}),(0,So.gn)([Ui.UM],u.prototype,"computeMin",null),(0,So.gn)([Ui.UM],u.prototype,"computeMax",null),(0,So.gn)([Ui.UM],u.prototype,"calculateMask",null),u})(),oi=(()=>{class u extends $i.D1{get value(){return this.host.computedValue}onValueChange(r){this.host.onValueChange(r)}ngDoCheck(){this.host.nativeFocusableElement&&(this.host.nativeFocusableElement.inputMode=this.host.inputMode,this.host.nativeFocusableElement.maxLength=this.host.nativeFocusableElement.maxLength>0?this.host.nativeFocusableElement.maxLength:this.host.calculatedMaxLength)}}return u.\u0275fac=function(){let b;return function(f){return(b||(b=e.n5z(u)))(f||u)}}(),u.\u0275dir=e.lG2({type:u,selectors:[["tui-input-number"]],features:[e._Bn([(0,st.cp)(u)]),e.qOj]}),u})(),Fi=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,G.U5,N.KW,be.cn,x,Le.wq,Ae.fN]]}),u})();var wn=c(3178);const ni=new e.OlP("MutationObserver config");typeof MutationObserver<"u"&&MutationObserver;let hr=(()=>{class u extends pn.y{constructor({nativeElement:r},f){super(L=>{const me=new MutationObserver(jt=>{L.next(jt)});return me.observe(r,f),()=>{me.disconnect()}})}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(e.SBq),e.LFG(ni))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})();var Xo=c(8330),Wr=c(5557),ia=c(8168);const m=["tuiTab",""];function v(u,b){1&u&&e.GkF(0)}const h=["*"];function D(u,b){1&u&&e.GkF(0)}function B(u,b){if(1&u&&e._UZ(0,"tui-underline",2),2&u){const r=e.oxw();e.Q6J("element",r.activeElement)}}function Te(u,b){1&u&&e.GkF(0)}function Tt(u,b){if(1&u&&e.GkF(0,12),2&u){const r=e.oxw().$implicit;e.Q6J("ngTemplateOutlet",r)}}function Kt(u,b){if(1&u&&(e.TgZ(0,"div"),e.GkF(1,12),e.qZA()),2&u){const r=e.oxw(),f=r.index,L=r.$implicit,me=e.oxw();e.ekj("t-overflown",me.isOverflown(f)),e.xp6(1),e.Q6J("ngTemplateOutlet",L)}}function On(u,b){if(1&u&&(e.ynx(0),e.YNc(1,Tt,1,1,"ng-container",10),e.YNc(2,Kt,2,3,"ng-template",null,11,e.W1O),e.BQk()),2&u){const r=b.index,f=e.MAs(3),L=e.oxw();e.xp6(1),e.Q6J("ngIf",r<=L.lastVisibleIndex)("ngIfElse",f)}}function Un(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function Ln(u,b){if(1&u&&(e._uU(0),e.ALo(1,"async"),e._UZ(2,"tui-svg",13)),2&u){const r=e.oxw();e.hij(" ",e.lcZ(1,4,r.moreWord$)," "),e.xp6(2),e.ekj("t-icon_rotated",r.open),e.Q6J("src",r.arrowOptions.iconSmall)}}function ki(u,b){if(1&u&&e.GkF(0,12),2&u){const r=e.oxw().$implicit;e.Q6J("ngTemplateOutlet",r)}}function Ho(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",17),e.NdJ("tui-tab-activate",function(){const me=e.CHM(r).index,jt=e.oxw(2);return e.KtG(jt.onClick(me))}),e.YNc(1,ki,1,1,"ng-container",18),e.qZA()}if(2&u){const r=b.index,f=e.oxw(2);e.xp6(1),e.Q6J("ngIf",f.shouldShow(r))}}function pr(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",14,15),e.NdJ("keydown.arrowDown.prevent",function(L){e.CHM(r);const me=e.MAs(1),jt=e.oxw();return e.KtG(jt.onWrapperArrow(L,me,!1))})("keydown.arrowUp.prevent",function(L){e.CHM(r);const me=e.MAs(1),jt=e.oxw();return e.KtG(jt.onWrapperArrow(L,me,!0))}),e.YNc(2,Ho,2,1,"div",16),e.qZA()}if(2&u){const r=e.oxw();e.xp6(2),e.Q6J("ngForOf",r.items)}}function Jr(u,b){if(1&u&&e._UZ(0,"tui-underline",19),2&u){const r=e.oxw();e.Q6J("element",r.activeElement)}}const wr=new e.OlP("[TUI_TAB_EVENT]"),ts=[Dt.a3,Dt.ku,it.Ok,{provide:wr,deps:[e.SBq,it.Ok,[new e.FiY,hr],[new e.FiY,wn.Od]],useFactory:({nativeElement:u},b,r,f)=>{const L=f&&r?r.pipe((0,_e.h)(()=>f.isActive)):Wi.E;return(0,W.T)(L,b.pipe((0,_e.h)(Xo.y)),u.matches("button")?(0,ui.mL)(u,"click"):Wi.E).pipe((0,ce.U)(()=>u.dispatchEvent(new CustomEvent("tui-tab-activate",{bubbles:!0}))))}},Gr.CV];let ns=(()=>{class u{constructor(r,f,L,me,jt,Fn){this.routerLinkActive=r,this.el=f,this.mode$=L,this.event$=me,this.margin=jt,this.focusVisible=!1,Fn.subscribe(Zn=>{this.focusVisible=Zn})}get isActive(){return!!this.routerLinkActive&&this.routerLinkActive.isActive}ngOnDestroy(){(0,yt.V8)(this.el.nativeElement)&&this.el.nativeElement.blur()}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(wn.Od,8),e.Y36(e.SBq),e.Y36(st.Au),e.Y36(wr),e.Y36(ko.WO),e.Y36(Dt.ku))},u.\u0275cmp=e.Xpm({type:u,selectors:[["a","tuiTab","",3,"routerLink",""],["a","tuiTab","","routerLink","","routerLinkActive",""],["button","tuiTab",""]],hostAttrs:["type","button"],hostVars:8,hostBindings:function(r,f){1&r&&e.NdJ("$.data-mode.attr",function(){return f.mode$}),2&r&&(e.Udp("cursor","pointer")("--tui-tab-margin",f.margin,"px"),e.ekj("_focus-visible",f.focusVisible)("_active",f.isActive))},features:[e._Bn(ts)],attrs:m,ngContentSelectors:h,decls:4,vars:3,consts:[[4,"ngIf"],[1,"t-highlight"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,v,1,0,"ng-container",0),e.ALo(1,"async"),e.TgZ(2,"span",1),e.Hsn(3),e.qZA()),2&r&&e.Q6J("ngIf",e.lcZ(1,1,f.event$))},dependencies:[Oe.O5,Oe.Ov],styles:['._underline[_nghost-%COMP%]:hover, ._underline [_nghost-%COMP%]:hover{box-shadow:inset 0 -2px var(--tui-base-03)}tui-tabs > [_nghost-%COMP%]:first-child, tui-tabs > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, tui-tabs > :first-child[_nghost-%COMP%], tui-tabs > :first-child [_nghost-%COMP%], [tuiTabs] > :first-child[_nghost-%COMP%], [tuiTabs] > :first-child [_nghost-%COMP%]{margin-left:0}[_nghost-%COMP%]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;height:100%;box-sizing:border-box;justify-content:space-between;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:var(--tui-tab-margin, 1.5rem)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[_nghost-%COMP%]:not([data-mode])._active{opacity:1;color:var(--tui-text-01);box-shadow:none}[data-mode=onDark][_nghost-%COMP%]{color:#ffffffb8}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark]._active[_nghost-%COMP%]{color:#fff}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-text-01);color:#fff}._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-selection)}._android[_nghost-%COMP%]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;margin:0;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._android[_nghost-%COMP%]:hover{box-shadow:none}._android._active[_nghost-%COMP%]{opacity:1;color:var(--tui-base-09)}._android[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}._ios[_nghost-%COMP%]{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;margin:0;color:var(--tui-base-01);opacity:1;font-size:.8125rem;font-weight:500;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._ios[_nghost-%COMP%]:hover{box-shadow:none}._ios._active[_nghost-%COMP%]{font-size:.875rem;font-weight:600;color:var(--tui-link)}._ios[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}@media (hover: hover){[_nghost-%COMP%]:hover{color:var(--tui-text-01)}}.t-highlight[_ngcontent-%COMP%]{display:inline-flex;width:100%;align-items:center;justify-content:inherit}.t-highlight[_ngcontent-%COMP%] >*{flex-shrink:0}tui-tabs[data-vertical][_nghost-%COMP%], tui-tabs[data-vertical] [_nghost-%COMP%], [tuiTabs][data-vertical][_nghost-%COMP%], [tuiTabs][data-vertical] [_nghost-%COMP%]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical][_nghost-%COMP%]:after, tui-tabs[data-vertical] [_nghost-%COMP%]:after, [tuiTabs][data-vertical][_nghost-%COMP%]:after, [tuiTabs][data-vertical] [_nghost-%COMP%]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:"";position:absolute;top:0;bottom:0;right:0;width:2px;background:var(--tui-primary);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical][_nghost-%COMP%]:hover, tui-tabs[data-vertical] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical][_nghost-%COMP%]:hover, [tuiTabs][data-vertical] [_nghost-%COMP%]:hover{box-shadow:inset -2px 0 var(--tui-base-03)}tui-tabs[data-vertical]._active[_nghost-%COMP%]:after, tui-tabs[data-vertical] ._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical]._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical] ._active[_nghost-%COMP%]:after{transform:none}tui-tabs[data-vertical="right"][_nghost-%COMP%], tui-tabs[data-vertical="right"] [_nghost-%COMP%], [tuiTabs][data-vertical="right"][_nghost-%COMP%], [tuiTabs][data-vertical="right"] [_nghost-%COMP%]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical="right"][_nghost-%COMP%]:after, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical="right"][_nghost-%COMP%]:hover, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:hover{box-shadow:inset 2px 0 var(--tui-base-03)}'],changeDetection:0}),u})(),Jo=(()=>{class u{constructor(r){this.el=r,this.activeItemIndex=0,this.activeItemIndexChange=new e.vpe}get tabs(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}get activeElement(){return this.tabs[this.activeItemIndex]||null}onActivate(r,f){const L=this.tabs.findIndex(me=>me===f);r.stopPropagation(),L!==this.activeItemIndex&&(this.activeItemIndexChange.emit(L),this.activeItemIndex=L)}moveFocus(r,f){const{tabs:L}=this;(0,yt.VR)(L.indexOf(r),L,f)}ngAfterViewChecked(){const{tabs:r,activeElement:f}=this;r.forEach(L=>{const me=L===f;L.classList.toggle("_active",me),L.setAttribute("tabIndex",me?"0":"-1")})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq))},u.\u0275dir=e.lG2({type:u,selectors:[["tui-tabs"],["nav","tuiTabs",""]],hostBindings:function(r,f){1&r&&e.NdJ("tui-tab-activate",function(me){return f.onActivate(me,me.target)})},inputs:{activeItemIndex:"activeItemIndex"},outputs:{activeItemIndexChange:"activeItemIndexChange"}}),u})();const Ss=(0,Qt.JN)({underline:!0,exposeActive:!0,itemsLimit:1/0,minMoreWidth:0});let Za=(()=>{class u{constructor({nativeElement:r},f,L,me){this.zone=f,this.animationFrame$=L,this.mode$=me,this.el$=new Wr.t(1),this.refresh$=this.el$.pipe((0,pe.w)(jt=>jt?this.animationFrame$.pipe((0,ce.U)(()=>jt),(0,ui.fL)(this.zone)):(0,hn.of)(null)),(0,ve.B)()),this.transition$=(0,le.Gt)(this.el$.pipe((0,ce.U)(jt=>jt&&"all"),(0,V.b)(50))),this.transform$=(0,le.Gt)(this.refresh$.pipe((0,ce.U)(jt=>jt?`translate3d(${jt.offsetLeft}px, 0, 0)`:null))),this.width$=(0,le.Gt)(this.refresh$.pipe((0,ce.U)(jt=>(null==jt?void 0:jt.clientWidth)||0))),r["$.style.transitionProperty"]=this.transition$,r["$.style.transform"]=this.transform$,r["$.style.width.px"]=this.width$}set element(r){this.el$.next(r)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Ut.L1),e.Y36(st.Au))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-underline"]],hostBindings:function(r,f){1&r&&e.NdJ("$.data-mode.attr",function(){return f.mode$})("$.style.transitionProperty",function(){return f.transition$()})("$.style.transform",function(){return f.transform$()})("$.style.width.px",function(){return f.width$()})},inputs:{element:"element"},features:[e._Bn([Gr.CV])],decls:0,vars:0,template:function(r,f){},styles:["[_nghost-%COMP%]{transition-property:none;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:0;height:100%;color:var(--tui-primary);transform:scale(0);box-shadow:inset 0 -.1875rem 0 -.0625rem;pointer-events:none}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}"],changeDetection:0}),u})(),oa=(()=>{class u{constructor(r,f,L,me,jt){this.options=r,this.el=f,this.tabs=L,this.children=ee.Mm,this.underline=this.options.underline,jt.pipe((0,_e.h)(()=>this.underline)).subscribe(()=>{me.detectChanges()})}get activeItemIndex(){return this.tabs.activeItemIndex}set activeItemIndex(r){this.tabs.activeItemIndex=r}get activeElement(){return this.tabs.activeElement}onKeyDownArrow(r,f){this.tabs.moveFocus(r,f)}ngAfterViewChecked(){this.scrollTo(this.tabs.activeItemIndex)}scrollTo(r){const f=this.tabs.tabs[r];if(!f)return;const{offsetLeft:L,offsetWidth:me}=f,{nativeElement:jt}=this.el;Ljt.scrollLeft+jt.offsetWidth&&(jt.scrollLeft=L+me-jt.offsetWidth)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Ss),e.Y36(e.SBq),e.Y36(Jo),e.Y36(e.sBO),e.Y36(Dt.tl))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-tabs",3,"vertical",""],["nav","tuiTabs","",3,"vertical",""]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,ns,4),2&r){let me;e.iGM(me=e.CRH())&&(f.children=me)}},hostVars:2,hostBindings:function(r,f){1&r&&e.NdJ("keydown.arrowRight.prevent",function(me){return f.onKeyDownArrow(me.target,1)})("keydown.arrowLeft.prevent",function(me){return f.onKeyDownArrow(me.target,-1)}),2&r&&e.ekj("_underline",f.underline)},inputs:{underline:"underline"},features:[e._Bn([Dt.a3,Dt.tl,hr,{provide:ni,useValue:{childList:!0}}])],ngContentSelectors:h,decls:4,vars:4,consts:[[4,"ngIf"],["class","t-underline",3,"element",4,"ngIf"],[1,"t-underline",3,"element"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,D,1,0,"ng-container",0),e.ALo(1,"async"),e.Hsn(2),e.YNc(3,B,1,1,"tui-underline",1)),2&r&&(e.Q6J("ngIf",e.lcZ(1,2,f.children.changes)),e.xp6(3),e.Q6J("ngIf",f.underline))},dependencies:[Za,Oe.O5,Oe.Ov],styles:["[_nghost-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);height:var(--tui-height-l);color:var(--tui-text-02);box-shadow:inset 0 -1px var(--tui-base-03);overflow:auto;isolation:isolate}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-underline[_ngcontent-%COMP%]{z-index:-1}"],changeDetection:0}),(0,So.gn)([Ui.UM],u.prototype,"scrollTo",null),u})();const Ja=new e.OlP("[TUI_TABS_REFRESH]"),Oc=[Dt.tl,Dt.a3,hr,(0,et.fx)({align:"right"}),{provide:ni,useValue:{childList:!0,subtree:!0,characterData:!0}},{provide:Ja,deps:[Dt.tl,hr,Dt.a3,Oe.K0,e.SBq,e.sBO],useFactory:(u,b,r,{body:f},{nativeElement:L},me)=>(0,W.T)(u,b.pipe((0,ia.b)(()=>me.detectChanges()))).pipe((0,_e.h)(()=>f.contains(L)),(0,V.b)(0),(0,de.O)(null),(0,Y.R)(r))}];let qu=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn){this.options=r,this.margin=f,this.refresh$=L,this.el=me,this.cdr=jt,this.moreWord$=Fn,this.arrowOptions=Zn,this.maxIndex=1/0,this.underline=this.options.underline,this.itemsLimit=this.options.itemsLimit,this.activeItemIndexChange=new e.vpe,this.items=ee.Mm,this.activeItemIndex=0,this.open=!1}set itemIndex(r){this.activeItemIndex=r,this.maxIndex=this.getMaxIndex()}get tabs(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}get activeElement(){var r;const{tabs:f}=this,L=(0,tr.Ki)(this.activeItemIndex||0,0,f.length-2);return this.options.exposeActive||this.lastVisibleIndex>=L?f[L]||null:(null===(r=this.moreButton)||void 0===r?void 0:r.nativeElement)||null}get isMoreAlone(){return this.lastVisibleIndex<0&&!this.options.exposeActive}get isMoreVisible(){return this.lastVisibleIndex=this.items.length?this.maxIndex:Math.min(this.itemsLimit-(this.itemsLimit-1>this.activeItemIndex||!this.options.exposeActive?1:2),this.maxIndex)}ngAfterViewInit(){this.refresh$.pipe((0,ce.U)(()=>this.getMaxIndex()),(0,_e.h)(r=>this.maxIndex!==r)).subscribe(r=>{this.maxIndex=r,this.cdr.detectChanges()})}onActiveItemIndexChange(r){this.updateActiveItemIndex(r)}onClick(r){this.open=!1,this.focusMore(),this.updateActiveItemIndex(r)}onArrowRight(r){(0,cn.ve)(r.target)&&(0,yt.V8)(r.target)&&this.focusMore()}onArrowLeft(){const{tabs:r}=this;let f=r.length-2;for(;f>=0;){if(r[f].focus(),(0,yt.V8)(r[f]))return;f--}}onWrapperArrow(r,f,L){const jt=(0,yt.BW)({initial:r.target,root:f,previous:L});jt&&jt.focus()}isOverflown(r){return r!==this.activeItemIndex||!this.options.exposeActive}shouldShow(r){return r>this.lastVisibleIndex&&this.isOverflown(r)}focusMore(){this.moreButton&&this.moreButton.nativeElement.focus()}getMaxIndex(){const{tabs:r,activeItemIndex:f,margin:L}=this;if(r.length<2)return 0;const{exposeActive:me,minMoreWidth:jt}=this.options,{clientWidth:Fn}=this.el.nativeElement,Zn=r[f]?r[f].scrollWidth:0,qn=Math.max(r[r.length-1].scrollWidth,jt);let po=r.length-2,Cr=r.reduce((Dr,{scrollWidth:Qo})=>Dr+Qo,0)+po*L-r[r.length-1].scrollWidth;if(Cr<=Fn)return 1/0;for(;po;)if(Cr-=r[po].scrollWidth+L,po--,Cr+(me&&f>po?Zn+L:0)+qn+L+(0,tr.HW)(this.maxIndex===po-1){class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,en.jh,se.EI,tn.u,co]]}),u})();var ks=c(1673),xc=c(9034);const ph=["focusableElement"];function el(u,b){if(1&u&&e._UZ(0,"tui-svg",9),2&u){const r=b.polymorpheusOutlet,f=e.oxw(2);e.ekj("t-icon_open",f.open),e.Q6J("src",r)}}function wc(u,b){if(1&u&&(e.ynx(0),e.YNc(1,el,1,3,"tui-svg",8),e.BQk()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.options.iconLarge)}}function gh(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function Pc(u,b){if(1&u&&(e.TgZ(0,"div",11),e.YNc(1,gh,2,1,"ng-container",12),e.qZA()),2&u){const r=e.oxw(2);e.xp6(1),e.Q6J("polymorpheusOutlet",r.lazyContent)}}function Ac(u,b){if(1&u&&e.YNc(0,Pc,2,1,"div",10),2&u){const r=e.oxw();e.Q6J("ngIf",r.lazyContent)}}function Sc(u,b){1&u&&(e.TgZ(0,"div",13),e.Hsn(1,1),e.qZA())}const ya=["*",[["","tuiAccordionItemContent",""]]],tl=["*","[tuiAccordionItemContent]"],Ic=[[["tui-accordion-item"]]],nl=["tui-accordion-item"];let kc=(()=>{class u extends Le.GL{constructor(r,f){super(r,f)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.Rgc,2),e.Y36(e.sBO))},u.\u0275dir=e.lG2({type:u,selectors:[["ng-template","tuiAccordionItemContent",""]],features:[e.qOj]}),u})(),il=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiAccordionItemContent","",5,"ng-template"]]}),u})(),Rc=(()=>{class u extends wt.Xn{constructor(r,f,L){super(),this.cdr=r,this.mode$=f,this.options=L,this.noPadding=!1,this.showArrow=!0,this.borders="all",this.size="m",this.disabled=!1,this.disableHover=!1,this.open=!1,this.async=!1,this.openChange=new e.vpe}get nativeFocusableElement(){return this.disabled||!this.focusableElement?null:this.focusableElement.nativeElement}get focused(){return(0,yt.V8)(this.nativeFocusableElement)}onFocused(r){this.updateFocused(r)}onFocusVisible(r){this.updateFocusVisible(r)}onRowToggle(){this.disabled||this.updateOpen(!this.open)}onItemKeyDownEsc(r){this.open&&(r.stopPropagation(),this.updateOpen(!1))}close(){this.updateOpen(!1),this.cdr.markForCheck()}updateOpen(r){this.open!==r&&(this.open=r,this.openChange.emit(r))}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.sBO),e.Y36(st.Au),e.Y36(mi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-accordion-item"]],contentQueries:function(r,f,L){if(1&r&&(e.Suo(L,il,5),e.Suo(L,kc,5)),2&r){let me;e.iGM(me=e.CRH())&&(f.eagerContent=me.first),e.iGM(me=e.CRH())&&(f.lazyContent=me.first)}},viewQuery:function(r,f){if(1&r&&e.Gf(ph,5),2&r){let L;e.iGM(L=e.CRH())&&(f.focusableElement=L.first)}},hostVars:8,hostBindings:function(r,f){1&r&&e.NdJ("$.data-mode.attr",function(){return f.mode$}),2&r&&(e.uIk("data-borders",f.borders)("data-size",f.size),e.ekj("_no-padding",f.noPadding)("_has-arrow",f.showArrow)("_disabled",f.disabled))},inputs:{noPadding:"noPadding",showArrow:"showArrow",borders:"borders",size:"size",disabled:"disabled",disableHover:"disableHover",open:"open",async:"async"},outputs:{openChange:"openChange"},features:[e._Bn([(0,Xt.FT)(u),Gr.CV]),e.qOj],ngContentSelectors:tl,decls:9,vars:10,consts:[["automation-id","tui-accordion__item-wrapper",1,"t-wrapper"],["automation-id","tui-accordion__item-header","type","button",1,"t-header",3,"disabled","tuiFocusable","click","keydown.esc","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],["automation-id","tui-accordion__item-title",1,"t-title"],[4,"ngIf"],[3,"async","expanded"],["tuiExpandContent",""],["class","t-content",4,"ngIf"],["automation-id","tui-accordion__item-arrow","class","t-icon",3,"t-icon_open","src",4,"polymorpheusOutlet"],["automation-id","tui-accordion__item-arrow",1,"t-icon",3,"src"],["automation-id","tui-accordion__item-content","class","t-content",4,"ngIf"],["automation-id","tui-accordion__item-content",1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content"]],template:function(r,f){1&r&&(e.F$t(ya),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return f.onRowToggle()})("keydown.esc",function(me){return f.onItemKeyDownEsc(me)})("tuiFocusedChange",function(me){return f.onFocused(me)})("tuiFocusVisibleChange",function(me){return f.onFocusVisible(me)}),e.TgZ(3,"span",3),e.Hsn(4),e.qZA(),e.YNc(5,wc,2,1,"ng-container",4),e.qZA(),e.TgZ(6,"tui-expand",5),e.YNc(7,Ac,1,1,"ng-template",6),e.YNc(8,Sc,2,0,"div",7),e.qZA()()),2&r&&(e.xp6(1),e.ekj("t-header_hoverable",!f.disableHover)("t-header_open",f.open),e.Q6J("disabled",f.computedDisabled)("tuiFocusable",f.computedFocusable),e.xp6(4),e.Q6J("ngIf",f.showArrow),e.xp6(1),e.Q6J("async",f.async)("expanded",f.open),e.xp6(2),e.Q6J("ngIf",f.eagerContent))},dependencies:[se.PN,qe,tn.t,An.U,di.q,Oe.O5,Le.Li,mt],styles:['[_nghost-%COMP%]{position:relative;display:block;overflow:hidden;border-radius:var(--tui-radius-l)}[data-borders=top-bottom][_nghost-%COMP%]{border-radius:0!important}.t-wrapper[_ngcontent-%COMP%]{position:relative;border-radius:inherit}.t-wrapper[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;border:1px solid var(--tui-base-04);pointer-events:none}[_nghost-%COMP%]:not([data-borders]) .t-wrapper[_ngcontent-%COMP%]:after{border-width:0}[data-borders=all][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-borders=top-bottom][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0}[data-borders=top][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0;border-bottom-width:0}[data-borders=bottom][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0;border-top-width:0}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-color:var(--tui-base-03)}[data-mode=onLight][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-color:var(--tui-text-01)}._focus-visible[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border:2px solid var(--tui-focus)}[_nghost-%COMP%]:not([data-mode]) .t-wrapper[_ngcontent-%COMP%]{background:var(--tui-base-01)}.t-header[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:100%;font:var(--tui-font-text-l);align-items:center;box-sizing:border-box;border-bottom:1px solid var(--tui-base-04);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-01);cursor:pointer;text-align:left;outline:none}[data-mode=onDark][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{color:var(--tui-text-01-night);border-color:var(--tui-base-03)}[data-mode=onLight][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{border-color:var(--tui-text-01)}[_nghost-%COMP%]:not([data-borders]) .t-header[_ngcontent-%COMP%]{border-bottom-width:0;box-shadow:none}._has-arrow[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-right:.75rem}[data-mode=onDark][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}[data-mode=onLight][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-clear)}[data-size=s][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-m);min-height:var(--tui-height-m);padding:.625rem .75rem .625rem 1rem}._no-padding[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-left:0;padding-right:0}._disabled[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{cursor:default}.t-wrapper[_ngcontent-%COMP%]:hover:not([data-mode]) > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-base-02)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onDark] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onLight] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear)}.t-title[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}._has-arrow[_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{margin-right:.5rem}.t-icon[_ngcontent-%COMP%]{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.t-icon_open[_ngcontent-%COMP%]{transform:rotate(180deg)}[data-mode][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[_nghost-%COMP%]:hover[data-mode] .t-icon[_ngcontent-%COMP%]{opacity:.8}[data-mode=onDark][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01)}[_nghost-%COMP%]:hover:not([data-mode]) .t-icon[_ngcontent-%COMP%]{color:var(--tui-base-07)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);padding:1rem}'],changeDetection:0}),u})(),Lc=(()=>{class u{constructor(r){this.destroy$=r,this.closeOthers=!0,this.rounded=!0,this.accordionItems=ee.Mm}ngAfterContentInit(){const{accordionItems:r}=this,f=(0,ui.ll)(r),L=f.pipe((0,xc.G)(),(0,ce.U)(([jt,Fn])=>Fn.find(Zn=>!jt.includes(Zn)&&Zn.open)),(0,_e.h)(Qt.Pc));(0,W.T)(f.pipe((0,pe.w)(jt=>(0,W.T)(...jt.map(Fn=>Fn.openChange.pipe((0,_e.h)(Xo.y),(0,ce.U)(()=>Fn)))))),L).pipe((0,_e.h)(()=>this.closeOthers),(0,Y.R)(this.destroy$)).subscribe(jt=>{r.forEach(Fn=>{jt!==Fn&&Fn.close()})})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Dt.a3,2))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-accordion"]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,Rc,4),2&r){let me;e.iGM(me=e.CRH())&&(f.accordionItems=me)}},inputs:{closeOthers:"closeOthers",rounded:"rounded"},features:[e._Bn([Dt.a3])],ngContentSelectors:nl,decls:2,vars:2,consts:[["automation-id","tui-accordion__group","orientation","vertical","size","l","tuiGroup","",1,"t-group",3,"collapsed","rounded"]],template:function(r,f){1&r&&(e.F$t(Ic),e.TgZ(0,"div",0),e.Hsn(1),e.qZA()),2&r&&e.Q6J("collapsed",!0)("rounded",f.rounded)},dependencies:[ze.gZ],styles:["[_nghost-%COMP%]{display:block}.t-group[_ngcontent-%COMP%]{display:flex}"],changeDetection:0}),u})(),Nc=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,An.F,di.c,tn.u,Le.wq,se.EI,ze.n6,Ge]]}),u})();const mh=["input"];function _h(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function qa(u,b){if(1&u&&(e.TgZ(0,"div",6),e.YNc(1,_h,2,1,"ng-container",7),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.leftContent)}}function vh(u,b){if(1&u&&e._UZ(0,"tui-loader",8),2&u){const r=e.oxw();e.Q6J("inheritColor",!0)("size",r.loaderSize)}}function yh(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-svg",9),e.NdJ("click",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.remove(L))})("mousedown.stop.prevent.silent",function(){return 0}),e.qZA()}if(2&u){const r=e.oxw();e.Q6J("src",r.icons.close)}}function bh(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"input",10,11),e.NdJ("blur",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.onBlur())})("keydown",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onKeyDown(L))})("ngModelChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onInput(L))}),e.qZA()}if(2&u){const r=e.oxw();e.Q6J("ngModel",r.editedText),e.uIk("maxLength",r.maxLength)}}const Bc=(0,Qt.JN)({size:"m",status:"default",autoColor:!1});let ol=(()=>{class u{constructor(r,f,L,me){this.el=r,this.mode$=f,this.options=L,this.icons=me,this.value="",this.editable=!1,this.separator=",",this.maxLength=null,this.size=this.options.size,this.showLoader=!1,this.status=this.options.status,this.hoverable=!1,this.removable=!1,this.disabled=!1,this.autoColor=this.options.autoColor,this.edited=new e.vpe,this.editing=!1,this.editedText=null}set input(r){r&&r.nativeElement.focus()}get backgroundColor(){return this.autoColor?function Qa(u){if(""===u)return"";let b=0;for(let me=0;me1?this.save(String(f)):this.editedText=r}onKeyDown(r){switch(r.stopPropagation(),r.key.toLowerCase()){case"enter":r.preventDefault(),this.save(this.editedText||"");break;case"escape":case"esc":r.preventDefault(),this.stopEditing(),this.el.nativeElement.focus()}}onBlur(){null!==this.editedText&&this.save(this.editedText)}get canEdit(){return this.editable&&!this.disabled&&!this.showLoader}stopEditing(){this.editing=!1,this.editedText=null}save(r){this.stopEditing(),this.edited.emit(r.trim())}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.SBq),e.Y36(st.Au),e.Y36(Bc),e.Y36(st.Gs))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-tag"],["a","tuiTag",""],["button","tuiTag",""]],viewQuery:function(r,f){if(1&r&&e.Gf(mh,5,e.SBq),2&r){let L;e.iGM(L=e.CRH())&&(f.input=L.first)}},hostVars:10,hostBindings:function(r,f){1&r&&e.NdJ("$.data-mode.attr",function(){return f.mode$})("keydown.enter",function(me){return f.edit(me)})("keydown.delete",function(me){return f.remove(me)})("keydown.backspace",function(me){return f.remove(me)}),2&r&&(e.uIk("data-size",f.size)("data-status",f.status),e.ekj("_hoverable",f.hoverable)("_disabled",f.disabled)("_autocolor",f.autoColor)("_editing",f.editing))},inputs:{value:"value",editable:"editable",separator:"separator",maxLength:"maxLength",size:"size",showLoader:"showLoader",status:"status",hoverable:"hoverable",removable:"removable",disabled:"disabled",autoColor:"autoColor",leftContent:"leftContent"},outputs:{edited:"edited"},features:[e._Bn([Gr.CV])],decls:6,vars:7,consts:[[1,"t-tag",3,"dblclick"],["class","t-content",4,"ngIf"],["automation-id","tui-tag__text",1,"t-text",3,"textContent"],["class","t-content",3,"inheritColor","size",4,"ngIf"],["automation-id","tui-tag__remove","class","t-icon",3,"src","click","mousedown.stop.prevent.silent",4,"ngIf"],["automation-id","tui-tag__edit","type","text","class","t-edit",3,"ngModel","blur","keydown","ngModelChange",4,"ngIf"],[1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content",3,"inheritColor","size"],["automation-id","tui-tag__remove",1,"t-icon",3,"src","click","mousedown.stop.prevent.silent"],["automation-id","tui-tag__edit","type","text",1,"t-edit",3,"ngModel","blur","keydown","ngModelChange"],["input",""]],template:function(r,f){1&r&&(e.TgZ(0,"div",0),e.NdJ("dblclick",function(me){return f.edit(me)}),e.YNc(1,qa,2,1,"div",1),e._UZ(2,"span",2),e.YNc(3,vh,1,2,"tui-loader",3),e.YNc(4,yh,1,1,"tui-svg",4),e.qZA(),e.YNc(5,bh,2,2,"input",5)),2&r&&(e.Udp("background-color",f.backgroundColor),e.xp6(1),e.Q6J("ngIf",f.leftContent),e.xp6(1),e.Q6J("textContent",f.displayText),e.xp6(1),e.Q6J("ngIf",f.showLoader),e.xp6(1),e.Q6J("ngIf",f.canRemove),e.xp6(1),e.Q6J("ngIf",f.editing))},dependencies:[$e.kM,se.PN,Oe.O5,Le.Li,ft.Fj,ft.JJ,ft.On],styles:['[_nghost-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;font:var(--tui-font-text-s);line-height:1.25rem;max-width:100%;cursor:default;outline:none;text-decoration:none;padding:0;border:0}[_nghost-%COMP%]:after{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;pointer-events:none}._hoverable[_nghost-%COMP%]:hover[data-status=custom]:after, ._hoverable[_nghost-%COMP%]:active[data-status=custom]:after{background-color:var(--tui-clear)}[_nghost-%COMP%]:focus:after{border:2px solid var(--tui-focus)}[data-size=s][_nghost-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;border-radius:var(--tui-radius-xs)}[data-size=m][_nghost-%COMP%]{border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{border-radius:var(--tui-radius-s)}[data-status=primary][_nghost-%COMP%]{background-color:var(--tui-primary);color:var(--tui-primary-text)}[data-status=primary]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-primary-hover)}[data-status=primary]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-primary-active)}[data-status=error][_nghost-%COMP%]{background-color:var(--tui-error-bg);color:var(--tui-text-01)}[data-status=error]._hoverable[_nghost-%COMP%]:hover, [data-status=error]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-hover)}[data-status=error][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}[data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-night-hover)}[data-status=success][_nghost-%COMP%]{background-color:var(--tui-success-bg);color:var(--tui-text-01)}[data-status=success]._hoverable[_nghost-%COMP%]:hover, [data-status=success]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-hover)}[data-status=success][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}[data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-night-hover)}[data-status=warning][_nghost-%COMP%]{background-color:var(--tui-warning-bg);color:var(--tui-text-01)}[data-status=warning]._hoverable[_nghost-%COMP%]:hover, [data-status=warning]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-hover)}[data-status=warning][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}[data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-night-hover)}[data-status=default][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-base-06)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}[data-status=default][data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-clear-inverse)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-inverse-hover)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-inverse-active)}[data-status=default][data-mode=onDark][_nghost-%COMP%]:focus:after{border:2px solid var(--tui-base-01)}[data-status=default][data-mode=onLight][_nghost-%COMP%]{background-color:var(--tui-clear);color:var(--tui-text-01)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-hover)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-active)}._editing[_nghost-%COMP%]{background:transparent!important}._disabled[_nghost-%COMP%]{pointer-events:none;opacity:var(--tui-disabled-opacity)}._hoverable[_nghost-%COMP%]{cursor:pointer}._autocolor[_nghost-%COMP%]{color:#000c}.t-text[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:.02em}.t-tag[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:flex;width:auto;align-items:center;font:inherit;border-radius:inherit}[data-size=s][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:1.25rem;padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-xs);padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-s);padding:0 .75rem}._editing[_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{visibility:hidden}.t-edit[_ngcontent-%COMP%]{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;font:inherit;color:var(--tui-text-01);width:100%;height:100%;box-sizing:border-box;padding:0 .5rem}.t-edit[_ngcontent-%COMP%]:-webkit-autofill, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[data-size=s][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .75rem}.t-icon[_ngcontent-%COMP%]{width:1rem;height:100%;cursor:pointer;pointer-events:all;opacity:var(--tui-disabled-opacity);-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}.t-icon[_ngcontent-%COMP%]:hover{opacity:1}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{-webkit-margin-start:0;margin-inline-start:0}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%] svg{transform:scale(.75)}.t-content[_ngcontent-%COMP%]{width:1rem;height:1rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}'],changeDetection:0}),u})(),eu=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,ft.u5,se.EI,$e.dS,Le.wq]]}),u})();const rl=["tuiSidebar",""];function sl(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}let Yr=(()=>{class u extends Le.GL{constructor(r,f,L,me){super(r,me),this.content=r,this.injector=f,this.portalService=L,this.component=new Le.Al(Uc,this.injector),this.sidebarRef=null,this.direction="left",this.autoWidth=!1}set tuiSidebar(r){r?this.show():this.hide()}ngOnDestroy(){this.hide()}show(){null===this.sidebarRef&&(this.sidebarRef=this.portalService.add(this.component),this.sidebarRef.changeDetectorRef.detectChanges())}hide(){null!==this.sidebarRef&&(this.portalService.remove(this.sidebarRef),this.sidebarRef=null)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.Rgc),e.Y36(e.zs3),e.Y36(It.ae),e.Y36(e.sBO))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiSidebar",""]],inputs:{direction:["tuiSidebarDirection","direction"],autoWidth:["tuiSidebarAutoWidth","autoWidth"],tuiSidebar:"tuiSidebar"},features:[e.qOj]}),u})(),Uc=(()=>{class u{constructor(r,f){this.options=r,this.directive=f,this.left=Object.assign(Object.assign({},this.options),{value:"left"}),this.right=Object.assign(Object.assign({},this.options),{value:"right"})}get animation(){return"left"===this.direction?this.left:this.right}get directionHostClass(){return`t-${this.directive.direction}`}get direction(){return this.directive.direction}get content(){return this.directive.content}get autoWidth(){return this.directive.autoWidth}ngDoCheck(){this.directive.check()}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(st.Pw),e.Y36(Yr))},u.\u0275cmp=e.Xpm({type:u,selectors:[["aside","tuiSidebar",""]],hostVars:3,hostBindings:function(r,f){2&r&&(e.d8E("@tuiSlideIn",f.animation),e.Tol(f.directionHostClass))},attrs:rl,decls:2,vars:3,consts:[["tuiActiveZone","",1,"t-wrapper"],[4,"polymorpheusOutlet"]],template:function(r,f){1&r&&(e.TgZ(0,"div",0),e.YNc(1,sl,2,1,"ng-container",1),e.qZA()),2&r&&(e.ekj("t-wrapper_auto-width",f.autoWidth),e.xp6(1),e.Q6J("polymorpheusOutlet",f.content))},dependencies:[Jt.e,Le.Li],styles:['[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;content:"";height:100%;background:rgba(0,0,0,.38);animation:tuiFadeIn var(--tui-duration)}[_nghost-%COMP%]:before{left:-100%;width:200%}[_nghost-%COMP%]:after{left:100%}.ng-animating[_nghost-%COMP%]:before, .ng-animating[_nghost-%COMP%]:after{opacity:0;transition:opacity var(--tui-duration)}.t-right[_nghost-%COMP%]{justify-content:flex-end}.t-left[_nghost-%COMP%]{justify-content:flex-start}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;background:var(--tui-base-01);box-shadow:0 10rem var(--tui-base-01);width:17.25rem}.t-wrapper_auto-width[_ngcontent-%COMP%]{width:auto}'],data:{animation:[Ne.Gw]},changeDetection:0}),u})(),Hc=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Jt.A,Le.wq]]}),u})(),zc=(()=>{class u{constructor(r,{nativeElement:f},L){this.readyToScroll$=L,this.scroll$=new Wr.t(1),this.readyToScroll$.pipe((0,_e.h)(Boolean),(0,pe.w)(()=>this.scroll$),(0,V.b)(750),(0,_e.h)(me=>me&&!!(0,cn.PU)(f)),(0,Y.R)(r)).subscribe(()=>{f.scrollIntoView()})}set tuiScrollIntoViewLink(r){this.scroll$.next(r)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Dt.a3,2),e.Y36(e.SBq),e.Y36(s.V1))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiScrollIntoViewLink",""]],inputs:{tuiScrollIntoViewLink:"tuiScrollIntoViewLink"},features:[e._Bn([Dt.a3])]}),u})(),al=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})();const ll="Taiga UI",cl=(0,Qt.JN)("tuiTheme"),jc=(0,Qt.JN)(ll);let $c=(()=>{class u extends z.X{constructor(r,f,L){super(L.getItem(f)||r),this.initialTheme=r,this.key=f,this.storage=L}next(r){this.storage.setItem(this.key,r),super.next(r)}get isDefaultTheme(){return this.value===ll}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(jc),e.LFG(cl),e.LFG(Ut.H3))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const nu=(0,Qt.JN)("tuiNight"),dl=(0,Qt.JN)(!0);let iu=(()=>{class u extends z.X{constructor(r,f,L,me){super("true"===f.getItem(L)||null===f.getItem(L)&&r.matchMedia("(prefers-color-scheme: dark)").matches),this.win=r,this.storage=f,this.key=L,this.useDefaultNightTheme=me}next(r){this.storage.setItem(this.key,String(r)),super.next(r)}toggle(){this.next(!this.value)}}return u.\u0275fac=function(r){return new(r||u)(e.LFG(Ut.m9),e.LFG(Ut.H3),e.LFG(nu),e.LFG(dl))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function gr(u,b){if(1&u&&(e.TgZ(0,"p",2),e._uU(1),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.hij(" ",r.filename,"\n")}}function ra(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"pre",3),e._uU(1," "),e._UZ(2,"code",4),e._uU(3,"\n "),e.TgZ(4,"div",5),e._uU(5,"\n "),e.TgZ(6,"button",6),e.NdJ("click",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.copy$.next())}),e.ALo(7,"async"),e._uU(8,"\n "),e.qZA(),e._uU(9,"\n "),e.Hsn(10),e._uU(11,"\n "),e.qZA(),e._uU(12,"\n"),e.qZA()}if(2&u){const r=b.$implicit,f=e.oxw();e.xp6(2),e.Q6J("lineNumbers",!0)("highlight",r),e.xp6(4),e.Q6J("icon",e.lcZ(7,4,f.icon$)||"tuiIconCopyLarge")("cdkCopyToClipboard",r)}}const ys=["*"],Wc=["content"],fl=["resizer"];function Yc(u,b){if(1&u&&(e._uU(0),e.TgZ(1,"a",11)(2,"code"),e._uU(3,"tuiMode"),e.qZA()()),2&u){const r=e.oxw();e.hij(" ",r.texts[0]," ")}}function hl(u,b){if(1&u&&e._UZ(0,"tui-data-list-wrapper",14),2&u){const r=e.oxw(2);e.Q6J("items",r.items)}}function Kc(u,b){if(1&u){const r=e.EpF();e.ynx(0),e.TgZ(1,"tui-select",12),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onModeChange(L))}),e._uU(2," tuiMode "),e.YNc(3,hl,1,1,"tui-data-list-wrapper",13),e.qZA(),e.BQk()}if(2&u){const r=e.oxw(),f=e.MAs(2);e.xp6(1),e.Q6J("ngModel",r.mode)("tuiHintContent",f)("tuiTextfieldCleaner",!0)}}function pl(u,b){if(1&u){const r=e.EpF();e._uU(0," tuiMode: "),e._UZ(1,"tui-tooltip",15),e.TgZ(2,"div",16)(3,"tui-radio-block",17),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onModeChange(L))}),e._uU(4," null "),e.qZA(),e.TgZ(5,"tui-radio-block",18),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onModeChange(L))}),e._uU(6," onDark "),e.qZA(),e.TgZ(7,"tui-radio-block",19),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.onModeChange(L))}),e._uU(8," onLight "),e.qZA()()}if(2&u){const r=e.oxw(),f=e.MAs(2);e.xp6(1),e.Q6J("content",f),e.xp6(1),e.Q6J("collapsed",!0),e.xp6(1),e.Q6J("hideRadio",!0)("item",null)("ngModel",r.mode),e.xp6(2),e.Q6J("hideRadio",!0)("ngModel",r.mode),e.xp6(2),e.Q6J("hideRadio",!0)("ngModel",r.mode)}}function Zc(u,b){if(1&u&&e._UZ(0,"tui-svg",27),2&u){const r=e.oxw(2);e.ekj("t-icon_rotated",r.expanded),e.Q6J("src",r.options.iconSmall)}}function Xc(u,b){if(1&u&&e._UZ(0,"tui-data-list-wrapper",14),2&u){const r=e.oxw(3);e.Q6J("items",r.updateOnVariants)}}const ou=function(){return{standalone:!0}};function ru(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"pre",28),e._uU(1),e.ALo(2,"json"),e.qZA(),e.TgZ(3,"div",29)(4,"tui-select",30),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw(2);return e.KtG(me.updateOnChange(L))}),e._uU(5," updateOn "),e.YNc(6,Xc,1,1,"tui-data-list-wrapper",13),e.qZA(),e.TgZ(7,"button",31),e._uU(8," Reset "),e.qZA(),e.TgZ(9,"button",32),e._uU(10," Submit "),e.qZA()()}if(2&u){const r=e.oxw(2);e.xp6(1),e.hij("Form data: ",e.lcZ(2,3,r.testForm.value),""),e.xp6(3),e.Q6J("ngModel",r.updateOn)("ngModelOptions",e.DdM(5,ou))}}function Jc(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"form",20)(1,"div",21),e.GkF(2,22),e.qZA(),e.TgZ(3,"button",23),e.NdJ("click",function(){e.CHM(r);const L=e.oxw();return e.KtG(L.toggleDetails())}),e._uU(4),e.qZA(),e.YNc(5,Zc,1,3,"ng-template",null,24,e.W1O),e.TgZ(7,"tui-expand",25),e.YNc(8,ru,11,6,"ng-template",26),e.qZA()()}if(2&u){const r=e.MAs(6),f=e.oxw();e.Q6J("formGroup",f.testForm),e.xp6(2),e.Q6J("ngTemplateOutlet",f.template),e.xp6(1),e.Q6J("iconRight",r),e.xp6(1),e.hij(" ",f.texts[2]," "),e.xp6(3),e.Q6J("expanded",f.expanded)}}const sa=function(){return[1,0]};function Qc(u,b){if(1&u&&(e.TgZ(0,"h1",2),e._uU(1),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.hij(" ",r.heading,"\n")}}function qc(u,b){if(1&u&&(e.TgZ(0,"th",10),e._uU(1),e.qZA()),2&u){const r=e.oxw(3);e.xp6(1),e.hij(" ",r.texts[3]," ")}}function su(u,b){1&u&&e._UZ(0,"tui-badge",22)}function au(u,b){1&u&&e._UZ(0,"tui-badge",23)}function gl(u,b){if(1&u&&(e.TgZ(0,"a",26),e._uU(1),e.qZA()),2&u){const r=e.oxw().$implicit;e.uIk("href",r.reference,e.LSH),e.xp6(1),e.hij(" ",r.type," ")}}function Zs(u,b){if(1&u&&e._uU(0),2&u){const r=e.oxw().$implicit;e.hij(" ",r.type," ")}}function uu(u,b){1&u&&(e.TgZ(0,"span"),e._uU(1,"\xa0|\xa0"),e.qZA())}function ml(u,b){if(1&u&&(e.ynx(0),e.YNc(1,gl,2,2,"a",24),e.YNc(2,Zs,1,1,"ng-template",null,25,e.W1O),e.YNc(4,uu,2,0,"span",1),e.BQk()),2&u){const r=b.$implicit,f=b.last,L=e.MAs(3);e.xp6(1),e.Q6J("ngIf",r.reference)("ngIfElse",L),e.xp6(3),e.Q6J("ngIf",!f)}}function ed(u,b){if(1&u&&e._UZ(0,"tui-data-list-wrapper",36),2&u){e.oxw(2);const r=e.MAs(3),f=e.oxw(2).$implicit;e.Q6J("itemContent",r)("items",f.documentationPropertyValues)}}function lu(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-select",33),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw(3).$implicit;return e.KtG(me.onValueChange(L))}),e.ALo(1,"tuiShowCleanerPipe"),e.TgZ(2,"code",34),e._uU(3,"null"),e.qZA(),e.YNc(4,ed,1,2,"tui-data-list-wrapper",35),e.qZA()}if(2&u){e.oxw();const r=e.MAs(3),f=e.oxw(2).$implicit;e.Q6J("nativeId",f.attrName)("ngModel",f.documentationPropertyValue)("tuiTextfieldCleaner",e.lcZ(1,5,f.documentationPropertyType))("tuiTextfieldLabelOutside",!0)("valueContent",r)}}function td(u,b){if(1&u&&(e.TgZ(0,"code"),e._uU(1),e.ALo(2,"tuiInspectAny"),e.qZA()),2&u){const r=b.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,r))}}function nd(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-toggle",43),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw(4).$implicit;return e.KtG(me.onValueChange(L))}),e.qZA()}if(2&u){const r=e.oxw(4).$implicit;e.Q6J("nativeId",r.attrName)("ngModel",r.documentationPropertyValue)("showIcons",!0)}}function id(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-primitive-textfield",44),e.NdJ("valueChange",function(L){e.CHM(r);const me=e.oxw(4).$implicit;return e.KtG(me.onValueChange(L))}),e.qZA()}if(2&u){const r=e.oxw(4).$implicit;e.Q6J("nativeId",r.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",r.documentationPropertyValue||"")}}function od(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",45)(1,"tui-primitive-textfield",46),e.NdJ("valueChange",function(L){e.CHM(r);const me=e.oxw(4).$implicit,jt=e.oxw(3);return e.KtG(jt.onColorChange(me,L))}),e.ALo(2,"tuiGetOpacity"),e.ALo(3,"tuiGetColorPipe"),e._UZ(4,"input",47),e.qZA(),e.TgZ(5,"tui-input-number",48),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw(4).$implicit,jt=e.oxw(3);return e.KtG(jt.onOpacityChange(me,L))}),e.ALo(6,"tuiGetOpacity"),e._uU(7," Opacity "),e.qZA()()}if(2&u){const r=e.oxw(4).$implicit;e.xp6(1),e.Q6J("tuiInputOpacity",e.lcZ(2,8,r.documentationPropertyValue))("tuiTextfieldLabelOutside",!0)("value",e.lcZ(3,10,r.documentationPropertyValue)),e.uIk("id",r.attrName),e.xp6(4),e.Q6J("max",100)("min",0)("ngModel",e.lcZ(6,12,r.documentationPropertyValue))("step",1)}}function rd(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-input-number",49),e.NdJ("ngModelChange",function(L){e.CHM(r);const me=e.oxw(4).$implicit;return e.KtG(me.onValueChange(L||0))}),e.qZA()}if(2&u){const r=e.oxw(4).$implicit;e.Q6J("nativeId",r.attrName)("ngModel",r.documentationPropertyValue)("step",1)("tuiTextfieldLabelOutside",!0)}}function sd(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-primitive-textfield",44),e.NdJ("valueChange",function(L){e.CHM(r);const me=e.oxw(5).$implicit;return e.KtG(me.onValueChange(L))}),e._uU(1," Default content "),e.qZA()}if(2&u){const r=e.oxw(5).$implicit;e.Q6J("nativeId",r.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",r.documentationPropertyValue.toString())}}function _l(u,b){if(1&u&&(e.ynx(0),e.YNc(1,sd,2,4,"tui-primitive-textfield",50),e.ALo(2,"tuiIsPrimitivePolymorpheusContentPipe"),e.BQk()),2&u){const r=e.oxw(4).$implicit;e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,r.documentationPropertyValue))}}function cu(u,b){if(1&u&&(e.ynx(0,37),e.YNc(1,nd,1,3,"tui-toggle",38),e.YNc(2,id,1,4,"tui-primitive-textfield",39),e.YNc(3,od,8,14,"div",40),e.YNc(4,rd,1,4,"tui-input-number",41),e.YNc(5,_l,3,3,"ng-container",42),e.BQk()),2&u){const r=e.oxw(3).$implicit;e.Q6J("ngSwitch",r.documentationPropertyType),e.xp6(1),e.Q6J("ngSwitchCase","boolean"),e.xp6(1),e.Q6J("ngSwitchCase","string"),e.xp6(1),e.Q6J("ngSwitchCase","color"),e.xp6(1),e.Q6J("ngSwitchCase","number"),e.xp6(1),e.Q6J("ngSwitchCase","PolymorpheusContent")}}function vl(u,b){if(1&u&&(e.ynx(0),e.YNc(1,lu,5,7,"tui-select",30),e.YNc(2,td,3,3,"ng-template",null,31,e.W1O),e.YNc(4,cu,6,6,"ng-template",null,32,e.W1O),e.BQk()),2&u){const r=e.MAs(5),f=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngIf",f.hasItems)("ngIfElse",r)}}function du(u,b){if(1&u&&(e.TgZ(0,"tui-notification",51),e.ALo(1,"async"),e._uU(2," Emit! "),e.qZA()),2&u){const r=e.oxw(2).$implicit;e.Q6J("@emitEvent",e.lcZ(1,1,r.emits$))}}function ad(u,b){if(1&u&&(e.TgZ(0,"td",27),e.YNc(1,vl,6,2,"ng-container",28),e.YNc(2,du,3,3,"ng-template",null,29,e.W1O),e.qZA()),2&u){const r=e.MAs(3),f=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",f.shouldShowValues)("ngIfElse",r)}}function ud(u,b){if(1&u&&(e.TgZ(0,"tr",11)(1,"td",12)(2,"div",13)(3,"code",14),e._uU(4),e.ALo(5,"tuiStripOptionalPipe"),e.qZA(),e.YNc(6,su,1,0,"tui-badge",15),e.ALo(7,"tuiIsOptionalPipe"),e.YNc(8,au,1,0,"tui-badge",16),e.qZA(),e.GkF(9,17),e.qZA(),e.TgZ(10,"td",12)(11,"span",18)(12,"code",19),e.YNc(13,ml,5,3,"ng-container",20),e.ALo(14,"tuiDocTypeReference"),e.qZA()()(),e.YNc(15,ad,4,2,"td",21),e.qZA()),2&u){const r=b.$implicit,f=e.oxw(3);e.ekj("t-deprecated",r.documentationPropertyDeprecated),e.xp6(3),e.Udp("color","var(--tui-accent-active)"),e.xp6(1),e.hij(" ",e.lcZ(5,10,r.attrName)," "),e.xp6(2),e.Q6J("ngIf",e.lcZ(7,12,r.attrName)),e.xp6(2),e.Q6J("ngIf",r.documentationPropertyDeprecated),e.xp6(1),e.Q6J("ngTemplateOutlet",r.template),e.xp6(4),e.Q6J("ngForOf",e.lcZ(14,14,r.documentationPropertyType)),e.xp6(2),e.Q6J("ngIf",f.showValues)}}function yl(u,b){if(1&u&&(e.TgZ(0,"table",4)(1,"tr",5)(2,"th",6),e._uU(3),e.qZA(),e.TgZ(4,"th",7),e._uU(5),e.qZA(),e.YNc(6,qc,2,1,"th",8),e.qZA(),e.YNc(7,ud,16,16,"tr",9),e.qZA()),2&u){const r=e.oxw().ngIf,f=e.oxw();e.xp6(3),e.Oqu(f.texts[2]),e.xp6(2),e.Oqu(f.type),e.xp6(1),e.Q6J("ngIf",f.showValues&&!f.isAPI),e.xp6(1),e.Q6J("ngForOf",r)}}function bl(u,b){if(1&u&&(e.ynx(0),e.YNc(1,yl,8,4,"table",3),e.BQk()),2&u){const r=b.ngIf;e.xp6(1),e.Q6J("ngIf",r.length)}}function Rs(u,b){1&u&&e._UZ(0,"span",8),2&u&&e.Q6J("textContent",b.polymorpheusOutlet)}function Cl(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"button",9),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(2);return e.KtG(L.copyExampleLink())}),e.ALo(1,"async"),e.qZA()}if(2&u){const r=e.oxw(2);e.Q6J("icon",r.options.linkIcon)("title",e.lcZ(1,2,r.copy$))}}function Dl(u,b){if(1&u&&(e.TgZ(0,"h3",5),e.YNc(1,Rs,1,1,"span",6),e.YNc(2,Cl,2,4,"button",7),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.heading),e.xp6(1),e.Q6J("ngIf",r.id)}}function ld(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function Th(u,b){if(1&u&&(e.TgZ(0,"h4",10),e.YNc(1,ld,2,1,"ng-container",11),e.qZA()),2&u){const r=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",r.description)}}function ba(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function cd(u,b){if(1&u&&(e.TgZ(0,"button",21),e.YNc(1,ba,2,1,"ng-container",11),e.qZA()),2&u){const r=e.oxw().$implicit,f=e.oxw(4);e.xp6(1),e.Q6J("polymorpheusOutlet",f.getTabTitle(r))}}function Tl(u,b){1&u&&(e.ynx(0),e.YNc(1,cd,2,1,"button",20),e.BQk())}function Ml(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function El(u,b){if(1&u&&(e.ynx(0),e.YNc(1,Ml,2,1,"ng-container",11),e.BQk()),2&u){const r=b.ngIf;e.xp6(1),e.Q6J("polymorpheusOutlet",r)}}function fu(u,b){if(1&u&&(e.TgZ(0,"button",25),e._uU(1),e.qZA()),2&u){const r=e.oxw(5);e.xp6(1),e.hij(" Edit on ",r.codeEditor.name," ")}}function Ol(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-loader",22),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(3).ngIf,me=e.oxw();return e.KtG(me.edit(L))}),e.ALo(1,"async"),e.YNc(2,El,2,1,"ng-container",23),e.YNc(3,fu,2,1,"ng-template",null,24,e.W1O),e.qZA()}if(2&u){const r=e.MAs(4),f=e.oxw(4);e.Q6J("overlay",!0)("showLoader",!!e.lcZ(1,4,f.loading$)),e.xp6(2),e.Q6J("ngIf",null==f.codeEditor?null:f.codeEditor.content)("ngIfElse",r)}}function Ca(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"div",16)(1,"tui-tabs-with-more",17),e.NdJ("activeItemIndexChange",function(L){e.CHM(r);const me=e.oxw(3);return e.KtG(me.activeItemIndex=L)}),e.YNc(2,Tl,2,0,"ng-container",18),e.qZA(),e.YNc(3,Ol,5,6,"tui-loader",19),e.ALo(4,"tuiMapper"),e.qZA()}if(2&u){const r=e.oxw().ngIf,f=e.oxw().ngIf,L=e.oxw();e.xp6(1),e.Q6J("activeItemIndex",L.activeItemIndex),e.xp6(1),e.Q6J("ngForOf",r),e.xp6(1),e.Q6J("ngIf",e.xi3(4,3,f,L.visible))}}function Da(u,b){if(1&u&&e.GkF(0,29),2&u){e.oxw(4);const r=e.MAs(5);e.Q6J("ngTemplateOutlet",r)}}const hu=function(u){return{$implicit:u}};function pu(u,b){if(1&u&&e.GkF(0,30),2&u){const r=e.oxw(2).ngIf,f=e.oxw().ngIf,L=e.oxw(),me=e.MAs(7);e.Q6J("ngTemplateOutlet",me)("ngTemplateOutletContext",e.VKq(2,hu,(null==f?null:f[r[L.activeItemIndex]])||""))}}function gu(u,b){if(1&u&&(e.TgZ(0,"div",26),e.YNc(1,Da,1,1,"ng-container",27),e.YNc(2,pu,1,4,"ng-template",null,28,e.W1O),e.qZA()),2&u){const r=b.index,f=e.MAs(3),L=e.oxw(3);e.ekj("t-content_animated",!L.isE2E)("t-content_visible",L.activeItemIndex===r),e.xp6(1),e.Q6J("ngIf",r===L.defaultTabIndex)("ngIfElse",f)}}function mu(u,b){if(1&u&&(e.ynx(0),e.YNc(1,Ca,5,6,"div",14),e.YNc(2,gu,4,6,"div",15),e.BQk()),2&u){const r=b.ngIf;e.xp6(1),e.Q6J("ngIf",r.length>1),e.xp6(1),e.Q6J("ngForOf",r)}}function aa(u,b){if(1&u&&(e.TgZ(0,"div",12),e.YNc(1,mu,3,2,"ng-container",13),e.ALo(2,"tuiDocExampleGetTabs"),e.qZA()),2&u){const r=b.ngIf,f=e.oxw();e.xp6(1),e.Q6J("ngIf",e.xi3(2,1,r,f.defaultTab))}}function dd(u,b){1&u&&(e.TgZ(0,"div",31),e.Hsn(1),e.qZA())}function xl(u,b){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const r=b.polymorpheusOutlet;e.xp6(1),e.hij(" ",r," ")}}function fd(u,b){if(1&u&&(e.ynx(0),e.YNc(1,xl,2,1,"ng-container",33),e.BQk()),2&u){const r=b.$implicit,f=e.oxw().$implicit;e.xp6(1),e.Q6J("polymorpheusOutlet",r)("polymorpheusOutletContext",e.VKq(2,hu,f))}}function hd(u,b){if(1&u&&(e.TgZ(0,"tui-doc-code",32),e.YNc(1,fd,2,4,"ng-container",18),e.qZA()),2&u){const r=b.$implicit,f=e.oxw();e.Q6J("code",r),e.xp6(1),e.Q6J("ngForOf",f.codeActions)}}function pd(u,b){1&u&&e._UZ(0,"tui-svg",16),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function wl(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"a",14),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(4),me=e.MAs(1);return e.KtG(L.onClick(me))}),e._uU(1),e.YNc(2,pd,1,1,"tui-svg",15),e.qZA()}if(2&u){const r=b.$implicit;e.Q6J("fragment",r.fragment)("routerLink",r.route),e.xp6(1),e.hij(" ",r.title," "),e.xp6(1),e.Q6J("polymorpheusOutlet",r.icon)}}function Pl(u,b){if(1&u&&(e.TgZ(0,"tui-opt-group",12),e.YNc(1,wl,3,4,"a",13),e.qZA()),2&u){const r=b.$implicit,f=b.index,L=e.oxw(3);e.Q6J("label",L.labels[f]||""),e.xp6(1),e.Q6J("ngForOf",r)}}function Ta(u,b){if(1&u&&(e.TgZ(0,"tui-data-list"),e.YNc(1,Pl,2,2,"tui-opt-group",11),e.ALo(2,"async"),e.qZA()),2&u){const r=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,r.filtered$))}}function _u(u,b){1&u&&(e.ynx(0),e.YNc(1,Ta,3,3,"tui-data-list",10),e.BQk())}const Ls=function(u,b){return{item:u,index:b}};function gd(u,b){if(1&u&&e.GkF(0,21),2&u){const r=b.$implicit,f=b.index,L=e.oxw(2).index;e.oxw();const me=e.MAs(12);e.Q6J("ngTemplateOutlet",me)("ngTemplateOutletContext",e.WLB(2,Ls,r,100*L+f))}}function md(u,b){if(1&u&&(e.TgZ(0,"div",20),e.YNc(1,gd,1,5,"ng-container",8),e.qZA()),2&u){const r=e.oxw().index,f=e.oxw();e.xp6(1),e.Q6J("ngForOf",f.items[r])}}function Mh(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-accordion-item",17),e.NdJ("openChange",function(L){const jt=e.CHM(r).index,Fn=e.oxw();return e.KtG(!!(Fn.openPagesArr[jt]=L))}),e.TgZ(1,"span",18)(2,"strong"),e._uU(3),e.qZA()(),e.YNc(4,md,2,1,"ng-template",19),e.qZA()}if(2&u){const r=b.$implicit,f=b.index,L=e.oxw();e.Q6J("borders",null)("open",!!L.openPagesArr[f]),e.xp6(3),e.Oqu(r)}}function _d(u,b){if(1&u&&e.GkF(0,21),2&u){const r=b.$implicit,f=b.index,L=e.oxw(),me=e.MAs(12);e.Q6J("ngTemplateOutlet",me)("ngTemplateOutletContext",e.WLB(2,Ls,r,L.items.length-1+f))}}function vu(u,b){1&u&&e._UZ(0,"tui-svg",16),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function vd(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"a",24),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(2);return e.KtG(L.closeMenu())}),e._uU(1),e.YNc(2,vu,1,1,"tui-svg",15),e.qZA()}if(2&u){const r=e.oxw().item,f=e.oxw();e.Q6J("routerLink",r.route)("tuiScrollIntoViewLink",f.isActive(r.route)),e.xp6(1),e.hij(" ",r.title," "),e.xp6(1),e.Q6J("polymorpheusOutlet",r.icon)}}function Al(u,b){1&u&&e._UZ(0,"tui-svg",16),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function Ma(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(2).index,me=e.oxw();return e.KtG(me.onGroupClick(L))}),e._UZ(1,"tui-svg",31),e._uU(2),e.YNc(3,Al,1,1,"tui-svg",15),e.qZA()}if(2&u){const r=e.oxw(2),f=r.index,L=r.item,me=e.oxw();e.xp6(1),e.ekj("t-chevron_active",!!me.openPagesGroupsArr[f]),e.Q6J("src",me.icons.more),e.xp6(1),e.hij(" ",L.title," "),e.xp6(1),e.Q6J("polymorpheusOutlet",L.icon)}}function yu(u,b){1&u&&e._UZ(0,"tui-svg",16),2&u&&e.Q6J("src",b.polymorpheusOutlet)}function Sl(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"a",32),e.NdJ("click",function(){e.CHM(r);const L=e.oxw(3);return e.KtG(L.closeMenu())}),e._uU(1),e.YNc(2,yu,1,1,"tui-svg",15),e.qZA()}if(2&u){const r=b.$implicit,f=e.oxw(3);e.Q6J("fragment",r.fragment)("routerLink",r.route)("tuiScrollIntoViewLink",f.isActive(r.route)),e.xp6(1),e.hij(" ",r.title," "),e.xp6(1),e.Q6J("polymorpheusOutlet",r.icon)}}const Il=function(){return{exact:!1}};function kl(u,b){if(1&u&&(e.TgZ(0,"div",25),e.YNc(1,Ma,4,5,"button",26),e.TgZ(2,"tui-expand",27)(3,"div",28),e.YNc(4,Sl,3,5,"a",29),e.qZA()()()),2&u){const r=e.oxw(),f=r.item,L=r.index,me=e.oxw();e.Q6J("routerLinkActiveOptions",e.DdM(4,Il)),e.xp6(1),e.Q6J("ngIf",f.subPages),e.xp6(1),e.Q6J("expanded",!!me.openPagesGroupsArr[L]),e.xp6(2),e.Q6J("ngForOf",me.$pages(f.subPages))}}function Ns(u,b){if(1&u&&(e.YNc(0,vd,3,4,"a",22),e.YNc(1,kl,5,5,"ng-template",null,23,e.W1O)),2&u){const r=b.item,f=e.MAs(2);e.Q6J("ngIf",!r.subPages)("ngIfElse",f)}}const yd=["tuiDocHeader",""];function bd(u,b){1&u&&e._UZ(0,"tui-doc-navigation",4)}function Cd(u,b){1&u&&e._UZ(0,"img",5),2&u&&e.Q6J("src",b.polymorpheusOutlet,e.LSH)}function Dd(u,b){1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u&&(e.xp6(1),e.Oqu(", "))}function Td(u,b){if(1&u&&(e.ynx(0),e._UZ(1,"a",2),e.YNc(2,Dd,2,1,"ng-container",3),e.BQk()),2&u){const r=b.$implicit,f=b.last,L=e.oxw();e.xp6(1),e.Q6J("innerText",r)("routerLink",L.getRouterLink(r)),e.xp6(1),e.Q6J("ngIf",!f)}}function ls(u,b){if(1&u&&e._UZ(0,"a",1),2&u){const r=b.polymorpheusOutlet,f=e.oxw();e.Q6J("href",r,e.LSH)("icon",f.icons.code)("title",f.text)}}function Md(u,b){1&u&&e._UZ(0,"tui-theme-night")}const Ed=[[["tuiDocNavigation"]],[["tuiDocHeader"]],[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],Od=["tuiDocNavigation","tuiDocHeader","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];function xd(u,b){1&u&&e._UZ(0,"tui-tag",9)}function wd(u,b){if(1&u&&e._UZ(0,"tui-tag",10),2&u){const r=e.oxw();e.Q6J("autoColor",!0)("value",r.package)}}const Rl=function(u){return{exact:u}};function Pd(u,b){if(1&u&&(e.TgZ(0,"a",14),e.ALo(1,"tuiReplace"),e._uU(2),e.qZA()),2&u){const r=e.oxw().ngIf,f=e.oxw().first,L=e.oxw(2);e.Q6J("routerLink",f?"./":e.Dn7(1,3,r,L.from,L.to))("routerLinkActiveOptions",e.VKq(7,Rl,f)),e.xp6(2),e.hij(" ",r," ")}}function Ad(u,b){1&u&&(e.ynx(0),e.YNc(1,Pd,3,9,"a",13),e.BQk())}function Sd(u,b){if(1&u&&(e.ynx(0),e.YNc(1,Ad,2,0,"ng-container",12),e.BQk()),2&u){const r=b.$implicit,f=b.index,L=e.oxw(2);e.xp6(1),e.Q6J("ngIf",r.pageTab||L.defaultTabs[f])}}function Id(u,b){if(1&u){const r=e.EpF();e.TgZ(0,"tui-tabs-with-more",11),e.NdJ("activeItemIndexChange",function(L){e.CHM(r);const me=e.oxw();return e.KtG(me.activeItemIndex=L)}),e.YNc(1,Sd,2,1,"ng-container",8),e.qZA()}if(2&u){const r=e.oxw();e.Q6J("activeItemIndex",r.activeItemIndex),e.xp6(1),e.Q6J("ngForOf",r.tabConnectors)}}function Ea(u,b){if(1&u&&e._UZ(0,"tui-doc-see-also",15),2&u){const r=e.oxw();e.Q6J("seeAlso",r.seeAlso)}}function cs(u,b){if(1&u&&e.GkF(0,17),2&u){const r=e.oxw().$implicit;e.Q6J("ngTemplateOutlet",r.template)}}function ua(u,b){if(1&u&&(e.ynx(0),e.YNc(1,cs,1,1,"ng-container",16),e.BQk()),2&u){const r=b.index,f=e.oxw();e.xp6(1),e.Q6J("ngIf",r===f.activeItemIndex)}}let bu=(()=>{class u{constructor(r){this.markdownCodeProcessor=r,this.rawLoader$$=new z.X(""),this.filename="",this.copy$=new F.x,this.icon$=this.copy$.pipe((0,pe.w)(()=>(0,ne.H)(2e3).pipe((0,ce.U)(()=>"tuiIconCopyLarge"),(0,de.O)("tuiIconCheckLarge")))),this.processor$=this.rawLoader$$.pipe((0,pe.w)(k.JQ),(0,ce.U)(f=>this.markdownCodeProcessor(f)))}set code(r){this.rawLoader$$.next(r)}get hasFilename(){return!!this.filename}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.Es))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-code"]],hostVars:2,hostBindings:function(r,f){2&r&&e.ekj("_has-filename",f.hasFilename)},inputs:{filename:"filename",code:"code"},ngContentSelectors:ys,decls:3,vars:4,consts:[["class","t-header",4,"ngIf"],["class","t-code",4,"ngFor","ngForOf"],[1,"t-header"],[1,"t-code"],[3,"lineNumbers","highlight"],[1,"t-code-actions"],["tuiIconButton","","appearance","icon","size","xs",1,"t-copy-button",3,"icon","cdkCopyToClipboard","click"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,gr,2,1,"p",0),e.YNc(1,ra,13,6,"pre",1),e.ALo(2,"async")),2&r&&(e.Q6J("ngIf",f.filename),e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,2,f.processor$)))},dependencies:[Ae.v0,Oe.O5,Oe.sg,xi.y$,Yo,Oe.Ov],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}.t-header[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{border-radius:.25rem}.t-code[_ngcontent-%COMP%]{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-base-03)}.t-code[_ngcontent-%COMP%] .hljs-ln{width:-webkit-max-content;width:max-content}.t-code[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{margin-top:1rem}.t-code-actions[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}tui-root._mobile[_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%]{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-base-04)}.t-copy-button[_ngcontent-%COMP%] +*:not(:empty){margin-right:.375rem}.hljs[_ngcontent-%COMP%]:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar, .hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty), tui-root._mobile [_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){padding:1rem}.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:var(--tui-base-01)}@supports (background: color-mix(in srgb,var(--tui-base-01),#222 2%)){.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:color-mix(in srgb,var(--tui-base-01),#222 2%)}}"],changeDetection:0}),u})(),Cu=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,se.EI,xi._l,Ae.fN,Do]]}),u})(),Oh=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Ae.fN]]}),u})(),Du=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn){var qn,po;this.options=r,this.isMobile=f,this.el=L,this.locationRef=me,this.urlSerializer=jt,this.texts=Fn,this.urlStateHandler=Zn,this.control=null,this.sticky=!0,this.template=null,this.updateOnVariants=["change","blur","submit"],this.updateOn=this.params.updateOn||this.updateOnVariants[0],this.opaque=(0,k.cd)(null===(qn=this.params.sandboxOpaque)||void 0===qn||qn),this.expanded=(0,k.cd)(null!==(po=this.params.sandboxExpanded)&&void 0!==po&&po),this.mode=this.params.tuiMode||null,this.sandboxWidth=(0,tr.oY)(this.params.sandboxWidth),this.change$=new F.x,this.items=["onLight","onDark"]}onResize(){this.updateWidth(),this.onMouseUp()}onMouseUp(){this.updateUrl({sandboxWidth:this.sandboxWidth})}ngOnInit(){this.createForm(),this.updateWidth(this.sandboxWidth+this.delta)}onModeChange(r){this.mode=r,this.updateUrl({sandboxWidth:this.sandboxWidth}),this.change$.next()}toggleDetails(){this.expanded=!this.expanded,this.updateUrl({sandboxExpanded:this.expanded})}changeOpaque(r){this.opaque=r,this.updateUrl({sandboxOpaque:this.opaque})}updateOnChange(r){this.updateOn=r,this.updateUrl({updateOn:r}),this.createForm()}updateWidth(r=NaN){if(!this.resizer||!this.resizeable||!this.content)return;const f=r||this.resizeable.nativeElement.clientWidth,L=this.el.nativeElement.clientWidth,me=Math.round((0,tr.Ki)(f,160,L))-this.delta,jt=fu)}])],ngContentSelectors:ys,decls:16,vars:14,consts:[[1,"t-bg-toggle",3,"tuiMode"],["tooltip",""],[4,"ngIf","ngIfElse"],["desktop",""],["size","m",1,"t-checkbox",3,"ngModel","ngModelChange"],["tuiResizeable","",1,"t-wrapper"],["id","demo-content",1,"t-content"],["content",""],["class","t-form",3,"formGroup",4,"ngIf"],[1,"t-resizer",3,"tuiResizer","tuiSizeChange"],["resizer",""],["routerLink","/directives/mode","tuiLink","","tuiMode","onDark"],["tuiTextfieldSize","s",1,"t-mode",3,"ngModel","tuiHintContent","tuiTextfieldCleaner","ngModelChange"],[3,"items",4,"tuiDataList"],[3,"items"],["describeId","form",3,"content"],["tuiGroup","",1,"t-group",3,"collapsed"],["nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","item","ngModel","ngModelChange"],["item","onDark","nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","ngModel","ngModelChange"],["item","onLight","nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","ngModel","ngModelChange"],[1,"t-form",3,"formGroup"],[1,"t-input-wrapper"],[3,"ngTemplateOutlet"],["automation-id","tui-demo-button__toggle-details","size","s","tuiButton","","type","button",1,"t-button",3,"iconRight","click"],["icon",""],[1,"t-expand",3,"expanded"],["tuiExpandContent",""],[1,"t-icon",3,"src"],[1,"t-value"],["tuiGroup","",1,"t-form-controls"],["automation-id","tui-demo-select__expand-update-on","tuiTextfieldSize","s",1,"t-select",3,"ngModel","ngModelOptions","ngModelChange"],["automation-id","tui-demo-button__reset-state","size","s","tuiButton","","type","reset",1,"tui-group__auto-width-item"],["automation-id","tui-demo-button__submit-state","size","s","tuiButton","","type","submit",1,"tui-group__auto-width-item"]],template:function(r,f){if(1&r&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,Yc,4,1,"ng-template",null,1,e.W1O),e.YNc(3,Kc,4,3,"ng-container",2),e.YNc(4,pl,9,9,"ng-template",null,3,e.W1O),e.TgZ(6,"tui-checkbox-labeled",4),e.NdJ("ngModelChange",function(me){return f.changeOpaque(me)}),e._uU(7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",6)(10,"div",null,7),e.YNc(12,Jc,9,5,"form",8),e.Hsn(13),e.qZA()(),e.TgZ(14,"div",9,10),e.NdJ("tuiSizeChange",function(me){return f.updateWidth(me[0])}),e.qZA()()),2&r){const L=e.MAs(5);e.Q6J("tuiMode",null),e.xp6(3),e.Q6J("ngIf",f.isMobile)("ngIfElse",L),e.xp6(3),e.Q6J("ngModel",f.opaque),e.xp6(1),e.hij(" ",f.texts[1]," "),e.xp6(1),e.ekj("t-wrapper_dark","onDark"===f.mode)("t-wrapper_gray","onLight"===f.mode)("t-wrapper_transparent",!f.opaque),e.xp6(4),e.Q6J("ngIf",f.testForm),e.xp6(2),e.Q6J("tuiResizer",e.DdM(13,sa))}},dependencies:[Ve.V,J,T,je.w,Nr,ss.p,Ae.v0,se.PN,qe,R.w,wn.yS,Oe.O5,P,be.sz,ft.JJ,ft.On,S.bZ,be.be,q.gX,ze.gZ,mr,ft._Y,ft.JL,ft.sg,Oe.tP,mt,zr,Oe.Ts],styles:['[_nghost-%COMP%]{position:relative;display:block;min-width:100%;margin:1.5rem 0}.t-bg-toggle[_ngcontent-%COMP%]{position:absolute;bottom:calc(100% + .75rem);display:flex;align-items:center;justify-content:flex-end;pointer-events:none;width:100%}.t-bg-toggle[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:auto}.t-wrapper[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-dropdown);display:flex;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);max-width:100%;min-height:6rem;width:100%;min-width:10rem;background-color:var(--tui-base-01);overflow:hidden}.t-wrapper.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-02) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-02) 75%);background-size:1.25rem 1.25rem;background-position:0 0,0 .625rem,.625rem -.625rem,-.625rem 0}.t-wrapper.t-wrapper_dark[_ngcontent-%COMP%]{background-color:#454e58;color:var(--tui-base-01)}.t-wrapper.t-wrapper_gray[_ngcontent-%COMP%]{background-color:#e5e7ea}.t-wrapper.t-wrapper_dark.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-focus) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-focus) 75%)}.t-wrapper.t-wrapper_gray.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-05) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-05) 75%)}tui-root._mobile[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:auto}.t-content[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;padding:1.5rem;box-sizing:border-box;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1rem}.t-form[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:flex-start}.t-input-wrapper[_ngcontent-%COMP%]{width:100%;margin-bottom:.5rem}.t-expand[_ngcontent-%COMP%]{width:100%}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}.t-icon_rotated[_ngcontent-%COMP%]{transform:rotate(180deg)}.t-value[_ngcontent-%COMP%]{flex:1;background:var(--tui-clear-inverse);padding:.75rem;border-radius:.25rem}.t-mode[_ngcontent-%COMP%]{width:12.5rem}.t-select[_ngcontent-%COMP%]{max-width:15rem}.t-resizer[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-dropdown);position:relative;width:3.5rem;min-height:inherit;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-left:1px solid var(--tui-base-03);outline:none;background:var(--tui-base-01);color:var(--tui-text-01)}.t-resizer[_ngcontent-%COMP%]:before, .t-resizer[_ngcontent-%COMP%]:after{content:"";position:absolute;top:.75rem;left:50%;bottom:calc(50% + 1rem);width:1px;background:var(--tui-base-04);box-shadow:-.25rem 0 var(--tui-base-04);transform:translate(0)}.t-resizer[_ngcontent-%COMP%]:after{bottom:.75rem;top:calc(50% + 1rem)}tui-root._mobile[_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%]{display:none}.t-resizer-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);position:relative;z-index:1;padding:.75rem;background:var(--tui-base-01)}.wrapper_light[_ngcontent-%COMP%] .t-resizer-text[_ngcontent-%COMP%]{background:#3e464e}.t-group[_ngcontent-%COMP%], .t-checkbox[_ngcontent-%COMP%]{margin-left:.75rem}.t-button[_ngcontent-%COMP%], .t-form-controls[_ngcontent-%COMP%]{margin-top:.75rem}@supports ((position: -webkit-sticky) or (position: sticky)){@media screen and (min-height: 37.5rem){._sticky[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:4.625rem;z-index:2}}}'],changeDetection:0}),(0,So.gn)([Ui.UM],u.prototype,"updateUrl",null),u})(),Tu=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,ft.UX,ft.u5,wn.Bz,Ve.j,Ae.fN,ge,Ge,ze.n6,je.Q,R.z,br,ss.s,se.EI,E,q.pc,be.cn,S.go,er]]}),u})(),Ll=(()=>{class u{constructor(r,f,L,me,jt,Fn){this.template=r,this.locationRef=f,this.activatedRoute=L,this.urlSerializer=me,this.urlStateHandler=jt,this.alerts=Fn,this.documentationPropertyName="",this.documentationPropertyMode=null,this.documentationPropertyType="",this.documentationPropertyDeprecated=!1,this.documentationPropertyValues=null,this.documentationPropertyValueChange=new e.vpe,this.changed$=new F.x,this.emits$=new z.X(1)}ngOnInit(){this.parseParams(this.activatedRoute.snapshot.queryParams)}get attrName(){switch(this.documentationPropertyMode){case"input":return`[${this.documentationPropertyName}]`;case"output":return`(${this.documentationPropertyName})`;case"input-output":return`[(${this.documentationPropertyName})]`;default:return this.documentationPropertyName}}get hasItems(){return!!this.documentationPropertyValues}get shouldShowValues(){return"output"!==this.documentationPropertyMode}ngOnChanges(){this.changed$.next()}onValueChange(r){this.documentationPropertyValue=r,this.documentationPropertyValueChange.emit(r),this.setQueryParam(r)}emitEvent(r){let f;console.info(this.attrName,r),this.emits$.next(this.emits$.value+1),void 0!==r&&(f=(0,k.sj)(r,2)),this.alerts.open(f,{label:this.attrName}).subscribe()}parseParams(r){const f=r[this.documentationPropertyName],L=r[`${this.documentationPropertyName}$`];if(!f&&!L)return;let me=L&&this.documentationPropertyValues?this.documentationPropertyValues[L]:(0,k.p8)(f);"string"===this.documentationPropertyType&&(0,Qt.dt)(me)&&(me=me.toString()),this.onValueChange(me)}setQueryParam(r){const f=this.urlSerializer.parse(this.locationRef.path()),L=r instanceof Object,me=L&&this.documentationPropertyValues?this.documentationPropertyValues.indexOf(r):r,Fn=this.documentationPropertyName+(L?"$":"");f.queryParams=Object.assign(Object.assign({},f.queryParams),{[Fn]:me}),this.locationRef.go(this.urlStateHandler(f))}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.Rgc),e.Y36(Oe.Ye),e.Y36(wn.gz),e.Y36(wn.Hx),e.Y36(s.Ii),e.Y36(Bt))},u.\u0275dir=e.lG2({type:u,selectors:[["ng-template","documentationPropertyName",""]],inputs:{documentationPropertyName:"documentationPropertyName",documentationPropertyMode:"documentationPropertyMode",documentationPropertyType:"documentationPropertyType",documentationPropertyValue:"documentationPropertyValue",documentationPropertyDeprecated:"documentationPropertyDeprecated",documentationPropertyValues:"documentationPropertyValues"},outputs:{documentationPropertyValueChange:"documentationPropertyValueChange"},exportAs:["documentationProperty"],features:[e.TTD]}),u})(),Eu=(()=>{class u{transform(r){return 4===r.length?r.split("").reduce((L,me)=>[...L,me,me],[]).join("").replace("#",""):r.startsWith("#")?r:"transparent"===r?"#000000":function ir(u,b,r){return`#${[u,b,r].map(f=>f.toString(16).padStart(2,"0")).join("")}`}(...r.replace("rgb(","").replace("rgba(","").replace(")","").replace(" ","").split(",").map(L=>Number.parseInt(L,10)))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiGetColorPipe",type:u,pure:!0}),u})(),Ou=(()=>{class u{transform(r){if(r.startsWith("#")||r.startsWith("rgb("))return 100;if("transparent"===r)return 0;const f=r.lastIndexOf(","),L=r.slice(f).replace(")","").replace(" ","").replace(",","");return Math.round(100*Number.parseFloat(L))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiGetOpacity",type:u,pure:!0}),u})(),Rd=(()=>{class u{constructor(r,f){this.renderer=r,this.focusable=f}set tuiInputOpacity(r){const{nativeFocusableElement:f}=this.focusable;f&&this.renderer.setStyle(f,"opacity",r/100)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.Qsj),e.Y36(Xt.KZ))},u.\u0275dir=e.lG2({type:u,selectors:[["","tuiInputOpacity",""]],inputs:{tuiInputOpacity:"tuiInputOpacity"}}),u})(),Nl=(()=>{class u{transform(r){return r.replace("?","")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiStripOptionalPipe",type:u,pure:!0}),u})(),Oa=(()=>{class u{transform(r){return r.includes("?")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiIsOptionalPipe",type:u,pure:!0}),u})(),Fl=(()=>{class u{constructor(r,f){this.parser=r,this.linkHandler=f}transform(r){return this.parser(r).map(({type:f,extracted:L})=>{var me,jt;return{type:f,extracted:L,reference:null!==(jt=null===(me=this.linkHandler)||void 0===me?void 0:me.call(this,L))&&void 0!==jt?jt:null}}).sort((f,L)=>{var me,jt,Fn;return null!==(Fn=null===(me=L.reference)||void 0===me?void 0:me.localeCompare(null!==(jt=f.reference)&&void 0!==jt?jt:""))&&void 0!==Fn?Fn:-1})}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.B$,16),e.Y36(s.x9,16))},u.\u0275pipe=e.Yjl({name:"tuiDocTypeReference",type:u,pure:!0}),u})(),xu=(()=>{class u{transform(r){return r.includes("null")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiShowCleanerPipe",type:u,pure:!0}),u})(),Ld=(()=>{class u{constructor(r){this.isE2E=r}transform(r,f=2){return this.isE2E&&"function"==typeof r?"\u03bb(x) => y":(0,k.sj)(r,f)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Xt.oD,16))},u.\u0275pipe=e.Yjl({name:"tuiInspectAny",type:u,pure:!0}),u})(),Oo=(()=>{class u{transform(r){return(0,Qt.Aj)(r)||(0,Qt.dt)(r)}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiIsPrimitivePolymorpheusContentPipe",type:u,pure:!0}),u})(),Bl=(()=>{class u{constructor(r,f,L,me,jt,Fn){this.cdr=r,this.texts=f,this.excludedProperties=L,this.destroy$=me,this.getColor=jt,this.getOpacity=Fn,this.heading="",this.showValues=!0,this.isAPI=!1,this.propertiesConnectors=ee.Mm,this.activeItemIndex=0,this.matcher=(Zn,qn)=>!qn.has(Zn.documentationPropertyName)}ngAfterContentInit(){(0,ui.ll)(this.propertiesConnectors).pipe((0,pe.w)(r=>(0,W.T)(...r.map(({changed$:f})=>f))),(0,ui.NA)(this.cdr),(0,Y.R)(this.destroy$)).subscribe()}get type(){return this.isAPI?this.texts[0]:this.texts[1]}onColorChange(r,f){const L=this.getOpacity.transform(r.documentationPropertyValue||"");if(100===L)return void r.onValueChange(f);const jt=`rgba(${_r(f).join(", ")}, ${L/100})`;r.onValueChange(jt)}onOpacityChange(r,f){const jt=`rgba(${_r(this.getColor.transform(r.documentationPropertyValue||""))}, ${(f||0)/100})`;r.onValueChange(jt)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.sBO),e.Y36(s.IK),e.Y36(s.et),e.Y36(Dt.a3,2),e.Y36(Eu),e.Y36(Ou))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-documentation"]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,Ll,4),2&r){let me;e.iGM(me=e.CRH())&&(f.propertiesConnectors=me)}},inputs:{heading:"heading",showValues:"showValues",isAPI:"isAPI"},features:[e._Bn([Eu,Ou,Dt.a3])],ngContentSelectors:ys,decls:4,vars:6,consts:[["class","t-heading",4,"ngIf"],[4,"ngIf"],[1,"t-heading"],["class","t-table",4,"ngIf"],[1,"t-table"],[1,"t-row","t-row_header"],[1,"t-th","t-cell","t-cell_prop"],[1,"t-th"],["class","t-th t-cell t-th_value",4,"ngIf"],["class","t-row",3,"t-deprecated",4,"ngFor","ngForOf"],[1,"t-th","t-cell","t-th_value"],[1,"t-row"],[1,"t-cell"],["automation-id","tui-documentation__property-name",1,"t-property","t-additional-info"],[1,"t-property-code"],["size","s","status","neutral","value","Optional",4,"ngIf"],["size","s","status","error","value","Deprecated",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"type"],[1,"t-code-type"],[4,"ngFor","ngForOf"],["class","t-cell t-cell_value",4,"ngIf"],["size","s","status","neutral","value","Optional"],["size","s","status","error","value","Deprecated"],["target","_blank","class","t-code-reference",4,"ngIf","ngIfElse"],["default",""],["target","_blank",1,"t-code-reference"],[1,"t-cell","t-cell_value"],[4,"ngIf","ngIfElse"],["elseEmitter",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange",4,"ngIf","ngIfElse"],["selectContent",""],["noItems",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange"],[1,"t-exception"],[3,"itemContent","items",4,"tuiDataList"],[3,"itemContent","items"],[3,"ngSwitch"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngSwitchCase"],["tuiGroup","",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange"],["tuiGroup",""],["tuiTextfieldSize","m",3,"tuiInputOpacity","tuiTextfieldLabelOutside","value","valueChange"],["tuiTextfield","","type","text"],["tuiTextfieldSize","m",3,"max","min","ngModel","step","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngIf"],[1,"t-output"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,Qc,2,1,"h1",0),e.Hsn(1),e.YNc(2,bl,2,1,"ng-container",1),e.ALo(3,"tuiFilter")),2&r&&(e.Q6J("ngIf",f.heading),e.xp6(2),e.Q6J("ngIf",e.Dn7(3,2,f.propertiesConnectors,f.matcher,f.excludedProperties)))},dependencies:[Bo,J,T,ma,N.yc,N.MB,hi,Se.L,Oe.O5,Oe.sg,Oe.tP,P,et.Ek,be.sz,ft.JJ,ft.On,be.be,be.xT,q.gX,Oe.RF,Oe.n9,N.B1,ze.gZ,Rd,oi,Vr,Nl,Oa,Fl,xu,Ld,Ou,Eu,Oo,Oe.Ov],styles:['[_nghost-%COMP%]{display:block;min-width:100%}.t-table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}.t-row[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--tui-base-03)}tui-root._mobile[_nghost-%COMP%] .t-row[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}tui-root._mobile[_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%]{display:none}.t-cell[_ngcontent-%COMP%]{padding:1rem 1rem .875rem}.t-cell[_ngcontent-%COMP%]:first-child{padding-left:0}.t-cell[_ngcontent-%COMP%]:last-child{padding-right:0}.t-cell_prop[_ngcontent-%COMP%]{width:40%}.t-cell_value[_ngcontent-%COMP%]{text-align:right}tui-root._mobile[_nghost-%COMP%] .t-cell[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-cell[_ngcontent-%COMP%]{width:100%;height:auto;padding:.5rem 0;text-align:left}.t-th[_ngcontent-%COMP%]{padding:.5rem 1rem;color:var(--tui-text-02);font-weight:normal;text-align:left}.t-th_value[_ngcontent-%COMP%]{max-width:20rem;text-align:right}tui-root._mobile[_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%]{width:9.375rem}.t-property[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-bottom:.25rem;font-family:monospace;color:#8f75d1}tui-root._mobile[_nghost-%COMP%] .t-property[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-property[_ngcontent-%COMP%]{padding:.5rem 0}.t-type[_ngcontent-%COMP%]{font-family:monospace}.t-deprecated[_ngcontent-%COMP%] .t-property-code[_ngcontent-%COMP%]{text-decoration:line-through}.t-deprecated-label[_ngcontent-%COMP%]{margin-right:.125rem;color:var(--tui-error-fill);font-size:.75rem}.t-additional-info[_ngcontent-%COMP%]{display:flex;grid-gap:.3125rem;gap:.3125rem;align-items:center}.t-exception[_ngcontent-%COMP%]{display:block;width:-webkit-max-content;width:max-content}.t-output[_ngcontent-%COMP%]{text-align:left;opacity:0}.t-heading[_ngcontent-%COMP%]{font:var(--tui-font-heading-4)}.t-code-type[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start}.t-code-reference[_ngcontent-%COMP%]{display:inline-flex;color:var(--tui-link);text-decoration:none;align-items:center;justify-content:center;grid-gap:3px;gap:3px}.t-code-reference[_ngcontent-%COMP%]:after{content:"";font-size:1rem;width:1rem;height:1rem;background:currentColor;-webkit-mask:url(\'data:image/svg+xml,\') center / 100%;mask:url(\'data:image/svg+xml,\') center / 100%}'],data:{animation:[(0,Rt.X$)("emitEvent",[(0,Rt.eR)(":increment",[(0,Rt.oB)({opacity:1}),(0,Rt.jt)("500ms ease-in")])])]},changeDetection:0}),u})(),Nd=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})(),wu=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,ft.u5,wn.Bz,Gs,ge,us,Ve.j,Fi,R.z,ze.n6,Nd,N.KW,be.cn,et.dp,q.pc,E,Se.H,To]]}),u})();const Pu={codeEditorVisibilityHandler:u=>Boolean(u.TypeScript&&u.HTML),tabTitles:new Map,fullsize:!0,linkIcon:"tuiIconLink"},Ul=(0,Qt.JN)(Pu);function Fd(u){return(0,Qt.vK)(Ul,u,Pu)}let Bd=(()=>{class u{transform(r,f){return[f,...Object.keys(r)]}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275pipe=e.Yjl({name:"tuiDocExampleGetTabs",type:u,pure:!0}),u})(),Ud=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,qn,po,Cr,Dr,Qo,Bs){this.clipboard=r,this.alerts=f,this.location=L,this.copyTexts$=me,this.texts=jt,this.codeEditor=Fn,this.processContent=Zn,this.isE2E=qn,this.codeActions=po,this.router=Cr,this.route=Dr,this.ngLocation=Qo,this.options=Bs,this.rawLoader$$=new z.X({}),this.id=null,this.fullsize=this.options.fullsize,this.componentName=this.location.pathname.slice(1),this.defaultTabIndex=0,this.defaultTab=this.texts[this.defaultTabIndex],this.activeItemIndex=this.defaultTabIndex,this.copy$=this.copyTexts$.pipe((0,ce.U)(([is])=>is)),this.processor$=this.rawLoader$$.pipe((0,pe.w)(k.vP),(0,ce.U)(is=>this.processContent(is))),this.loading$=new F.x,this.visible=is=>Boolean(this.codeEditor&&this.options.codeEditorVisibilityHandler(is))}set content(r){this.rawLoader$$.next(r)}getTabTitle(r){return this.options.tabTitles.get(r)||r}copyExampleLink(){const r=this.location.href.indexOf("#"),L=`${r>-1?this.location.href.slice(0,Math.max(0,r)):this.location.href}#${this.id}`;this.setFragmentWithoutRedirect(this.id),this.clipboard.copy(L),this.alerts.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}edit(r){var f;this.loading$.next(!0),null===(f=this.codeEditor)||void 0===f||f.edit(this.componentName,this.id||"",r).then(()=>this.loading$.next(!1)).catch(()=>this.loading$.next(!1))}setFragmentWithoutRedirect(r){const f=this.router.createUrlTree([],{relativeTo:this.route,fragment:r||""}).toString();this.ngLocation.go(f)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(Co),e.Y36(Bt),e.Y36(Ut.Ct),e.Y36(ko.UV),e.Y36(s.mv),e.Y36(s.lW,8),e.Y36(s.$_),e.Y36(Xt.oD),e.Y36(s.mT),e.Y36(wn.F0),e.Y36(wn.gz),e.Y36(Oe.Ye),e.Y36(Ul))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-example"]],hostVars:2,hostBindings:function(r,f){2&r&&e.ekj("_fullsize",f.fullsize)},inputs:{id:"id",heading:"heading",description:"description",content:"content",fullsize:"fullsize",componentName:"componentName"},ngContentSelectors:ys,decls:8,vars:5,consts:[["class","t-title",4,"ngIf"],["class","t-description",4,"ngIf"],["class","t-example",4,"ngIf"],["preview",""],["codeSection",""],[1,"t-title"],[3,"textContent",4,"polymorpheusOutlet"],["appearance","icon","size","xs","tuiIconButton","","type","button","class","t-link-icon",3,"icon","title","click",4,"ngIf"],[3,"textContent"],["appearance","icon","size","xs","tuiIconButton","","type","button",1,"t-link-icon",3,"icon","title","click"],[1,"t-description"],[4,"polymorpheusOutlet"],[1,"t-example"],[4,"ngIf"],["class","t-tabs-wrapper",4,"ngIf"],["class","t-content",3,"t-content_animated","t-content_visible",4,"ngFor","ngForOf"],[1,"t-tabs-wrapper"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngFor","ngForOf"],["size","xs",3,"overlay","showLoader","click",4,"ngIf"],["tuiTab","",4,"tuiItem"],["tuiTab",""],["size","xs",3,"overlay","showLoader","click"],[4,"ngIf","ngIfElse"],["defaultEditContent",""],["appearance","flat","size","s","tuiButton","","type","button"],[1,"t-content"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["anotherTab",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["automation-id","tui-doc-example",1,"t-demo"],[3,"code"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(r,f){1&r&&(e.F$t(),e.YNc(0,Dl,3,2,"h3",0),e.YNc(1,Th,2,1,"h4",1),e.YNc(2,aa,3,4,"div",2),e.ALo(3,"async"),e.YNc(4,dd,2,0,"ng-template",null,3,e.W1O),e.YNc(6,hd,2,2,"ng-template",null,4,e.W1O)),2&r&&(e.Q6J("ngIf",f.heading),e.xp6(1),e.Q6J("ngIf",f.description),e.xp6(1),e.Q6J("ngIf",e.lcZ(3,3,f.processor$)))},dependencies:[Ae.v0,qu,ns,$e.kM,bu,Oe.O5,Le.Li,Oe.sg,jo,Oe.tP,Oe.Ov,Bd,Pt],styles:["[_nghost-%COMP%]{position:relative;display:block;padding-top:3.5rem;clear:right}[_nghost-%COMP%]:target{animation:1s .3s tuiShaking}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{padding-top:2rem}.t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-5);margin:0 0 .5rem}tui-root._mobile[_nghost-%COMP%] .t-title[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-6)}.t-description[_ngcontent-%COMP%]{font:var(--tui-font-text-m);font-weight:normal;margin:0}.t-title[_ngcontent-%COMP%]:first-letter, .t-description[_ngcontent-%COMP%]:first-letter{text-transform:capitalize}.t-example[_ngcontent-%COMP%]{position:relative;margin-top:1.5rem;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem #0000001a;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-example[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-example[_ngcontent-%COMP%]{margin-top:.75rem}.t-tabs-wrapper[_ngcontent-%COMP%]{display:flex;padding:0 .875rem 0 2rem;box-shadow:inset 0 -1px var(--tui-base-03);justify-content:space-between;align-items:center}tui-root._mobile[_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%]{padding:0 .875rem 0 1rem}.t-tabs[_ngcontent-%COMP%]{flex-grow:1}.t-demo[_ngcontent-%COMP%]{padding:2rem;max-width:100%;box-sizing:border-box;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar, .t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .t-demo[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-demo[_ngcontent-%COMP%]{padding:1rem}[_nghost-%COMP%]:not(._fullsize) .t-demo[_ngcontent-%COMP%]{width:-webkit-min-content;width:min-content;min-width:20rem}.t-link-icon[_ngcontent-%COMP%]{margin-left:.3rem;vertical-align:baseline}.t-content[_ngcontent-%COMP%]{will-change:opacity;height:0;visibility:hidden;opacity:0}.t-content_animated[_ngcontent-%COMP%]{transition:opacity .3s ease-in-out}.t-content_visible[_ngcontent-%COMP%]{height:auto;visibility:visible;opacity:1}"],changeDetection:0}),u})(),Hl=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Do,Is,Ae.fN,Oh,Cu,Le.wq,an,$e.dS]]}),u})();function Hd(u){return u.map(({section:b})=>b).filter(Qt.Pc).filter((b,r,f)=>f.indexOf(b)===r)}const zd=new e.OlP("[NAVIGATION_TITLE]"),Js=new e.OlP("[NAVIGATION_LABELS]"),xa=new e.OlP("[NAVIGATION_ITEMS]"),Au=[Dt.a3,{provide:zd,deps:[wn.F0,wn.gz,s.Yx,Dt.a3],useFactory:(u,b,r,f)=>u.events.pipe((0,_e.h)(L=>L instanceof wn.m2),(0,ce.U)(()=>b.firstChild),(0,_e.h)(Qt.Pc),(0,ue.z)(({data:L})=>L),(0,ce.U)(({title:L})=>`${r}${L}`),(0,Y.R)(f))},{provide:Js,deps:[s.V5],useFactory:Hd},{provide:xa,deps:[s.V5],useFactory:u=>[...Hd(u).map(r=>u.filter(({section:f})=>f===r)),u.filter(r=>!r.section)]}];let Su=(()=>{class u{constructor(r,f,L,me,jt,Fn,Zn,qn,po,Cr,Dr,Qo,Bs,is,jd){this.title$=L,this.mode=me,this.sidebar=jt,this.labels=Fn,this.items=Zn,this.searchText=qn,this.router=po,this.activatedRoute=Cr,this.destroy$=Dr,this.readyToScroll$=Qo,this.docIcons=Bs,this.icons=is,this.doc=jd,this.menuOpen=!1,this.openPagesArr=[],this.openPagesGroupsArr=[],this.active="",this.search=new ft.NI(""),this.filtered$=(0,ui.EK)(this.search).pipe((0,_e.h)(Kr=>Kr.trim().length>2),(0,ce.U)(Kr=>this.filterItems(this.flattenSubPages(this.items),Kr))),this.mode$=this.mode.change$.pipe((0,de.O)(null),(0,ce.U)(()=>this.mode.mode||"onLight")),L.subscribe(Kr=>{r.markForCheck(),f.setTitle(Kr),this.openActivePageGroup()}),(0,te.a)([this.router.events.pipe((0,_e.h)(Kr=>Kr instanceof wn.Xs)),this.title$.pipe((0,pe.w)(()=>this.readyToScroll$.pipe((0,_e.h)(Boolean))))]).pipe((0,ie.q)(1),(0,ce.U)(([Kr])=>Kr.anchor||""),(0,_e.h)(Boolean),(0,Y.R)(this.destroy$)).subscribe(Kr=>this.navigateToAnchorLink(Kr))}get canOpen(){var r,f;return(null!==(f=null===(r=this.search.value)||void 0===r?void 0:r.length)&&void 0!==f?f:0)>2}get itemsWithoutSections(){return this.items[this.items.length-1]}$pages(r){return r}isActive(r){return r===this.active}onGroupClick(r){this.openPagesGroupsArr[r]=!this.openPagesGroupsArr[r]}closeMenu(){this.menuOpen=!1}onClick(r){r.open=!1,this.menuOpen=!1,this.search.setValue(""),this.openActivePageGroup()}filterItems(r,f){return r.map(L=>(0,Qt.pf)(L.filter(({title:me,keywords:jt=""})=>(f=f.toLowerCase().trim(),jt=jt.toLowerCase(),(me=me.toLowerCase()).includes(f)||jt.includes(f)||me.includes((0,k.OO)(f))||jt.includes((0,k.OO)(f))||f.replace(/-/gi,"").includes(me)||me.includes(f.replace(/\s|tui/g,""))||jt.includes(f.replace(/\s|tui/g,""))||f.split(/\s/).find(Fn=>me.includes(Fn)))),"title"))}flattenSubPages(r){return r.reduce((f,L)=>[...f,L.reduce((me,jt)=>"subPages"in jt?[...me,...jt.subPages]:[...me,jt],[])],[])}isActiveRoute(r){return this.router.isActive(r,{paths:"subset",queryParams:"subset",fragment:"ignored",matrixParams:"ignored"})}openActivePageGroup(){this.items.forEach((r,f)=>{r.forEach((L,me)=>{"route"in L&&this.isActiveRoute(L.route)&&(this.openPagesArr[f]=!0,this.active=L.route),"subPages"in L&&L.subPages.forEach(jt=>{this.isActiveRoute(jt.route)&&(this.openPagesArr[f]=!0,this.openPagesGroupsArr[100*f+me]=!0,this.active=jt.route)})})})}navigateToAnchorLink(r){const f=r?this.doc.querySelectorAll(`#${r}`):[];if(!f.length||!f[f.length-1])return;const me=this.doc.createElement("a");me.href=`${this.doc.location.pathname}#${r}`,me.style.display="none",me.style.position="absolute",this.doc.body.appendChild(me),me.click(),me.remove()}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.sBO),e.Y36(Zt.Dx),e.Y36(zd),e.Y36(R.w),e.Y36(Yr,8),e.Y36(Js),e.Y36(xa),e.Y36(s.EI),e.Y36(wn.F0),e.Y36(wn.gz),e.Y36(Dt.a3,2),e.Y36(s.V1),e.Y36(s.oq),e.Y36(st.Gs),e.Y36(Oe.K0))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-navigation"]],hostVars:2,hostBindings:function(r,f){2&r&&e.ekj("_open",f.menuOpen)},features:[e._Bn(Au)],ngContentSelectors:ys,decls:14,vars:14,consts:[["tuiTextfieldSize","m",1,"t-input",3,"formControl","tuiAutoFocus","tuiTextfieldCleaner","tuiTextfieldIconLeft","tuiTextfieldLabelOutside"],["input",""],[4,"ngIf"],[1,"t-navigation"],[1,"t-scrollbar",3,"tuiMode"],[3,"closeOthers","rounded"],["size","s",3,"borders","open","openChange",4,"ngFor","ngForOf"],[1,"t-items-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngFor","ngForOf"],["pages",""],[4,"tuiDataList"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["tuiOption","",3,"fragment","routerLink","click",4,"ngFor","ngForOf"],["tuiOption","",3,"fragment","routerLink","click"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],["size","s",3,"borders","open","openChange"],[1,"t-label"],["tuiAccordionItemContent",""],[1,"t-section"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink",3,"routerLink","tuiScrollIntoViewLink","click",4,"ngIf","ngIfElse"],["subPagesTemplate",""],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink",3,"routerLink","tuiScrollIntoViewLink","click"],["routerLinkActive","",1,"t-subsection",3,"routerLinkActiveOptions"],["tuiLink","","type","button","class","t-sublink t-sublink_subsection",3,"click",4,"ngIf"],[1,"t-expand",3,"expanded"],[1,"t-section","t-section_bordered"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click",4,"ngFor","ngForOf"],["tuiLink","","type","button",1,"t-sublink","t-sublink_subsection",3,"click"],[1,"t-chevron",3,"src"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink","t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click"]],template:function(r,f){1&r&&(e.F$t(),e.TgZ(0,"tui-input",0,1),e._uU(2),e.YNc(3,_u,2,0,"ng-container",2),e.qZA(),e.TgZ(4,"nav",3)(5,"tui-scrollbar",4),e.ALo(6,"async"),e.TgZ(7,"tui-accordion",5),e.YNc(8,Mh,5,3,"tui-accordion-item",6),e.qZA(),e.TgZ(9,"div",7),e.YNc(10,_d,1,5,"ng-container",8),e.qZA(),e.YNc(11,Ns,3,2,"ng-template",null,9,e.W1O),e.qZA()(),e.Hsn(13)),2&r&&(e.Q6J("formControl",f.search)("tuiAutoFocus",!!f.sidebar)("tuiTextfieldCleaner",!0)("tuiTextfieldIconLeft",f.docIcons.search)("tuiTextfieldLabelOutside",!0),e.xp6(2),e.hij(" ",f.searchText," "),e.xp6(1),e.Q6J("ngIf",f.canOpen),e.xp6(2),e.Q6J("tuiMode",e.lcZ(6,12,f.mode$)),e.xp6(2),e.Q6J("closeOthers",!1)("rounded",!1),e.xp6(1),e.Q6J("ngForOf",f.labels),e.xp6(2),e.Q6J("ngForOf",f.itemsWithoutSections))},dependencies:[ks.K3,q.qi,q.vK,se.PN,pt.IB,Lc,Rc,Ve.V,qe,ks.wU,be.sz,ft.JJ,ft.oH,no,be.be,be.aR,be.xT,Oe.O5,q.gX,Oe.sg,q.Rs,wn.yS,Le.Li,R.w,kc,Oe.tP,wn.Od,zc,Oe.Ov],styles:["[_nghost-%COMP%]{z-index:1;display:flex;flex-direction:column;text-align:center;background:var(--tui-base-01)}.t-input[_ngcontent-%COMP%]{margin:1.25rem}.t-navigation[_ngcontent-%COMP%]{display:flex;max-height:100%;min-height:0;flex:1 1 0;text-align:left}.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:smooth;width:100%}tui-root._reduced-motion[_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%], tui-root._reduced-motion [_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:auto}.t-items-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 1rem}.t-label[_ngcontent-%COMP%]{margin-left:.5rem}.t-expand[_ngcontent-%COMP%]{margin-left:.25rem}.t-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;margin:-1rem 0 -.5rem}.t-section_bordered[_ngcontent-%COMP%]{margin:.5rem 0;border-left:1px solid var(--tui-base-03)}.t-subsection[_ngcontent-%COMP%]{margin-left:.5rem}.t-sublink[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:1rem 0 0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-m);margin-left:.5rem}.t-sublink_small[_ngcontent-%COMP%]{margin-left:1rem;line-height:1.5rem;padding-top:.5rem}.t-sublink_subsection[_ngcontent-%COMP%]{margin-left:0;line-height:1.6rem}.t-sublink.t-sublink.t-sublink_active[_ngcontent-%COMP%]{color:var(--tui-text-01)}.t-icon[_ngcontent-%COMP%]{margin-left:.5rem}.t-chevron[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1rem;height:1rem;margin:-.25rem .25rem 0 -.1875rem}.t-chevron_active[_ngcontent-%COMP%]{transform:rotate(90deg)}"],changeDetection:0}),(0,So.gn)([Ui.UM],u.prototype,"filterItems",null),(0,So.gn)([Ui.UM],u.prototype,"flattenSubPages",null),u})(),zl=(()=>{class u{constructor(r,f,L,me,jt){this.icons=r,this.logo=f,this.menu=L,this.router=me,this.swipes$=jt,this.stream$=new F.x,this.open$=(0,W.T)(this.router.events.pipe((0,ce.U)(ee.Iy)),this.stream$,this.swipes$.pipe((0,_e.h)(Fn=>"left"===Fn.direction||"right"===Fn.direction),(0,ce.U)(Fn=>"right"===Fn.direction))).pipe((0,de.O)(!1),(0,Ue.x)())}onClick(){this.stream$.next(!0)}onActiveZone(r){r||this.stream$.next(!1)}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.oq),e.Y36(s.Or),e.Y36(s.gG),e.Y36(wn.F0),e.Y36(Dt.$D))},u.\u0275cmp=e.Xpm({type:u,selectors:[["header","tuiDocHeader",""]],attrs:yd,ngContentSelectors:ys,decls:6,vars:6,consts:[["appearance","icon","tuiIconButton","","type","button",1,"t-menu",3,"icon","title","click","tuiActiveZoneChange"],["class","t-navigation",4,"tuiSidebar"],[1,"t-logo"],["alt","Logo","class","t-img",3,"src",4,"polymorpheusOutlet"],[1,"t-navigation"],["alt","Logo",1,"t-img",3,"src"]],template:function(r,f){1&r&&(e.F$t(),e.TgZ(0,"button",0),e.NdJ("click",function(){return f.onClick()})("tuiActiveZoneChange",function(me){return f.onActiveZone(me)}),e.YNc(1,bd,1,0,"tui-doc-navigation",1),e.ALo(2,"async"),e.qZA(),e.TgZ(3,"div",2),e.YNc(4,Cd,1,1,"img",3),e.qZA(),e.Hsn(5)),2&r&&(e.Q6J("icon",f.icons.menu)("title",f.menu),e.xp6(1),e.Q6J("tuiSidebar",!!e.lcZ(2,4,f.open$)),e.xp6(3),e.Q6J("polymorpheusOutlet",f.logo))},dependencies:[Ae.v0,Su,Jt.e,Yr,Le.Li,Oe.Ov],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;right:0;z-index:1;display:flex;box-shadow:var(--tui-shadow-navigation);height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-base-01);border-bottom:1px solid var(--tui-base-03)}@supports (background: color-mix(in srgb,var(--tui-base-01),transparent 50%)){[_nghost-%COMP%]{background:color-mix(in srgb,var(--tui-base-01),transparent 50%);-webkit-backdrop-filter:blur(1.25rem);backdrop-filter:blur(1.25rem)}}.t-logo[_ngcontent-%COMP%]{margin-right:auto;font:var(--tui-font-heading-5)}.t-img[_ngcontent-%COMP%]{display:block}.t-menu[_ngcontent-%COMP%]{margin-left:-1.25rem}@media screen and (min-width: 48em){.t-menu[_ngcontent-%COMP%]{display:none}}.t-navigation[_ngcontent-%COMP%]{min-height:100%}"],changeDetection:0}),u})(),Vl=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,ft.UX,wn.Bz,Le.wq,al,Ae.fN,ks.Qf,be.cn,Jt.A,Xe.WD,R.z,Ve.j,Ge,en.jh,et.dp,Nc,pt.Jy,se.EI,q.pc,qo]]}),u})(),Vd=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,Ae.fN,Hc,Jt.A,Vl]]}),u})(),jl=(()=>{class u{constructor(r,f){this.text=r,this.pages=f,this.seeAlso=[]}getRouterLink(r){var f,L;return null!==(L=null===(f=this.pages.get(r))||void 0===f?void 0:f.route)&&void 0!==L?L:""}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.VX),e.Y36(s._Z))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-see-also"]],inputs:{seeAlso:"seeAlso"},decls:3,vars:2,consts:[[1,"t-header"],[4,"ngFor","ngForOf"],["tuiLink","",3,"innerText","routerLink"],[4,"ngIf"]],template:function(r,f){1&r&&(e.TgZ(0,"h5",0),e._uU(1),e.qZA(),e.YNc(2,Td,3,3,"ng-container",1)),2&r&&(e.xp6(1),e.Oqu(f.text),e.xp6(1),e.Q6J("ngForOf",f.seeAlso))},dependencies:[Ve.V,Oe.sg,wn.yS,Oe.O5],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font-size:.6875rem;line-height:1rem;text-transform:uppercase;letter-spacing:.075em;color:var(--tui-text-02);margin:0 0 .5rem;white-space:nowrap}"],changeDetection:0}),u})(),$l=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,wn.Bz,Ve.j]]}),u})(),Iu=(()=>{class u{constructor(r,f,L){this.icons=r,this.sourceCode=f,this.text=L,this.header="",this.package="",this.type="",this.path=""}get pathOptions(){return this.getPathOptions(this.header,this.package,this.type,this.path)}pathIsUrl(r){return r.startsWith("http")}getPathOptions(r,f,L,me){return{header:r,package:f,type:L,path:me}}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.oq),e.Y36(s.yO),e.Y36(s.as))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-source-code"]],inputs:{header:"header",package:"package",type:"type",path:"path"},decls:1,vars:2,consts:[["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title"]],template:function(r,f){1&r&&e.YNc(0,ls,1,3,"a",0),2&r&&e.Q6J("polymorpheusOutlet",f.pathIsUrl(f.path)?f.path:f.sourceCode)("polymorpheusOutletContext",f.pathOptions)},dependencies:[Ae.v0,Le.Li],encapsulation:2,changeDetection:0}),(0,So.gn)([Ui.UM],u.prototype,"pathIsUrl",null),(0,So.gn)([Ui.UM],u.prototype,"getPathOptions",null),u})(),wh=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,Le.wq,Ae.fN]]}),u})(),ku=(()=>{class u{constructor(r,f,L){this.icons=r,this.theme=f,this.night=L,this.change$=this.night,this.night$=this.change$.pipe((0,de.O)(null),(0,ce.U)(()=>this.night.value),(0,Ue.x)(),(0,ve.B)())}get mode(){return this.night.value?"onDark":null}get icon(){return this.night.value?this.icons.day:this.icons.night}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.oq),e.Y36($c),e.Y36(iu))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-main"]],hostVars:1,hostBindings:function(r,f){2&r&&e.uIk("data-mode",f.mode)},features:[e._Bn([{provide:R.w,useExisting:(0,e.Gpc)(()=>u)},Dt.$D])],ngContentSelectors:Od,decls:21,vars:4,consts:[[4,"ngIf"],[1,"tui-doc-page"],[1,"tui-doc-navigation"],[1,"tui-doc-content"],[1,"tui-doc-outlet"],["tuiDocHeader",""],["appearance","secondary","shape","rounded","size","s","tuiIconButton","","tuiMode","onLight","type","button",1,"tui-doc-night-mode-switch",3,"icon","click"],["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverPortals",5,["tuiOverPortals"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(r,f){1&r&&(e.F$t(Ed),e.YNc(0,Md,1,0,"tui-theme-night",0),e.ALo(1,"async"),e.TgZ(2,"tui-root")(3,"div",1)(4,"tui-doc-navigation",2),e.Hsn(5),e.qZA(),e.TgZ(6,"div",3),e._UZ(7,"router-outlet",4),e.qZA()(),e.TgZ(8,"header",5),e.Hsn(9,1),e.TgZ(10,"button",6),e.NdJ("click",function(){return f.night.toggle()}),e.qZA()(),e.ynx(11,7),e.Hsn(12,2),e.BQk(),e.ynx(13,8),e.Hsn(14,3),e.BQk(),e.ynx(15,9),e.Hsn(16,4),e.BQk(),e.ynx(17,10),e.Hsn(18,5),e.BQk(),e.ynx(19,11),e.Hsn(20,6),e.BQk(),e.qZA()),2&r&&(e.Q6J("ngIf",f.theme.isDefaultTheme&&f.night.useDefaultNightTheme&&e.lcZ(1,2,f.night$)),e.xp6(10),e.Q6J("icon",f.icon))},dependencies:[Cn,ut,Su,zl,Ae.v0,Oe.O5,wn.lC,R.w,Oe.Ov],styles:['@keyframes tuiShaking{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-.3125rem)}20%,40%,60%,80%{transform:translate(.3125rem)}}html,body{scroll-padding-top:4rem;background:var(--tui-base-01);height:auto}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}tui-doc-main{display:block}code:not(pre code):not(.hljs):not([class*="language-"]){transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:inline-flex;background:var(--tui-base-02);color:var(--tui-text-02);vertical-align:middle;align-items:center;border-radius:.25rem;font-weight:500;outline:1px solid var(--tui-base-04);font-size:.75rem;padding:0 .3125rem;margin:.125rem .1875rem;text-wrap:wrap}tui-notification code:not(pre code):not(.hljs):not([class*="language-"]){mix-blend-mode:luminosity}a code:not(pre code):not(.hljs):not([class*="language-"]){color:var(--tui-link)}button:focus code,a:focus code{background:var(--tui-base-01)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-base-03)}@media screen and (max-width: 47.9625em){tui-doc-navigation.tui-doc-navigation{display:none}}.tui-doc-content{margin-left:16.25rem}@media screen and (max-width: 47.9625em){.tui-doc-content{margin-left:0}}.tui-doc-outlet+*{display:block}.tui-doc-night-mode-switch{margin-left:1rem}.tui-doc-night-mode-switch tui-svg{color:var(--tui-text-02)}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-01);background-color:var(--tui-clear)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:normal;color:var(--tui-text-01)}tui-doc-code .hljs-property{color:var(--tui-support-14)}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-02);font-style:italic}tui-doc-code .hljs-meta{color:#e38162}tui-doc-code .hljs-section,tui-doc-code .hljs-name,tui-doc-code .hljs-literal,tui-doc-code .hljs-keyword,tui-doc-code .hljs-selector-tag,tui-doc-code .hljs-type,tui-doc-code .hljs-selector-id,tui-doc-code .hljs-selector-class{font-weight:bold;color:var(--tui-link)}tui-doc-code .hljs-attr{color:var(--tui-link)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link,tui-doc-code .hljs-built_in{font-weight:bold;color:var(--tui-support-06)}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:normal}tui-doc-code .hljs-string{color:var(--tui-positive);font-weight:bold}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-01);background:var(--tui-base-02);font-style:italic}tui-doc-code .hljs-doctag{text-decoration:underline}tui-doc-code .hljs-variable,tui-doc-code .hljs-template-variable{color:var(--tui-link-hover)}tui-doc-code [data-mode=onDark] .hljs-variable,tui-doc-code [data-mode=onDark] .hljs-template-variable{color:var(--tui-warning-fill)}tui-doc-code .hljs-addition{background:var(--tui-success-bg)}tui-doc-code .hljs-deletion{background:var(--tui-error-bg)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:bold}tui-doc-code .hljs .hljs-line-numbers{padding:0}tui-doc-code .hljs-ln-numbers{vertical-align:top;opacity:.3;text-align:right;padding-right:1em!important}\n'],encapsulation:2}),u})(),Wl=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,wn.Bz,St,Vd,He,Bi,rn,Ae.fN,R.z,Vl]]}),u})();const Ru=new e.OlP("[PAGE_SEE_ALSO]"),Fs=[{provide:Ru,deps:[e.SBq,s.UL],useFactory:({nativeElement:u},b)=>{const r=u.getAttribute("header"),f=b.filter(me=>me.includes(r))||[],L=new Set(f.join().split(",").filter(me=>me&&me!==r));return Array.from(L)}}];let Yl=(()=>{class u{constructor(r){this.template=r}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","pageTab",""]],inputs:{pageTab:"pageTab"}}),u})(),Lu=(()=>{class u{constructor(r,f){this.defaultTabs=r,this.seeAlso=f,this.header="",this.package="",this.type="",this.path="",this.deprecated=!1,this.tabConnectors=ee.Mm,this.activeItemIndex=0,this.from=/ /g,this.to="_"}get showSeeAlso(){return!!this.seeAlso.length&&0===this.activeItemIndex}}return u.\u0275fac=function(r){return new(r||u)(e.Y36(s.AC),e.Y36(Ru))},u.\u0275cmp=e.Xpm({type:u,selectors:[["tui-doc-page"]],contentQueries:function(r,f,L){if(1&r&&e.Suo(L,Yl,4),2&r){let me;e.iGM(me=e.CRH())&&(f.tabConnectors=me)}},inputs:{header:"header",package:"package",type:"type",path:"path",deprecated:"deprecated"},features:[e._Bn(Fs)],ngContentSelectors:ys,decls:11,vars:10,consts:[[1,"t-header"],[1,"t-title"],["status","custom","value","deprecated","class","t-tag t-tag_deprecated",4,"ngIf"],["status","custom","class","t-tag t-tag_package",3,"autoColor","value",4,"ngIf"],["class","t-tabs",3,"activeItemIndex","activeItemIndexChange",4,"ngIf"],[1,"t-source-code",3,"header","package","path","type"],[1,"t-content"],["class","t-see-also",3,"seeAlso",4,"ngIf"],[4,"ngFor","ngForOf"],["status","custom","value","deprecated",1,"t-tag","t-tag_deprecated"],["status","custom",1,"t-tag","t-tag_package",3,"autoColor","value"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngIf"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions",4,"tuiItem"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions"],[1,"t-see-also",3,"seeAlso"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(r,f){1&r&&(e.F$t(),e.TgZ(0,"header",0)(1,"h1",1),e._uU(2),e.YNc(3,xd,1,0,"tui-tag",2),e.YNc(4,wd,1,2,"tui-tag",3),e.qZA(),e.YNc(5,Id,2,2,"tui-tabs-with-more",4),e._UZ(6,"tui-doc-source-code",5),e.qZA(),e.TgZ(7,"div",6),e.Hsn(8),e.YNc(9,Ea,1,1,"tui-doc-see-also",7),e.YNc(10,ua,2,1,"ng-container",8),e.qZA()),2&r&&(e.xp6(2),e.hij(" ",f.header," "),e.xp6(1),e.Q6J("ngIf",!!f.deprecated||""===f.deprecated),e.xp6(1),e.Q6J("ngIf",f.package),e.xp6(1),e.Q6J("ngIf",f.tabConnectors.length),e.xp6(1),e.Q6J("header",f.header)("package",f.package)("path",f.path)("type",f.type),e.xp6(3),e.Q6J("ngIf",f.showSeeAlso),e.xp6(1),e.Q6J("ngForOf",f.tabConnectors))},dependencies:[ol,qu,ns,Iu,jl,Oe.O5,Oe.sg,jo,wn.yS,wn.Od,Oe.tP,Sr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;min-height:0;flex-basis:0;flex-grow:1}.t-header[_ngcontent-%COMP%]{display:flex;font:var(--tui-font-heading-3);flex-wrap:wrap;min-height:7.25rem;color:var(--tui-text-01);box-shadow:inset 0 -1px 0 0 var(--tui-base-03);padding:3.75rem 0 0;box-sizing:border-box;flex-shrink:0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-heading-4);min-height:4.5rem;padding:1.25rem 1.25rem 0;margin:0}.t-title[_ngcontent-%COMP%]{min-width:100%;font-size:inherit;margin:0}.t-tag[_ngcontent-%COMP%]{vertical-align:middle;text-transform:uppercase;margin-right:.5rem}.t-tag_deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-fill);color:#fff}.t-tag.t-tag_package[_ngcontent-%COMP%]{color:#000}.t-tabs[_ngcontent-%COMP%]{flex:1;margin:1.125rem .3125rem 0 0}tui-root._mobile[_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%]{margin-top:.25rem}.t-content[_ngcontent-%COMP%]{padding:2rem 0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:2rem 1.25rem;margin:0}.t-see-also[_ngcontent-%COMP%]{min-width:18.75rem;width:30%;float:right;margin-left:1.5rem}tui-root._mobile[_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%]{float:none;width:100%;margin:0 0 1.5rem}.t-source-code[_ngcontent-%COMP%]{align-self:flex-end;line-height:2.75rem;margin-left:auto}"],changeDetection:0}),u})(),wa=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Oe.ez,wn.Bz,$l,Is,eu,wh,Tr]]}),u})()},4548:(Ht,Fe,c)=>{"use strict";c.d(Fe,{$_:()=>Ue,AC:()=>Y,B$:()=>S,EI:()=>Oe,Es:()=>ve,IK:()=>se,Ii:()=>q,Or:()=>tt,UL:()=>qe,V1:()=>we,V5:()=>mt,VX:()=>_t,Yx:()=>R,_Z:()=>At,as:()=>vt,et:()=>Ae,gG:()=>$e,lW:()=>de,mT:()=>ce,mv:()=>ee,oq:()=>ue,ru:()=>je,x9:()=>be,yO:()=>Ge});var e=c(1927),s=c(4537),k=c(2497),z=c(8330),F=c(3072),ne=c(1995),W=c(4945),te=c(1528),pe=c(6060);const ce=(0,e.JN)(""),de=new s.OlP("[TUI_DOC_CODE_EDITOR]"),Y=(0,e.JN)([]),ue=(0,e.JN)({search:"tuiIconSearch",day:"tuiIconSun",night:"tuiIconMoon",code:"tuiIconCode",menu:"tuiIconMenuLarge"}),Ue=(0,e.JN)(z.y),ve=(0,e.JN)(k.vi),Ae=(0,e.JN)(new Set([])),je=(0,e.JN)(["Read more more about modes: ","Background","Form value"]),se=(0,e.JN)(["Argument","Type","Name and description","Value","Learn about our dynamic templates from "]),ee=(0,e.JN)(["Preview","Link to a sample was successfully copied","Done"]),$e=(0,e.JN)("Menu"),Oe=(0,e.JN)("Search"),_t=(0,e.JN)("See also"),vt=(0,e.JN)("Source code"),tt=(0,e.JN)(""),we=(0,e.JN)((0,F.P)(()=>(0,ne.H)(200).pipe((0,te.w)(()=>(0,W.of)(!0))))),mt=(0,e.JN)([]),At=(0,e.N1)(()=>(0,k.S4)((0,s.f3M)(mt))),qe=((0,e.N1)(()=>(0,s.f3M)(pe.TK)?"auto":"smooth"),(0,e.JN)([])),Ge=(0,e.JN)(null),R=(0,e.JN)(""),be=(0,e.JN)(null),S=(0,e.JN)(k.TN),q=(0,e.JN)(String)},2497:(Ht,Fe,c)=>{"use strict";c.d(Fe,{p8:()=>ws,cd:()=>dr,Ve:()=>as,sj:()=>es,JQ:()=>us,vP:()=>sr,S4:()=>Ws,OO:()=>_a,vi:()=>ma,TN:()=>Ys});var e={};c.r(e),c.d(e,{decode:()=>te,encode:()=>Y,format:()=>_e,parse:()=>mt});var s={};c.r(s),c.d(s,{Any:()=>Qe,Cc:()=>qe,Cf:()=>Ge,P:()=>At,Z:()=>R});var k={};c.r(k),c.d(k,{arrayReplaceAt:()=>vn,assign:()=>$t,escapeHtml:()=>U,escapeRE:()=>A,fromCodePoint:()=>Nn,has:()=>on,isMdAsciiPunct:()=>dt,isPunctChar:()=>ct,isSpace:()=>$,isString:()=>bt,isValidEntityCode:()=>Jt,isWhiteSpace:()=>xe,lib:()=>Yt,normalizeReference:()=>Bt,unescapeAll:()=>rt,unescapeMd:()=>Ie});var z={};c.r(z),c.d(z,{parseLinkDestination:()=>en,parseLinkLabel:()=>rn,parseLinkTitle:()=>gn});const F={};function W(l,g){"string"!=typeof g&&(g=W.defaultChars);const x=function ne(l){let g=F[l];if(g)return g;g=F[l]=[];for(let x=0;x<128;x++){const G=String.fromCharCode(x);g.push(G)}for(let x=0;x=55296&&ln<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(ln),K+=6;continue}}if(240==(248&ke)&&K+91114111?Z+="\ufffd\ufffd\ufffd\ufffd":(nn-=65536,Z+=String.fromCharCode(55296+(nn>>10),56320+(1023&nn))),K+=9;continue}}Z+="\ufffd"}}return Z})}W.defaultChars=";/?:@&=+$,#",W.componentChars="";const te=W,pe={};function de(l,g,x){"string"!=typeof g&&(x=g,g=de.defaultChars),typeof x>"u"&&(x=!0);const G=function ce(l){let g=pe[l];if(g)return g;g=pe[l]=[];for(let x=0;x<128;x++){const G=String.fromCharCode(x);/^[0-9a-z]$/i.test(G)?g.push(G):g.push("%"+("0"+x.toString(16).toUpperCase()).slice(-2))}for(let x=0;x=55296&&ke<=57343){if(ke>=55296&&ke<=56319&&K+1=56320&&ht<=57343){Z+=encodeURIComponent(l[K]+l[K+1]),K++;continue}}Z+="%EF%BF%BD"}else Z+=encodeURIComponent(l[K])}return Z}de.defaultChars=";/?:@&=+$,-_.!~*'()#",de.componentChars="-_.!~*'()";const Y=de;function _e(l){let g="";return g+=l.protocol||"",g+=l.slashes?"//":"",g+=l.auth?l.auth+"@":"",l.hostname&&-1!==l.hostname.indexOf(":")?g+="["+l.hostname+"]":g+=l.hostname||"",g+=l.port?":"+l.port:"",g+=l.pathname||"",g+=l.search||"",g+=l.hash||"",g}function ue(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const ie=/^([a-z0-9.+-]+:)/i,Ue=/:[0-9]*$/,ve=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ve=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),je=["'"].concat(Ve),se=["%","/","?",";","#"].concat(je),ee=["/","?","#"],Oe=/^[+a-z0-9A-Z_-]{0,63}$/,_t=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,vt={javascript:!0,"javascript:":!0},tt={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};ue.prototype.parse=function(l,g){let x,G,Z,K=l;if(K=K.trim(),!g&&1===l.split("#").length){const Et=ve.exec(K);if(Et)return this.pathname=Et[1],Et[2]&&(this.search=Et[2]),this}let Be=ie.exec(K);if(Be&&(Be=Be[0],x=Be.toLowerCase(),this.protocol=Be,K=K.substr(Be.length)),(g||Be||K.match(/^\/\/[^@\/]+@[^@\/]+/))&&(Z="//"===K.substr(0,2),Z&&!(Be&&vt[Be])&&(K=K.substr(2),this.slashes=!0)),!vt[Be]&&(Z||Be&&!tt[Be])){let ln,nn,Et=-1;for(let un=0;un127?Fi+="x":Fi+=oi[wn];if(!Fi.match(Oe)){const wn=un.slice(0,pi),ni=un.slice(pi+1),Bn=oi.match(_t);Bn&&(wn.push(Bn[1]),ni.unshift(Bn[2])),ni.length&&(K=ni.join(".")+K),this.hostname=wn.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),En&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const ke=K.indexOf("#");-1!==ke&&(this.hash=K.substr(ke),K=K.slice(0,ke));const ht=K.indexOf("?");return-1!==ht&&(this.search=K.substr(ht),K=K.slice(0,ht)),K&&(this.pathname=K),tt[x]&&this.hostname&&!this.pathname&&(this.pathname=""),this},ue.prototype.parseHost=function(l){let g=Ue.exec(l);g&&(g=g[0],":"!==g&&(this.port=g.substr(1)),l=l.substr(0,l.length-g.length)),l&&(this.hostname=l)};const mt=function we(l,g){if(l&&l instanceof ue)return l;const x=new ue;return x.parse(l,g),x},At=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Qe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,qe=/[\0-\x1F\x7F-\x9F]/,Ge=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,R=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,be=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\u{1d504}rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\u{1d538}plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\u{1d49c}ign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\u{1d505}pf;\uc000\u{1d539}eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\u{1d49e}p\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\u{1d507}\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\u{1d53b}\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\u{1d49f}rok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\u{1d508}rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\u{1d53c}silon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\u{1d509}lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\u{1d53d}All;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\u{1d50a};\u62d9pf;\uc000\u{1d53e}eater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\u{1d4a2};\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\u{1d540}a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\u{1d50d}pf;\uc000\u{1d541}\u01e3\u07c7\0\u07ccr;\uc000\u{1d4a5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\u{1d50e}pf;\uc000\u{1d542}cr;\uc000\u{1d4a6}\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\u{1d50f}\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\u{1d543}er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\u{1d510}nusPlus;\u6213pf;\uc000\u{1d544}c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\u{1d511}\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\u{1d4a9}ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\u{1d512}rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\u{1d546}enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\u{1d4aa}ash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\u{1d513}i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\u{1d4ab};\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\u{1d514}pf;\u611acr;\uc000\u{1d4ac}\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\u{1d516}ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\u{1d54a}\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\u{1d4ae}ar;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\u{1d517}\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\u{1d54b}ipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\u{1d4af}rok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\u{1d518}rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\u{1d54c}\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\u{1d4b0}ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\u{1d519}pf;\uc000\u{1d54d}cr;\uc000\u{1d4b1}dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\u{1d51a}pf;\uc000\u{1d54e}cr;\uc000\u{1d4b2}\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\u{1d51b};\u439epf;\uc000\u{1d54f}cr;\uc000\u{1d4b3}\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\u{1d51c}pf;\uc000\u{1d550}cr;\uc000\u{1d4b4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\u{1d4b5}\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\u{1d51e}rave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\u{1d552}\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\u{1d4b6};\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\u{1d51f}g\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\u{1d553}\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\u{1d4b7}mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\u{1d520}\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\u{1d554}o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\u{1d4b8}\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\u{1d521}ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\u{1d555}\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\u{1d4b9};\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\u{1d522}\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\u{1d556}\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\u{1d523}lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\u{1d557}\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\u{1d4bb}\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\u{1d524}\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\u{1d558}\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\u{1d525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\u{1d559}bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\u{1d4bd}as\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\u{1d526}rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\u{1d55a}a;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\u{1d4be}n\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\u{1d527}ath;\u4237pf;\uc000\u{1d55b}\u01e3\u23ec\0\u23f1r;\uc000\u{1d4bf}rcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\u{1d528}reen;\u4138cy;\u4445cy;\u445cpf;\uc000\u{1d55c}cr;\uc000\u{1d4c0}\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\u{1d529}\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\u{1d55d}us;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\u{1d4c1}m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\u{1d52a}o;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\u{1d55e}\u0100ct\u28f8\u28fdr;\uc000\u{1d4c2}pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\u{1d52b}\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\u{1d55f}\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\u{1d4c3}ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\u{1d52c}\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\u{1d560}\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\u{1d52d}\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\u{1d561}nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\u{1d4c5};\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\u{1d52e}pf;\uc000\u{1d562}rime;\u6057cr;\uc000\u{1d4c6}\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\u{1d52f}\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\u{1d563}us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\u{1d4c7}\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\u{1d530}\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\u{1d564}a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\u{1d4c8}tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\u{1d531}\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\u{1d565}rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\u{1d4c9};\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\u{1d532}rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\u{1d566}\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\u{1d4ca}\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\u{1d533}tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\u{1d567}ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\u{1d4cb}\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\u{1d534}pf;\uc000\u{1d568}\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\u{1d4cc}\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\u{1d535}\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\u{1d569}im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\u{1d4cd}\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\u{1d536}cy;\u4457pf;\uc000\u{1d56a}cr;\uc000\u{1d4ce}\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\u{1d537}cy;\u4436grarr;\u61ddpf;\uc000\u{1d56b}cr;\uc000\u{1d4cf}\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(l=>l.charCodeAt(0))),S=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(l=>l.charCodeAt(0)));var q;const ze=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),N=null!==(q=String.fromCodePoint)&&void 0!==q?q:function(l){let g="";return l>65535&&(l-=65536,g+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),g+=String.fromCharCode(l),g};var pt=(()=>{return(l=pt||(pt={}))[l.NUM=35]="NUM",l[l.SEMI=59]="SEMI",l[l.EQUALS=61]="EQUALS",l[l.ZERO=48]="ZERO",l[l.NINE=57]="NINE",l[l.LOWER_A=97]="LOWER_A",l[l.LOWER_F=102]="LOWER_F",l[l.LOWER_X=120]="LOWER_X",l[l.LOWER_Z=122]="LOWER_Z",l[l.UPPER_A=65]="UPPER_A",l[l.UPPER_F=70]="UPPER_F",l[l.UPPER_Z=90]="UPPER_Z",pt;var l})(),Cn=(()=>{return(l=Cn||(Cn={}))[l.VALUE_LENGTH=49152]="VALUE_LENGTH",l[l.BRANCH_LENGTH=16256]="BRANCH_LENGTH",l[l.JUMP_TABLE=127]="JUMP_TABLE",Cn;var l})();function St(l){return l>=pt.ZERO&&l<=pt.NINE}var Zt=(()=>{return(l=Zt||(Zt={}))[l.EntityStart=0]="EntityStart",l[l.NumericStart=1]="NumericStart",l[l.NumericDecimal=2]="NumericDecimal",l[l.NumericHex=3]="NumericHex",l[l.NamedEntity=4]="NamedEntity",Zt;var l})(),Ut=(()=>{return(l=Ut||(Ut={}))[l.Legacy=0]="Legacy",l[l.Strict=1]="Strict",l[l.Attribute=2]="Attribute",Ut;var l})();class Dt{constructor(g,x,G){this.decodeTree=g,this.emitCodePoint=x,this.errors=G,this.state=Zt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ut.Strict}startEntity(g){this.decodeMode=g,this.state=Zt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(g,x){switch(this.state){case Zt.EntityStart:return g.charCodeAt(x)===pt.NUM?(this.state=Zt.NumericStart,this.consumed+=1,this.stateNumericStart(g,x+1)):(this.state=Zt.NamedEntity,this.stateNamedEntity(g,x));case Zt.NumericStart:return this.stateNumericStart(g,x);case Zt.NumericDecimal:return this.stateNumericDecimal(g,x);case Zt.NumericHex:return this.stateNumericHex(g,x);case Zt.NamedEntity:return this.stateNamedEntity(g,x)}}stateNumericStart(g,x){return x>=g.length?-1:(32|g.charCodeAt(x))===pt.LOWER_X?(this.state=Zt.NumericHex,this.consumed+=1,this.stateNumericHex(g,x+1)):(this.state=Zt.NumericDecimal,this.stateNumericDecimal(g,x))}addToNumericResult(g,x,G,Z){if(x!==G){const K=G-x;this.result=this.result*Math.pow(Z,K)+parseInt(g.substr(x,K),Z),this.consumed+=K}}stateNumericHex(g,x){const G=x;for(;x=pt.UPPER_A&&l<=pt.UPPER_F||l>=pt.LOWER_A&&l<=pt.LOWER_F)))return this.addToNumericResult(g,G,x,16),this.emitNumericEntity(Z,3);x+=1}var l;return this.addToNumericResult(g,G,x,16),-1}stateNumericDecimal(g,x){const G=x;for(;x=55296&&l<=57343||l>1114111?65533:null!==(g=ze.get(l))&&void 0!==g?g:l}(this.result),this.consumed),this.errors&&(g!==pt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(g,x){const{decodeTree:G}=this;let Z=G[this.treeIndex],K=(Z&Cn.VALUE_LENGTH)>>14;for(;x=pt.UPPER_A&&l<=pt.UPPER_Z||l>=pt.LOWER_A&&l<=pt.LOWER_Z||St(l)}(l)))?0:this.emitNotTerminatedNamedEntity();if(Z=G[this.treeIndex],K=(Z&Cn.VALUE_LENGTH)>>14,0!==K){if(Be===pt.SEMI)return this.emitNamedEntityData(this.treeIndex,K,this.consumed+this.excess);this.decodeMode!==Ut.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var l;return-1}emitNotTerminatedNamedEntity(){var g;const{result:x,decodeTree:G}=this;return this.emitNamedEntityData(x,(G[x]&Cn.VALUE_LENGTH)>>14,this.consumed),null===(g=this.errors)||void 0===g||g.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(g,x,G){const{decodeTree:Z}=this;return this.emitCodePoint(1===x?Z[g]&~Cn.VALUE_LENGTH:Z[g+1],G),3===x&&this.emitCodePoint(Z[g+2],G),G}end(){var g;switch(this.state){case Zt.NamedEntity:return 0===this.result||this.decodeMode===Ut.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Zt.NumericDecimal:return this.emitNumericEntity(0,2);case Zt.NumericHex:return this.emitNumericEntity(0,3);case Zt.NumericStart:return null===(g=this.errors)||void 0===g||g.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Zt.EntityStart:return 0}}}function Xt(l){let g="";const x=new Dt(l,G=>g+=N(G));return function(Z,K){let Be=0,ke=0;for(;(ke=Z.indexOf("&",ke))>=0;){g+=Z.slice(Be,ke),x.startEntity(K);const Et=x.write(Z,ke+1);if(Et<0){Be=ke+x.end();break}Be=ke+Et,ke=0===Et?Be+1:Be}const ht=g+Z.slice(Be);return g="",ht}}function Qt(l,g,x,G){const Z=(g&Cn.BRANCH_LENGTH)>>7,K=g&Cn.JUMP_TABLE;if(0===Z)return 0!==K&&G===K?x:-1;if(K){const ht=G-K;return ht<0||ht>=Z?-1:l[x+ht]-1}let Be=x,ke=Be+Z-1;for(;Be<=ke;){const ht=Be+ke>>>1,Et=l[ht];if(EtG))return l[ht+Z];ke=ht-1}}return-1}const hn=Xt(be);function yt(l,g=Ut.Legacy){return hn(l,g)}function Xe(l){for(let g=1;g'"]/g,new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]])),qt(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),qt(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));const gt=Object.prototype.hasOwnProperty;function on(l,g){return gt.call(l,g)}function $t(l){return Array.prototype.slice.call(arguments,1).forEach(function(x){if(x){if("object"!=typeof x)throw new TypeError(x+"must be object");Object.keys(x).forEach(function(G){l[G]=x[G]})}}),l}function vn(l,g,x){return[].concat(l.slice(0,g),x,l.slice(g+1))}function Jt(l){return!(l>=55296&&l<=57343||l>=64976&&l<=65007||65535==(65535&l)||65534==(65535&l)||l>=0&&l<=8||11===l||l>=14&&l<=31||l>=127&&l<=159||l>1114111)}function Nn(l){return l>65535?(l-=65536,String.fromCharCode(55296+(l>>10),56320+(1023&l))):String.fromCharCode(l)}const Mn=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Q=new RegExp(Mn.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),H=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Ie(l){return l.indexOf("\\")<0?l:l.replace(Mn,"$1")}function rt(l){return l.indexOf("\\")<0&&l.indexOf("&")<0?l:l.replace(Q,function(g,x,G){return x||function le(l,g){if(35===g.charCodeAt(0)&&H.test(g)){const G="x"===g[1].toLowerCase()?parseInt(g.slice(2),16):parseInt(g.slice(1),10);return Jt(G)?Nn(G):l}const x=yt(l);return x!==l?x:l}(g,G)})}const nt=/[&<>"]/,ut=/[&<>"]/g,He={"&":"&","<":"<",">":">",'"':"""};function Ne(l){return He[l]}function U(l){return nt.test(l)?l.replace(ut,Ne):l}const I=/[.?*+^$[\]\\(){}|-]/g;function A(l){return l.replace(I,"\\$&")}function $(l){switch(l){case 9:case 32:return!0}return!1}function xe(l){if(l>=8192&&l<=8202)return!0;switch(l){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function ct(l){return At.test(l)}function dt(l){switch(l){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Bt(l){return l=l.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(l=l.replace(/\u1e9e/g,"\xdf")),l.toLowerCase().toUpperCase()}const Yt={mdurl:e,ucmicro:s};function rn(l,g,x){let G,Z,K,Be;const ke=l.posMax,ht=l.pos;for(l.pos=g+1,G=1;l.pos32))return K;if(41===G){if(0===Be)break;Be--}Z++}return g===Z||0!==Be||(K.str=rt(l.slice(g,Z)),K.pos=Z,K.ok=!0),K}function gn(l,g,x){let G,Z,K=0,Be=g;const ke={ok:!1,pos:0,lines:0,str:""};if(Be>=x||(Z=l.charCodeAt(Be),34!==Z&&39!==Z&&40!==Z))return ke;for(Be++,40===Z&&(Z=41);Be"+U(K.content)+""},pn.code_block=function(l,g,x,G,Z){return""+U(l[g].content)+"\n"},pn.fence=function(l,g,x,G,Z){const K=l[g],Be=K.info?rt(K.info).trim():"";let Et,ke="",ht="";if(Be){const ln=Be.split(/(\s+)/g);ke=ln[0],ht=ln.slice(2).join("")}if(Et=x.highlight&&x.highlight(K.content,ke,ht)||U(K.content),0===Et.indexOf("${Et}\n`}return`
    ${Et}
    \n`},pn.image=function(l,g,x,G,Z){const K=l[g];return K.attrs[K.attrIndex("alt")][1]=Z.renderInlineAsText(K.children,x,G),Z.renderToken(l,g,x)},pn.hardbreak=function(l,g,x){return x.xhtmlOut?"
    \n":"
    \n"},pn.softbreak=function(l,g,x){return x.breaks?x.xhtmlOut?"
    \n":"
    \n":"\n"},pn.text=function(l,g){return U(l[g].content)},pn.html_block=function(l,g){return l[g].content},pn.html_inline=function(l,g){return l[g].content},In.prototype.renderAttrs=function(g){let x,G,Z;if(!g.attrs)return"";for(Z="",x=0,G=g.attrs.length;x\n":">",K},In.prototype.renderInline=function(l,g,x){let G="";const Z=this.rules;for(let K=0,Be=l.length;K=0&&(G=this.attrs[x][1]),G},$n.prototype.attrJoin=function(g,x){const G=this.attrIndex(g);G<0?this.attrPush([g,x]):this.attrs[G][1]=this.attrs[G][1]+" "+x};const ci=$n;function ri(l,g,x){this.src=l,this.env=x,this.tokens=[],this.inlineMode=!1,this.md=g}ri.prototype.Token=ci;const Xn=ri,Yn=/\r\n?|\n/g,Qn=/\0/g;function Ti(l){return/^\s]/i.test(l)}function ti(l){return/^<\/a\s*>/i.test(l)}const to=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ri=/\((c|tm|r)\)/i,Wo=/\((c|tm|r)\)/gi,wo={c:"\xa9",r:"\xae",tm:"\u2122"};function no(l,g){return wo[g.toLowerCase()]}function qo(l){let g=0;for(let x=l.length-1;x>=0;x--){const G=l[x];"text"===G.type&&!g&&(G.content=G.content.replace(Wo,no)),"link_open"===G.type&&"auto"===G.info&&g--,"link_close"===G.type&&"auto"===G.info&&g++}}function lr(l){let g=0;for(let x=l.length-1;x>=0;x--){const G=l[x];"text"===G.type&&!g&&to.test(G.content)&&(G.content=G.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===G.type&&"auto"===G.info&&g--,"link_close"===G.type&&"auto"===G.info&&g++}}const Wi=/['"]/,Qi=/['"]/g,yo="\u2019";function Po(l,g,x){return l.slice(0,g)+x+l.slice(g+1)}function Vo(l,g){let x;const G=[];for(let Z=0;Z=0&&!(G[x].level<=Be);x--);if(G.length=x+1,"text"!==K.type)continue;let ke=K.content,ht=0,Et=ke.length;e:for(;ht=0)un=ke.charCodeAt(ln.index-1);else for(x=Z-1;x>=0&&"softbreak"!==l[x].type&&"hardbreak"!==l[x].type;x--)if(l[x].content){un=l[x].content.charCodeAt(l[x].content.length-1);break}let pi=32;if(ht=48&&un<=57&&(_n=nn=!1),nn&&_n&&(nn=hi,_n=oi),nn||_n){if(_n)for(x=G.length-1;x>=0;x--){let ni=G[x];if(G[x].level=0;Be--){const ke=Z[Be];if("link_close"!==ke.type){if("html_inline"===ke.type&&(Ti(ke.content)&&K>0&&K--,ti(ke.content)&&K++),!(K>0)&&"text"===ke.type&&l.md.linkify.test(ke.content)){const ht=ke.content;let Et=l.md.linkify.match(ht);const ln=[];let nn=ke.level,_n=0;Et.length>0&&0===Et[0].index&&Be>0&&"text_special"===Z[Be-1].type&&(Et=Et.slice(1));for(let En=0;En_n){const Bn=new l.Token("text","",0);Bn.content=ht.slice(_n,oi),Bn.level=nn,ln.push(Bn)}const Fi=new l.Token("link_open","a",1);Fi.attrs=[["href",pi]],Fi.level=nn++,Fi.markup="linkify",Fi.info="auto",ln.push(Fi);const wn=new l.Token("text","",0);wn.content=hi,wn.level=nn,ln.push(wn);const ni=new l.Token("link_close","a",-1);ni.level=--nn,ni.markup="linkify",ni.info="auto",ln.push(ni),_n=Et[En].lastIndex}if(_n=0;g--)"inline"===l.tokens[g].type&&(Ri.test(l.tokens[g].content)&&qo(l.tokens[g].children),to.test(l.tokens[g].content)&&lr(l.tokens[g].children))}],["smartquotes",function bo(l){if(l.md.options.typographer)for(let g=l.tokens.length-1;g>=0;g--)"inline"!==l.tokens[g].type||!Wi.test(l.tokens[g].content)||Vo(l.tokens[g].children,l)}],["text_join",function ji(l){let g,x;const G=l.tokens,Z=G.length;for(let K=0;K0&&this.level++,this.tokens.push(G),G},Si.prototype.isEmpty=function(g){return this.bMarks[g]+this.tShift[g]>=this.eMarks[g]},Si.prototype.skipEmptyLines=function(g){for(let x=this.lineMax;gx;)if(!$(this.src.charCodeAt(--g)))return g+1;return g},Si.prototype.skipChars=function(g,x){for(let G=this.src.length;gG;)if(x!==this.src.charCodeAt(--g))return g+1;return g},Si.prototype.getLines=function(g,x,G,Z){if(g>=x)return"";const K=new Array(x-g);for(let Be=0,ke=g;keG?new Array(ht-G+1).join(" ")+this.src.slice(ln,nn):this.src.slice(ln,nn)}return K.join("")},Si.prototype.Token=ci;const oo=Si;function go(l,g){return l.src.slice(l.bMarks[g]+l.tShift[g],l.eMarks[g])}function Pn(l){const g=[],x=l.length;let G=0,Z=l.charCodeAt(G),K=!1,Be=0,ke="";for(;G=G)return-1;let K=l.src.charCodeAt(Z++);if(K<48||K>57)return-1;for(;;){if(Z>=G)return-1;if(K=l.src.charCodeAt(Z++),!(K>=48&&K<=57)){if(41===K||46===K)break;return-1}if(Z-x>=10)return-1}return Z`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Vr="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Tr=new RegExp("^(?:"+er+"|"+Vr+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),tr=new RegExp("^(?:"+er+"|"+Vr+")"),Ui=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(tr.source+"\\s*$"),/^$/,!1]],Mr=[["table",function Nt(l,g,x,G){if(g+2>x)return!1;let Z=g+1;if(l.sCount[Z]=4)return!1;let K=l.bMarks[Z]+l.tShift[Z];if(K>=l.eMarks[Z])return!1;const Be=l.src.charCodeAt(K++);if(124!==Be&&45!==Be&&58!==Be||K>=l.eMarks[Z])return!1;const ke=l.src.charCodeAt(K++);if(124!==ke&&45!==ke&&58!==ke&&!$(ke)||45===Be&&$(ke))return!1;for(;K=4)return!1;Et=Pn(ht),Et.length&&""===Et[0]&&Et.shift(),Et.length&&""===Et[Et.length-1]&&Et.pop();const nn=Et.length;if(0===nn||nn!==ln.length)return!1;if(G)return!0;const _n=l.parentType;l.parentType="table";const En=l.md.block.ruler.getRules("blockquote"),pi=[g,0];l.push("table_open","table",1).map=pi,l.push("thead_open","thead",1).map=[g,g+1],l.push("tr_open","tr",1).map=[g,g+1];for(let wn=0;wn=4)break;Et=Pn(ht),Et.length&&""===Et[0]&&Et.shift(),Et.length&&""===Et[Et.length-1]&&Et.pop(),Z===g+2&&(l.push("tbody_open","tbody",1).map=Fi=[g+2,0]),l.push("tr_open","tr",1).map=[Z,Z+1];for(let Bn=0;Bn=4))break;G++,Z=G}l.line=Z;const K=l.push("code_block","code",0);return K.content=l.getLines(g,Z,4+l.blkIndent,!1)+"\n",K.map=[g,l.line],!0}],["fence",function Rn(l,g,x,G){let Z=l.bMarks[g]+l.tShift[g],K=l.eMarks[g];if(l.sCount[g]-l.blkIndent>=4||Z+3>K)return!1;const Be=l.src.charCodeAt(Z);if(126!==Be&&96!==Be)return!1;let ke=Z;Z=l.skipChars(Z,Be);let ht=Z-ke;if(ht<3)return!1;const Et=l.src.slice(ke,Z),ln=l.src.slice(Z,K);if(96===Be&&ln.indexOf(String.fromCharCode(Be))>=0)return!1;if(G)return!0;let nn=g,_n=!1;for(;nn++,!(nn>=x||(Z=ke=l.bMarks[nn]+l.tShift[nn],K=l.eMarks[nn],Z=4||(Z=l.skipChars(Z,Be),Z-ke=4||62!==l.src.charCodeAt(Z))return!1;if(G)return!0;const ke=[],ht=[],Et=[],ln=[],nn=l.md.block.ruler.getRules("blockquote"),_n=l.parentType;l.parentType="blockquote";let un,En=!1;for(un=g;un=K)break;if(62===l.src.charCodeAt(Z++)&&!wn){let ro,Ci,Bn=l.sCount[un]+1;32===l.src.charCodeAt(Z)?(Z++,Bn++,Ci=!1,ro=!0):9===l.src.charCodeAt(Z)?(ro=!0,(l.bsCount[un]+Bn)%4==3?(Z++,Bn++,Ci=!1):Ci=!0):ro=!1;let Xr=Bn;for(ke.push(l.bMarks[un]),l.bMarks[un]=Z;Z=K,ht.push(l.bsCount[un]),l.bsCount[un]=l.sCount[un]+1+(ro?1:0),Et.push(l.sCount[un]),l.sCount[un]=Xr-Bn,ln.push(l.tShift[un]),l.tShift[un]=Z-l.bMarks[un];continue}if(En)break;let ni=!1;for(let Bn=0,ro=nn.length;Bn";const oi=[g,0];hi.map=oi,l.md.block.tokenize(l,g,un),l.push("blockquote_close","blockquote",-1).markup=">",l.lineMax=Be,l.parentType=_n,oi[1]=l.line;for(let wn=0;wn=4)return!1;let K=l.bMarks[g]+l.tShift[g];const Be=l.src.charCodeAt(K++);if(42!==Be&&45!==Be&&95!==Be)return!1;let ke=1;for(;K=4||l.listIndent>=0&&l.sCount[ht]-l.listIndent>=4&&l.sCount[ht]=l.blkIndent&&(ln=!0),(En=xi(l,ht))>=0){if(nn=!0,Be=l.bMarks[ht]+l.tShift[ht],_n=Number(l.src.slice(Be,En-1)),ln&&1!==_n)return!1}else{if(!((En=Bi(l,ht))>=0))return!1;nn=!1}if(ln&&l.skipSpaces(En)>=l.eMarks[ht])return!1;if(G)return!0;const un=l.src.charCodeAt(En-1),pi=l.tokens.length;nn?(ke=l.push("ordered_list_open","ol",1),1!==_n&&(ke.attrs=[["start",_n]])):ke=l.push("bullet_list_open","ul",1);const hi=[ht,0];ke.map=hi,ke.markup=String.fromCharCode(un);let oi=!1;const Fi=l.md.block.ruler.getRules("list"),wn=l.parentType;for(l.parentType="list";ht=Z?1:Bn-ni,Ci>4&&(Ci=1);const Xr=ni+Ci;ke=l.push("list_item_open","li",1),ke.markup=String.fromCharCode(un);const hr=[ht,0];ke.map=hr,nn&&(ke.info=l.src.slice(Be,En-1));const va=l.tight,Xo=l.tShift[ht],Wr=l.sCount[ht],ia=l.listIndent;if(l.listIndent=l.blkIndent,l.blkIndent=Xr,l.tight=!0,l.tShift[ht]=ro-l.bMarks[ht],l.sCount[ht]=Bn,ro>=Z&&l.isEmpty(ht+1)?l.line=Math.min(l.line+2,x):l.md.block.tokenize(l,ht,x,!0),(!l.tight||oi)&&(Et=!1),oi=l.line-ht>1&&l.isEmpty(l.line-1),l.blkIndent=l.listIndent,l.listIndent=ia,l.tShift[ht]=Xo,l.sCount[ht]=Wr,l.tight=va,ke=l.push("list_item_close","li",-1),ke.markup=String.fromCharCode(un),ht=l.line,hr[1]=ht,ht>=x||l.sCount[ht]=4)break;let m=!1;for(let v=0,h=Fi.length;v=4||91!==l.src.charCodeAt(K))return!1;for(;++K3||l.sCount[ke]<0)continue;let Bn=!1;for(let ro=0,Ci=Et.length;ro"u"&&(l.env.references={}),typeof l.env.references[ni]>"u"&&(l.env.references[ni]={title:wn,href:un}),l.parentType=ln,l.line=g+Z+1),!0)}],["html_block",function _r(l,g,x,G){let Z=l.bMarks[g]+l.tShift[g],K=l.eMarks[g];if(l.sCount[g]-l.blkIndent>=4||!l.md.options.html||60!==l.src.charCodeAt(Z))return!1;let Be=l.src.slice(Z,K),ke=0;for(;ke=4)return!1;let Be=l.src.charCodeAt(Z);if(35!==Be||Z>=K)return!1;let ke=1;for(Be=l.src.charCodeAt(++Z);35===Be&&Z6||ZZ&&$(l.src.charCodeAt(ht-1))&&(K=ht),l.line=g+1;const Et=l.push("heading_open","h"+String(ke),1);Et.markup="########".slice(0,ke),Et.map=[g,l.line];const ln=l.push("inline","",0);return ln.content=l.src.slice(Z,K).trim(),ln.map=[g,l.line],ln.children=[],l.push("heading_close","h"+String(ke),-1).markup="########".slice(0,ke),!0},["paragraph","reference","blockquote"]],["lheading",function Ir(l,g,x){const G=l.md.block.ruler.getRules("paragraph");if(l.sCount[g]-l.blkIndent>=4)return!1;const Z=l.parentType;l.parentType="paragraph";let Be,K=0,ke=g+1;for(;ke3)continue;if(l.sCount[ke]>=l.blkIndent){let En=l.bMarks[ke]+l.tShift[ke];const un=l.eMarks[ke];if(En=un))){K=61===Be?1:2;break}}if(l.sCount[ke]<0)continue;let _n=!1;for(let En=0,un=G.length;En3||l.sCount[K]<0)continue;let Et=!1;for(let ln=0,nn=G.length;ln=x||l.sCount[Be]=K){l.line=x;break}const ht=l.line;let Et=!1;for(let ln=0;ln=l.line)throw new Error("block rule didn't increment state.line");break}if(!Et)throw new Error("none of the block rules matched");l.tight=!ke,l.isEmpty(l.line-1)&&(ke=!0),Be=l.line,Be0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],Z={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(G),this.tokens_meta.push(Z),G},Hi.prototype.scanDelims=function(l,g){let x,G,Z=!0,K=!0;const Be=this.posMax,ke=this.src.charCodeAt(l),ht=l>0?this.src.charCodeAt(l-1):32;let Et=l;for(;Et?@[]^_`{|}~-".split("").forEach(function(l){Er[l.charCodeAt(0)]=1});const Mo={tokenize:function ko(l,g){const G=l.src.charCodeAt(l.pos);if(g||126!==G)return!1;const Z=l.scanDelims(l.pos,!0);let K=Z.length;const Be=String.fromCharCode(G);if(K<2)return!1;let ke;K%2&&(ke=l.push("text","",0),ke.content=Be,K--);for(let ht=0;ht=0;G--){const Z=g[G];if(95!==Z.marker&&42!==Z.marker||-1===Z.end)continue;const K=g[Z.end],Be=G>0&&g[G-1].end===Z.end+1&&g[G-1].marker===Z.marker&&g[G-1].token===Z.token-1&&g[Z.end+1].token===K.token+1,ke=String.fromCharCode(Z.marker),ht=l.tokens[Z.token];ht.type=Be?"strong_open":"em_open",ht.tag=Be?"strong":"em",ht.nesting=1,ht.markup=Be?ke+ke:ke,ht.content="";const Et=l.tokens[K.token];Et.type=Be?"strong_close":"em_close",Et.tag=Be?"strong":"em",Et.nesting=-1,Et.markup=Be?ke+ke:ke,Et.content="",Be&&(l.tokens[g[G-1].token].content="",l.tokens[g[Z.end+1].token].content="",G--)}}const j={tokenize:function Ee(l,g){const G=l.src.charCodeAt(l.pos);if(g||95!==G&&42!==G)return!1;const Z=l.scanDelims(l.pos,42===G);for(let K=0;K\x00-\x20]*)$/,M=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,ae=/^&([a-z][a-z0-9]{1,31});/i;function Dn(l){const g={},x=l.length;if(!x)return;let G=0,Z=-2;const K=[];for(let Be=0;Beht;Et-=K[Et]+1){const nn=l[Et];if(nn.marker===ke.marker&&nn.open&&nn.end<0){let _n=!1;if((nn.close||ke.open)&&(nn.length+ke.length)%3==0&&(nn.length%3!=0||ke.length%3!=0)&&(_n=!0),!_n){const En=Et>0&&!l[Et-1].open?K[Et-1]+1:0;K[Be]=Be-Et+En,K[Et]=En,ke.open=!1,nn.end=Be,nn.close=!1,ln=-1,Z=-2;break}}}-1!==ln&&(g[ke.marker][(ke.open?3:0)+(ke.length||0)%3]=ln)}}const Di=[["text",function ao(l,g){let x=l.pos;for(;x0)return!1;const x=l.pos;if(x+3>l.posMax||58!==l.src.charCodeAt(x)||47!==l.src.charCodeAt(x+1)||47!==l.src.charCodeAt(x+2))return!1;const Z=l.pending.match(ir);if(!Z)return!1;const K=Z[1],Be=l.md.linkify.matchAtStart(l.src.slice(x-K.length));if(!Be)return!1;let ke=Be.url;if(ke.length<=K.length)return!1;ke=ke.replace(/\*+$/,"");const ht=l.md.normalizeLink(ke);if(!l.md.validateLink(ht))return!1;if(!g){l.pending=l.pending.slice(0,-K.length);const Et=l.push("link_open","a",1);Et.attrs=[["href",ht]],Et.markup="linkify",Et.info="auto",l.push("text","",0).content=l.md.normalizeLinkText(ke);const nn=l.push("link_close","a",-1);nn.markup="linkify",nn.info="auto"}return l.pos+=ke.length-K.length,!0}],["newline",function jr(l,g){let x=l.pos;if(10!==l.src.charCodeAt(x))return!1;const G=l.pending.length-1,Z=l.posMax;if(!g)if(G>=0&&32===l.pending.charCodeAt(G))if(G>=1&&32===l.pending.charCodeAt(G-1)){let K=G-1;for(;K>=1&&32===l.pending.charCodeAt(K-1);)K--;l.pending=l.pending.slice(0,K),l.push("hardbreak","br",0)}else l.pending=l.pending.slice(0,-1),l.push("softbreak","br",0);else l.push("softbreak","br",0);for(x++;x=G))return!1;let Z=l.src.charCodeAt(x);if(10===Z){for(g||l.push("hardbreak","br",0),x++;x=55296&&Z<=56319&&x+1=56320&&ke<=57343&&(K+=l.src[x+1],x++)}const Be="\\"+K;if(!g){const ke=l.push("text_special","",0);ke.content=Z<256&&0!==Er[Z]?K:Be,ke.markup=Be,ke.info="escape"}return l.pos=x+1,!0}],["backticks",function $i(l,g){let x=l.pos;if(96!==l.src.charCodeAt(x))return!1;const Z=x;x++;const K=l.posMax;for(;x=nn)return!1;if(ht=un,Z=l.md.helpers.parseLinkDestination(l.src,un,l.posMax),Z.ok){for(Be=l.md.normalizeLink(Z.str),l.md.validateLink(Be)?un=Z.pos:Be="",ht=un;un=nn||41!==l.src.charCodeAt(un))&&(Et=!0),un++}if(Et){if(typeof l.env.references>"u")return!1;if(un=0?G=l.src.slice(ht,un++):un=En+1):un=En+1,G||(G=l.src.slice(_n,En)),K=l.env.references[Bt(G)],!K)return l.pos=ln,!1;Be=K.href,ke=K.title}if(!g){l.pos=_n,l.posMax=En;const hi=[["href",Be]];l.push("link_open","a",1).attrs=hi,ke&&hi.push(["title",ke]),l.linkLevel++,l.md.inline.tokenize(l),l.linkLevel--,l.push("link_close","a",-1)}return l.pos=un,l.posMax=nn,!0}],["image",function Ye(l,g){let x,G,Z,K,Be,ke,ht,Et,ln="";const nn=l.pos,_n=l.posMax;if(33!==l.src.charCodeAt(l.pos)||91!==l.src.charCodeAt(l.pos+1))return!1;const En=l.pos+2,un=l.md.helpers.parseLinkLabel(l,l.pos+1,!1);if(un<0)return!1;if(K=un+1,K<_n&&40===l.src.charCodeAt(K)){for(K++;K<_n&&(x=l.src.charCodeAt(K),$(x)||10===x);K++);if(K>=_n)return!1;for(Et=K,ke=l.md.helpers.parseLinkDestination(l.src,K,l.posMax),ke.ok&&(ln=l.md.normalizeLink(ke.str),l.md.validateLink(ln)?K=ke.pos:ln=""),Et=K;K<_n&&(x=l.src.charCodeAt(K),$(x)||10===x);K++);if(ke=l.md.helpers.parseLinkTitle(l.src,K,l.posMax),K<_n&&Et!==K&&ke.ok)for(ht=ke.str,K=ke.pos;K<_n&&(x=l.src.charCodeAt(K),$(x)||10===x);K++);else ht="";if(K>=_n||41!==l.src.charCodeAt(K))return l.pos=nn,!1;K++}else{if(typeof l.env.references>"u")return!1;if(K<_n&&91===l.src.charCodeAt(K)?(Et=K+1,K=l.md.helpers.parseLinkLabel(l,K),K>=0?Z=l.src.slice(Et,K++):K=un+1):K=un+1,Z||(Z=l.src.slice(En,un)),Be=l.env.references[Bt(Z)],!Be)return l.pos=nn,!1;ln=Be.href,ht=Be.title}if(!g){G=l.src.slice(En,un);const pi=[];l.md.inline.parse(G,l.md,l.env,pi);const hi=l.push("image","img",0),oi=[["src",ln],["alt",""]];hi.attrs=oi,hi.children=pi,hi.content=G,ht&&oi.push(["title",ht])}return l.pos=K,l.posMax=_n,!0}],["autolink",function Vt(l,g){let x=l.pos;if(60!==l.src.charCodeAt(x))return!1;const G=l.pos,Z=l.posMax;for(;;){if(++x>=Z)return!1;const Be=l.src.charCodeAt(x);if(60===Be)return!1;if(62===Be)break}const K=l.src.slice(G+1,x);if(Ot.test(K)){const Be=l.md.normalizeLink(K);if(!l.md.validateLink(Be))return!1;if(!g){const ke=l.push("link_open","a",1);ke.attrs=[["href",Be]],ke.markup="autolink",ke.info="auto",l.push("text","",0).content=l.md.normalizeLinkText(K);const Et=l.push("link_close","a",-1);Et.markup="autolink",Et.info="auto"}return l.pos+=K.length+2,!0}if(Ct.test(K)){const Be=l.md.normalizeLink("mailto:"+K);if(!l.md.validateLink(Be))return!1;if(!g){const ke=l.push("link_open","a",1);ke.attrs=[["href",Be]],ke.markup="autolink",ke.info="auto",l.push("text","",0).content=l.md.normalizeLinkText(K);const Et=l.push("link_close","a",-1);Et.markup="autolink",Et.info="auto"}return l.pos+=K.length+2,!0}return!1}],["html_inline",function E(l,g){if(!l.md.options.html)return!1;const x=l.posMax,G=l.pos;if(60!==l.src.charCodeAt(G)||G+2>=x)return!1;const Z=l.src.charCodeAt(G+1);if(33!==Z&&63!==Z&&47!==Z&&!function T(l){const g=32|l;return g>=97&&g<=122}(Z))return!1;const K=l.src.slice(G).match(Tr);if(!K)return!1;if(!g){const Be=l.push("html_inline","",0);Be.content=K[0],function sn(l){return/^\s]/i.test(l)}(Be.content)&&l.linkLevel++,function kn(l){return/^<\/a\s*>/i.test(l)}(Be.content)&&l.linkLevel--}return l.pos+=K[0].length,!0}],["entity",function ft(l,g){const x=l.pos,G=l.posMax;if(38!==l.src.charCodeAt(x)||x+1>=G)return!1;if(35===l.src.charCodeAt(x+1)){const K=l.src.slice(x).match(M);if(K){if(!g){const Be="x"===K[1][0].toLowerCase()?parseInt(K[1].slice(1),16):parseInt(K[1],10),ke=l.push("text_special","",0);ke.content=Jt(Be)?Nn(Be):Nn(65533),ke.markup=K[0],ke.info="entity"}return l.pos+=K[0].length,!0}}else{const K=l.src.slice(x).match(ae);if(K){const Be=yt(K[0]);if(Be!==K[0]){if(!g){const ke=l.push("text_special","",0);ke.content=Be,ke.markup=K[0],ke.info="entity"}return l.pos+=K[0].length,!0}}}return!1}]],mi=[["balance_pairs",function zn(l){const g=l.tokens_meta,x=l.tokens_meta.length;Dn(l.delimiters);for(let G=0;G0&&G++,"text"===Z[g].type&&g+1=l.pos)throw new Error("inline rule didn't increment state.pos");break}}else l.pos=l.posMax;Be||l.pos++,K[g]=l.pos},_o.prototype.tokenize=function(l){const g=this.ruler.getRules(""),x=g.length,G=l.posMax,Z=l.md.options.maxNesting;for(;l.pos=l.pos)throw new Error("inline rule didn't increment state.pos");break}if(Be){if(l.pos>=G)break}else l.pending+=l.src[l.pos++]}l.pending&&l.pushPending()},_o.prototype.parse=function(l,g,x,G){const Z=new this.State(l,g,x,G);this.tokenize(Z);const K=this.ruler2.getRules(""),Be=K.length;for(let ke=0;ke=3&&":"===l[g-3]||g>=3&&"/"===l[g-3]?0:G.match(x.re.no_http)[0].length:0}},"mailto:":{validate:function(l,g,x){const G=l.slice(g);return x.re.mailto||(x.re.mailto=new RegExp("^"+x.re.src_email_name+"@"+x.re.src_host_strict,"i")),x.re.mailto.test(G)?G.match(x.re.mailto)[0].length:0}}},jn="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",si="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function Lo(l){const g=l.re=function qi(l){const g={};l=l||{},g.src_Any=Qe.source,g.src_Cc=qe.source,g.src_Z=R.source,g.src_P=At.source,g.src_ZPCc=[g.src_Z,g.src_P,g.src_Cc].join("|"),g.src_ZCc=[g.src_Z,g.src_Cc].join("|");return g.src_pseudo_letter="(?:(?![><\uff5c]|"+g.src_ZPCc+")"+g.src_Any+")",g.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",g.src_auth="(?:(?:(?!"+g.src_ZCc+"|[@/\\[\\]()]).)+@)?",g.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",g.src_host_terminator="(?=$|[><\uff5c]|"+g.src_ZPCc+")(?!"+(l["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+g.src_ZPCc+"))",g.src_path="(?:[/?#](?:(?!"+g.src_ZCc+"|[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+g.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+g.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+g.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+g.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+g.src_ZCc+"|[']).)+\\'|\\'(?="+g.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+g.src_ZCc+"|[.]|$)|"+(l["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+g.src_ZCc+"|$)|;(?!"+g.src_ZCc+"|$)|\\!+(?!"+g.src_ZCc+"|[!]|$)|\\?(?!"+g.src_ZCc+"|[?]|$))+|\\/)?",g.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',g.src_xn="xn--[a-z0-9\\-]{1,59}",g.src_domain_root="(?:"+g.src_xn+"|"+g.src_pseudo_letter+"{1,63})",g.src_domain="(?:"+g.src_xn+"|(?:"+g.src_pseudo_letter+")|(?:"+g.src_pseudo_letter+"(?:-|"+g.src_pseudo_letter+"){0,61}"+g.src_pseudo_letter+"))",g.src_host="(?:(?:(?:(?:"+g.src_domain+")\\.)*"+g.src_domain+"))",g.tpl_host_fuzzy="(?:"+g.src_ip4+"|(?:(?:(?:"+g.src_domain+")\\.)+(?:%TLDS%)))",g.tpl_host_no_ip_fuzzy="(?:(?:(?:"+g.src_domain+")\\.)+(?:%TLDS%))",g.src_host_strict=g.src_host+g.src_host_terminator,g.tpl_host_fuzzy_strict=g.tpl_host_fuzzy+g.src_host_terminator,g.src_host_port_strict=g.src_host+g.src_port+g.src_host_terminator,g.tpl_host_port_fuzzy_strict=g.tpl_host_fuzzy+g.src_port+g.src_host_terminator,g.tpl_host_port_no_ip_fuzzy_strict=g.tpl_host_no_ip_fuzzy+g.src_port+g.src_host_terminator,g.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+g.src_ZPCc+"|>|$))",g.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+g.src_ZCc+")("+g.src_email_name+"@"+g.tpl_host_fuzzy_strict+")",g.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+g.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+g.tpl_host_port_fuzzy_strict+g.src_path+")",g.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+g.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+g.tpl_host_port_no_ip_fuzzy_strict+g.src_path+")",g}(l.__opts__),x=l.__tlds__.slice();function G(ke){return ke.replace("%TLDS%",g.src_tlds)}l.onCompile(),l.__tlds_replaced__||x.push(jn),x.push(g.src_xn),g.src_tlds=x.join("|"),g.email_fuzzy=RegExp(G(g.tpl_email_fuzzy),"i"),g.link_fuzzy=RegExp(G(g.tpl_link_fuzzy),"i"),g.link_no_ip_fuzzy=RegExp(G(g.tpl_link_no_ip_fuzzy),"i"),g.host_fuzzy_test=RegExp(G(g.tpl_host_fuzzy_test),"i");const Z=[];function K(ke,ht){throw new Error('(LinkifyIt) Invalid schema "'+ke+'": '+ht)}l.__compiled__={},Object.keys(l.__schemas__).forEach(function(ke){const ht=l.__schemas__[ke];if(null===ht)return;const Et={validate:null,link:null};if(l.__compiled__[ke]=Et,function or(l){return"[object Object]"===eo(l)}(ht))return function fo(l){return"[object RegExp]"===eo(l)}(ht.validate)?Et.validate=function $o(l){return function(g,x){const G=g.slice(x);return l.test(G)?G.match(l)[0].length:0}}(ht.validate):Zo(ht.validate)?Et.validate=ht.validate:K(ke,ht),void(Zo(ht.normalize)?Et.normalize=ht.normalize:ht.normalize?K(ke,ht):Et.normalize=function(l,g){g.normalize(l)});!function Zi(l){return"[object String]"===eo(l)}(ht)?K(ke,ht):Z.push(ke)}),Z.forEach(function(ke){l.__compiled__[l.__schemas__[ke]]&&(l.__compiled__[ke].validate=l.__compiled__[l.__schemas__[ke]].validate,l.__compiled__[ke].normalize=l.__compiled__[l.__schemas__[ke]].normalize)}),l.__compiled__[""]={validate:null,normalize:function(l,g){g.normalize(l)}};const Be=Object.keys(l.__compiled__).filter(function(ke){return ke.length>0&&l.__compiled__[ke]}).map(cr).join("|");l.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+g.src_ZPCc+"))("+Be+")","i"),l.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+g.src_ZPCc+"))("+Be+")","ig"),l.re.schema_at_start=RegExp("^"+l.re.schema_search.source,"i"),l.re.pretest=RegExp("("+l.re.schema_test.source+")|("+l.re.host_fuzzy_test.source+")|@","i"),function wi(l){l.__index__=-1,l.__text_cache__=""}(l)}function Oi(l,g){const x=l.__index__,G=l.__last_index__,Z=l.__text_cache__.slice(x,G);this.schema=l.__schema__.toLowerCase(),this.index=x+g,this.lastIndex=G+g,this.raw=Z,this.text=Z,this.url=Z}function $r(l,g){const x=new Oi(l,g);return l.__compiled__[x.schema].normalize(x,l),x}function Eo(l,g){if(!(this instanceof Eo))return new Eo(l,g);g||function Hn(l){return Object.keys(l||{}).reduce(function(g,x){return g||qr.hasOwnProperty(x)},!1)}(l)&&(g=l,l={}),this.__opts__=yi({},qr,g),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=yi({},Vn,l),this.__compiled__={},this.__tlds__=si,this.__tlds_replaced__=!1,this.re={},Lo(this)}Eo.prototype.add=function(g,x){return this.__schemas__[g]=x,Lo(this),this},Eo.prototype.set=function(g){return this.__opts__=yi(this.__opts__,g),this},Eo.prototype.test=function(g){if(this.__text_cache__=g,this.__index__=-1,!g.length)return!1;let x,G,Z,K,Be,ke,ht,Et,ln;if(this.re.schema_test.test(g))for(ht=this.re.schema_search,ht.lastIndex=0;null!==(x=ht.exec(g));)if(K=this.testSchemaAt(g,x[2],ht.lastIndex),K){this.__schema__=x[2],this.__index__=x.index+x[1].length,this.__last_index__=x.index+x[0].length+K;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(Et=g.search(this.re.host_fuzzy_test),Et>=0&&(this.__index__<0||Et=0&&null!==(Z=g.match(this.re.email_fuzzy))&&(Be=Z.index+Z[1].length,ke=Z.index+Z[0].length,(this.__index__<0||Bethis.__last_index__)&&(this.__schema__="mailto:",this.__index__=Be,this.__last_index__=ke))),this.__index__>=0},Eo.prototype.pretest=function(g){return this.re.pretest.test(g)},Eo.prototype.testSchemaAt=function(g,x,G){return this.__compiled__[x.toLowerCase()]?this.__compiled__[x.toLowerCase()].validate(g,G,this):0},Eo.prototype.match=function(g){const x=[];let G=0;this.__index__>=0&&this.__text_cache__===g&&(x.push($r(this,G)),G=this.__last_index__);let Z=G?g.slice(G):g;for(;this.test(Z);)x.push($r(this,G)),Z=Z.slice(this.__last_index__),G+=this.__last_index__;return x.length?x:null},Eo.prototype.matchAtStart=function(g){if(this.__text_cache__=g,this.__index__=-1,!g.length)return null;const x=this.re.schema_at_start.exec(g);if(!x)return null;const G=this.testSchemaAt(g,x[2],x[0].length);return G?(this.__schema__=x[2],this.__index__=x.index+x[1].length,this.__last_index__=x.index+x[0].length+G,$r(this,0)):null},Eo.prototype.tlds=function(g,x){return g=Array.isArray(g)?g:[g],x?(this.__tlds__=this.__tlds__.concat(g).sort().filter(function(G,Z,K){return G!==K[Z-1]}).reverse(),Lo(this),this):(this.__tlds__=g.slice(),this.__tlds_replaced__=!0,Lo(this),this)},Eo.prototype.normalize=function(g){g.schema||(g.url="http://"+g.url),"mailto:"===g.schema&&!/^mailto:/i.test(g.url)&&(g.url="mailto:"+g.url)},Eo.prototype.onCompile=function(){};const ho=Eo,No=2147483647,Vs=/^xn--/,js=/[^\0-\x7F]/,$s=/[\x2E\u3002\uFF0E\uFF61]/g,_s={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Fo=Math.floor,O=String.fromCharCode;function J(l){throw new RangeError(_s[l])}function ge(l,g){const x=l.split("@");let G="";x.length>1&&(G=x[0]+"@",l=x[1]);const K=function P(l,g){const x=[];let G=l.length;for(;G--;)x[G]=g(l[G]);return x}((l=l.replace($s,".")).split("."),g).join(".");return G+K}function Je(l){const g=[];let x=0;const G=l.length;for(;x=55296&&Z<=56319&&x=48&&l<58?l-48+26:l>=65&&l<91?l-65:l>=97&&l<123?l-97:36},An=function(l,g){return l+22+75*(l<26)-((0!=g)<<5)},di=function(l,g,x){let G=0;for(l=x?Fo(l/700):l>>1,l+=Fo(l/g);l>455;G+=36)l=Fo(l/35);return Fo(G+36*l/(l+38))},_i=function(l){const g=[],x=l.length;let G=0,Z=128,K=72,Be=l.lastIndexOf("-");Be<0&&(Be=0);for(let ke=0;ke=128&&J("not-basic"),g.push(l.charCodeAt(ke));for(let ke=Be>0?Be+1:0;ke=x&&J("invalid-input");const _n=tn(l.charCodeAt(ke++));_n>=36&&J("invalid-input"),_n>Fo((No-G)/ln)&&J("overflow"),G+=_n*ln;const En=nn<=K?1:nn>=K+26?26:nn-K;if(_nFo(No/un)&&J("overflow"),ln*=un}const Et=g.length+1;K=di(G-ht,Et,0==ht),Fo(G/Et)>No-Z&&J("overflow"),Z+=Fo(G/Et),G%=Et,g.splice(G++,0,Z)}return String.fromCodePoint(...g)},fi=function(l){const g=[],x=(l=Je(l)).length;let G=128,Z=0,K=72;for(const ht of l)ht<128&&g.push(O(ht));const Be=g.length;let ke=Be;for(Be&&g.push("-");ke=G&&lnFo((No-Z)/Et)&&J("overflow"),Z+=(ht-G)*Et,G=ht;for(const ln of l)if(lnNo&&J("overflow"),ln===G){let nn=Z;for(let _n=36;;_n+=36){const En=_n<=K?1:_n>=K+26?26:_n-K;if(nnString.fromCodePoint(...l)},decode:_i,encode:fi,toASCII:function(l){return ge(l,function(g){return js.test(g)?"xn--"+fi(g):g})},toUnicode:function(l){return ge(l,function(g){return Vs.test(g)?_i(g.slice(4).toLowerCase()):g})}},Go={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},rr=/^(vbscript|javascript|file|data):/,Nr=/^data:image\/(gif|png|jpeg|webp);/;function br(l){const g=l.trim().toLowerCase();return!rr.test(g)||Nr.test(g)}const ss=["http:","https:","mailto:"];function Gr(l){const g=mt(l,!0);if(g.hostname&&(!g.protocol||ss.indexOf(g.protocol)>=0))try{g.hostname=Xi.toASCII(g.hostname)}catch{}return Y(_e(g))}function pa(l){const g=mt(l,!0);if(g.hostname&&(!g.protocol||ss.indexOf(g.protocol)>=0))try{g.hostname=Xi.toUnicode(g.hostname)}catch{}return te(_e(g),te.defaultChars+"%")}function Bo(l,g){if(!(this instanceof Bo))return new Bo(l,g);g||bt(l)||(g=l||{},l="default"),this.inline=new Ro,this.block=new mo,this.core=new Yi,this.renderer=new Kn,this.linkify=new ho,this.validateLink=br,this.normalizeLink=Gr,this.normalizeLinkText=pa,this.utils=k,this.helpers=$t({},z),this.options={},this.configure(l),g&&this.set(g)}Bo.prototype.set=function(l){return $t(this.options,l),this},Bo.prototype.configure=function(l){const g=this;if(bt(l)){const x=l;if(!(l=Go[x]))throw new Error('Wrong `markdown-it` preset "'+x+'", check name')}if(!l)throw new Error("Wrong `markdown-it` preset, can't be empty");return l.options&&g.set(l.options),l.components&&Object.keys(l.components).forEach(function(x){l.components[x].rules&&g[x].ruler.enableOnly(l.components[x].rules),l.components[x].rules2&&g[x].ruler2.enableOnly(l.components[x].rules2)}),this},Bo.prototype.enable=function(l,g){let x=[];Array.isArray(l)||(l=[l]),["core","block","inline"].forEach(function(Z){x=x.concat(this[Z].ruler.enable(l,!0))},this),x=x.concat(this.inline.ruler2.enable(l,!0));const G=l.filter(function(Z){return x.indexOf(Z)<0});if(G.length&&!g)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+G);return this},Bo.prototype.disable=function(l,g){let x=[];Array.isArray(l)||(l=[l]),["core","block","inline"].forEach(function(Z){x=x.concat(this[Z].ruler.disable(l,!0))},this),x=x.concat(this.inline.ruler2.disable(l,!0));const G=l.filter(function(Z){return x.indexOf(Z)<0});if(G.length&&!g)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+G);return this},Bo.prototype.use=function(l){const g=[this].concat(Array.prototype.slice.call(arguments,1));return l.apply(l,g),this},Bo.prototype.parse=function(l,g){if("string"!=typeof l)throw new Error("Input data should be a String");const x=new this.core.State(l,this,g);return this.core.process(x),x.tokens},Bo.prototype.render=function(l,g){return this.renderer.render(this.parse(l,g=g||{}),this.options,g)},Bo.prototype.parseInline=function(l,g){const x=new this.core.State(l,this,g);return x.inlineMode=!0,this.core.process(x),x.tokens},Bo.prototype.renderInline=function(l,g){return this.renderer.render(this.parseInline(l,g=g||{}),this.options,g)};const Gs=Bo;var ea=c(4911);function dr(l){return"true"===(null==l?void 0:l.toString())}function ws(l){const g=String(l).trim();if(function ta(l){return["undefined","null","NaN"].includes(l)}(g))return null;if(function vs(l){return"true"===l||"false"===l}(g))return"true"===String(g);if(function Os(l){return!!l.trim()&&!Number.isNaN(Number(l))&&!l.startsWith("+")}(g))return Number(g);const x=decodeURIComponent(g);try{return function xs(l){return l.startsWith("[")&&l.endsWith("]")}(x)||function Uo(l){return l.startsWith("{")&&l.endsWith("}")}(x)?JSON.parse(x):x}catch{return x}}function as(l){return[{path:"",component:l,children:[{path:":tab",component:l}]}]}function es(l,g){if(null===l)return"null";switch(typeof l){case"string":return`'${l}'`;case"undefined":case"number":case"boolean":case"function":return String(l)}return l instanceof RegExp?String(l):Array.isArray(l)?function Ps(l,g){if(0===g)return"[\u2026]";let x="",G=!0;for(let Z=0;Z"code"===G&&"fence"===Z).map(({content:G})=>G.trim());return x.length?x:[l]}function us(l){return(0,ea.mG)(this,void 0,void 0,function*(){return l instanceof Promise?(yield l).default:l})}function sr(l){return(0,ea.mG)(this,void 0,void 0,function*(){const g={};for(const[x,G]of Object.entries(l))G&&(g[x]=yield us(G));return g})}function Ws(l){const g=new Map;return l.forEach(x=>{"subPages"in x?x.subPages.forEach(G=>{g.set(G.title,G)}):g.set(x.title,x)}),g}const ar={\u0430:"f",\u0431:",",\u0432:"d",\u0433:"u",\u0434:"l",\u0435:"t",\u0451:"`",\u0436:";",\u0437:"p",\u0438:"b",\u0439:"q",\u043a:"r",\u043b:"k",\u043c:"v",\u043d:"y",\u043e:"j",\u043f:"g",\u0440:"h",\u0441:"c",\u0442:"n",\u0443:"e",\u0444:"a",\u0445:"[",\u0446:"w",\u0447:"x",\u0448:"i",\u0449:"o",\u044a:"]",\u044b:"s",\u044c:"m",\u044e:".",\u044f:"z"};function _a(l){let g="";for(let x=0;x]+)>/g);return(g?g.reduce((G,Z)=>G.replace(Z,Z.replace(/\|/g,"&")),l).split("|").map(G=>G.trim()):l.split("|").map(G=>G.trim())).reduce((G,Z)=>{var K,Be,ke,ht,Et,ln,nn,_n,En,un,pi,hi;let oi=Z.trim().replace(/readonly /g,"").replace(/\[\]/g,"");return oi=null!==(ht=null===(ke=null===(Be=null===(K=oi.match(/ReadonlyArray<([^>]+)>/))||void 0===K?void 0:K[1])||void 0===Be?void 0:Be.split("&"))||void 0===ke?void 0:ke[0])&&void 0!==ht?ht:oi,oi=null!==(_n=null===(nn=null===(ln=null===(Et=oi.match(/\[([^\]]+)\]/))||void 0===Et?void 0:Et[1])||void 0===ln?void 0:ln.split(","))||void 0===nn?void 0:nn[0])&&void 0!==_n?_n:oi,oi=null!==(hi=null===(pi=null!==(un=null===(En=oi.split("<"))||void 0===En?void 0:En[0])&&void 0!==un?un:oi)||void 0===pi?void 0:pi.trim())&&void 0!==hi?hi:"",oi=Number.isNaN(parseFloat(oi))?oi:"number",oi=/^'(.+)'$|^"(.+)"$|^`(.+)`$/.test(oi)?"string":oi,oi=1===oi.length?"unknown":oi,G.concat({type:Z.replace(/&/g,"|"),extracted:oi})},[])}},6480:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Er:()=>qe,F9:()=>At,FX:()=>$e,GM:()=>Ge,M$:()=>Oe,N9:()=>Qe,QJ:()=>vt,Xn:()=>ee,d5:()=>tt,wB:()=>_t});var e=c(4537),s=c(9900),z=(c(8939),c(3770)),F=c(1927),ne=c(8023),W=c(1860),te=c(7241),pe=c(4121),ce=c(3517),de=c(3674),Y=c(7969),_e=c(4970),ue=c(2147),ie=c(1528),Ue=c(3528),ve=c(9669),Ae=c(7788),Ve=c(8692);const je=["viewContainer"];let ee=(()=>{class R{constructor(){this.pseudoHover=null,this.pseudoActive=null,this.pseudoFocus=null,this.focusable=!0,this.nativeId="",this.focusedChange=new e.vpe,this.focusVisibleChange=new e.vpe,this.focusVisible=!1,this.autoIdString=`tui_interactive_${R.autoId++}${Date.now()}`}get computedDisabled(){return this.disabled}get computedFocusable(){return!this.computedDisabled&&(this.focusable||this.focused)}get computedFocused(){var S;return!this.computedDisabled&&(null!==(S=this.pseudoFocus)&&void 0!==S?S:this.focused)}get computedFocusVisible(){var S;return!this.computedDisabled&&(null!==(S=this.pseudoFocus)&&void 0!==S?S:this.focusVisible)}get id(){return this.nativeId||this.autoIdString}updateFocused(S){this.focusedChange.emit(S)}updateFocusVisible(S){this.focusVisible!==S&&(this.focusVisible=S,this.focusVisibleChange.emit(S))}}return R.autoId=0,R.\u0275fac=function(S){return new(S||R)},R.\u0275dir=e.lG2({type:R,hostVars:7,hostBindings:function(S,q){2&S&&(e.uIk("data-focused",q.pseudoFocus),e.ekj("_disabled",q.computedDisabled)("_focused",q.computedFocused)("_focus-visible",q.computedFocusVisible))},inputs:{pseudoHover:"pseudoHover",pseudoActive:"pseudoActive",pseudoFocus:"pseudoFocus",focusable:"focusable",nativeId:"nativeId"},outputs:{focusedChange:"focusedChange",focusVisibleChange:"focusVisibleChange"}}),R})();class $e{}let Oe=(()=>{class R extends ee{constructor(S,q,ze){super(),this.ngControl=S,this.cdr=q,this.valueTransformer=ze,this.refresh$=new ne.x,this.onTouched=z.iD,this.onChange=z.iD,this.fallbackValue=this.getFallbackValue(),this.destroy$=new ne.x,this.readOnly=!1,this.pseudoInvalid=null,this.ngControl&&(this.ngControl.valueAccessor=this)}get computedInvalid(){return this.interactive&&(null!==this.pseudoInvalid?this.pseudoInvalid:this.touched&&this.invalid)}get value(){var S;return null!==(S=this.previousInternalValue)&&void 0!==S?S:this.fallbackValue}set value(S){this.updateValue(S)}get safeCurrentValue(){var S;return null!==(S=this.rawValue)&&void 0!==S?S:this.fallbackValue}get invalid(){return this.safeNgControlData(({invalid:S})=>S,!1)}get valid(){return this.safeNgControlData(({valid:S})=>S,!1)}get touched(){return this.safeNgControlData(({touched:S})=>S,!1)}get disabled(){return this.safeNgControlData(({disabled:S})=>S,!1)}get interactive(){return!this.readOnly&&!this.computedDisabled}get control(){return this.safeNgControlData(({control:S})=>S,null)}get computedName(){var S,q;return null!==(q=null===(S=this.controlName)||void 0===S?void 0:S.toString())&&void 0!==q?q:null}get controlName(){var S,q,ze;return null!==(ze=null===(q=null===(S=this.ngControl)||void 0===S?void 0:S.name)||void 0===q?void 0:q.toString())&&void 0!==ze?ze:null}get rawValue(){const{ngControl:S}=this;if(null!==S)return this.fromControlValue(S instanceof s.On&&void 0===this.previousInternalValue?S.viewModel:S.value)}ngOnInit(){this.refresh$.pipe((0,ce.g)(0),(0,de.O)(null),(0,Y.U)(()=>{var S;return null===(S=this.ngControl)||void 0===S?void 0:S.control}),(0,_e.h)(F.Pc),(0,ue.x)(),(0,ie.w)(S=>(0,W.T)(S.valueChanges,S.statusChanges)),(0,Ue.R)(this.destroy$)).subscribe(()=>{this.refreshLocalValue(this.safeCurrentValue)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}checkControlUpdate(){this.cdr.markForCheck()}registerOnChange(S){this.onChange=q=>{S(this.toControlValue(q))},this.refresh$.next()}registerOnTouched(S){this.onTouched=S}setDisabledState(){this.checkControlUpdate()}writeValue(S){this.refreshLocalValue(this.fromControlValue(this.ngControl instanceof s.On&&void 0===this.previousInternalValue?this.ngControl.model:S))}updateFocused(S){S||this.controlMarkAsTouched(),super.updateFocused(S)}updateValue(S){this.disabled||this.valueIdenticalComparator(this.value,S)||(this.previousInternalValue=S,this.controlSetValue(S))}valueIdenticalComparator(S,q){return S===q}safeNgControlData(S,q){var ze;return null!==(ze=this.ngControl&&S(this.ngControl))&&void 0!==ze?ze:q}controlMarkAsTouched(){this.onTouched(),this.checkControlUpdate()}controlSetValue(S){this.onChange(S),this.checkControlUpdate()}refreshLocalValue(S){this.previousInternalValue=S,this.checkControlUpdate()}fromControlValue(S){return this.valueTransformer?this.valueTransformer.fromControlValue(S):S}toControlValue(S){return this.valueTransformer?this.valueTransformer.toControlValue(S):S}}return R.\u0275fac=function(S){return new(S||R)(e.Y36(s.a5,8),e.Y36(e.sBO),e.Y36($e,8))},R.\u0275dir=e.lG2({type:R,hostVars:4,hostBindings:function(S,q){2&S&&e.ekj("_readonly",q.readOnly)("_invalid",q.computedInvalid)},inputs:{readOnly:"readOnly",pseudoInvalid:"pseudoInvalid"},features:[e.qOj]}),R})();function _t(R){return{provide:Oe,useExisting:R}}let vt=(()=>{class R{constructor(){this.change$=new ne.x}ngOnChanges(){this.change$.next()}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275dir=e.lG2({type:R,features:[e.TTD]}),R})(),tt=(()=>{class R extends te.y{constructor(S){super(q=>this.dialogs$.subscribe(q)),this.idService=S,this.dialogs$=new pe.X([])}open(S,q={}){return new te.y(ze=>{const Se=Object.assign(Object.assign(Object.assign({},this.defaultOptions),q),{content:S,completeWith:et=>{ze.next(et),ze.complete()},$implicit:ze,component:this.component,createdAt:Date.now(),id:this.idService.generate()});return this.dialogs$.next([...this.dialogs$.value,Se]),()=>{this.dialogs$.next(this.dialogs$.value.filter(et=>et!==Se))}})}}return R.\u0275fac=function(S){return new(S||R)(e.LFG(ve.ll))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})(),At=(()=>{class R extends Oe{getFallbackValue(){return null}}return R.\u0275fac=function(){let be;return function(q){return(be||(be=e.n5z(R)))(q||R)}}(),R.\u0275dir=e.lG2({type:R,features:[e.qOj]}),R})(),Qe=(()=>{class R{get safeHost(){if(!this.host)throw new Ae.ZB;return this.host}attach(S){this.host=S}add(S){return this.safeHost.addComponentChild(S)}remove({hostView:S}){S.destroyed||S.destroy()}addTemplate(S,q){return this.safeHost.addTemplateChild(S,q)}removeTemplate(S){S.destroyed||S.destroy()}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})(),qe=(()=>{class R{constructor(S,q,ze){this.injector=S,this.el=q,ze.attach(this)}get clientRect(){return this.el.nativeElement.getBoundingClientRect()}addComponentChild(S){const q=S.createInjector(this.injector),N=q.get(e._Vd).resolveComponentFactory(S.component),et=e.zs3.create({parent:q,providers:[{provide:R,useValue:this}]}),pt=this.vcr.createComponent(N,void 0,et);return pt.changeDetectorRef.detectChanges(),pt}addTemplateChild(S,q){return this.vcr.createEmbeddedView(S,q)}}return R.\u0275fac=function(S){return new(S||R)(e.Y36(e.gxx),e.Y36(e.SBq),e.Y36(Qe))},R.\u0275dir=e.lG2({type:R,viewQuery:function(S,q){if(1&S&&e.Gf(je,5,e.s_b),2&S){let ze;e.iGM(ze=e.CRH())&&(q.vcr=ze.first)}}}),R})(),Ge=(()=>{class R{constructor(S){if(this.doc=S,null!==this.style)return void this.addTheme();const q=this.doc.head.querySelectorAll("style");this.constructor.style=q[q.length-1]}get style(){return this.constructor.style}ngOnDestroy(){this.removeTheme()}addTheme(){this.style&&this.doc.head.appendChild(this.style)}removeTheme(){var S;null===(S=this.style)||void 0===S||S.remove()}}return R.style=null,R.\u0275fac=function(S){return new(S||R)(e.Y36(Ve.K0))},R.\u0275dir=e.lG2({type:R}),R})()},8939:(Ht,Fe,c)=>{"use strict";c.d(Fe,{T:()=>k,z:()=>s});var e=c(3770);const s={enabled:!1,get assert(){return e.iD}};class k{constructor(F,ne={}){this.message=F,this.context=ne}}},5122:(Ht,Fe,c)=>{"use strict";c.d(Fe,{ae:()=>z,mL:()=>ne,qY:()=>F});var e=c(4537),s=c(6480);const k=["*"];let z=(()=>{class W extends s.N9{}return W.\u0275fac=function(){let te;return function(ce){return(te||(te=e.n5z(W)))(ce||W)}}(),W.\u0275prov=e.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),F=(()=>{class W extends s.Er{}return W.\u0275fac=function(){let te;return function(ce){return(te||(te=e.n5z(W)))(ce||W)}}(),W.\u0275cmp=e.Xpm({type:W,selectors:[["tui-dropdown-host"]],features:[e._Bn([{provide:s.N9,useExisting:z},{provide:s.Er,useExisting:W}]),e.qOj],ngContentSelectors:k,decls:3,vars:0,consts:[["viewContainer",""]],template:function(pe,ce){1&pe&&(e.F$t(),e.Hsn(0),e.GkF(1,null,0))},styles:['[_nghost-%COMP%]{position:relative;z-index:0;display:block;height:100%}[_nghost-%COMP%]:before{content:"";display:block;overflow:hidden}.t-position-fixed-offset[_ngcontent-%COMP%]{position:fixed;left:0;top:0;pointer-events:none;visibility:hidden;width:100%;height:100%}'],changeDetection:0}),W})(),ne=(()=>{class W{}return W.\u0275fac=function(pe){return new(pe||W)},W.\u0275mod=e.oAB({type:W}),W.\u0275inj=e.cJS({}),W})()},1359:(Ht,Fe,c)=>{"use strict";c.d(Fe,{eI:()=>_t,ex:()=>Oe,tZ:()=>ee});var e=c(4537),s=c(2579),k=c(2325),z=c(8033),F=c(7969),ne=c(1528),W=c(3528),te=c(6148),pe=c(3674),ce=c(2147),de=c(8692),Y=c(3770),_e=c(9669),ue=c(1860);function ie(vt,tt){if(1&vt&&(e.TgZ(0,"div",3),e._UZ(1,"div",4),e.qZA()),2&vt){const we=e.oxw().ngIf;e.ekj("t-bar_has-horizontal",we[1])}}function Ue(vt,tt){if(1&vt&&(e.TgZ(0,"div",5),e._UZ(1,"div",6),e.qZA()),2&vt){const we=e.oxw().ngIf;e.ekj("t-bar_has-vertical",we[0])}}function ve(vt,tt){if(1&vt&&(e.ynx(0),e.YNc(1,ie,2,2,"div",1),e.YNc(2,Ue,2,2,"div",2),e.BQk()),2&vt){const we=tt.ngIf;e.xp6(1),e.Q6J("ngIf",we[0]),e.xp6(1),e.Q6J("ngIf",we[1])}}let se=(()=>{class vt{constructor(we,mt,At,Qe,qe,Ge){this.container=Qe,this.doc=qe,this.el=Ge,this.tuiScrollbar="vertical";const{nativeElement:R}=this.el,be=(0,k.mL)(R,"mousedown"),S=(0,k.mL)(this.doc,"mousemove"),q=(0,k.mL)(this.doc,"mouseup"),ze=(0,k.mL)(this.wrapper,"mousedown");(0,ue.T)(ze.pipe((0,F.U)(N=>this.getScrolled(N,.5,.5))),be.pipe((0,k.vm)(),(0,ne.w)(N=>{const Se=R.getBoundingClientRect(),et=function Ve({clientY:vt},{top:tt,height:we}){return(vt-tt)/we}(N,Se),pt=function je({clientX:vt},{left:tt,width:we}){return(vt-tt)/we}(N,Se);return S.pipe((0,F.U)(wt=>this.getScrolled(wt,et,pt)),(0,W.R)(q))}))).pipe((0,k.fL)(we),(0,W.R)(mt)).subscribe(([N,Se])=>{"vertical"===this.tuiScrollbar?this.element.scrollTop=N:this.element.scrollLeft=Se}),(0,ue.T)(At.pipe((0,te.p)(Y.Yg)),(0,k.pt)(this.element)).pipe((0,k.fL)(we),(0,W.R)(mt)).subscribe(()=>{"vertical"===this.tuiScrollbar?(R.style.top=100*this.thumb+"%",R.style.height=100*this.view+"%"):(R.style.left=100*this.thumb+"%",R.style.width=100*this.view+"%")})}get wrapper(){return this.el.nativeElement.parentElement}get scrolled(){const{scrollTop:we,scrollHeight:mt,clientHeight:At,scrollLeft:Qe,scrollWidth:qe,clientWidth:Ge}=this.element;return"vertical"===this.tuiScrollbar?we/(mt-At):Qe/(qe-Ge)}get compensation(){const{clientHeight:we,scrollHeight:mt,clientWidth:At,scrollWidth:Qe}=this.element;return we*we/mt>24&&"vertical"===this.tuiScrollbar||At*At/Qe>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/we:24/At}get thumb(){return this.scrolled*(1-(this.compensation||this.view))}get view(){const{clientHeight:we,scrollHeight:mt,clientWidth:At,scrollWidth:Qe}=this.element;return"vertical"===this.tuiScrollbar?Math.ceil(we/mt*100)/100:Math.ceil(At/Qe*100)/100}get element(){return this.container.nativeElement}getScrolled({clientY:we,clientX:mt},At,Qe){const{offsetHeight:qe,offsetWidth:Ge}=this.el.nativeElement,{top:R,left:be,width:S,height:q}=this.wrapper.getBoundingClientRect();return[(we-R-qe*At)/(q-qe)*(this.element.scrollHeight-q),(mt-be-Ge*Qe)/(S-Ge)*(this.element.scrollWidth-S)]}}return vt.\u0275fac=function(we){return new(we||vt)(e.Y36(e.R0b),e.Y36(_e.a3,2),e.Y36(s.L1),e.Y36(z.$_),e.Y36(de.K0),e.Y36(e.SBq))},vt.\u0275dir=e.lG2({type:vt,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},features:[e._Bn([_e.a3])]}),vt})(),ee=(()=>{class vt{constructor(we,mt,At){this.zone=we,this.scrollRef=mt,this.animationFrame$=At,this.refresh$=this.animationFrame$.pipe((0,te.p)(300),(0,F.U)(()=>this.scrollbars),(0,pe.O)([!1,!1]),(0,ce.x)((Qe,qe)=>Qe[0]===qe[0]&&Qe[1]===qe[1]),(0,k.Yr)(this.zone))}get scrollbars(){const{clientHeight:we,scrollHeight:mt,clientWidth:At,scrollWidth:Qe}=this.scrollRef.nativeElement;return[Math.ceil(we/mt*100)<100,Math.ceil(At/Qe*100)<100]}}return vt.\u0275fac=function(we){return new(we||vt)(e.Y36(e.R0b),e.Y36(z.$_),e.Y36(s.L1))},vt.\u0275cmp=e.Xpm({type:vt,selectors:[["tui-scroll-controls"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(we,mt){1&we&&(e.YNc(0,ve,3,2,"ng-container",0),e.ALo(1,"async")),2&we&&e.Q6J("ngIf",e.lcZ(1,1,mt.refresh$))},dependencies:[de.O5,se,de.Ov],styles:["[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:0;left:0;z-index:1;min-width:calc(100% - 1px);min-height:calc(100% - 1px);max-width:calc(100% - 1px);max-height:calc(100% - 1px);float:left;-webkit-margin-end:calc(-100% + 1px);margin-inline-end:calc(-100% + 1px);pointer-events:none}.t-bar[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0;pointer-events:auto;animation:tuiFadeIn var(--tui-duration, .3s) ease-in-out}.t-bar_vertical[_ngcontent-%COMP%]{top:0;width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%]{left:0;height:.875rem}.t-bar_has-horizontal[_ngcontent-%COMP%]{bottom:.5rem}.t-bar_has-vertical[_ngcontent-%COMP%]{right:.5rem}.t-thumb[_ngcontent-%COMP%]{position:absolute;border-radius:6.25rem;border:.25rem solid transparent;cursor:pointer;pointer-events:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition:all var(--tui-duration, .3s) ease-in-out;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{right:0;width:.75rem;min-height:1.25rem}.t-bar_vertical[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{bottom:0;height:.75rem;min-width:1.25rem}.t-bar_horizontal[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{height:.875rem}"],changeDetection:0}),vt})(),Oe=(()=>{class vt{}return vt.\u0275fac=function(we){return new(we||vt)},vt.\u0275dir=e.lG2({type:vt,selectors:[["","tuiScrollRef",""]],features:[e._Bn([{provide:z.$_,useExisting:e.SBq}])]}),vt})(),_t=(()=>{class vt{}return vt.\u0275fac=function(we){return new(we||vt)},vt.\u0275mod=e.oAB({type:vt}),vt.\u0275inj=e.cJS({imports:[[de.ez]]}),vt})()},3770:(Ht,Fe,c)=>{"use strict";c.d(Fe,{F:()=>se,Iy:()=>k,Jy:()=>ce,Kx:()=>Ue,LZ:()=>te,Lw:()=>Ve,Ml:()=>Ge,Mm:()=>W,Ye:()=>z,Yg:()=>Ae,bg:()=>ie,em:()=>vt,f$:()=>je,fv:()=>_t,iD:()=>pe,yZ:()=>de});var e=c(4537),s=c(4091);const k=()=>!1,z=()=>!0,ne={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},W=new e.n_E,te=[],pe=()=>{},ce=Object.assign(Object.assign({},ne),{toJSON:()=>ne}),de=R=>String(R),ie=(R,be)=>R===be||function Y(R,be){return Array.isArray(R)&&Array.isArray(be)&&!R.length&&!be.length}(R,be),Ue=(0,s.X$)("tuiParentAnimation",[(0,s.eR)(":leave",[(0,s.IO)(":scope > *",[(0,s.pV)()],{optional:!0})])]),Ae=((0,s.X$)("tuiParentStop",[(0,s.eR)(":enter",[])]),1e3/15),Ve=R=>"ownerSVGElement"in R?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,je="\xa0",se="\u2013",_t="-",vt="\u2212",Ge="3.61.0"},4358:(Ht,Fe,c)=>{"use strict";c.d(Fe,{UM:()=>pe});var e=c(7788);function te(Y,_e,ue=!0){return function(){const Ue=Y.call(this);return Object.defineProperty(this,_e,{enumerable:ue,value:Ue}),Ue}}function pe(Y,_e,ue){if("function"==typeof Y){const je=_e;if("getter"===je.kind)return te(Y,je.name);if("method"===je.kind)return function W(Y){let ie,_e=[],ue=!1;return function(...ve){return ue&&_e.length===ve.length&&ve.every((Ve,je)=>Ve===_e[je])||(_e=ve,ie=Y.apply(this,ve),ue=!0),ie}}(Y);throw new e.jw}const{get:ie,enumerable:Ue,value:ve}=ue,Ae=_e;if(ie)return{configurable:!0,enumerable:Ue,get:te(ie,Ae,Ue)};if("function"!=typeof ve)throw new e.jw;const Ve=ve;return{configurable:!0,enumerable:Ue,get(){let ee,je=[],se=!1;const $e=(...Oe)=>(se&&je.length===Oe.length&&Oe.every((vt,tt)=>vt===je[tt])||(je=Oe,ee=Ve.apply(this,Oe),se=!0),ee);return Object.defineProperty(this,Ae,{configurable:!0,value:$e}),$e}}}},221:(Ht,Fe,c)=>{"use strict";c.d(Fe,{A:()=>Y,e:()=>de});var e=c(4911),s=c(4537),k=c(4358),z=c(2325),F=c(8033),ne=c(1927),W=c(7969),te=c(3674),pe=c(2147),ce=c(1588);let de=(()=>{class _e{constructor(ie,Ue,ve,Ae){var Ve;this.active$=ie,this.zone=Ue,this.el=ve,this.directParentActiveZone=Ae,this.subActiveZones=[],this.tuiActiveZoneParent=null,this.tuiActiveZoneChange=this.active$.pipe((0,W.U)(je=>!!je&&this.contains(je)),(0,te.O)(!1),(0,pe.x)(),(0,ce.T)(1),(0,z.Yr)(this.zone)),null===(Ve=this.directParentActiveZone)||void 0===Ve||Ve.addSubActiveZone(this)}set tuiActiveZoneParentSetter(ie){this.setZone(ie)}ngOnDestroy(){var ie,Ue;null===(ie=this.directParentActiveZone)||void 0===ie||ie.removeSubActiveZone(this),null===(Ue=this.tuiActiveZoneParent)||void 0===Ue||Ue.removeSubActiveZone(this)}contains(ie){return this.el.nativeElement.contains(ie)||this.subActiveZones.some((Ue,ve,Ae)=>Ae.indexOf(Ue)===ve&&Ue.contains(ie))}setZone(ie){var Ue;null===(Ue=this.tuiActiveZoneParent)||void 0===Ue||Ue.removeSubActiveZone(this),null==ie||ie.addSubActiveZone(this),this.tuiActiveZoneParent=ie}addSubActiveZone(ie){this.subActiveZones=[...this.subActiveZones,ie]}removeSubActiveZone(ie){this.subActiveZones=(0,ne.WX)(this.subActiveZones,this.subActiveZones.indexOf(ie))}}return _e.\u0275fac=function(ie){return new(ie||_e)(s.Y36(F.wk),s.Y36(s.R0b),s.Y36(s.SBq),s.Y36(_e,12))},_e.\u0275dir=s.lG2({type:_e,selectors:[["","tuiActiveZone","",5,"ng-container"],["","tuiActiveZoneChange","",5,"ng-container"],["","tuiActiveZoneParent","",5,"ng-container"]],inputs:{tuiActiveZoneParentSetter:["tuiActiveZoneParent","tuiActiveZoneParentSetter"]},outputs:{tuiActiveZoneChange:"tuiActiveZoneChange"},exportAs:["tuiActiveZone"]}),(0,e.gn)([k.UM],_e.prototype,"setZone",null),_e})(),Y=(()=>{class _e{}return _e.\u0275fac=function(ie){return new(ie||_e)},_e.\u0275mod=s.oAB({type:_e}),_e.\u0275inj=s.cJS({}),_e})()},4541:(Ht,Fe,c)=>{"use strict";c.d(Fe,{S:()=>k,t:()=>s});var e=c(4537);let s=(()=>{class z{constructor(){this.indeterminate=!1,this.checked=!1,this.tuiCheckedChange=new e.vpe}get isChecked(){return this.checked}get isIndeterminate(){return this.indeterminate}set tuiChecked(ne){this.checked=ne||!1,this.indeterminate=null===ne}onChange({checked:ne}){this.checked=ne,this.indeterminate=!1,this.tuiCheckedChange.emit(ne)}}return z.\u0275fac=function(ne){return new(ne||z)},z.\u0275dir=e.lG2({type:z,selectors:[["input","tuiChecked",""],["input","tuiCheckedChange",""]],hostVars:2,hostBindings:function(ne,W){1&ne&&e.NdJ("change",function(pe){return W.onChange(pe.target)}),2&ne&&e.Ikx("checked",W.isChecked)("indeterminate",W.isIndeterminate)},inputs:{tuiChecked:"tuiChecked"},outputs:{tuiCheckedChange:"tuiCheckedChange"}}),z})(),k=(()=>{class z{}return z.\u0275fac=function(ne){return new(ne||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({}),z})()},8491:(Ht,Fe,c)=>{"use strict";c.d(Fe,{c:()=>z,q:()=>k});var e=c(4537),s=c(9669);let k=(()=>{class F{constructor(W){this.tuiFocusVisibleChange=W}}return F.\u0275fac=function(W){return new(W||F)(e.Y36(s.ku))},F.\u0275dir=e.lG2({type:F,selectors:[["","tuiFocusVisibleChange",""]],outputs:{tuiFocusVisibleChange:"tuiFocusVisibleChange"},features:[e._Bn([s.a3,s.ku])]}),F})(),z=(()=>{class F{}return F.\u0275fac=function(W){return new(W||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({}),F})()},3633:(Ht,Fe,c)=>{"use strict";c.d(Fe,{t:()=>s,u:()=>k});var e=c(4537);let s=(()=>{class z{constructor(){this.focusable=!0}get tabIndex(){return this.focusable?0:-1}}return z.\u0275fac=function(ne){return new(ne||z)},z.\u0275dir=e.lG2({type:z,selectors:[["","tuiFocusable",""]],hostVars:1,hostBindings:function(ne,W){2&ne&&e.Ikx("tabIndex",W.tabIndex)},inputs:{focusable:["tuiFocusable","focusable"]}}),z})(),k=(()=>{class z{}return z.\u0275fac=function(ne){return new(ne||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({}),z})()},5059:(Ht,Fe,c)=>{"use strict";c.d(Fe,{F:()=>ce,U:()=>pe});var e=c(4537),s=c(2325),k=c(7179),z=c(1860),F=c(7969),ne=c(3674),W=c(2147),te=c(1588);let pe=(()=>{class de{constructor({nativeElement:_e},ue){this.tuiFocusedChange=(0,z.T)((0,s.mL)(_e,"focusin"),(0,s.mL)(_e,"focusout")).pipe((0,F.U)(()=>(0,k.V8)(_e)),(0,ne.O)(!1),(0,W.x)(),(0,te.T)(1),(0,s.Yr)(ue))}}return de.\u0275fac=function(_e){return new(_e||de)(e.Y36(e.SBq),e.Y36(e.R0b))},de.\u0275dir=e.lG2({type:de,selectors:[["","tuiFocusedChange",""]],outputs:{tuiFocusedChange:"tuiFocusedChange"}}),de})(),ce=(()=>{class de{}return de.\u0275fac=function(_e){return new(_e||de)},de.\u0275mod=e.oAB({type:de}),de.\u0275inj=e.cJS({}),de})()},6111:(Ht,Fe,c)=>{"use strict";c.d(Fe,{VE:()=>_e,co:()=>Y,gs:()=>de});var e=c(4537),s=c(3770),k=c(2325),z=c(4493),F=c(7241),ne=c(1860),W=c(7969),te=c(4970),pe=c(2147);function ce({currentTarget:ue,relatedTarget:ie}){return!(0,z.ve)(ie)||!(0,z.ve)(ue)||!ue.contains(ie)}let de=(()=>{class ue extends F.y{constructor(Ue,ve){super(Ae=>this.stream$.subscribe(Ae)),this.el=Ue,this.zone=ve,this.stream$=(0,ne.T)((0,k.mL)(this.el.nativeElement,"mouseenter").pipe((0,W.U)(s.Ye)),(0,k.mL)(this.el.nativeElement,"mouseleave").pipe((0,W.U)(s.Iy)),(0,k.mL)(this.el.nativeElement,"mouseout").pipe((0,te.h)(ce),(0,W.U)(s.Iy))).pipe((0,pe.x)(),(0,k.Yr)(this.zone))}}return ue.\u0275fac=function(Ue){return new(Ue||ue)(e.LFG(e.SBq),e.LFG(e.R0b))},ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})(),Y=(()=>{class ue{constructor(Ue){this.tuiHoveredChange=Ue}}return ue.\u0275fac=function(Ue){return new(Ue||ue)(e.Y36(de))},ue.\u0275dir=e.lG2({type:ue,selectors:[["","tuiHoveredChange",""]],outputs:{tuiHoveredChange:"tuiHoveredChange"},features:[e._Bn([de])]}),ue})(),_e=(()=>{class ue{}return ue.\u0275fac=function(Ue){return new(Ue||ue)},ue.\u0275mod=e.oAB({type:ue}),ue.\u0275inj=e.cJS({}),ue})()},2668:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Ls:()=>k,WD:()=>z});var e=c(4537);class s{constructor(ne){this.internalDirectiveInstance=ne}get $implicit(){return this.internalDirectiveInstance.tuiLet}get tuiLet(){return this.internalDirectiveInstance.tuiLet}}let k=(()=>{class F{constructor(W,te){W.createEmbeddedView(te,new s(this))}static ngTemplateContextGuard(W,te){return!0}}return F.\u0275fac=function(W){return new(W||F)(e.Y36(e.s_b),e.Y36(e.Rgc))},F.\u0275dir=e.lG2({type:F,selectors:[["","tuiLet",""]],inputs:{tuiLet:"tuiLet"}}),F})(),z=(()=>{class F{}return F.\u0275fac=function(W){return new(W||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({}),F})()},1486:(Ht,Fe,c)=>{"use strict";c.d(Fe,{W:()=>pe,e:()=>ce});var e=c(4537),s=c(2325),k=c(9669),z=c(4493),F=c(4970),ne=c(3528),W=c(1528),te=c(8168);let pe=(()=>{class de{constructor({nativeElement:_e},ue,ie){this.mode="scroll",(0,s.mL)(_e,"wheel",{passive:!1}).pipe((0,F.h)(()=>this.enabled),(0,s.fL)(ue),(0,ne.R)(ie)).subscribe(Ue=>{this.processEvent(Ue,!!Ue.deltaY,Ue.deltaY?Ue.deltaY<0:Ue.deltaX<0)}),(0,s.mL)(_e,"touchstart",{passive:!0}).pipe((0,W.w)(({touches:Ue})=>{let se,{clientX:ve,clientY:Ae}=Ue[0],Ve=0,je=0;return(0,s.mL)(_e,"touchmove",{passive:!1}).pipe((0,F.h)(()=>this.enabled),(0,te.b)(ee=>{const $e=ee.changedTouches[0];Ve=ve-$e.clientX,je=Ae-$e.clientY,ve=$e.clientX,Ae=$e.clientY,void 0===se&&(se=Math.abs(je)>Math.abs(Ve)),this.processEvent(ee,se,se?je<0:Ve<0)}))}),(0,s.fL)(ue),(0,ne.R)(ie)).subscribe()}get enabled(){return"none"!==this.mode}get overscrollBehavior(){return this.enabled?"contain":null}processEvent(_e,ue,ie){var Ue;const{target:ve,currentTarget:Ae,cancelable:Ve}=_e;if(Ve&&(0,z.ve)(ve)&&"range"!==(null===(Ue=ve)||void 0===Ue?void 0:Ue.type)){if("all"===this.mode&&(ue&&!Ae.contains((0,z.Hs)(ve))||!ue&&!Ae.contains((0,z.Hs)(ve,!1))))return void _e.preventDefault();if(ue&&(ie&&!(0,z.ty)(ve,Ae,!0,!1)||!ie&&!(0,z.ty)(ve,Ae,!0,!0)))return void _e.preventDefault();!ue&&(ie&&!(0,z.ty)(ve,Ae,!1,!1)||!ie&&!(0,z.ty)(ve,Ae,!1,!0))&&_e.preventDefault()}}}return de.\u0275fac=function(_e){return new(_e||de)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(k.a3,2))},de.\u0275dir=e.lG2({type:de,selectors:[["","tuiOverscroll",""]],hostVars:2,hostBindings:function(_e,ue){2&_e&&e.Udp("overscroll-behavior",ue.overscrollBehavior)},inputs:{mode:["tuiOverscroll","mode"]},features:[e._Bn([k.a3])]}),de})(),ce=(()=>{class de{}return de.\u0275fac=function(_e){return new(_e||de)},de.\u0275mod=e.oAB({type:de}),de.\u0275inj=e.cJS({}),de})()},6424:(Ht,Fe,c)=>{"use strict";c.d(Fe,{B:()=>s,L:()=>e});var e=(()=>{return(k=e||(e={}))[k.Sunday=0]="Sunday",k[k.Monday=1]="Monday",k[k.Tuesday=2]="Tuesday",k[k.Wednesday=3]="Wednesday",k[k.Thursday=4]="Thursday",k[k.Friday=5]="Friday",k[k.Saturday=6]="Saturday",e;var k})(),s=(()=>{return(k=s||(s={}))[k.January=0]="January",k[k.February=1]="February",k[k.March=2]="March",k[k.April=3]="April",k[k.May=4]="May",k[k.June=5]="June",k[k.July=6]="July",k[k.August=7]="August",k[k.September=8]="September",k[k.October=9]="October",k[k.November=10]="November",k[k.December=11]="December",s;var k})()},7788:(Ht,Fe,c)=>{"use strict";c.d(Fe,{AM:()=>z,I4:()=>k,JY:()=>F,ZB:()=>ne,aq:()=>W,j2:()=>de,jw:()=>te});class e extends Error{constructor(){super("")}}class s extends Error{constructor(){super("")}}class k extends Error{constructor(ie){super("")}}class z extends Error{constructor(ie){super("")}}class F extends Error{constructor(ie){super("")}}class ne extends Error{constructor(){super("")}}class W extends Error{constructor(){super("")}}class te extends Error{constructor(){super("")}}class pe extends Error{constructor(){super("")}}class ce extends Error{constructor(){super("")}}class de extends Error{constructor(){super("")}}class Y extends Error{constructor(){super("")}}class _e extends Error{constructor(){super("")}}},2325:(Ht,Fe,c)=>{"use strict";c.d(Fe,{EK:()=>$e,NA:()=>pt,Xd:()=>Ge,Yr:()=>St,fL:()=>Cn,fw:()=>R,ix:()=>qe,ll:()=>be,mL:()=>Oe,pt:()=>Se,vm:()=>et});var e=c(7788),s=c(7241),k=c(4581),z=c(7824),F=c(1995),ne=c(1860),W=c(3729),te=c(9018),pe=c(3674),ce=c(1528),de=c(7969),Y=c(2147),_e=c(6466),ue=c(5598),ie=c(4970),Ue=c(9087),ve=c(853),Ae=c(7470),Ve=c(8168),je=c(1927),se=c(3770),ee=c(7179);function $e(Ft){return new s.y(It=>{if(!Ft.valueChanges)throw new e.j2;Ft.valueChanges.pipe((0,pe.O)(Ft.value)).subscribe(It)})}function Oe(Ft,It,Rt={}){return(0,k.R)(Ft,It,Rt)}function mt(Ft=0){return(0,z.z)((0,ce.w)(()=>(0,F.H)(Ft).pipe((0,de.U)(se.Iy),(0,pe.O)(!0))),(0,Y.x)())}let At,Qe;function qe(Ft){const It=Oe(Ft,"blur"),{ownerDocument:Rt}=Ft;if(!Rt)throw new e.aq;return(!Qe||!At)&&(At=Oe(Rt,"mouseup",{capture:!0}).pipe(mt(),(0,pe.O)(!1),(0,_e.d)({bufferSize:1,refCount:!0})),Qe=Oe(Rt,"mousedown",{capture:!0}).pipe(mt(),(0,pe.O)(!1),(0,_e.d)({bufferSize:1,refCount:!0}))),(0,ne.T)((0,W.z)(Oe(Ft,"focus").pipe((0,ue.q)(1)),It.pipe((0,ie.h)(()=>!(0,ee.V8)(Ft)),(0,ue.q)(1),(0,Ue.l)())).pipe((0,ve.r)(),(0,Ae.M)(Qe,At,(Zt,Ut,Dt)=>Ut||Dt),(0,ie.h)(je.Mv))).pipe((0,ce.w)(()=>It.pipe((0,de.U)(se.Iy),(0,ue.q)(1),(0,pe.O)(!0))),(0,Y.x)())}function Ge(Ft,It=Boolean){return(0,z.z)((0,ce.w)(Rt=>It(Rt)?Ft(Rt):te.E))}function R(Ft){var It,Rt;return"observed"in Ft?Ft.observed:!(null===(Rt=null===(It=Ft)||void 0===It?void 0:It.observers)||void 0===Rt||!Rt.length)}function be(Ft){return Ft.changes.pipe((0,pe.O)(null),(0,de.U)(()=>(0,je.gD)(Ft)))}function Se(Ft){return Oe(Ft===Ft.ownerDocument.documentElement?Ft.ownerDocument:Ft,"scroll")}function et(){return(0,Ve.b)(Ft=>{Ft.stopPropagation()})}function pt(Ft){return(0,Ve.b)(()=>{Ft.markForCheck()})}function Cn(Ft){return It=>new s.y(Rt=>Ft.runOutsideAngular(()=>It.subscribe(Rt)))}function St(Ft){return(0,z.z)(Cn(Ft),function wt(Ft){return It=>new s.y(Rt=>It.subscribe({next:Zt=>Ft.run(()=>Rt.next(Zt)),error:Zt=>Ft.run(()=>Rt.error(Zt)),complete:()=>Ft.run(()=>Rt.complete())}))}(Ft))}},9669:(Ht,Fe,c)=>{"use strict";c.d(Fe,{a3:()=>Se,gH:()=>et,ku:()=>pt,ll:()=>Cn,AQ:()=>Ft,b0:()=>St,tl:()=>Rt,Fr:()=>Qt,$D:()=>hn});var e=c(4537),s=c(5557),k=c(7241),z=c(3072),F=c(1860),ne=c(4581),W=c(985),te=c(2325),pe=c(3528),ce=c(3517),de=c(6148),Y=c(7969),_e=c(3674),ue=c(2147),ie=c(3568),Ue=c(3151),ve=c(815),Ae=c(1528),Ve=c(6466),je=c(9034),se=c(4970),ee=c(2579),$e=c(3770),Oe=c(4493),_t=c(8692);const tt=new e.OlP("Box model to observe changes",{providedIn:"root",factory:()=>"content-box"}),we=new e.OlP("Resize Observer API support",{providedIn:"root",factory:()=>!!(0,e.f3M)(ee.m9).ResizeObserver});let mt=(()=>{class Re extends k.y{constructor({nativeElement:re},Xe,Le,fe){let We;return super(ye=>{if(Le)return We=new ResizeObserver(at=>{Xe.run(()=>{ye.next(at)})}),We.observe(re,{box:fe}),()=>{We.disconnect()};ye.error("ResizeObserver is not supported in your browser")}),this.pipe((0,ve.B)())}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(e.SBq),e.LFG(e.R0b),e.LFG(we),e.LFG(tt))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})();var R=c(1927),be=c(4911),S=c(8499),q=c(5955),N=c(8033);let Se=(()=>{class Re extends s.t{constructor(){super(1)}ngOnDestroy(){this.next(),this.complete()}}return Re.\u0275fac=function(re){return new(re||Re)},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})(),et=(()=>{class Re{constructor(re,Xe){this.resolver=re,this.injector=Xe,this.map=new Map}addComponent(re){this.map.has(re)||this.map.set(re,this.resolver.resolveComponentFactory(re).create(this.injector))}ngOnDestroy(){this.map.forEach(re=>re.destroy())}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(e._Vd),e.LFG(e.gxx))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),pt=(()=>{class Re extends k.y{constructor({nativeElement:re},Xe,Le){super(fe=>this.focusVisible$.subscribe(fe)),this.focusVisible$=(0,te.ix)(re).pipe((0,te.NA)(Xe),(0,pe.R)(Le))}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(e.SBq),e.LFG(e.sBO),e.LFG(Se,2))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})(),Cn=(()=>{class Re{generate(){return`tui_${Re.autoId++}${Date.now()}`}}return Re.autoId=0,Re.\u0275fac=function(re){return new(re||Re)},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),St=(()=>{class Re extends k.y{constructor(re,Xe){super(Le=>this.callback$.subscribe(Le)),this.callback$=(0,z.P)(()=>{let{nativeElement:Le}=re;const fe=[Xe,Le];for(;Le.parentElement;)Le=Le.parentElement,fe.push(Le);return(0,F.T)(...fe.map(We=>(0,te.mL)(We,"scroll")))})}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(e.SBq),e.LFG(ee.m9))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})(),Ft=(()=>{class Re extends k.y{constructor(re,{nativeElement:Xe},Le,fe,We,ye){super(at=>this.obscured$.subscribe(at)),this.obscured$=(0,F.T)((0,F.T)(re,(0,ne.R)(fe,"resize")).pipe((0,ce.g)(0)),ye.pipe((0,de.p)($e.Yg))).pipe((0,Y.U)(()=>(0,Oe.PU)(Xe)),(0,_e.O)(null),(0,ue.x)(),(0,te.Yr)(Le),(0,pe.R)(We))}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(St,2),e.LFG(e.SBq),e.LFG(e.R0b),e.LFG(ee.m9),e.LFG(Se,2),e.LFG(ee.L1))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})(),Rt=(()=>{class Re extends mt{constructor(re,Xe,Le,fe,We,ye){return super(re,Xe,fe,We),this.pipe((0,ie.K)(()=>ye.pipe((0,de.p)($e.Yg),(0,Y.U)(()=>`${re.nativeElement.clientWidth} ${re.nativeElement.clientHeight}`),(0,ue.x)(),(0,Y.U)(()=>$e.LZ))),(0,Ue.b)(0),(0,te.fL)(Xe),(0,ve.B)(),(0,pe.R)(Le))}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(e.SBq),e.LFG(e.R0b),e.LFG(Se,2),e.LFG(we),e.LFG(tt),e.LFG(ee.L1))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac}),Re})(),Qt=(()=>{class Re{constructor(re,Xe){this.win=re,this.platformId=Xe,this.cache=new Map}request(re){const Xe=this.cache.get(re);if(Xe)return Xe;const fe=("AbortController"in this.win||(0,_t.PM)(this.platformId)?function ze(Re,he={}){const{selector:re}=he,Xe=(0,be._T)(he,["selector"]);return new k.y(Le=>{const fe=new AbortController,{signal:We}=fe;let ye=!0;const{signal:at}=Xe;if(at)if(at.aborted)fe.abort();else{const Lt=()=>{We.aborted||fe.abort()};at.addEventListener("abort",Lt),Le.add(()=>at.removeEventListener("abort",Lt))}const kt=Object.assign(Object.assign({},Xe),{signal:We}),qt=Lt=>{ye=!1,Le.error(Lt)};return fetch(Re,kt).then(Lt=>{re?(0,q.Xf)(re(Lt)).subscribe((0,S.x)(Le,void 0,()=>{ye=!1,Le.complete()},qt)):(ye=!1,Le.next(Lt),Le.complete())}).catch(qt),()=>{ye&&fe.abort()}})}(re):(0,z.P)(()=>(0,W.D)(fetch(re)))).pipe((0,Ae.w)(We=>(0,be.mG)(this,void 0,void 0,function*(){if(We.ok)return We.text();throw new Error(`Failed to load ${re} (${We.statusText})`)})),(0,Ve.d)({bufferSize:1,refCount:!1}));return this.cache.set(re,fe),fe}}return Re.\u0275fac=function(re){return new(re||Re)(e.LFG(ee.m9),e.LFG(e.Lbi))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),hn=(()=>{class Re extends k.y{constructor({nativeElement:re},{timeout:Xe,threshold:Le},fe){super(We=>{(0,F.T)((0,te.mL)(re,"touchstart",{passive:!0}),(0,te.mL)(fe,"touchend")).pipe((0,je.G)(),(0,se.h)(([ye,at])=>!!ye.touches.length&&ye.touches[0].identifier===at.changedTouches[0].identifier),(0,Y.U)(([ye,at])=>{const Wt=ye.touches[0].clientX-at.changedTouches[0].clientX,Pt=ye.touches[0].clientY-at.changedTouches[0].clientY,an=at.timeStamp-ye.timeStamp;return(Math.abs(Wt)>Le||Math.abs(Pt)>Le)&&an{"use strict";c.d(Fe,{wk:()=>R,bS:()=>be,I2:()=>q,qY:()=>N,KZ:()=>pt,tS:()=>Cn,XG:()=>Zt,TN:()=>Ut,oD:()=>hn,FA:()=>St,fL:()=>Rt,jF:()=>Re,$_:()=>Le,s6:()=>fe,fM:()=>at,XH:()=>S,Q:()=>Se,FT:()=>wt});var e=c(8692),s=c(4537),k=c(2579),z=c(2325),F=c(1927),ne=c(4493);const te=/ipad|iphone|ipod/;function pe(Lt){return te.test(Lt.userAgent.toLowerCase())||function W(Lt){return Lt.platform.startsWith("Mac")||"iPhone"===Lt.platform}(Lt)&&Lt.maxTouchPoints>1}const ce=/^((?!chrome|android).)*safari/i;var Y=c(4121),_e=c(1995),ue=c(1860),ie=c(4945),Ue=c(985),ve=c(9018),Ae=c(1528),Ve=c(7969),je=c(3674),se=c(815),ee=c(4970),$e=c(3528),Oe=c(5261),_t=c(7470),vt=c(5598),tt=c(2147),we=c(6466),mt=c(763),At=c(3770);const Qe=(0,F.N1)(()=>{const Lt={onRemovalComplete:()=>{}},xt=new Y.X(null),Wt=(0,s.f3M)(mt.Th,s.XFs.Optional)||Lt,{onRemovalComplete:Pt=Lt.onRemovalComplete}=Wt;return Wt.onRemovalComplete=(an,fn)=>{xt.next(an),Pt.call(Wt,an,fn)},xt.pipe((0,Ae.w)(an=>(0,_e.H)(0).pipe((0,Ve.U)(()=>null),(0,je.O)(an))),(0,se.B)())});function qe(Lt,xt=null){return!((0,ne.Wf)(Lt).activeElement===Lt||Lt.matches(":disabled")||null!=xt&&xt.contains(Lt))}const R=(0,F.N1)(()=>{const Lt=(0,s.f3M)(Qe),xt=(0,s.f3M)(k.m9),Wt=(0,s.f3M)(e.K0),Pt=(0,z.mL)(xt,"focusout"),an=(0,z.mL)(xt,"focusin"),fn=(0,z.mL)(xt,"blur"),Ke=(0,z.mL)(xt,"mousedown"),ot=(0,z.mL)(xt,"mouseup");return(0,ue.T)(Pt.pipe((0,$e.R)(Ke),(0,Oe.a)(()=>ot),(0,_t.M)(Lt),(0,ee.h)(([lt,it])=>qe((0,ne.mA)(lt),it)),(0,Ve.U)(([{relatedTarget:lt}])=>lt)),fn.pipe((0,Ve.U)(()=>Wt.activeElement),(0,ee.h)(lt=>!(null==lt||!lt.matches("iframe")))),an.pipe((0,Ae.w)(lt=>{const it=(0,ne.mA)(lt),st=(0,ne.Wf)(it);return st===Wt?(0,ie.of)(it):function Ge(Lt){return(0,ue.T)((0,z.mL)(Lt,"focusin").pipe((0,Ve.U)(({target:xt})=>xt)),(0,z.mL)(Lt,"focusout").pipe((0,ee.h)(({target:xt,relatedTarget:Wt})=>!!Wt&&qe(xt)),(0,Ve.U)(({relatedTarget:xt})=>xt)))}(st).pipe((0,je.O)(it))})),Ke.pipe((0,Ae.w)(lt=>{const it=(0,ne.mA)(lt);return Wt.activeElement&&Wt.activeElement!==Wt.body?Pt.pipe((0,vt.q)(1),(0,Ve.U)(()=>it),(0,$e.R)((0,_e.H)(0))):(0,ie.of)(it)}))).pipe((0,tt.x)(),(0,se.B)())}),be=(0,F.JN)([]);function S(Lt){return{provide:be,multi:!0,useExisting:Lt}}const q=(0,F.N1)(()=>{var Lt,xt;return null!==(xt=null===(Lt=(0,s.f3M)(e.K0).querySelector("base"))||void 0===Lt?void 0:Lt.href)&&void 0!==xt?xt:""}),N=((0,F.N1)(()=>(0,s.f3M)(s.FYo).createRenderer(null,null)),(0,F.JN)([]));function Se(Lt){return{provide:N,multi:!0,useExisting:Lt}}(0,F.N1)(()=>{var Lt;const xt=null===(Lt=(0,s.f3M)(e.K0).querySelector("base"))||void 0===Lt?void 0:Lt.href;if(xt)return xt;const Wt=(0,s.f3M)(e.K0).createElement("a");return Wt.href="",Wt.pathname});const pt=new s.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function wt(Lt){return{provide:pt,useExisting:Lt}}const Cn=new s.OlP("[TUI_FONTS_READY]",{factory:()=>{var Lt;return(0,Ue.D)((null===(Lt=(0,s.f3M)(e.K0).fonts)||void 0===Lt?void 0:Lt.ready)||ve.E).pipe((0,we.d)({bufferSize:1,refCount:!1}))}}),St=(0,F.N1)(()=>pe((0,s.f3M)(k.s5))),Ft=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,It=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,Rt=(0,F.N1)(()=>Ft.test((0,s.f3M)(k.yZ).toLowerCase())||It.test((0,s.f3M)(k.yZ).slice(0,4).toLowerCase())),Zt=(0,F.N1)(()=>(0,s.f3M)(Rt)&&!(0,s.f3M)(St)),Ut=(0,F.N1)(()=>function de(Lt){return pe(Lt)||ce.test(Lt.userAgent.toLowerCase())}((0,s.f3M)(k.s5))),Xt=((0,F.N1)(()=>!!(0,s.f3M)(k.m9).chrome),(0,F.N1)(()=>!!(0,s.f3M)(k.m9).Cypress)),Qt=(0,F.N1)(At.Iy),hn=(0,F.N1)(()=>(0,s.f3M)(Xt)||(0,s.f3M)(Qt)),Re=((0,F.N1)(()=>{var Lt;return typeof(null===(Lt=(0,s.f3M)(k.m9))||void 0===Lt?void 0:Lt.mozCancelFullScreen)<"u"}),(0,F.N1)(()=>(0,s.f3M)(k.m9).location.host.endsWith("stackblitz.io")),(0,F.N1)(()=>{var Lt;return!(null===(Lt=(0,s.f3M)(k.m9))||void 0===Lt||!Lt.webkitConvertPointFromNodeToPage)}));(0,F.JN)("web"),(0,F.N1)(()=>(0,e.NF)((0,s.f3M)(s.Lbi))?new Range:{});const Le=(0,F.N1)(()=>new s.SBq((0,s.f3M)(e.K0).documentElement)),fe=(0,F.JN)({timeout:500,threshold:30}),at=((0,F.N1)(At.Ye),(0,F.N1)(()=>(0,s.f3M)(k.m9).matchMedia("(any-pointer: coarse)").matches),new s.OlP("[TUI_WINDOW_SIZE]",{factory:()=>{const Lt=(0,s.f3M)(k.m9);return(0,z.mL)(Lt,"resize").pipe((0,je.O)(null),(0,Ve.U)(()=>{var xt,Wt;const Pt=Math.max(Lt.document.documentElement.clientWidth||0,Lt.innerWidth||0,(null===(xt=Lt.visualViewport)||void 0===xt?void 0:xt.width)||0),an=Math.max(Lt.document.documentElement.clientHeight||0,Lt.innerHeight||0,(null===(Wt=Lt.visualViewport)||void 0===Wt?void 0:Wt.height)||0);return{width:Pt,height:an,top:0,left:0,right:Pt,bottom:an}}),(0,we.d)({bufferSize:1,refCount:!0}))}}));(0,F.N1)(()=>(0,s.f3M)(at).pipe((0,Ve.U)(({height:Lt})=>Lt))),(0,F.JN)({wheelSensitivity:.01})},1213:(Ht,Fe,c)=>{"use strict";function z(ne){return ne.toLowerCase().includes("firefox")}function F({ownerDocument:ne}){var W,te,pe,ce,de,Y,_e,ue;const ie=null==ne?void 0:ne.defaultView,Ue=typeof ie.safari<"u"&&"[object SafariRemoteNotification]"===(null===(te=null===(W=ie.safari)||void 0===W?void 0:W.pushNotification)||void 0===te?void 0:te.toString()),ve=!(null===(ce=null===(pe=ie.navigator)||void 0===pe?void 0:pe.vendor)||void 0===ce||!ce.includes("Apple")||null!==(Y=null===(de=ie.navigator)||void 0===de?void 0:de.userAgent)&&void 0!==Y&&Y.includes("CriOS")||null!==(ue=null===(_e=ie.navigator)||void 0===_e?void 0:_e.userAgent)&&void 0!==ue&&ue.includes("FxiOS"));return Ue||ve}c.d(Fe,{Ex:()=>F,oK:()=>z})},4493:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Hn:()=>$e,Hs:()=>je,PP:()=>W,PU:()=>Ae,UP:()=>tt,Wf:()=>ve,YX:()=>Ve,dD:()=>vt,dW:()=>Y,mA:()=>ue,ty:()=>ne,ve:()=>de});var e=c(5648),s=c(1927);function ne(we,mt,At,Qe){return At?function z(we,mt,At){let Qe=we;for(;Qe!==mt.parentElement;){if(Math.floor(Qe.scrollTop)>0&&!At||Math.ceil(Qe.scrollTop+Qe.clientHeight)0&&!At||Math.ceil(Qe.scrollLeft+Qe.clientWidth)!we.contains(wt));return 4===pt.length?pt:null}function Ve(we,mt){let{offsetTop:At,offsetLeft:Qe,offsetParent:qe}=mt;for(;Y(qe)&&qe!==we;)At+=qe.offsetTop,Qe+=qe.offsetLeft,qe=qe.offsetParent;return{offsetTop:At,offsetLeft:Qe}}function je(we,mt=!0){return null===we?null:mt&&we.scrollHeight>we.clientHeight||!mt&&we.scrollWidth>we.clientWidth?we:je(we.parentElement,mt)}function $e(we){return function ce(we){return function te(we){return we.matches("input")}(we)||function pe(we){return we.matches("textarea")}(we)}(we)&&!we.readOnly||!!we.isContentEditable}function vt(we=0,mt=0){const At={x:we,y:mt,left:we,right:we,top:mt,bottom:mt,width:0,height:0};return Object.assign(Object.assign({},At),{toJSON:()=>At})}function tt(we){return"explicitOriginalTarget"in we?(null==we?void 0:we.explicitOriginalTarget)!==we.target:"pointerId"in we?-1===we.pointerId:"detail"in we&&"webkitForce"in we&&0===(null==we?void 0:we.detail)}c(8939)},7179:(Ht,Fe,c)=>{"use strict";c.d(Fe,{BW:()=>W,Pg:()=>de,V8:()=>te,VR:()=>ce,dT:()=>F,hp:()=>z,ie:()=>k,zb:()=>pe});var e=c(4493),s=c(3770);function k({activeElement:Y}){if(null==Y||!Y.shadowRoot)return Y;let _e=Y.shadowRoot.activeElement;for(;null!=_e&&_e.shadowRoot;)_e=_e.shadowRoot.activeElement;return _e}function z(Y){const _e=k(Y);(0,e.dW)(_e)&&_e.blur()}function F(Y){if(Y.hasAttribute("disabled")||"-1"===Y.getAttribute("tabIndex"))return!1;if((0,e.dW)(Y)&&Y.isContentEditable||"0"===Y.getAttribute("tabIndex"))return!0;switch(Y.tagName){case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"VIDEO":case"AUDIO":return Y.hasAttribute("controls");case"INPUT":return"hidden"!==Y.getAttribute("type");case"A":case"LINK":return Y.hasAttribute("href");default:return!1}}function ne(Y){return!Y.hasAttribute("disabled")&&("-1"===Y.getAttribute("tabIndex")||F(Y))}function W({initial:Y,root:_e,previous:ue=!1,keyboard:ie=!0}){if(!_e.ownerDocument)return null;const Ue=ie?F:ne,ve=_e.ownerDocument.createTreeWalker(_e,NodeFilter.SHOW_ELEMENT,s.Lw);for(ve.currentNode=Y;ue?ve.previousNode():ve.nextNode();)if((0,e.dW)(ve.currentNode)&&(Y=ve.currentNode),(0,e.dW)(Y)&&Ue(Y))return Y;return null}function te(Y){return!(null==Y||!Y.ownerDocument)&&k(Y.ownerDocument)===Y&&Y.ownerDocument.hasFocus()}function pe(Y){if(!Y.ownerDocument||!Y.contains)return!1;const _e=k(Y.ownerDocument);return null!==_e&&Y.contains(_e)&&Y.ownerDocument.hasFocus()}function ce(Y,_e,ue){for(Y+=ue;Y>=0&&Y<_e.length;){if(_e[Y].focus(),te(_e[Y]))return;Y+=ue}}function de(Y,_e=!0,ue=!1){if(Y.ownerDocument){if("function"==typeof Event)Y.dispatchEvent(new Event("mousedown",{bubbles:!0,cancelable:!0}));else{const ie=Y.ownerDocument.createEvent("Event");ie.initEvent("mousedown",!0,!0),Y.dispatchEvent(ie)}_e?Y.focus({preventScroll:ue}):Y.blur()}}},5675:(Ht,Fe,c)=>{"use strict";function s(k){return`${k}px`}c.d(Fe,{O:()=>s}),c(8939)},5648:(Ht,Fe,c)=>{"use strict";function s(ve,Ae,Ve){return Math.min(Ve,Math.max(Ae,ve))}function k(ve,Ae,Ve){return ve>=Ae&&ve=Ve?Ve:Math.round(ve)}c.d(Fe,{G1:()=>z,HW:()=>ue,Ki:()=>s,h0:()=>Y,oY:()=>ie,wf:()=>k}),c(8939);const ne=292;function W(ve,Ae,Ve){if(ve===1/0)return ve;Ae=Math.min(Ae,ne);const je=`${ve}e`.split("e"),ee=`${Ve(Number(`${je[0]}e${Number(je[1])+Ae}`))}e`.split("e");return Number(`${ee[0]}e${Number(ee[1])-Ae}`)}function Y({value:ve,precision:Ae,method:Ve}){switch(Ve){case"round":return function te(ve,Ae=0){return W(ve,Ae,Math.round)}(ve,Ae);case"ceil":return function pe(ve,Ae=0){return W(ve,Ae,Math.ceil)}(ve,Ae);case"floor":return function ce(ve,Ae=0){return W(ve,Ae,Math.floor)}(ve,Ae);default:return function de(ve,Ae=0){return W(ve,Ae,Math.trunc)}(ve,Ae)}}function ue(ve){return ve?1:0}function ie(ve){return parseInt(ve,10)}},1927:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Aj:()=>F,JN:()=>te,M8:()=>Ue,Mv:()=>ve,N1:()=>pe,Pc:()=>je,WX:()=>s,dt:()=>Ae,gD:()=>ie,pf:()=>vt,vK:()=>_t,xT:()=>W});var e=c(4537);function s(tt,we){return tt.slice(0,Math.max(we,0)).concat(tt.slice(Math.max(we+1,0)))}function F(tt){return"string"==typeof tt}function W(tt){return JSON.parse(JSON.stringify(tt,(we,mt)=>function ne(tt){const we=F(tt)?tt.trim():tt;return[void 0,null,NaN,""].includes(we)}(mt)?void 0:mt))}function te(tt){return pe(()=>tt)}function pe(tt){return new e.OlP("",{factory:tt})}function ie(tt){let we=[];return tt.find((mt,At,Qe)=>(we=Qe,!0)),we}function Ue(tt,we){return Math.abs(we)>Math.abs(tt)?we>0?"top":"bottom":tt>0?"left":"right"}function ve(tt){return!tt}function Ae(tt){return"number"==typeof tt}function je(tt){return null!=tt}function _t(tt,we,mt){return{provide:tt,deps:[[new e.FiY,new e.tp0,tt]],useFactory:At=>Object.assign(Object.assign({},At||mt),we)}}function vt(tt,we){return Array.from(tt.reduce((mt,At)=>mt.has(At[we])?mt:mt.set(At[we],At),new Map).values())}},8192:(Ht,Fe,c)=>{"use strict";c.d(Fe,{N:()=>ne});var e=c(1927);function ne(W,te=function s(){return Math.floor(Math.random()*Date.now())}(),pe="rgba(0, 0, 0, 0.7)"){if((0,e.Aj)(W)){const de=function z(W){var te;const pe=(null!==(te=W.match(/url\(("?)('*)#(.*?)('*)\)/g))&&void 0!==te?te:[]).map(ce=>ce.slice(4,ce.length-1).replace(/['"#]+/g,""));return Array.from(new Set(pe))}(W).reduce((Y,_e)=>{const ue=function k(W){return W.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(_e),ie=`id_${te}_${_e}`;return Y.replace(new RegExp(`"${ue}"`,"g"),`"${ie}"`).replace(new RegExp(`'${ue}'`,"g"),`'${ie}'`).replace(new RegExp(`url\\('#${ue}'\\)`,"g"),`url('#${ie}')`).replace(new RegExp(`url\\("#${ue}"\\)`,"g"),`url("#${ie}")`).replace(new RegExp(`url\\(#${ue}\\)`,"g"),`url(#${ie})`)},W);return function F(W,te){try{const pe=(new DOMParser).parseFromString(W,"text/html");return pe.body.querySelectorAll("[fill^=url]").forEach(ce=>ce.setAttribute("fill",`${ce.getAttribute("fill")} ${te}`.trim())),pe.body.innerHTML.trim()}catch{return W}}(de,pe)}return W}},3631:(Ht,Fe,c)=>{"use strict";c.d(Fe,{D1:()=>_e,FP:()=>Y,Fe:()=>de,Ic:()=>je,O4:()=>ve,P7:()=>Ue,Sv:()=>Ve,UK:()=>pe,Wk:()=>Ae,c2:()=>ce,ei:()=>ie,kk:()=>te,uG:()=>ue});var e=c(4537),s=c(9669),k=c(6480),z=c(7241),F=c(1860),ne=c(2147),W=c(3528);class te extends z.y{}function pe(se){return{provide:te,multi:!0,useExisting:se}}class ce{}function de(se){return{provide:ce,multi:!0,useExisting:se}}let Y=(()=>{class se{constructor($e,Oe,_t){this.destroy$=$e,this.drivers=Oe,this.vehicles=_t}ngOnInit(){const $e=this.vehicles.find(({type:Oe})=>Oe===this.type);(0,F.T)(...this.drivers.filter(({type:Oe})=>Oe===this.type)).pipe((0,ne.x)(),(0,W.R)(this.destroy$)).subscribe(Oe=>{null==$e||$e.toggle(Oe)})}}return se.\u0275fac=function($e){return new($e||se)(e.Y36(s.a3,2),e.Y36(te),e.Y36(ce))},se.\u0275dir=e.lG2({type:se}),se})(),_e=(()=>{class se{constructor($e){this.host=$e}get readOnly(){return this.host.readOnly}get disabled(){return this.host.computedDisabled}get invalid(){return this.host.computedInvalid}get focusable(){return this.host.computedFocusable}get inputMode(){return"text"}get value(){var $e;return(null===($e=this.host.value)||void 0===$e?void 0:$e.toString())||""}process($e){}}return se.\u0275fac=function($e){return new($e||se)(e.Y36(k.M$))},se.\u0275dir=e.lG2({type:se}),se})();class ue{}function ie(se){return{provide:ue,deps:[[new e.tp0,ue]],useFactory:ee=>ee.find($e=>$e.type===se)}}function Ue(se){return{provide:ue,multi:!0,useExisting:se}}class ve{}function Ae(se,ee){return{provide:ve,deps:[[new e.tp0,ve],ee],useFactory:Ve(se)}}function Ve(se){return(ee,$e)=>ee.find(Oe=>Oe!==$e&&Oe.type===se)||$e}function je(se){return{provide:ve,multi:!0,useExisting:se}}},9941:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Gw:()=>ve,QF:()=>pe,X9:()=>ee,eu:()=>F,i9:()=>_e});var e=c(4091);const s="{{duration}}ms ease-in-out",k={params:{duration:300}},z=300,F=(0,e.X$)("tuiHeightCollapse",[(0,e.eR)(":enter",[(0,e.oB)({height:0}),(0,e.jt)(s,(0,e.oB)({height:"*"}))],k),(0,e.eR)(":leave",[(0,e.oB)({height:"*"}),(0,e.jt)(s,(0,e.oB)({height:0}))],k)]),pe=((0,e.X$)("tuiHeightCollapseList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({height:0}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({height:"*"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({height:"*"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({height:0}))])],{optional:!0})],k)]),(0,e.X$)("tuiWidthCollapse",[(0,e.eR)(":enter",[(0,e.oB)({width:0}),(0,e.jt)(s,(0,e.oB)({width:"*"}))],k),(0,e.eR)(":leave",[(0,e.oB)({width:"*"}),(0,e.jt)(s,(0,e.oB)({width:0}))],k)]),(0,e.X$)("tuiWidthCollapseList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({width:0}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({width:"*"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({width:"*"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({width:0}))])],{optional:!0})],k)]),(0,e.X$)("tuiFadeIn",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0}),(0,e.jt)(s,(0,e.oB)({opacity:1}))],k),(0,e.eR)(":leave",[(0,e.oB)({opacity:1}),(0,e.jt)(s,(0,e.oB)({opacity:0}))],k)])),_e=((0,e.X$)("tuiFadeInList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({opacity:0}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({opacity:1}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({opacity:1}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({opacity:0}))])],{optional:!0})],k)]),(0,e.X$)("tuiFadeInTop",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateY(-10px)",opacity:0}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)",opacity:1}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateY(0)",opacity:1}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(-10px)",opacity:0}))],k)]),(0,e.X$)("tuiFadeInBottom",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateY(10px)",opacity:0}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)",opacity:1}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateY(0)",opacity:1}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(10px)",opacity:0}))],k)]),(0,e.X$)("tuiDropdownAnimation",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateY(-10px)",opacity:0}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)",opacity:1}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateY(0)",opacity:1}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(-10px)",opacity:0}))],k)])),ve=((0,e.X$)("tuiScaleIn",[(0,e.eR)(":enter",[(0,e.oB)({transform:"scale(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"scale(1)"}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"scale(1)"}),(0,e.jt)(s,(0,e.oB)({transform:"scale(0)"}))],k)]),(0,e.X$)("tuiPop",[(0,e.eR)(":enter",[(0,e.oB)({transform:"scale(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"scale(1.1)"})),(0,e.jt)(s,(0,e.oB)({transform:"scale(1)"}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"scale(1)"}),(0,e.jt)(s,(0,e.oB)({transform:"scale(1.1)"})),(0,e.jt)(s,(0,e.oB)({transform:"scale(0)"}))],k)]),(0,e.X$)("tuiScaleInList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({transform:"scale(0)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"scale(1)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"scale(0)"}))])],{optional:!0})],k)]),(0,e.X$)("tuiSlideIn",[(0,e.eR)("* => left",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))],k),(0,e.eR)("left => *",[(0,e.oB)({transform:"translateX(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(-100%)"}))],k),(0,e.eR)("* => right",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))],k),(0,e.eR)("right => *",[(0,e.oB)({transform:"translateX(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(100%)"}))],k)])),ee=((0,e.X$)("tuiSlideInLeft",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateX(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(-100%)"}))],k)]),(0,e.X$)("tuiSlideInLeftList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],k)]),(0,e.X$)("tuiSlideInRight",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateX(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateX(100%)"}))],k)]),(0,e.X$)("tuiSlideInRightList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateX(100%)"}))])],{optional:!0})],k)]),(0,e.X$)("tuiSlideInTop",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translate3d(0,{{start}},0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,e.eR)(":leave",[(0,e.oB)({transform:"translate3d(0,{{end}},0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,e.X$)("tuiSlideInTopList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({transform:"translateY(100%)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateY(0)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateY(100%)"}))])],{optional:!0})],k)]),(0,e.X$)("tuiSlideInBottom",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateY(-100%)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)"}))],k),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateY(0)"}),(0,e.jt)(s,(0,e.oB)({transform:"translateY(-100%)"}))],k)]),(0,e.X$)("tuiSlideInBottomList",[(0,e.eR)("* => *",[(0,e.IO)(":enter",[(0,e.oB)({transform:"translateY(-100%)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateY(0)"}),(0,e.EY)(z,[(0,e.jt)(s,(0,e.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],k)])},2628:(Ht,Fe,c)=>{"use strict";c.d(Fe,{fN:()=>At,v0:()=>mt});var e=c(4537),s=c(1927),k=c(6480),z=c(7179),F=c(8033),ne=c(9669),W=c(5452),te=c(9018),pe=c(3674),ce=c(7969),de=c(2147),Y=c(7320),_e=c(4789),ue=c(719),ie=c(8692),Ue=c(1489),ve=c(9570);const Ae=["tuiButton",""];function Ve(Qe,qe){1&Qe&&e.GkF(0)}function je(Qe,qe){1&Qe&&e._UZ(0,"tui-svg",8),2&Qe&&e.Q6J("src",qe.polymorpheusOutlet)}function se(Qe,qe){if(1&Qe&&(e.TgZ(0,"span",6),e.YNc(1,je,1,1,"tui-svg",7),e.qZA()),2&Qe){const Ge=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",Ge.icon)}}function ee(Qe,qe){1&Qe&&e._UZ(0,"tui-svg",8),2&Qe&&e.Q6J("src",qe.polymorpheusOutlet)}function $e(Qe,qe){if(1&Qe&&(e.TgZ(0,"span",9),e.YNc(1,ee,1,1,"tui-svg",7),e.qZA()),2&Qe){const Ge=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",Ge.iconRight)}}function Oe(Qe,qe){if(1&Qe&&e._UZ(0,"tui-loader",10),2&Qe){const Ge=e.oxw();e.Q6J("inheritColor",!0)("size",Ge.loaderSize)}}const _t=["*"],tt=(0,s.JN)({size:"l",shape:null,appearance:Y.Nm.Primary});let mt=(()=>{class Qe extends k.Xn{constructor(Ge,R,be){var S;super(),this.mode=Ge,this.el=R,this.options=be,this.mode$=(null===(S=this.mode)||void 0===S?void 0:S.change$)||te.E,this.appearance=null,this.disabled=!1,this.shape=this.options.shape,this.showLoader=!1,this.size=this.options.size,this.appearance$=this.mode$.pipe((0,pe.O)(null),(0,ce.U)(()=>this.computedAppearance),(0,de.x)())}get nativeFocusableElement(){return this.nativeDisabled?null:this.el.nativeElement}get focused(){return!this.showLoader&&(0,z.V8)(this.el.nativeElement)}get loaderSize(){return"l"===this.size||"xl"===this.size?"m":"s"}get computedAppearance(){var Ge;return null!==(Ge=this.appearance)&&void 0!==Ge?Ge:this.options.appearance||""}get nativeDisabled(){return this.computedDisabled||this.showLoader?"":null}get tabIndex(){return this.focusable?0:-1}onFocused(Ge){this.updateFocused(Ge)}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.Y36(W.w,8),e.Y36(e.SBq),e.Y36(tt))},Qe.\u0275cmp=e.Xpm({type:Qe,selectors:[["button","tuiButton",""],["button","tuiIconButton",""],["a","tuiButton",""],["a","tuiIconButton",""]],hostVars:7,hostBindings:function(Ge,R){1&Ge&&e.NdJ("focusin",function(){return R.onFocused(!0)})("focusout",function(){return R.onFocused(!1)}),2&Ge&&(e.Ikx("tabIndex",R.tabIndex),e.uIk("data-shape",R.shape)("data-size",R.size)("data-appearance",R.computedAppearance)("disabled",R.nativeDisabled),e.ekj("_loading",R.showLoader))},inputs:{appearance:"appearance",disabled:"disabled",icon:"icon",iconRight:"iconRight",shape:"shape",showLoader:"showLoader",size:"size"},features:[e._Bn([(0,F.FT)(Qe),ne.a3]),e.qOj],attrs:Ae,ngContentSelectors:_t,decls:8,vars:10,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","hover"],[1,"t-content"],["class","t-left",4,"ngIf"],["class","t-right",4,"ngIf"],["class","t-loader",3,"inheritColor","size",4,"ngIf"],[1,"t-left"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],[1,"t-right"],[1,"t-loader",3,"inheritColor","size"]],template:function(Ge,R){1&Ge&&(e.F$t(),e.YNc(0,Ve,1,0,"ng-container",0),e.ALo(1,"async"),e.TgZ(2,"div",1)(3,"span",2),e.YNc(4,se,2,1,"span",3),e.Hsn(5),e.YNc(6,$e,2,1,"span",4),e.qZA(),e.YNc(7,Oe,1,2,"tui-loader",5),e.qZA()),2&Ge&&(e.Q6J("ngIf",e.lcZ(1,8,R.appearance$)),e.xp6(2),e.Q6J("active",R.pseudoActive)("appearance",R.computedAppearance)("disabled",R.computedDisabled)("hover",R.pseudoHover),e.xp6(2),e.Q6J("ngIf",R.icon),e.xp6(2),e.Q6J("ngIf",R.iconRight),e.xp6(1),e.Q6J("ngIf",R.showLoader))},dependencies:[_e.PN,ue.kM,ie.O5,Ue.o,ve.Li,ie.Ov],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:inline-block;flex-shrink:0;vertical-align:top;border-radius:var(--tui-radius-m);-webkit-user-select:none;-moz-user-select:none;user-select:none;outline:none;color:inherit}[data-shape=rounded][_nghost-%COMP%]{border-radius:6.25rem}[data-size=xs][_nghost-%COMP%]{height:var(--tui-height-xs);font-weight:normal}[data-size=xs][data-shape=square][_nghost-%COMP%], [data-size=xs][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%]{height:var(--tui-height-s);font-weight:normal}[data-size=s][data-shape=square][_nghost-%COMP%], [data-size=s][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{height:var(--tui-height-m);font:var(--tui-font-text-m);font-weight:bold}[data-size=m][data-shape=square][_nghost-%COMP%], [data-size=m][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{height:var(--tui-height-l);font:var(--tui-font-text-m);font-weight:bold}[data-size=l][data-shape=square][_nghost-%COMP%], [data-size=l][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-l)}[data-size=xl][_nghost-%COMP%]{height:3.75rem;font:var(--tui-font-text-m);font-weight:bold}[data-size=xl][data-shape=square][_nghost-%COMP%], [data-size=xl][tuiIconButton][_nghost-%COMP%]{width:3.75rem}[tuiIconButton][_nghost-%COMP%]{font-size:0!important}[tuiIconButton][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0!important}.t-loader[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.t-left[_ngcontent-%COMP%]{margin-right:.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.375rem}[data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.25rem}.t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .25rem}[data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .375rem}[data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.125rem 0 .25rem}.t-icon[_ngcontent-%COMP%]{display:flex;max-width:100%;max-height:100%;align-items:center;justify-content:center}.t-left[_ngcontent-%COMP%], .t-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1rem;height:1rem}[tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.t-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;isolation:isolate}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .375rem)}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .75rem)}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 1.5rem)}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.25rem)}[data-size=xl][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.5rem)}[data-shape=square][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center;text-align:center}._loading[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{opacity:0}"],changeDetection:0}),Qe})(),At=(()=>{class Qe{}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275mod=e.oAB({type:Qe}),Qe.\u0275inj=e.cJS({imports:[[ie.ez,ve.wq,Ue.W,_e.EI,ue.dS]]}),Qe})()},5111:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Rs:()=>At,gX:()=>we,pc:()=>Qe,qi:()=>tt,vK:()=>vt});var e=c(4911),s=c(4537),k=c(7179),z=c(3770),F=c(2325),ne=c(1927),W=c(4493),te=c(4358),pe=c(8940),ce=c(6060),de=c(7969),Y=c(8952),_e=c(126),ue=c(4789),ie=c(9570),Ue=c(8692);const ve=["tuiOption",""];function Ae(qe,Ge){if(1&qe&&(s.ynx(0),s._uU(1),s.BQk()),2&qe){const R=Ge.polymorpheusOutlet;s.xp6(1),s.hij(" ",R,"\n")}}function Ve(qe,Ge){if(1&qe&&s._UZ(0,"tui-svg",3),2&qe){const R=s.oxw(2);s.Q6J("src",R.icons.more)}}function je(qe,Ge){if(1&qe&&(s.Hsn(0),s.YNc(1,Ve,1,1,"tui-svg",2)),2&qe){const R=s.oxw();s.xp6(1),s.Q6J("ngIf",R.dropdown)}}const se=function(qe){return{$implicit:qe}},ee=["*"];function $e(qe,Ge){if(1&qe&&(s.ynx(0),s._uU(1),s.BQk()),2&qe){const R=Ge.polymorpheusOutlet;s.xp6(1),s.hij(" ",R," ")}}function Oe(qe,Ge){if(1&qe&&(s.TgZ(0,"div",2),s.YNc(1,$e,2,1,"ng-container",3),s.ALo(2,"async"),s.qZA()),2&qe){const R=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",R.emptyContent||s.lcZ(2,1,R.defaultEmptyContent$))}}function _t({currentTarget:qe}){return!(0,k.V8)(qe)}let vt=(()=>{class qe{constructor(R,be,S,q,ze,N){this.content=R,this.dataList=be,this.el=S,this.host=q,this.dropdown=ze,this.icons=N,this.size=null,this.role="option",this.disabled=!1}get active(){return!!this.dropdown&&!!this.dropdown.dropdownBoxRef}onClick(){this.host&&void 0!==this.value&&this.host.handleOption(this.value)}onMouseMove({currentTarget:R}){R.focus({preventScroll:!0})}ngOnDestroy(){var R;null===(R=this.dataList)||void 0===R||R.handleFocusLossIfNecessary(this.el.nativeElement)}}return qe.\u0275fac=function(R){return new(R||qe)(s.Y36(ce.IQ,8),s.Y36((0,s.Gpc)(()=>tt),8),s.Y36(s.SBq),s.Y36(ce.N1,8),s.Y36(Y.td,10),s.Y36(ce.Gs))},qe.\u0275cmp=s.Xpm({type:qe,selectors:[["button","tuiOption",""],["a","tuiOption",""]],hostAttrs:["tabIndex","-1","type","button"],hostVars:5,hostBindings:function(R,be){1&R&&s.NdJ("click",function(){return be.onClick()})("mousemove.silent",function(q){return be.onMouseMove(q)}),2&R&&(s.uIk("disabled",be.disabled||null)("data-size",be.size)("role",be.role),s.ekj("_with-dropdown",be.active))},inputs:{size:"size",role:"role",disabled:"disabled",value:"value"},attrs:ve,ngContentSelectors:ee,decls:3,vars:4,consts:[[4,"polymorpheusOutlet","polymorpheusOutletContext"],["base",""],["class","t-arrow",3,"src",4,"ngIf"],[1,"t-arrow",3,"src"]],template:function(R,be){if(1&R&&(s.F$t(),s.YNc(0,Ae,2,1,"ng-container",0),s.YNc(1,je,2,1,"ng-template",null,1,s.W1O)),2&R){const S=s.MAs(2);s.Q6J("polymorpheusOutlet",be.content||S)("polymorpheusOutletContext",s.VKq(2,se,S))}},dependencies:[ue.PN,ie.Li,Ue.O5],styles:['[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;justify-content:space-between;text-align:left;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[_nghost-%COMP%]:focus, ._with-dropdown[_nghost-%COMP%]{background-color:var(--tui-clear)}[_nghost-%COMP%] [data-list-size="s"][_nghost-%COMP%], [data-list-size="s"] [_nghost-%COMP%], [_nghost-%COMP%] [data-list-size="xs"][_nghost-%COMP%], [data-list-size="xs"] [_nghost-%COMP%], [data-size=s][data-size=s][_nghost-%COMP%], [data-size=xs][data-size=xs][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}[_nghost-%COMP%] [data-list-size="m"][_nghost-%COMP%], [data-list-size="m"] [_nghost-%COMP%], [data-size=m][data-size=m][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}[_nghost-%COMP%] [data-list-size="l"][_nghost-%COMP%], [data-list-size="l"] [_nghost-%COMP%], [data-size=l][data-size=l][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}.t-arrow[_ngcontent-%COMP%]{margin:0 -.5rem 0 .75rem}'],changeDetection:0}),(0,e.gn)([(0,_e.uX)(_t)],qe.prototype,"onMouseMove",null),qe})(),tt=(()=>{class qe{constructor(R,be,S){var q;this.controller=R,this.el=be,this.defaultEmptyContent$=S,this.options=z.Mm,this.role="listbox",this.size=(null===(q=this.controller)||void 0===q?void 0:q.size)||"m"}get empty$(){return(0,F.ll)(this.options).pipe((0,de.U)(({length:R})=>!R))}onFocusIn(R,be){!be.contains(R)&&!this.origin&&(this.origin=R)}noop(){}onKeyDownArrow(R,be){const{elements:S}=this;(0,k.VR)(S.indexOf(R),S,be)}handleFocusLossIfNecessary(R=this.el.nativeElement){this.origin&&(0,k.zb)(R)&&(0,k.Pg)(this.origin,!0,!0)}getOptions(R=!1){return this.options.filter(({disabled:be})=>R||!be).map(({value:be})=>be).filter(ne.Pc)}onFocus({target:R},be){if(!(0,W.ve)(R))return;const{elements:S}=this;(0,k.VR)(be?-1:S.length,S,be?1:-1),this.handleFocusLossIfNecessary(R)}get elements(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiOption]"))}}return qe.\u0275fac=function(R){return new(R||qe)(s.Y36(pe.Cs,8),s.Y36(s.SBq),s.Y36(ce.PH))},qe.\u0275cmp=s.Xpm({type:qe,selectors:[["tui-data-list"]],contentQueries:function(R,be,S){if(1&R&&s.Suo(S,vt,5),2&R){let q;s.iGM(q=s.CRH())&&(be.options=q)}},hostVars:2,hostBindings:function(R,be){1&R&&s.NdJ("focusin",function(q){return be.onFocusIn(q.relatedTarget,q.currentTarget)})("mousedown.prevent",function(){return be.noop()})("keydown.arrowDown.prevent",function(q){return be.onKeyDownArrow(q.target,1)})("keydown.arrowUp.prevent",function(q){return be.onKeyDownArrow(q.target,-1)})("wheel.silent.passive",function(){return be.handleFocusLossIfNecessary()})("mouseleave",function(q){return be.handleFocusLossIfNecessary(q.target)}),2&R&&s.uIk("role",be.role)("data-list-size",be.size)},inputs:{role:"role",emptyContent:"emptyContent",size:"size"},features:[s._Bn([(0,ce.RB)(qe),pe.Y0])],ngContentSelectors:ee,decls:5,vars:3,consts:[["tabindex","0",1,"t-trap",3,"focusin"],["class","t-empty",4,"ngIf"],[1,"t-empty"],[4,"polymorpheusOutlet"]],template:function(R,be){1&R&&(s.F$t(),s.TgZ(0,"div",0),s.NdJ("focusin",function(q){return be.onFocus(q,!0)}),s.qZA(),s.Hsn(1),s.YNc(2,Oe,3,3,"div",1),s.ALo(3,"async"),s.TgZ(4,"div",0),s.NdJ("focusin",function(q){return be.onFocus(q,!1)}),s.qZA()),2&R&&(s.xp6(2),s.Q6J("ngIf",s.lcZ(3,1,be.empty$)))},dependencies:[Ue.O5,ie.Li,Ue.Ov],styles:['tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-03)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-list-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-list-size=s]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-list-size=m]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-list-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-list-size=l]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-02);flex-direction:column;line-height:1rem}tui-data-list[data-list-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-list-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-list-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);height:1px;background:var(--tui-base-03)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-top:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=""]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:""}tui-opt-group[data-label=""]:before,tui-opt-group:not([data-label]):before{padding:0;margin:0}\n'],encapsulation:2,changeDetection:0}),(0,e.gn)([te.UM],qe.prototype,"empty$",null),qe})(),we=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275dir=s.lG2({type:qe,selectors:[["ng-template","tuiDataList",""]]}),qe})(),At=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275dir=s.lG2({type:qe,selectors:[["tui-opt-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(R,be){2&R&&s.uIk("data-label",be.label)},inputs:{label:"label"}}),qe})(),Qe=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275mod=s.oAB({type:qe}),qe.\u0275inj=s.cJS({imports:[[Ue.ez,ue.EI,ie.wq]]}),qe})()},5974:(Ht,Fe,c)=>{"use strict";c.d(Fe,{gZ:()=>F,n6:()=>ne});var e=c(4537),s=c(9669),k=c(8692);let z=(()=>{class W{}return W.\u0275fac=function(pe){return new(pe||W)},W.\u0275cmp=e.Xpm({type:W,selectors:[["ng-component"]],hostAttrs:[1,"tui-group-styles"],decls:0,vars:0,template:function(pe,ce){},styles:[".tui-group{position:relative;display:flex;isolation:isolate}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group.tui-group>*:nth-child(n){border-radius:0}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin-right:-1px}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.tui-group_collapsed>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.tui-group_collapsed>*._invalid{z-index:2}.tui-group_collapsed>*._invalid:hover,.tui-group_collapsed>*._invalid._hovered,.tui-group_collapsed>*._invalid._pressed{z-index:4}.tui-group_collapsed>*._hosted_dropdown_focused,.tui-group_collapsed>*._focus-visible,.tui-group_collapsed>*._focused.ng-touched,.tui-group_collapsed>*._focused.ng-untouched{z-index:5}.tui-group_collapsed>*._active,.tui-group_collapsed>*[data-appearance=whiteblock-active]{z-index:6}.tui-group_collapsed>*._focus-visible._focused,.tui-group_collapsed>*._focus-visible._active,.tui-group_collapsed>*._focus-visible[data-appearance=whiteblock-active]{z-index:7}.tui-group_orientation_vertical{display:inline-flex;flex-direction:column}.tui-group_orientation_vertical>*{min-height:auto;flex:0 0 auto}.tui-group_orientation_vertical>*:not(:last-child){margin-right:0;margin-bottom:.125rem}.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-bottom-left-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:last-child{border-top-right-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--tui-radius-m);border-top-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:last-child{border-bottom-left-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-m)}}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_vertical{width:100%}.tui-group_adaptive.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical>*:not(:last-child){margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_horizontal{flex-direction:column;width:100%}.tui-group_adaptive.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal>*:not(:last-child){margin-right:0;margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}.tui-group__auto-width-item{min-width:auto;flex:0 0 auto}.tui-group .tui-group__inherit-item{border-radius:inherit}\n"],encapsulation:2,changeDetection:0}),W})(),F=(()=>{class W{constructor(pe){this.orientation="horizontal",this.adaptive=!1,this.collapsed=!1,this.rounded=!0,this.size="m",pe.addComponent(z)}get orientationHorizontal(){return"horizontal"===this.orientation}get orientationVertical(){return"vertical"===this.orientation}get sizeLarge(){return"l"===this.size}}return W.\u0275fac=function(pe){return new(pe||W)(e.Y36(s.gH))},W.\u0275dir=e.lG2({type:W,selectors:[["","tuiGroup","",5,"ng-container"]],hostAttrs:["role","group",1,"tui-group"],hostVars:12,hostBindings:function(pe,ce){2&pe&&e.ekj("tui-group_adaptive",ce.adaptive)("tui-group_collapsed",ce.collapsed)("tui-group_rounded",ce.rounded)("tui-group_orientation_horizontal",ce.orientationHorizontal)("tui-group_orientation_vertical",ce.orientationVertical)("tui-group_radius_large",ce.sizeLarge)},inputs:{orientation:"orientation",adaptive:"adaptive",collapsed:"collapsed",rounded:"rounded",size:"size"}}),W})(),ne=(()=>{class W{}return W.\u0275fac=function(pe){return new(pe||W)},W.\u0275mod=e.oAB({type:W}),W.\u0275inj=e.cJS({imports:[[k.ez]]}),W})()},5600:(Ht,Fe,c)=>{"use strict";c.d(Fe,{o1:()=>wt,jh:()=>Cn});var e=c(4537),s=c(3631),k=c(2668),z=c(221),F=c(2325),ne=c(9669),W=c(8023),te=c(7969);let pe=(()=>{class St{constructor(It,Rt){this.enabled$=new W.x;const Zt=Rt.pipe((0,te.U)(Ut=>!!Ut&&(!It||!Ut.length||Ut.every(Dt=>!It.contains(Dt)))));this.tuiObscured=this.enabled$.pipe((0,F.Xd)(()=>Zt))}set tuiObscuredEnabled(It){this.enabled$.next(It)}}return St.\u0275fac=function(It){return new(It||St)(e.Y36(z.e,8),e.Y36(ne.AQ,2))},St.\u0275dir=e.lG2({type:St,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},features:[e._Bn([ne.AQ,ne.b0,ne.a3])]}),St})(),ce=(()=>{class St{}return St.\u0275fac=function(It){return new(It||St)},St.\u0275mod=e.oAB({type:St}),St.\u0275inj=e.cJS({}),St})();var de=c(4493),Y=c(7179),_e=c(8033),ue=c(8952),ie=c(4970),Ue=c(3528),ve=c(1528),Ae=c(3517),Ve=c(1588),je=c(2147),se=c(815),ee=c(4121),$e=c(5696),Oe=c(4945),_t=c(9018),vt=c(1860),tt=c(4911),we=c(6640),mt=c(126),At=c(9570),Qe=c(8692);const qe=["wrapper"];function Ge(St,Ft){if(1&St&&(e.TgZ(0,"div",8),e._uU(1),e.qZA()),2&St){const It=Ft.polymorpheusOutlet;e.xp6(1),e.hij(" ",It," ")}}const R=function(St,Ft){return{$implicit:St,close:Ft}};function be(St,Ft){if(1&St){const It=e.EpF();e.TgZ(0,"div",5,6),e.NdJ("keydown",function(Zt){e.CHM(It);const Ut=e.oxw(2);return e.KtG(Ut.onKeydown(Zt))}),e.YNc(2,Ge,2,1,"div",7),e.qZA(),e._UZ(3,"div")}if(2&St){e.oxw();const It=e.MAs(1),Rt=e.oxw();e.xp6(2),e.Q6J("polymorpheusOutlet",Rt.content)("polymorpheusOutletContext",e.WLB(2,R,It,Rt.close))}}function S(St,Ft){if(1&St){const It=e.EpF();e.TgZ(0,"div",1,2),e.NdJ("tuiActiveZoneChange",function(Zt){e.CHM(It);const Ut=e.oxw();return e.KtG(Ut.onActiveZone(Zt))})("tuiObscured",function(Zt){e.CHM(It);const Ut=e.oxw();return e.KtG(Ut.onHostObscured(Zt))}),e.Hsn(2),e.YNc(3,be,4,5,"ng-template",3,4,e.W1O),e.qZA()}if(2&St){const It=Ft.tuiLet,Rt=e.MAs(4),Zt=e.oxw();e.Q6J("tuiDropdown",Rt)("tuiDropdownManual",It&&Zt.canOpen)("tuiDropdownSided",Zt.sided)("tuiObscuredEnabled",It),e.xp6(3),e.Q6J("polymorpheus",Zt.context)}}const q=["*"];let ze=(()=>{class St extends s.uG{constructor(){super(...arguments),this.type="dummy"}getPosition(){return[0,0]}}return St.\u0275fac=function(){let Ft;return function(Rt){return(Ft||(Ft=e.n5z(St)))(Rt||St)}}(),St.\u0275dir=e.lG2({type:St,selectors:[["","tuiAccessorProxy",""]],features:[e._Bn([{provide:s.uG,multi:!0,deps:[[new e.FiY,new e.tp0,St],St],useFactory:(Ft,It)=>Ft||It}]),e.qOj]}),St})();const N=new e.OlP("[TUI_HOSTED_DROPDOWN_COMPONENT]");let Se=(()=>{class St{constructor(It,Rt,Zt,Ut){null==Ut||Ut.tuiDropdownOpenChange.pipe((0,ie.h)(Dt=>Dt&&Ut.dropdown===Zt&&!Rt.focused),(0,Ue.R)(It)).subscribe(()=>{var Dt;null===(Dt=Rt.nativeFocusableElement)||void 0===Dt||Dt.focus(),Rt.updateOpen(!0)})}}return St.\u0275fac=function(It){return new(It||St)(e.Y36(ne.a3,2),e.Y36(N),e.Y36(ue.td,2),e.Y36(ue.oH,8))},St.\u0275dir=e.lG2({type:St,selectors:[["","tuiDropdownOpenMonitor",""]],features:[e._Bn([ne.a3])]}),St})(),et=(()=>{class St{}return St.\u0275fac=function(It){return new(It||St)},St.\u0275dir=e.lG2({type:St,selectors:[["","tuiHostedDropdownHost",""]]}),St})();function pt(St){var Ft;return"key"in St&&"escape"===St.key.toLowerCase()&&this.canOpen&&this.open&&!(null!==(Ft=this.dropdown)&&void 0!==Ft&&Ft.nextElementSibling)}let wt=(()=>{class St{constructor(It,Rt){this.hover$=It,this.el=Rt,this.openChange$=new ee.X(!1),this.hostHover$=(0,$e.a)([(0,F.mL)(this.el.nativeElement,"mouseover").pipe((0,te.U)(Zt=>this.computedHost.contains((0,de.mA)(Zt))),(0,ve.w)(Zt=>{var Ut,Dt;return(0,Oe.of)(Zt).pipe((0,Ae.g)((Zt?null===(Ut=this.hover$)||void 0===Ut?void 0:Ut.showDelay:null===(Dt=this.hover$)||void 0===Dt?void 0:Dt.hideDelay)||0))})),this.hover$||_t.E]).pipe((0,te.U)(([Zt,Ut])=>Zt&&Ut)),this.sided=!1,this.canOpen=!0,this.open$=(0,vt.T)(this.openChange$,this.hostHover$).pipe((0,Ve.T)(1),(0,je.x)(),(0,se.B)()),this.focusedChange=new e.vpe,this.focus$=new ee.X(!1),this.openChange=this.openChange$,this.close=()=>this.updateOpen(!1)}set open(It){this.openChange.next(It)}get open(){return this.openChange.value}get host(){var It;return(null===(It=this.dropdownHost)||void 0===It?void 0:It.nativeElement)||this.el.nativeElement}get computedHost(){var It;return(null===(It=this.dropdownHost)||void 0===It?void 0:It.nativeElement)||this.nativeFocusableElement||this.el.nativeElement}get dropdown(){var It,Rt;return null===(Rt=null===(It=this.dropdownDirective)||void 0===It?void 0:It.dropdownBoxRef)||void 0===Rt?void 0:Rt.location.nativeElement}get nativeFocusableElement(){return(0,Y.dT)(this.host)?this.host:(0,Y.BW)({initial:this.host,root:this.el.nativeElement})}get focused(){return(0,Y.zb)(this.host)||this.open&&!!this.wrapper&&(0,Y.zb)(this.wrapper.nativeElement)}onFocusInOut(){this.focus$.next(this.focused)}onFocusIn(It){this.computedHost.contains(It)||this.updateOpen(!1)}onClick(It){var Rt;!this.hostEditable&&this.computedHost.contains(It)&&(null===(Rt=this.hover$)||void 0===Rt||!Rt.hovered)&&this.updateOpen(!this.open)}onKeyDownEsc(It){It.preventDefault(),this.closeDropdown()}onArrow(It,Rt){this.focusDropdown(It,Rt)}onKeydown({key:It,target:Rt,defaultPrevented:Zt}){!Zt&&(0,we.kL)(It)&&this.hostEditable&&(0,de.dW)(Rt)&&!(0,de.Hn)(Rt)&&this.focusHost()}onActiveZone(It){this.updateFocused(It),It||this.updateOpen(!1)}onHostObscured(It){It&&this.closeDropdown()}updateOpen(It){(!It||this.canOpen)&&(this.open=It)}get hostEditable(){return(0,de.Hn)(this.computedHost)}focusDropdown(It,Rt){const Zt=this.nativeFocusableElement;if(!(Zt&&(0,de.dW)(Zt)&&(0,de.ve)(It.target)&&Zt.contains(It.target)))return;if(!(this.wrapper&&this.open&&this.dropdown&&(0,de.dW)(this.wrapper.nativeElement.nextElementSibling)))return this.updateOpen(!0),void((0,de.Hn)(Zt)||It.preventDefault());const Dt=(0,Y.BW)({initial:Rt?this.wrapper.nativeElement:this.wrapper.nativeElement.nextElementSibling,root:this.wrapper.nativeElement,previous:!Rt});Dt&&(Dt.focus(),It.preventDefault())}closeDropdown(){this.focused&&this.focusHost(),this.updateOpen(!1)}focusHost(){const It=this.nativeFocusableElement;It&&It.focus({preventScroll:!0})}updateFocused(It){this.focusedChange.emit(It)}}return St.\u0275fac=function(It){return new(It||St)(e.Y36(ue.E$,10),e.Y36(e.SBq))},St.\u0275cmp=e.Xpm({type:St,selectors:[["tui-hosted-dropdown"]],contentQueries:function(It,Rt,Zt){if(1&It&&e.Suo(Zt,et,5,e.SBq),2&It){let Ut;e.iGM(Ut=e.CRH())&&(Rt.dropdownHost=Ut.first)}},viewQuery:function(It,Rt){if(1&It&&(e.Gf(qe,5,e.SBq),e.Gf(ue.td,5),e.Gf(z.e,5)),2&It){let Zt;e.iGM(Zt=e.CRH())&&(Rt.wrapper=Zt.first),e.iGM(Zt=e.CRH())&&(Rt.dropdownDirective=Zt.first),e.iGM(Zt=e.CRH())&&(Rt.activeZone=Zt.first)}},hostVars:1,hostBindings:function(It,Rt){1&It&&e.NdJ("$.class._hosted_dropdown_focused",function(){return Rt.focus$})("focusin.capture.silent",function(){return Rt.onFocusInOut()})("focusout.capture.silent",function(){return Rt.onFocusInOut()})("focusin",function(Ut){return Rt.onFocusIn(Ut.target)})("click",function(Ut){return Rt.onClick(Ut.target)})("keydown.silent.capture",function(Ut){return Rt.onKeyDownEsc(Ut)},!1,e.evT)("keydown.arrowDown",function(Ut){return Rt.onArrow(Ut,!0)})("keydown.arrowUp",function(Ut){return Rt.onArrow(Ut,!1)}),2&It&&e.Ikx("$.class._hosted_dropdown_focused",Rt.focus$)},inputs:{content:"content",sided:"sided",canOpen:"canOpen",open:"open"},outputs:{open$:"openChange",focusedChange:"focusedChange"},features:[e._Bn([(0,_e.FT)(St),{provide:ze,deps:[[new e.FiY,new e.PiD,s.uG]],useFactory:Ft=>null==Ft?void 0:Ft[0]},{provide:N,useExisting:St}])],ngContentSelectors:q,decls:2,vars:3,consts:[["tuiAccessorProxy","","tuiDropdownOpenMonitor","","class","t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured",4,"tuiLet"],["tuiAccessorProxy","","tuiDropdownOpenMonitor","",1,"t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured"],["activeZone","tuiActiveZone"],[3,"polymorpheus"],["dropdown","polymorpheus"],[1,"t-dropdown",3,"keydown"],["wrapper",""],["class","t-primitive",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive"]],template:function(It,Rt){if(1&It&&(e.F$t(),e.YNc(0,S,5,5,"div",0),e.ALo(1,"async")),2&It){let Zt;e.Q6J("tuiLet",null!==(Zt=e.lcZ(1,1,Rt.open$))&&void 0!==Zt?Zt:Rt.openChange.value)}},dependencies:[k.Ls,ze,Se,ue.td,ue.VC,ue.Tp,ue.Cw,z.e,pe,At.GL,At.Li,Qe.Ov],styles:["[_nghost-%COMP%]{display:inline-flex}.t-wrapper[_ngcontent-%COMP%]{border-radius:inherit;height:inherit;flex:1 1 auto;width:100%}.t-dropdown[_ngcontent-%COMP%]{height:100%}.t-primitive[_ngcontent-%COMP%]{padding:1rem}"],changeDetection:0}),(0,tt.gn)([(0,mt.uX)(pt)],St.prototype,"onKeyDownEsc",null),St})(),Cn=(()=>{class St{}return St.\u0275fac=function(It){return new(It||St)},St.\u0275mod=e.oAB({type:St}),St.\u0275inj=e.cJS({imports:[[Qe.ez,At.wq,k.WD,ce,z.A,ue.dp]]}),St})()},2847:(Ht,Fe,c)=>{"use strict";c.d(Fe,{V:()=>ve,j:()=>Ae});var e=c(4537),s=c(2325),k=c(3770),z=c(7179),F=c(9669),ne=c(8033),W=c(2130),te=c(6060),pe=c(1860),ce=c(7969),de=c(4789),Y=c(8692);const _e=["tuiLink",""];function ue(Ve,je){if(1&Ve&&e._UZ(0,"tui-svg",3),2&Ve){const se=e.oxw();e.Q6J("src",se.icon||"")}}function ie(Ve,je){if(1&Ve&&e._UZ(0,"tui-svg",4),2&Ve){const se=e.oxw();e.Q6J("src",se.icon||"")}}const Ue=["*"];let ve=(()=>{class Ve{constructor(se,ee,$e){this.el=se,this.mode$=ee,this.pseudo=!1,this.icon="",this.iconAlign="right",this.iconRotated=!1,this.mode=null,this.focusVisible=!1,this.focusedChange=(0,pe.T)((0,s.mL)(this.el.nativeElement,"focusin").pipe((0,ce.U)(k.Ye)),(0,s.mL)(this.el.nativeElement,"focusout").pipe((0,ce.U)(k.Iy))),$e.subscribe(Oe=>{this.focusVisible=Oe})}get nativeFocusableElement(){return this.el.nativeElement}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get hasIcon(){return!!this.icon}get iconAlignLeft(){return this.hasIcon&&"left"===this.iconAlign}get iconAlignRight(){return this.hasIcon&&"right"===this.iconAlign}}return Ve.\u0275fac=function(se){return new(se||Ve)(e.Y36(e.SBq),e.Y36(te.Au),e.Y36(F.ku))},Ve.\u0275cmp=e.Xpm({type:Ve,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostVars:7,hostBindings:function(se,ee){1&se&&e.NdJ("$.data-mode.attr",function(){return ee.mode$}),2&se&&(e.uIk("data-host-mode",ee.mode),e.ekj("_pseudo",ee.pseudo)("_icon-rotated",ee.iconRotated)("_focus-visible",ee.focusVisible))},inputs:{pseudo:"pseudo",icon:"icon",iconAlign:"iconAlign",iconRotated:"iconRotated",mode:"mode"},exportAs:["tuiLink"],features:[e._Bn([(0,ne.FT)(Ve),F.ku,F.a3,W.CV])],attrs:_e,ngContentSelectors:Ue,decls:4,vars:2,consts:[["class","t-icon t-icon_left",3,"src",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_right",3,"src",4,"ngIf"],[1,"t-icon","t-icon_left",3,"src"],[1,"t-icon","t-icon_right",3,"src"]],template:function(se,ee){1&se&&(e.F$t(),e.YNc(0,ue,1,1,"tui-svg",0),e.TgZ(1,"span",1),e.Hsn(2),e.qZA(),e.YNc(3,ie,1,1,"tui-svg",2)),2&se&&(e.Q6J("ngIf",ee.iconAlignLeft),e.xp6(3),e.Q6J("ngIf",ee.iconAlignRight))},dependencies:[de.PN,Y.O5],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);text-align:left;text-transform:inherit;font-weight:inherit;cursor:pointer;outline:none}[_nghost-%COMP%]:hover{color:var(--tui-link-hover)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(0,0,0,.48);text-decoration-color:#0000007a}[data-mode=onLight]._pseudo[_nghost-%COMP%]:hover, [data-mode=onLight]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative-night)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:hover, [data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:active, [data-mode=onLight][data-host-mode=negative]._active[_nghost-%COMP%]{color:var(--tui-negative-night-hover)}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark][_nghost-%COMP%]:active, [data-mode=onDark]._active[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(255,255,255,.48);text-decoration-color:#ffffff7a}[data-mode=onDark]._pseudo[_nghost-%COMP%]:hover, [data-mode=onDark]._pseudo[_nghost-%COMP%]:active, [data-mode=onDark]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:hover, [data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:active, [data-mode=onDark][data-host-mode=positive]._active[_nghost-%COMP%]{color:var(--tui-positive-night-hover)}[data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative)}[data-host-mode=negative][_nghost-%COMP%]:hover{color:var(--tui-negative-hover)}[data-host-mode=negative]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(222,76,30,.48);text-decoration-color:#de4c1e7a}[data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive)}[data-host-mode=positive][_nghost-%COMP%]:hover{color:var(--tui-positive-hover)}[data-host-mode=positive]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(58,169,129,.48);text-decoration-color:#3aa9817a}._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-selection)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear);color:var(--tui-text-01)}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}[data-host-mode=positive]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-success-bg)}[data-host-mode=negative]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-error-bg)}._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding-bottom:.15em;-webkit-text-decoration:underline dashed rgba(51,111,238,.48);text-decoration:underline dashed rgba(51,111,238,.48);text-underline-offset:.2em;text-decoration-thickness:.7px}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--tui-link-icon-size, 1.5rem);height:var(--tui-link-icon-size, 1.5rem);margin-top:-.125rem}.t-icon_left[_ngcontent-%COMP%]{margin-right:.25rem}.t-icon_right[_ngcontent-%COMP%]{margin-left:.25rem}._icon-rotated[_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),Ve})(),Ae=(()=>{class Ve{}return Ve.\u0275fac=function(se){return new(se||Ve)},Ve.\u0275mod=e.oAB({type:Ve}),Ve.\u0275inj=e.cJS({imports:[[Y.ez,de.EI]]}),Ve})()},719:(Ht,Fe,c)=>{"use strict";c.d(Fe,{dS:()=>ve,kM:()=>Ue});var e=c(8692),s=c(4537),k=c(1927),z=c(1213),F=c(7179),ne=c(8033),W=c(6640),te=c(9570);function pe(Ae,Ve){if(1&Ae&&(s.ynx(0),s._uU(1),s.BQk()),2&Ae){const je=Ve.polymorpheusOutlet;s.xp6(1),s.hij(" ",je," ")}}function ce(Ae,Ve){if(1&Ae&&(s.O4$(),s.kcU(),s.TgZ(0,"div",6),s.YNc(1,pe,2,1,"ng-container",7),s.qZA()),2&Ae){const je=s.oxw(2);s.ekj("t-text_horizontal",je.isHorizontal),s.xp6(1),s.Q6J("polymorpheusOutlet",je.textContent)}}function de(Ae,Ve){if(1&Ae&&(s.TgZ(0,"div",2),s.O4$(),s.TgZ(1,"svg",3),s._UZ(2,"circle",4),s.qZA(),s.YNc(3,ce,2,3,"div",5),s.qZA()),2&Ae){const je=s.oxw();s.ekj("t-loader_horizontal",je.isHorizontal)("t-loader_inherit-color",je.inheritColor),s.uIk("data-size",je.size),s.xp6(3),s.Q6J("ngIf",je.hasText)}}const Y=["*"],ue=(0,k.JN)({size:"m",inheritColor:!1,overlay:!1});let Ue=(()=>{class Ae{constructor(je,se,ee,$e){this.doc=je,this.el=se,this.isIos=ee,this.options=$e,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay,this.loading=!0,this.isApple=(0,z.Ex)(this.el.nativeElement)||this.isIos}set showLoader(je){je&&this.focused&&(0,F.hp)(this.doc),this.loading=je}get hasOverlay(){return this.overlay&&this.loading}get hasText(){return!!this.textContent}get isHorizontal(){return!(0,W.R9)(this.size)}get focused(){return(0,F.zb)(this.el.nativeElement)}}return Ae.\u0275fac=function(je){return new(je||Ae)(s.Y36(e.K0),s.Y36(s.SBq),s.Y36(ne.FA),s.Y36(ue))},Ae.\u0275cmp=s.Xpm({type:Ae,selectors:[["tui-loader"]],hostVars:2,hostBindings:function(je,se){2&je&&s.ekj("_loading",se.loading)},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},ngContentSelectors:Y,decls:3,vars:7,consts:[[1,"t-content",3,"disabled"],["class","t-loader",3,"t-loader_horizontal","t-loader_inherit-color",4,"ngIf"],[1,"t-loader"],["automation-id","tui-loader__loader","focusable","false","viewBox","0 0 100 100","xmlns","http://www.w3.org/2000/svg",1,"t-icon"],["cx","50","cy","50","r","50","stroke-dasharray","314",1,"t-circle"],["automation-id","tui-loader__text","class","t-text",3,"t-text_horizontal",4,"ngIf"],["automation-id","tui-loader__text",1,"t-text"],[4,"polymorpheusOutlet"]],template:function(je,se){1&je&&(s.F$t(),s.TgZ(0,"fieldset",0),s.Hsn(1),s.qZA(),s.YNc(2,de,4,6,"div",1)),2&je&&(s.ekj("t-content_has-overlay",se.hasOverlay)("t-content_loading",se.loading),s.Q6J("disabled",se.loading&&!se.isApple),s.uIk("inert",se.loading||null),s.xp6(2),s.Q6J("ngIf",se.loading))},dependencies:[e.O5,te.Li],styles:["@keyframes _ngcontent-%COMP%_tuiLoaderDashOffset{0%{stroke-dashoffset:-66}50%{stroke-dashoffset:-314}to{stroke-dashoffset:-66}}@keyframes _ngcontent-%COMP%_tuiLoaderRotate{0%{transform:rotate(0)}50%{transform:rotate(1turn)}to{transform:rotate(3turn)}}[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem}._loading[_nghost-%COMP%]{overflow:hidden}.t-content[_ngcontent-%COMP%]{z-index:0;min-width:100%;height:100%;padding:0;margin:0;border:none}.t-content_has-overlay[_ngcontent-%COMP%]{opacity:.3}.t-content_loading[_ngcontent-%COMP%]{pointer-events:none}.t-loader[_ngcontent-%COMP%]{position:relative;left:-100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100%;flex-shrink:0;align-self:center;color:var(--tui-text-01);stroke:var(--tui-primary);animation:tuiFadeIn var(--tui-duration)}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-loader[data-size=xs][_ngcontent-%COMP%]{font-size:.75rem;stroke-width:38}.t-loader[data-size=s][_ngcontent-%COMP%]{font-size:1rem;stroke-width:25}.t-loader[data-size=m][_ngcontent-%COMP%]{font-size:1.5rem;stroke-width:17}.t-loader[data-size=l][_ngcontent-%COMP%]{font-size:2.5rem;stroke-width:15}.t-loader[data-size=xl][_ngcontent-%COMP%]{font-size:3.5rem;stroke-width:14}.t-loader[data-size=xxl][_ngcontent-%COMP%]{font-size:5rem;stroke-width:10}.t-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}.t-icon[_ngcontent-%COMP%]{display:block;min-width:1em;max-width:1em;min-height:1em;max-height:1em;margin:.25rem -.5em;border-radius:100%;overflow:hidden;transform:scaleY(-1);animation:_ngcontent-%COMP%_tuiLoaderRotate 3s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}.t-circle[_ngcontent-%COMP%]{fill:none;stroke:inherit;stroke-width:inherit;animation:_ngcontent-%COMP%_tuiLoaderDashOffset 3s linear infinite}"],changeDetection:0}),Ae})(),ve=(()=>{class Ae{}return Ae.\u0275fac=function(je){return new(je||Ae)},Ae.\u0275mod=s.oAB({type:Ae}),Ae.\u0275inj=s.cJS({imports:[[e.ez,te.wq]]}),Ae})()},885:(Ht,Fe,c)=>{"use strict";c.d(Fe,{H:()=>ue,L:()=>_e});var e=c(4537),s=c(2325),k=c(6060),z=c(4789),F=c(2628),ne=c(8692),W=c(9570);function te(ie,Ue){1&ie&&e._UZ(0,"tui-svg",4),2&ie&&e.Q6J("src",Ue.polymorpheusOutlet)}const pe=function(ie){return{$implicit:ie}};function ce(ie,Ue){if(1&ie&&(e.ynx(0),e.YNc(1,te,1,1,"tui-svg",3),e.BQk()),2&ie){const ve=e.oxw();e.xp6(1),e.Q6J("polymorpheusOutlet",ve.icon)("polymorpheusOutletContext",e.VKq(2,pe,ve.status))}}function de(ie,Ue){if(1&ie){const ve=e.EpF();e.TgZ(0,"button",5),e.NdJ("click",function(){e.CHM(ve);const Ve=e.oxw();return e.KtG(Ve.close.emit())}),e.ALo(1,"async"),e.qZA()}if(2&ie){const ve=e.oxw();e.Q6J("icon",ve.icons.close)("title",e.lcZ(1,2,ve.closeWord$))}}const Y=["*"];let _e=(()=>{class ie{constructor(ve,Ae,Ve){this.closeWord$=ve,this.icons=Ae,this.options=Ve,this.hasIcon=this.options.hasIcon,this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new e.vpe}get hasClose(){return!this.hideClose&&(0,s.fw)(this.close)}}return ie.\u0275fac=function(ve){return new(ve||ie)(e.Y36(k.U0),e.Y36(k.Gs),e.Y36(k.Ln))},ie.\u0275cmp=e.Xpm({type:ie,selectors:[["tui-notification"]],hostVars:2,hostBindings:function(ve,Ae){2&ve&&e.uIk("data-status",Ae.status)("data-size",Ae.size)},inputs:{hasIcon:"hasIcon",icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},ngContentSelectors:Y,decls:4,vars:2,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"icon","title","click",4,"ngIf"],["automation-id","tui-notification__icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"src"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"icon","title","click"]],template:function(ve,Ae){1&ve&&(e.F$t(),e.YNc(0,ce,2,4,"ng-container",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,de,2,4,"button",2)),2&ve&&(e.Q6J("ngIf",Ae.icon&&Ae.hasIcon),e.xp6(3),e.Q6J("ngIf",Ae.hasClose))},dependencies:[z.PN,F.v0,ne.O5,W.Li,ne.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:flex;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}[data-status=success][_nghost-%COMP%]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}[data-status=error][_nghost-%COMP%]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-neutral-fill);background:linear-gradient(var(--tui-neutral-bg),var(--tui-neutral-bg)),var(--tui-base-01)}.t-content[_ngcontent-%COMP%]{flex:1;word-wrap:break-word;overflow-wrap:anywhere;color:var(--tui-text-01)}"],changeDetection:0}),ie})(),ue=(()=>{class ie{}return ie.\u0275fac=function(ve){return new(ve||ie)},ie.\u0275mod=e.oAB({type:ie}),ie.\u0275inj=e.cJS({imports:[[ne.ez,z.EI,F.fN,W.wq]]}),ie})()},5640:(Ht,Fe,c)=>{"use strict";c.d(Fe,{iQ:()=>hn,yc:()=>cn,B1:()=>yt,KW:()=>he,MB:()=>Re});var e=c(4911),s=c(4537),k=c(9669);let z=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275cmp=s.Xpm({type:fe,selectors:[["ng-component"]],hostAttrs:[1,"tui-autofilled-styles"],decls:0,vars:0,template:function(ye,at){},styles:[".tui-autofill input,input.tui-autofill{transition:box-shadow .01s}\n"],encapsulation:2,changeDetection:0}),fe})(),F=(()=>{class fe{constructor(ye){this.autofilled=!1,this.tuiAutofilledChange=new s.vpe,ye.addComponent(z)}transitionStartHandler({propertyName:ye,target:at}){var kt;ye.includes("box-shadow")&&(null===(kt=at)||void 0===kt?void 0:kt.matches("input"))&&(this.autofilled=!this.autofilled,this.tuiAutofilledChange.emit(this.autofilled))}}return fe.\u0275fac=function(ye){return new(ye||fe)(s.Y36(k.gH))},fe.\u0275dir=s.lG2({type:fe,selectors:[["","tuiAutofilledChange",""]],hostAttrs:[1,"tui-autofill"],hostVars:2,hostBindings:function(ye,at){1&ye&&s.NdJ("transitionstart",function(qt){return at.transitionStartHandler(qt)}),2&ye&&s.ekj("_autofilled",at.autofilled)},outputs:{tuiAutofilledChange:"tuiAutofilledChange"}}),fe})(),ne=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275mod=s.oAB({type:fe}),fe.\u0275inj=s.cJS({}),fe})();var W=c(3633),te=c(8033),pe=c(6480),ce=c(7179),de=c(4493),Y=c(4358),_e=c(8089),ue=c(8940),ie=c(6640),Ue=c(9570),ve=c(4121),Ae=c(1860),Ve=c(4581),je=c(3517),se=c(4970),ee=c(7969),$e=c(2147),Oe=c(4789),_t=c(7320),vt=c(1515),tt=c(8692),we=c(1489),mt=c(9900),At=c(6060);let Qe=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275dir=s.lG2({type:fe,selectors:[["input","tuiMaskAccessor",""]],features:[s._Bn([{provide:mt.JU,deps:[[new s.FiY,At.sE],mt.Fj],multi:!0,useFactory:(We,ye)=>We?We[0]:ye}])]}),fe})(),qe=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275mod=s.oAB({type:fe}),fe.\u0275inj=s.cJS({}),fe})();var Ge=c(3631);const R=["pre"],be=["focusableElement"];function S(fe,We){1&fe&&s.GkF(0)}function q(fe,We){1&fe&&s.GkF(0)}function ze(fe,We){1&fe&&(s.TgZ(0,"div",17),s.Hsn(1,2),s.qZA())}function N(fe,We){1&fe&&s._UZ(0,"tui-svg",20),2&fe&&s.Q6J("src",We.polymorpheusOutlet)}const Se=function(fe){return{$implicit:fe}};function et(fe,We){if(1&fe&&(s.TgZ(0,"div",18),s.YNc(1,N,1,1,"tui-svg",19),s.qZA()),2&fe){const ye=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",ye.iconLeftContent)("polymorpheusOutletContext",s.VKq(2,Se,ye.size))}}function pt(fe,We){if(1&fe&&(s.TgZ(0,"label",21),s.Hsn(1,3),s.qZA()),2&fe){const ye=s.oxw();s.ekj("t-placeholder_raised",ye.placeholderRaised),s.Q6J("for",ye.computedId)}}function wt(fe,We){1&fe&&s._UZ(0,"tui-svg",24),2&fe&&s.Q6J("src",We.polymorpheusOutlet)}function Cn(fe,We){if(1&fe&&(s.TgZ(0,"div",22),s.YNc(1,wt,1,1,"tui-svg",23),s.qZA()),2&fe){const ye=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",ye.controller.customContent)}}function St(fe,We){1&fe&&s._UZ(0,"tui-svg",27),2&fe&&s.Q6J("src",We.polymorpheusOutlet)}function Ft(fe,We){if(1&fe){const ye=s.EpF();s.TgZ(0,"span",25),s.NdJ("click.stop",function(){s.CHM(ye);const kt=s.oxw();return s.KtG(kt.clear())}),s.YNc(1,St,1,1,"tui-svg",26),s.qZA()}if(2&fe){const ye=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",ye.iconCleaner||ye.controller.options.iconCleaner)("polymorpheusOutletContext",s.VKq(2,Se,ye.size))}}function It(fe,We){if(1&fe&&s._UZ(0,"tui-tooltip",28),2&fe){const ye=s.oxw();s.Q6J("content",null==ye.hintOptions?null:ye.hintOptions.content)("describeId",ye.computedId)}}function Rt(fe,We){1&fe&&s._UZ(0,"tui-svg",20),2&fe&&s.Q6J("src",We.polymorpheusOutlet)}function Zt(fe,We){if(1&fe&&(s.TgZ(0,"div",29),s.YNc(1,Rt,1,1,"tui-svg",19),s.qZA()),2&fe){const ye=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",ye.iconContent)("polymorpheusOutletContext",s.VKq(2,Se,ye.size))}}const Ut=[[["input"]],[["select"]],[["tuiContent"]],"*"],Dt=["input","select","tuiContent","*"],Xt=["tuiTextfield",""];let Qt=(()=>{class fe{constructor(ye,at){this.textfield=ye,this.fontsReady$=at,this.prefix$=new ve.X(""),this.pre$=(0,Ae.T)(this.fontsReady$,this.prefix$).pipe((0,je.g)(0),(0,se.h)(()=>{var kt;return!(null===(kt=this.pre)||void 0===kt||!kt.nativeElement.isConnected)}),(0,ee.U)(()=>{var kt;return(null===(kt=this.pre)||void 0===kt?void 0:kt.nativeElement.offsetWidth)||0}),(0,$e.x)())}get isContextTable(){return this.textfield.appearance===_t.Nm.Table}get value(){return this.textfield.value}get filler(){const{focused:ye,placeholder:at,exampleText:kt,value:qt,textfield:Lt}=this;return at&&kt?"":ye?kt||Lt.filler.slice(qt.length):""}get prefix(){return this.decorationsVisible?this.textfield.prefix:""}get postfix(){return this.decorationsVisible?this.computedPostfix:""}ngDoCheck(){this.prefix$.next(this.prefix)}get placeholder(){var ye;return(null===(ye=this.textfield.nativeFocusableElement)||void 0===ye?void 0:ye.placeholder)||""}get exampleText(){return!this.value&&this.focused?this.placeholder:""}get decorationsVisible(){return!!this.value||this.focused&&!this.placeholder}get focused(){return this.textfield.computedFocused&&!this.textfield.readOnly}get computedPostfix(){return this.textfield.postfix&&(this.filler||this.value)?` ${this.textfield.postfix}`:this.textfield.postfix}}return fe.\u0275fac=function(ye){return new(ye||fe)(s.Y36(te.KZ),s.Y36(te.tS))},fe.\u0275cmp=s.Xpm({type:fe,selectors:[["tui-value-decoration"]],viewQuery:function(ye,at){if(1&ye&&s.Gf(R,7,s.SBq),2&ye){let kt;s.iGM(kt=s.CRH())&&(at.pre=kt.first)}},hostVars:4,hostBindings:function(ye,at){1&ye&&s.NdJ("animationstart",function(){return at.ngDoCheck()}),2&ye&&s.ekj("_table",at.isContextTable)("_filler",at.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(ye,at){1&ye&&s._UZ(0,"span",0,1)(2,"span",2)(3,"span",3)(4,"span",4),2&ye&&(s.Q6J("textContent",at.prefix),s.xp6(2),s.Q6J("textContent",at.value),s.xp6(1),s.Q6J("textContent",at.filler),s.xp6(1),s.Q6J("textContent",at.postfix))},styles:['[_nghost-%COMP%]{position:absolute;display:block;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-03);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]{color:var(--tui-text-03-night)}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-01)}tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),fe})();const hn={s:1.25,m:1.75,l:2.25};let cn=(()=>{class fe extends pe.Xn{constructor(ye,at,kt,qt){super(),this.controller=ye,this.hintOptions=at,this.options=kt,this.el=qt,this.editable=!0,this.textfieldFiller="",this.iconCleaner=this.options.iconCleaner,this.readOnly=!1,this.invalid=!1,this.disabled=!1,this.textfieldPrefix="",this.textfieldPostfix="",this.value="",this.valueChange=new s.vpe,this.autofilled=!1}get prefix(){return this.textfieldPrefix||this.controller.prefix}get postfix(){return this.textfieldPostfix||this.controller.postfix}get filler(){return this.textfieldFiller||this.controller.filler}get nativeFocusableElement(){if(this.computedDisabled||!this.focusableElement)return null;const{nativeElement:ye}=this.focusableElement;return ye.previousElementSibling||ye}get focused(){return(0,ce.zb)(this.el.nativeElement)}get appearance(){return this.controller.appearance}get size(){return this.controller.size}get computedInvalid(){return!this.readOnly&&!this.disabled&&this.invalid}get inputHidden(){var ye;return!(null===(ye=this.content)||void 0===ye||!ye.length)}get hasValue(){return!!this.value}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}get hasTooltip(){var ye;return!(null===(ye=this.hintOptions)||void 0===ye||!ye.content||this.computedDisabled)}get hasCustomContent(){return!!this.controller.customContent}get placeholderVisible(){var ye;const kt=((null===(ye=this.nativeFocusableElement)||void 0===ye?void 0:ye.placeholder)||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!kt}get hasPlaceholder(){return this.placeholderRaisable||this.placeholderVisible}get placeholderRaised(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}get borderStart(){return this.iconLeftContent?this.iconPaddingLeft:0}get borderEnd(){return(0,ie._X)(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}get iconContent(){return this.controller.icon}get iconLeftContent(){return this.controller.iconLeft}get showHint(){var ye;return!(null===(ye=this.hintOptions)||void 0===ye||!ye.content)&&(this.options.hintOnDisabled||!this.computedDisabled)}get name(){var ye;return"cc-exp"===(null===(ye=this.nativeFocusableElement)||void 0===ye?void 0:ye.autocomplete)?"ccexpiryyear":null}get computedId(){var ye;return(null===(ye=this.nativeFocusableElement)||void 0===ye?void 0:ye.id)||""}onFocused(ye){this.updateFocused(ye)}getIndent$(ye){return(0,Ve.R)(ye,"scroll").pipe((0,ee.U)(()=>-1*Math.max(ye.scrollLeft,0)))}clear(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}onMouseDown(ye){const{nativeFocusableElement:at}=this;!at||ye.target===at||(ye.preventDefault(),at.focus())}onModelChange(ye){this.updateValue(ye)}onAutofilled(ye){this.updateAutofilled(ye)}detectRetargetFromLabel(ye){(0,de.UP)(ye)&&ye.stopImmediatePropagation()}get iconPaddingLeft(){return hn[this.size]}get placeholderRaisable(){return"s"!==this.size&&!this.controller.labelOutside}updateAutofilled(ye){this.autofilled!==ye&&(this.autofilled=ye)}updateValue(ye){this.value=ye,this.valueChange.emit(ye)}}return fe.\u0275fac=function(ye){return new(ye||fe)(s.Y36(ue.Cs),s.Y36(_e.bZ,8),s.Y36(ue.z1),s.Y36(s.SBq))},fe.\u0275cmp=s.Xpm({type:fe,selectors:[["tui-primitive-textfield"]],contentQueries:function(ye,at,kt){if(1&ye&&s.Suo(kt,Ue.Li,5),2&ye){let qt;s.iGM(qt=s.CRH())&&(at.content=qt)}},viewQuery:function(ye,at){if(1&ye&&s.Gf(be,5),2&ye){let kt;s.iGM(kt=s.CRH())&&(at.focusableElement=kt.first)}},hostVars:15,hostBindings:function(ye,at){1&ye&&s.NdJ("focusin",function(){return at.onFocused(!0)})("focusout",function(){return at.onFocused(!1)}),2&ye&&(s.uIk("data-size",at.size),s.Udp("--border-start",at.borderStart,"rem")("--border-end",at.borderEnd,"rem"),s.ekj("_autofilled",at.autofilled)("_label-outside",at.controller.labelOutside)("_readonly",at.readOnly)("_invalid",at.computedInvalid)("_hidden",at.inputHidden))},inputs:{editable:"editable",textfieldFiller:["filler","textfieldFiller"],iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",textfieldPrefix:["prefix","textfieldPrefix"],textfieldPostfix:["postfix","textfieldPostfix"],value:"value"},outputs:{valueChange:"valueChange"},features:[s._Bn([(0,te.FT)(fe),ue.Y0]),s.qOj],ngContentSelectors:Dt,decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown","tuiAutofilledChange"],["automation-id","tui-primitive-textfield__native-input","tuiMaskAccessor","",1,"t-input",3,"disabled","id","ngModel","readOnly","tuiFocusable","ngModelChange"],["focusableElement",""],["automation-id","tui-primitive-textfield__value","class","t-input t-input_template",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_left t-textfield-icon",4,"ngIf"],[1,"t-wrapper"],["automation-id","tui-primitive-textfield__placeholder","class","t-placeholder",3,"t-placeholder_raised","for",4,"ngIf"],[1,"t-wrapper-value-decoration"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",4,"ngIf"],["class","t-icon t-textfield-icon",4,"ngIf"],["automation-id","tui-primitive-textfield__value",1,"t-input","t-input_template"],[1,"t-icon","t-icon_left","t-textfield-icon"],["appearance","icon","tuiWrapper","",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","tuiWrapper","",3,"src"],["automation-id","tui-primitive-textfield__placeholder",1,"t-placeholder",3,"for"],["automation-id","tui-primitive-textfield__custom-content",1,"t-custom-content"],["class","t-custom-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"src"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"src"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(ye,at){if(1&ye&&(s.F$t(Ut),s.YNc(0,S,1,0,"ng-container",0),s.ALo(1,"async"),s.YNc(2,q,1,0,"ng-container",0),s.ALo(3,"async"),s.TgZ(4,"div",1),s.NdJ("click.prevent.silent",function(qt){return at.detectRetargetFromLabel(qt)})("mousedown",function(qt){return at.onMouseDown(qt)})("tuiAutofilledChange",function(qt){return at.onAutofilled(qt)}),s.ALo(5,"async"),s.Hsn(6),s.Hsn(7,1),s.TgZ(8,"input",2,3),s.NdJ("ngModelChange",function(qt){return at.onModelChange(qt)}),s.qZA(),s.YNc(10,ze,2,0,"div",4),s.TgZ(11,"div",5),s.YNc(12,et,2,4,"div",6),s.TgZ(13,"div",7),s.YNc(14,pt,2,3,"label",8),s.TgZ(15,"div",9)(16,"tui-value-decoration",10,11),s.ALo(18,"async"),s.qZA()()(),s.TgZ(19,"div",12),s.YNc(20,Cn,2,1,"div",13),s.YNc(21,Ft,2,4,"span",14),s.YNc(22,It,1,2,"tui-tooltip",15),s.YNc(23,Zt,2,4,"div",16),s.qZA()()()),2&ye){const kt=s.MAs(9),qt=s.MAs(17);s.Q6J("ngIf",s.lcZ(1,29,null==at.content?null:at.content.changes)),s.xp6(2),s.Q6J("ngIf",s.lcZ(3,31,null==at.hintOptions?null:at.hintOptions.change$)),s.xp6(2),s.Udp("--text-indent",s.lcZ(5,33,qt.pre$),"px"),s.Q6J("active",at.pseudoActive)("appearance",at.appearance)("disabled",at.disabled)("focus",at.computedFocused)("hover",at.pseudoHover)("invalid",at.computedInvalid)("readOnly",at.readOnly),s.xp6(4),s.Q6J("disabled",at.computedDisabled)("id",at.id)("ngModel",at.value)("readOnly",at.readOnly||!at.editable)("tuiFocusable",at.computedFocusable),s.uIk("aria-invalid",at.computedInvalid)("name",at.name),s.xp6(2),s.Q6J("ngIf",at.inputHidden),s.xp6(2),s.Q6J("ngIf",at.iconLeftContent),s.xp6(2),s.Q6J("ngIf",at.hasPlaceholder),s.xp6(2),s.Udp("text-indent",s.lcZ(18,35,at.getIndent$(kt)),"px"),s.ekj("t-has-value",at.value),s.xp6(4),s.Q6J("ngIf",at.hasCustomContent),s.xp6(1),s.Q6J("ngIf",at.hasCleaner),s.xp6(1),s.Q6J("ngIf",at.showHint),s.xp6(1),s.Q6J("ngIf",at.iconContent)}},dependencies:[Oe.PN,Qt,vt.w,tt.O5,we.o,F,Qe,mt.Fj,mt.JJ,mt.On,W.t,Ue.Li,tt.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input[_ngcontent-%COMP%]::-webkit-caps-lock-indicator, .t-input[_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credit-card-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], .t-input tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], .t-input tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input.t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill)}._invalid[_nghost-%COMP%]:not(._focused) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill-night)}._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[data-size=l][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font-size:.8156rem}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}._focused[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}._readonly[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%], ._disabled[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%]{pointer-events:none}.t-icon[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size="s"]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}.t-custom-content[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;pointer-events:none}.t-custom-icon[_ngcontent-%COMP%]{width:2rem;height:100%}.t-input[_ngcontent-%COMP%]:not(:first-child){display:none}[data-size][_nghost-%COMP%] .t-input_template[_ngcontent-%COMP%]{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-text-template[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration[_ngcontent-%COMP%]{position:relative;pointer-events:none}'],changeDetection:0}),(0,e.gn)([Y.UM],fe.prototype,"getIndent$",null),fe})(),yt=(()=>{class fe extends Ge.D1{constructor(ye){super(ye),this.textfield=ye}get readOnly(){return this.textfield.readOnly||!this.textfield.editable}onValueChange(ye){this.textfield.onModelChange(ye)}}return fe.\u0275fac=function(ye){return new(ye||fe)(s.Y36(cn))},fe.\u0275dir=s.lG2({type:fe,selectors:[["tui-primitive-textfield"]],features:[s._Bn([(0,At.cp)(fe)]),s.qOj]}),fe})(),Re=(()=>{class fe{constructor(ye,at,kt,qt,Lt){this.host=ye,this.controller=at,this.el=kt,this.idService=qt,this.legacyMask=Lt,this.host.process(this.el.nativeElement)}get id(){return this.el.nativeElement.id||this.idService.generate()}get inputMode(){return this.el.nativeElement.inputMode||this.host.inputMode}}return fe.\u0275fac=function(ye){return new(ye||fe)(s.Y36(At.S0),s.Y36(ue.Cs),s.Y36(s.SBq),s.Y36(k.ll),s.Y36(At.sf,8))},fe.\u0275cmp=s.Xpm({type:fe,selectors:[["input","tuiTextfield",""],["textarea","tuiTextfield",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(ye,at){1&ye&&s.NdJ("input",function(qt){return!at.legacyMask&&at.host.onValueChange(qt.target.value)}),2&ye&&(s.Ikx("tabIndex",at.host.focusable?0:-1)("readOnly",at.host.readOnly)("value",at.host.value),s.uIk("id",at.id)("inputMode",at.inputMode)("aria-invalid",at.host.invalid)("disabled",at.host.disabled||null))},features:[s._Bn([ue.Y0])],attrs:Xt,decls:0,vars:0,template:function(ye,at){},styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_nghost-%COMP%]::-webkit-caps-lock-indicator, [_nghost-%COMP%]::-webkit-contacts-auto-fill-button, [_nghost-%COMP%]::-webkit-credit-card-auto-fill-button, [_nghost-%COMP%]::-webkit-credentials-auto-fill-button, [_nghost-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}[_nghost-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:focus, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]::placeholder, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),fe})(),he=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275mod=s.oAB({type:fe}),fe.\u0275inj=s.cJS({imports:[[tt.ez,mt.u5,Ue.wq,qe,W.u,we.W,Oe.EI,vt.Q,ne]]}),fe})()},134:(Ht,Fe,c)=>{"use strict";c.d(Fe,{IB:()=>_e,Jy:()=>ue});var e=c(4537),s=c(1359),k=c(1213),z=c(4493),F=c(8033),ne=c(2579),W=c(8692);function te(ie,Ue){1&ie&&e._UZ(0,"tui-scroll-controls",2)}const pe=["*"];let _e=(()=>{class ie{constructor(ve,Ae,Ve,je){this.cssRef=ve,this.el=Ae,this.userAgent=Ve,this.isIos=je,this.delegated=!1,this.isLegacy=!this.cssRef.supports("position","sticky")||(0,k.oK)(this.userAgent)&&!this.cssRef.supports("scrollbar-width","none"),this.hidden=!1,this.browserScrollRef=new e.SBq(this.el.nativeElement)}get showScrollbars(){return!this.hidden&&!this.isIos&&(!this.isLegacy||this.delegated)}get showNative(){return this.isLegacy&&!this.hidden&&!this.delegated}onScrollable(ve){this.delegated=!0,this.browserScrollRef.nativeElement=ve}scrollIntoView(ve){var Ae;if(this.delegated)return;const{nativeElement:Ve}=this.browserScrollRef,{offsetTop:je,offsetLeft:se}=(0,z.YX)(Ve,ve),{clientHeight:ee,clientWidth:$e}=Ve,{offsetHeight:Oe,offsetWidth:_t}=ve;null===(Ae=Ve.scrollTo)||void 0===Ae||Ae.call(Ve,se+_t/2-$e/2,je+Oe/2-ee/2)}}return ie.\u0275fac=function(ve){return new(ve||ie)(e.Y36(ne.ux),e.Y36(e.SBq),e.Y36(ne.yZ),e.Y36(F.FA))},ie.\u0275cmp=e.Xpm({type:ie,selectors:[["tui-scrollbar"]],hostVars:2,hostBindings:function(ve,Ae){1&ve&&e.NdJ("tui-scrollable.stop",function(je){return Ae.onScrollable(je.detail)})("tui-scroll-into-view.stop",function(je){return Ae.scrollIntoView(je.detail)}),2&ve&&e.ekj("_legacy",Ae.showNative)},inputs:{hidden:"hidden"},features:[e._Bn([{provide:F.$_,deps:[ie],useFactory:({browserScrollRef:Ue})=>Ue}])],ngContentSelectors:pe,decls:3,vars:1,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(ve,Ae){1&ve&&(e.F$t(),e.YNc(0,te,1,0,"tui-scroll-controls",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()),2&ve&&e.Q6J("ngIf",Ae.showScrollbars)},dependencies:[s.tZ,W.O5],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}[_nghost-%COMP%]:not(._legacy){scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar, [_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}._legacy[_nghost-%COMP%]{overflow:overlay}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){._legacy[_nghost-%COMP%]::-webkit-scrollbar, ._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar{background-color:transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-01)}"],changeDetection:0}),ie})(),ue=(()=>{class ie{}return ie.\u0275fac=function(ve){return new(ve||ie)},ie.\u0275mod=e.oAB({type:ie}),ie.\u0275inj=e.cJS({imports:[[W.ez,s.eI]]}),ie})()},4789:(Ht,Fe,c)=>{"use strict";c.d(Fe,{$E:()=>At,EI:()=>ze,PN:()=>q});var e=c(4911),s=c(8692),k=c(4537),z=c(5998),F=c(2579),ne=c(2668),W=c(8192),te=c(1927),ce=(c(8939),c(4493)),de=c(9669),Y=c(8033),_e=c(4358),ue=c(8269),ie=c(7941),Ue=c(6060),ve=c(6640),Ae=c(8330),Ve=c(5557),je=c(4945),se=c(1528),ee=c(3674),$e=c(3568),Oe=c(7969);function _t(N,Se){if(1&N&&k._UZ(0,"div",3),2&N){const et=k.oxw().tuiLet;k.Q6J("innerHTML",et,k.oJD)}}function vt(N,Se){if(1&N){const et=k.EpF();k.O4$(),k.TgZ(0,"svg",4),k.NdJ("error",function(){k.CHM(et);const wt=k.oxw(2);return k.KtG(wt.onError())}),k._UZ(1,"use"),k.qZA()}if(2&N){const et=k.oxw(2);k.xp6(1),k.uIk("href",et.use,null,"xlink")}}function tt(N,Se){if(1&N&&(k.ynx(0),k.YNc(1,_t,1,1,"div",1),k.YNc(2,vt,2,1,"ng-template",null,2,k.W1O),k.BQk()),2&N){const et=k.MAs(3),pt=k.oxw();k.xp6(1),k.Q6J("ngIf",pt.isInnerHTML)("ngIfElse",et)}}const we={tuiIconAttach:"tuiIconPaperclip",tuiIconAttention:"tuiIconAlertCircle",tuiIconBackCircle:"tuiIconArrowLeftCircle",tuiIconCall:"tuiIconPhone",tuiIconCallIn:"tuiIconPhoneIncoming",tuiIconCallOut:"tuiIconPhoneOutgoing",tuiIconCallTransfer:"tuiIconPhoneForwarded",tuiIconCancel:"tuiIconXCircle",tuiIconCancelCircle:"tuiIconSlash",tuiIconCard:"tuiIconCreditCard",tuiIconCards:"tuiIconCreditCard",tuiIconChartBar:"tuiIconBarChart",tuiIconChart:"tuiIconBarChart",tuiIconCheckList:"tuiIconClipboard",tuiIconCloseCircle:"tuiIconXCircle",tuiIconCollapse:"tuiIconMinimize",tuiIconComment:"tuiIconMessageSquare",tuiIconCommentFw:"tuiIconMessageForward",tuiIconCompany:"tuiIconBriefcase",tuiIconDefaultDoc:"tuiIconFile",tuiIconDesktop:"tuiIconMonitor",tuiIconDesktopOff:"tuiIconMonitorOff",tuiIconDislike:"tuiIconThumbsDown",tuiIconDone:"tuiIconCheckCircle",tuiIconDraft:"tuiIconEdit2",tuiIconEyeOpen:"tuiIconEye",tuiIconEyeClosed:"tuiIconEyeOff",tuiIconExpand:"tuiIconMaximize",tuiIconExternal:"tuiIconExternalLink",tuiIconFrame:"tuiIconLayout",tuiIconGeo:"tuiIconMapPin",tuiIconHeartFilled:"tuiIconHeart",tuiIconHide:"tuiIconEyeOff",tuiIconImg:"tuiIconImage",tuiIconInfoCircle:"tuiIconInfo",tuiIconLike:"tuiIconThumbsUp",tuiIconLockOpen:"tuiIconUnlock",tuiIconMobile:"tuiIconSmartphone",tuiIconMoreHor:"tuiIconMoreHorizontal",tuiIconMoreVer:"tuiIconMoreVertical",tuiIconMoreVert:"tuiIconMoreVertical",tuiIconPicture:"tuiIconImage",tuiIconPin:"tuiIconMapPin",tuiIconPrint:"tuiIconPrinter",tuiIconRefresh:"tuiIconRefreshCw",tuiIconRemove:"tuiIconX",tuiIconShow:"tuiIconEye",tuiIconSound:"tuiIconVolume",tuiIconSoundOff:"tuiIconVolumeX",tuiIconStarFilled:"tuiIconStar",tuiIconStop:"tuiIconSquare",tuiIconStructure:"tuiIconGrid",tuiIconTime:"tuiIconClock",tuiIconTooltip:"tuiIconHelpCircle",tuiIconViewList:"tuiIconList",tuiIconWifiOn:"tuiIconWifi"},mt={iconsPlace:Ue.xp,path:(0,ve.ht)(Ue.xp),srcProcessor:Ae.y,contentProcessor:W.N,deprecated:N=>{const Se=N.replace("Large","").replace("Outline",""),et=we[Se];return et?`${Se}/(Large|Outline) is deprecated, use ${et}/(Large|Outline) instead`:""}},At=(0,te.N1)(()=>({iconsPlace:(0,k.f3M)(Ue.AA),path:(0,k.f3M)(Ue.ki),deprecated:mt.deprecated,srcProcessor:(0,k.f3M)(Ue.V5),contentProcessor:(0,k.f3M)(Ue.u_)})),Qe=new k.OlP("[TUI_SVG_SRC_INTERCEPTORS]");let q=(()=>{class N{constructor(et,pt,wt,Cn,St,Ft,It,Rt,Zt,Ut){this.doc=et,this.win=pt,this.options=wt,this.srcInterceptors=Cn,this.tuiSanitizer=St,this.svgService=Ft,this.staticRequestService=It,this.sanitizer=Rt,this.el=Zt,this.baseHref=Ut,this.src$=new Ve.t(1),this.icon="",this.innerHTML$=this.src$.pipe((0,se.w)(()=>(0,te.Aj)(this.icon)?this.isExternal?this.getExternalIcon(this.icon):(0,je.of)(this.getSafeHtml(this.icon)):(0,je.of)(this.icon)),(0,ee.O)(""))}set src(et){var pt;this.options.deprecated(String(et)),this.icon=(null!==(pt=this.srcInterceptors)&&void 0!==pt?pt:[]).reduce((Cn,St)=>St(Cn,this.options),this.options.srcProcessor(et||"")),this.src$.next()}get src(){return this.icon}get use(){return(0,te.Aj)(this.icon)?this.icon.includes(".svg#")?this.icon:this.resolveName(this.icon,this.options.path):""}get isInnerHTML(){return!(0,te.Aj)(this.icon)||this.isSrc||this.isExternal||this.isName&&this.isShadowDOM}get isShadowDOM(){return(0,ce.Wf)(this.el.nativeElement)!==this.doc}get isUse(){return this.use.replace(ue.uJ,"").includes(".svg#")}get isExternal(){return this.isUrl||this.isCrossDomain}get isUrl(){return(0,te.Aj)(this.icon)&&this.icon.replace(ue.uJ,"").endsWith(".svg")}get isSrc(){return(0,te.Aj)(this.icon)&&(0,ve.jL)(this.icon)}get isName(){return!this.isUrl&&!this.isUse&&!this.isSrc}get isCrossDomain(){const{use:et,isUse:pt,win:wt}=this;return pt&&et.startsWith("http")&&!!wt.origin&&!et.startsWith(wt.origin)}onError(et="External icon is missing on the given URL"){const{icon:pt}=this,wt=new CustomEvent(ue.qT,{bubbles:!0,detail:{message:et,icon:pt}});this.el.nativeElement.dispatchEvent(wt)}resolveName(et,pt){return pt(et,this.baseHref)}getSafeHtml(et){return this.isSrc?this.sanitize(et):this.process(et)}process(et){const pt=this.svgService.getOriginal(et);return this.isName&&!pt&&et&&this.onError("Attempted to use undefined named icon"),this.isShadowDOM&&this.isName?this.sanitize(pt||""):""}sanitize(et){return et=this.options.contentProcessor(et),this.tuiSanitizer&&(0,te.Aj)(et)?this.sanitizer.bypassSecurityTrustHtml(this.tuiSanitizer.sanitize(k.q3G.HTML,et)||""):et}getExternalIcon(et){const pt=et.includes(".svg")?et:this.use;return this.staticRequestService.request(pt).pipe((0,$e.K)(()=>(this.onError("Failed to load external SVG"),(0,je.of)(""))),(0,Oe.U)(wt=>this.sanitize(wt.replace("{class N{}return N.\u0275fac=function(et){return new(et||N)},N.\u0275mod=k.oAB({type:N}),N.\u0275inj=k.cJS({imports:[[s.ez,ne.WD]]}),N})()},1515:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Q:()=>ue,w:()=>_e});var e=c(4537),s=c(9669),k=c(8033),z=c(8089),F=c(2130),ne=c(6060),W=c(3528),te=c(4789),pe=c(1489),ce=c(9570),de=c(8692);function Y(ie,Ue){1&ie&&e._UZ(0,"tui-svg",3),2&ie&&e.Q6J("src",Ue.polymorpheusOutlet)}let _e=(()=>{class ie extends z.bZ{constructor(ve,Ae,Ve,je){super(Ve),this.isMobile=je,this.mode=null,this.describeId="",Ae.pipe((0,W.R)(ve)).subscribe(se=>{this.mode=se})}get computedAppearance(){return this.appearance||this.mode||""}stopOnMobile(ve){var Ae;this.isMobile&&(ve.preventDefault(),ve.stopPropagation()),null===(Ae=this.driver$)||void 0===Ae||Ae.toggle()}}return ie.\u0275fac=function(ve){return new(ve||ie)(e.Y36(s.a3,2),e.Y36(ne.Au),e.Y36(z.H3),e.Y36(k.fL))},ie.\u0275cmp=e.Xpm({type:ie,selectors:[["tui-tooltip"]],viewQuery:function(ve,Ae){if(1&ve&&e.Gf(z.t6,5),2&ve){let Ve;e.iGM(Ve=e.CRH())&&(Ae.driver$=Ve.first)}},hostVars:1,hostBindings:function(ve,Ae){1&ve&&e.NdJ("mousedown",function(je){return Ae.stopOnMobile(je)}),2&ve&&e.uIk("data-appearance",Ae.computedAppearance)},inputs:{content:"content",direction:"direction",appearance:"appearance",showDelay:"showDelay",hideDelay:"hideDelay",describeId:"describeId",context:"context"},features:[e._Bn([s.a3,F.CV]),e.qOj],decls:4,vars:11,consts:[["appearance","icon","automation-id","tui-tooltip__icon","tuiWrapper","",1,"t-tooltip-icon",3,"hover","tuiHint","tuiHintAppearance","tuiHintContext","tuiHintDescribe","tuiHintDirection","tuiHintHideDelay","tuiHintShowDelay"],["driver","tuiHintHover"],[3,"src",4,"polymorpheusOutlet"],[3,"src"]],template:function(ve,Ae){if(1&ve&&(e.TgZ(0,"span",0,1),e.ALo(2,"async"),e.YNc(3,Y,1,1,"tui-svg",2),e.qZA()),2&ve){const Ve=e.MAs(1);e.Q6J("hover",e.lcZ(2,9,Ve)||null)("tuiHint",Ae.content)("tuiHintAppearance",Ae.computedAppearance)("tuiHintContext",Ae.context)("tuiHintDescribe",Ae.describeId)("tuiHintDirection",Ae.direction)("tuiHintHideDelay",Ae.hideDelay)("tuiHintShowDelay",Ae.showDelay),e.xp6(3),e.Q6J("polymorpheusOutlet",Ae.icon)}},dependencies:[te.PN,pe.o,z.D,z.xn,z.t6,z.DM,z.$o,ce.Li,de.Ov],styles:['[_nghost-%COMP%]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;width:1.5rem;height:1.5rem;vertical-align:middle;font-size:0;line-height:0;pointer-events:auto;cursor:pointer;color:var(--tui-text-01)}[data-appearance=error][_nghost-%COMP%]{color:var(--tui-error-fill)}.t-tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%;color:inherit}[tuiWrapper][data-appearance="textfield"][data-state="disabled"][_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%], [tuiWrapper][data-appearance="textfield"][data-state="disabled"] [_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%]{opacity:1}'],changeDetection:0}),ie})(),ue=(()=>{class ie{}return ie.\u0275fac=function(ve){return new(ve||ie)},ie.\u0275mod=e.oAB({type:ie}),ie.\u0275inj=e.cJS({imports:[[de.ez,pe.W,te.EI,z.go,ce.wq]]}),ie})()},8269:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Fw:()=>Y,Jl:()=>ne,Nq:()=>W,fe:()=>pe,oA:()=>z,qT:()=>de,uJ:()=>s});var e=c(3770);const s=`?v=${e.Ml}`,z=ee=>ee.includes(".svg#")?ee:`#${ee}`,ne={decimalLimit:1/0,decimalSeparator:",",thousandSeparator:e.f$,zeroPadding:!0,rounding:"truncate",decimal:"not-zero"},W=["Spacebar","Backspace","Delete","ArrowLeft","ArrowRight","Left","Right","End","Home"],pe="tui-scroll-into-view",de="tui-icon-error",Y=["bottom-left","bottom","bottom-right","top-left","top","top-right","left-top","left","left-bottom","right-top","right","right-bottom"]},8952:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Cw:()=>hn,E$:()=>pt,Ek:()=>Ft,Tp:()=>Xt,VC:()=>Ut,dp:()=>yt,fx:()=>St,oH:()=>q,td:()=>ze});var e=c(4537),s=c(2579),k=c(221),z=c(1486),F=c(6111),ne=c(1927),W=c(9669),te=c(5122),pe=c(4358),ce=c(5675),de=c(7179),Y=c(3770),_e=c(3631),ue=c(9941),ie=c(2130),Ue=c(7941),ve=c(6060),Ae=c(6148),Ve=c(3528),je=c(1528),se=c(3517),ee=c(8168),$e=c(815),Oe=c(7969),_t=c(4911),vt=c(7766),tt=c(6640),we=c(9570),mt=c(8023),At=c(1860),Qe=c(4945),qe=c(4121),Ge=c(134);function R(Re,he){if(1&Re&&(e.TgZ(0,"div",4),e._uU(1),e.qZA()),2&Re){const re=he.polymorpheusOutlet;e.xp6(1),e.hij(" ",re," ")}}const be=function(Re){return{$implicit:Re}},S=(0,ne.N1)(()=>It);let q=(()=>{class Re{constructor(){this.tuiDropdownOpen=!1,this.tuiDropdownOpenChange=new e.vpe}update(re){this.tuiDropdownOpen=re,this.tuiDropdownOpenChange.emit(re)}ngOnChanges(){var re;null===(re=this.dropdown)||void 0===re||re.toggle(this.tuiDropdownOpen)}}return Re.\u0275fac=function(re){return new(re||Re)},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdownOpen",""],["","tuiDropdownOpenChange",""]],inputs:{tuiDropdownOpen:"tuiDropdownOpen"},outputs:{tuiDropdownOpenChange:"tuiDropdownOpenChange"},features:[e.TTD]}),Re})(),ze=(()=>{class Re{constructor(re,Xe,Le,fe,We,ye){this.el=Xe,this.dropdown=Le,this.injector=fe,this.dropdownService=We,this.open=ye,this.refresh$=new mt.x,this.dropdownBoxRef=null,this.type="dropdown",this.component=new we.Al(this.dropdown,this.injector),this.open&&!this.open.dropdown?this.open.dropdown=this:this.open=null,this.refresh$.pipe((0,Ae.p)(0),(0,Ve.R)(re)).subscribe(()=>{var at,kt;null===(at=this.dropdownBoxRef)||void 0===at||at.changeDetectorRef.detectChanges(),null===(kt=this.dropdownBoxRef)||void 0===kt||kt.changeDetectorRef.markForCheck()})}get position(){return(0,vt.qK)(this.el.nativeElement)?"fixed":"absolute"}ngAfterViewChecked(){this.refresh$.next()}ngAfterViewInit(){this.open&&this.toggle(this.open.tuiDropdownOpen)}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1),this.open&&(this.open.dropdown=void 0)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(re){var Xe,Le;re&&this.content&&!this.dropdownBoxRef?(this.dropdownBoxRef=this.dropdownService.add(this.component),null===(Xe=this.open)||void 0===Xe||Xe.update(!0)):!re&&this.dropdownBoxRef&&(this.dropdownService.remove(this.dropdownBoxRef),this.dropdownBoxRef=null,null===(Le=this.open)||void 0===Le||Le.update(!1))}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(W.a3,2),e.Y36(e.SBq),e.Y36(S),e.Y36(e.gxx),e.Y36(te.ae),e.Y36(q,8))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdown","",5,"ng-container"]],inputs:{content:["tuiDropdown","content"]},exportAs:["tuiDropdown"],features:[e._Bn([W.a3,(0,_e.Ic)(Re),(0,_e.Fe)(Re)]),e.TTD]}),(0,_t.gn)([pe.UM],Re.prototype,"position",null),Re})();const Se=(0,ne.JN)({showDelay:200,hideDelay:500});let pt=(()=>{class Re extends _e.kk{constructor(re,Xe,Le){super(fe=>this.stream$.subscribe(fe)),this.hovered$=re,this.options=Xe,this.parentHover=Le,this.toggle$=new mt.x,this.stream$=(0,At.T)(this.toggle$,this.hovered$).pipe((0,je.w)(fe=>(0,Qe.of)(fe).pipe((0,se.g)(fe?this.showDelay:this.hideDelay))),(0,ee.b)(fe=>{this.hovered=fe}),(0,$e.B)()),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.hovered=!1,this.type="dropdown"}toggle(re){var Xe;null===(Xe=this.parentHover)||void 0===Xe||Xe.toggle(re),this.toggle$.next(re)}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(F.gs),e.Y36(Se),e.Y36(Re,12))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdownHover","",5,"ng-container"]],inputs:{showDelay:["tuiDropdownShowDelay","showDelay"],hideDelay:["tuiDropdownHideDelay","hideDelay"]},features:[e._Bn([(0,_e.UK)(Re),F.gs]),e.qOj]}),Re})();const wt={align:"left",direction:null,limitWidth:"auto",maxHeight:400,minHeight:80,offset:4,appearance:""},Cn=(0,ne.JN)(wt),St=Re=>({provide:Cn,deps:[[new e.FiY,Ft],[new e.FiY,new e.tp0,Cn]],useFactory:(0,tt.lp)(Re,wt)});let Ft=(()=>{class Re{constructor(re){this.options=re,this.align=this.options.align,this.appearance=this.options.appearance,this.direction=this.options.direction,this.limitWidth=this.options.limitWidth,this.minHeight=this.options.minHeight,this.maxHeight=this.options.maxHeight,this.offset=this.options.offset}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(Cn,4))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdownAlign",""],["","tuiDropdownAppearance",""],["","tuiDropdownDirection",""],["","tuiDropdownLimitWidth",""],["","tuiDropdownMinHeight",""],["","tuiDropdownMaxHeight",""],["","tuiDropdownOffset",""]],inputs:{align:["tuiDropdownAlign","align"],appearance:["tuiDropdownAppearance","appearance"],direction:["tuiDropdownDirection","direction"],limitWidth:["tuiDropdownLimitWidth","limitWidth"],minHeight:["tuiDropdownMinHeight","minHeight"],maxHeight:["tuiDropdownMaxHeight","maxHeight"],offset:["tuiDropdownOffset","offset"]},features:[e._Bn([{provide:Cn,useExisting:(0,e.Gpc)(()=>Re)}])]}),Re})(),It=(()=>{class Re{constructor(re,Xe,Le,fe,We,ye,at,kt,qt,Lt,xt){this.directive=fe,this.animation=We,this.el=ye,this.accessor=at,this.win=kt,this.mode$=qt,this.options=Lt,this.hoverDirective=xt,Xe.pipe((0,Oe.U)(Wt=>"fixed"===this.directive.position?re.correct(Wt):Wt),(0,Ve.R)(Le)).subscribe(([Wt,Pt])=>{this.update(Wt,Pt)}),this.updateWidth(this.accessor.getClientRect().width)}onHoveredChange(re){var Xe;null===(Xe=this.hoverDirective)||void 0===Xe||Xe.toggle(re)}onTopFocus(){this.moveFocusOutside(!0)}onBottomFocus(){this.moveFocusOutside(!1)}update(re,Xe){var Le;const{style:fe}=this.el.nativeElement,{right:We}=this.el.nativeElement.getBoundingClientRect(),{maxHeight:ye,offset:at}=this.options,{innerHeight:kt}=this.win,qt=null===(Le=this.el.nativeElement.offsetParent)||void 0===Le?void 0:Le.getBoundingClientRect(),{position:Lt}=this.directive,xt=this.accessor.getClientRect(),Pt="fixed"===Lt?0:-((null==qt?void 0:qt.top)||0);re+=Pt;const fn=(Xe+="fixed"===Lt?0:-((null==qt?void 0:qt.left)||0))xt.left&&re{class Re extends _e.FP{constructor(re,Xe,Le){super(re,Xe,Le),this.type="dropdown"}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(W.a3,2),e.Y36(_e.kk),e.Y36(_e.c2))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdown",""]],features:[e._Bn([W.a3]),e.qOj]}),Re})(),Xt=(()=>{class Re extends _e.kk{constructor(){super(re=>this.stream$.subscribe(re)),this.stream$=new qe.X(!1),this.tuiDropdownManual=!1,this.type="dropdown"}ngOnChanges(){this.stream$.next(this.tuiDropdownManual)}}return Re.\u0275fac=function(re){return new(re||Re)},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdown","","tuiDropdownManual",""]],inputs:{tuiDropdownManual:"tuiDropdownManual"},features:[e._Bn([(0,_e.UK)(Re)]),e.qOj,e.TTD]}),Re})(),Qt=(()=>{class Re extends _e.uG{constructor(re,Xe,Le,fe){super(),this.options=re,this.viewport=Xe,this.accessors=Le,this.directive=fe,this.type="dropdown"}getPosition({width:re,height:Xe}){var Le,fe;!re&&!Xe&&(this.previous=void 0);const We=null!==(fe=null===(Le=this.accessor)||void 0===Le?void 0:Le.getClientRect())&&void 0!==fe?fe:Y.Jy,ye=this.viewport.getClientRect(),{minHeight:at,align:kt,direction:qt,offset:Lt}=this.options,xt={top:ye.top-Lt,bottom:ye.bottom+Lt,right:ye.right-Lt,left:ye.left+Lt},Wt=this.previous||qt||"bottom",Pt={top:We.top-2*Lt-xt.top,bottom:xt.bottom-We.bottom-2*Lt},an=Math.max(We.right-re,Lt),fn=We.left+rePt.bottom?"top":"bottom";return Pt[Wt]>at&&qt||Pt[Wt]>Xe?[Ke[Wt],Ke[kt]]:(this.previous=ot,[Ke[ot],Ke[kt]])}get accessor(){return(0,_e.Sv)("dropdown")(this.accessors,this.directive)}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(Cn),e.Y36(ve.EO),e.Y36(_e.O4),e.Y36(ze))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdown","",3,"tuiDropdownCustomPosition","",3,"tuiDropdownSided",""]],features:[e._Bn([(0,_e.P7)(Re)]),e.qOj]}),(0,_t.gn)([pe.UM],Re.prototype,"accessor",null),Re})(),hn=(()=>{class Re extends _e.uG{constructor(re,Xe,Le){super(),this.options=re,this.viewport=Xe,this.vertical=Le,this.previous=this.options.direction||"bottom",this.tuiDropdownSided="",this.tuiDropdownSidedOffset=4,this.type="dropdown"}getPosition(re){var Xe,Le;if(!1===this.tuiDropdownSided)return this.vertical.getPosition(re);const{height:fe,width:We}=re,ye=null!==(Le=null===(Xe=this.vertical.accessor)||void 0===Xe?void 0:Xe.getClientRect())&&void 0!==Le?Le:Y.Jy,at=this.viewport.getClientRect(),{direction:kt,minHeight:qt,offset:Lt}=this.options,xt="center"===this.options.align?"left":this.options.align,Wt={top:ye.bottom-at.top,left:ye.left-Lt-at.left,right:at.right-ye.right-Lt,bottom:at.bottom-ye.top},Pt={top:ye.bottom-fe+this.tuiDropdownSidedOffset+1,left:ye.left-We-Lt,right:ye.right+Lt,bottom:ye.top-this.tuiDropdownSidedOffset-1},an=Wt.top>Wt.bottom?"top":"bottom",Ke=Wt[xt]>We?Pt[xt]:Wt.left>Wt.right?Pt.left:Pt.right;return Wt[this.previous]>qt&&kt||this.previous===an?[Pt[this.previous],Ke]:(this.previous=an,[Pt[an],Ke])}}return Re.\u0275fac=function(re){return new(re||Re)(e.Y36(Cn),e.Y36(ve.EO),e.Y36(Qt))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","tuiDropdownSided",""]],inputs:{tuiDropdownSided:"tuiDropdownSided",tuiDropdownSidedOffset:"tuiDropdownSidedOffset"},features:[e._Bn([Qt,(0,_e.P7)(Re)]),e.qOj]}),Re})(),yt=(()=>{class Re{}return Re.\u0275fac=function(re){return new(re||Re)},Re.\u0275mod=e.oAB({type:Re}),Re.\u0275inj=e.cJS({imports:[[we.wq,k.A,z.e,Ge.Jy,F.VE]]}),Re})()},8089:(Ht,Fe,c)=>{"use strict";c.d(Fe,{H3:()=>Zt,$o:()=>Re,D:()=>Xt,xn:()=>he,t6:()=>Qt,go:()=>Lt,bZ:()=>Dt,DM:()=>at});var e=c(4911),s=c(4537),k=c(1927),z=c(6480),F=c(221),ne=c(6111),W=c(3770),te=c(4493),pe=c(5648),ce=c(5675),de=c(9669),Y=c(4358),_e=c(2325),ue=c(7179),ie=c(3631),Ue=c(9941),ve=c(5452),Ae=c(7941),Ve=c(6060),je=c(6640),se=c(9570),ee=c(1528),$e=c(3517),Oe=c(3528),_t=c(853),vt=c(4970),tt=c(7969),we=c(8168),mt=c(2085),At=c(408),Qe=c(8499),qe=c(5955),R=c(3674),be=c(2147),S=c(1588),q=c(8023),ze=c(1860),N=c(4945),Se=c(5557),et=c(1995),pt=c(8692),wt=c(8269);function Cn(xt,Wt){1&xt&&s._UZ(0,"span",1),2&xt&&s.Q6J("innerHTML",Wt.polymorpheusOutlet,s.oJD)}const St=["*"],It=(0,k.N1)(()=>yt),Zt=(0,k.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"tuiIconHelpCircle"});let Dt=(()=>{class xt extends z.QJ{constructor(Pt){super(),this.options=Pt,this.direction=this.options.direction,this.appearance=this.options.appearance,this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.icon=this.options.icon}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(Zt,4))},xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},features:[s._Bn([{provide:Zt,useExisting:(0,s.Gpc)(()=>xt)}]),s.qOj]}),xt})(),Xt=(()=>{class xt{constructor(Pt,an,fn,Ke,ot){this.el=Pt,this.component=an,this.hintService=fn,this.options=Ke,this.activeZone=ot,this.tuiHintAppearance=null,this.type="hint"}get appearance(){var Pt;return null!==(Pt=this.tuiHintAppearance)&&void 0!==Pt?Pt:this.options.appearance}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(Pt){Pt&&this.content?this.hintService.add(this):this.hintService.remove(this)}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(s.SBq),s.Y36(se.Al),s.Y36(Ae.BN),s.Y36(Zt),s.Y36(F.e,8))},xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHint","",5,"ng-container",5,"ng-template"]],inputs:{content:["tuiHint","content"],context:["tuiHintContext","context"],tuiHintAppearance:"tuiHintAppearance"},features:[s._Bn([(0,ie.Ic)(xt),(0,ie.Fe)(xt),{provide:se.Al,deps:[It,s.gxx],useClass:se.Al}]),s.TTD]}),xt})(),Qt=(()=>{class xt extends ie.kk{constructor(Pt,an,fn){super(Ke=>this.stream$.subscribe(Ke)),this.hovered$=Pt,this.options=an,this.el=fn,this.visible=!1,this.toggle$=new q.x,this.stream$=(0,ze.T)(this.toggle$.pipe((0,ee.w)(Ke=>(0,N.of)(Ke).pipe((0,$e.g)(Ke?0:this.hideDelay))),(0,Oe.R)(this.hovered$),(0,_t.r)()),this.hovered$.pipe((0,ee.w)(Ke=>(0,N.of)(Ke).pipe((0,$e.g)(Ke?this.showDelay:this.hideDelay))),(0,Oe.R)(this.toggle$),(0,_t.r)())).pipe((0,vt.h)(()=>this.enabled),(0,tt.U)(Ke=>Ke&&!(0,je.mn)(this.el.nativeElement)),(0,we.b)(Ke=>{this.visible=Ke})),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.type="hint",this.enabled=!0}toggle(Pt=!this.visible){this.toggle$.next(Pt)}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(ne.gs),s.Y36(Zt),s.Y36(s.SBq))},xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHint","",5,"ng-container",5,"ng-template"]],inputs:{showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},exportAs:["tuiHintHover"],features:[s._Bn([(0,ie.UK)(xt),ne.gs]),s.qOj]}),xt})(),hn=(()=>{class xt extends Qt{constructor(){super(...arguments),this.currentRect=W.Jy}onMove({clientX:Pt,clientY:an}){this.currentRect=(0,te.dD)(Pt,an)}getClientRect(){return this.currentRect}}return xt.\u0275fac=function(){let Wt;return function(an){return(Wt||(Wt=s.n5z(xt)))(an||xt)}}(),xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(Pt,an){1&Pt&&s.NdJ("mousemove.silent",function(Ke){return an.onMove(Ke)})},features:[s._Bn([(0,ie.Ic)(xt),(0,ie.UK)(xt)]),s.qOj]}),xt})(),yt=(()=>{class xt{constructor(Pt,an,fn,Ke,ot,lt,it,st,V,Pe,bt,gt){var on;this.animation=Ke,this.pointer=ot,this.accessor=lt,this.el=it,this.polymorpheus=st,this.hover=V,this.mode=Pe,this.visualViewportService=bt,this.viewport=gt,this.appearance=this.polymorpheus.$implicit.appearance||(null===(on=this.mode)||void 0===on?void 0:on.mode),an.pipe((0,tt.U)($t=>this.visualViewportService.correct($t)),(0,Oe.R)(fn)).subscribe(([$t,vn])=>{this.update($t,vn)}),Pt.pipe((0,Oe.R)(fn)).subscribe($t=>this.hover.toggle($t))}get content(){return this.polymorpheus.$implicit.content}get context(){return this.polymorpheus.$implicit.context}onClick(Pt){(!this.el.nativeElement.contains(Pt)&&!this.hover.el.nativeElement.contains(Pt)||(0,je.mn)(this.hover.el.nativeElement))&&this.hover.toggle(!1)}update(Pt,an){const{height:fn,width:Ke}=this.el.nativeElement.getBoundingClientRect(),{style:ot}=this.el.nativeElement,lt=this.accessor.getClientRect(),it=this.viewport.getClientRect();if(lt===W.Jy)return;const st=(0,pe.Ki)(an,4,it.width-Ke-4),[V,Pe]=this.visualViewportService.correct([lt.top+lt.height/2-Pt,lt.left+lt.width/2-st]);ot.top=(0,ce.O)(Pt),ot.left=(0,ce.O)(st),ot.setProperty("--top",(0,ce.O)((0,pe.Ki)(V,.5,fn-1))),ot.setProperty("--left",(0,ce.O)((0,pe.Ki)(Pe,.5,Ke-1)))}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(ne.gs),s.Y36(Ae.KG),s.Y36(de.a3,2),s.Y36(Ve.Pw),s.Y36(hn,8),s.Y36(ie.O4),s.Y36(s.SBq),s.Y36(se.yf),s.Y36(Qt),s.Y36(ve.w,8),s.Y36(Ae.Lp),s.Y36(Ve.EO))},xt.\u0275cmp=s.Xpm({type:xt,selectors:[["tui-hint"]],hostVars:4,hostBindings:function(Pt,an){1&Pt&&s.NdJ("click",function(Ke){return an.onClick(Ke.target)},!1,s.evT),2&Pt&&(s.uIk("data-appearance",an.appearance),s.d8E("@tuiFadeIn",an.animation),s.ekj("_untouchable",an.pointer))},features:[s._Bn([de.a3,Ae.KG,ne.gs,(0,ie.ei)("hint"),(0,ie.Wk)("hint",Xt)])],ngContentSelectors:St,decls:2,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(Pt,an){1&Pt&&(s.F$t(),s.Hsn(0),s.YNc(1,Cn,1,1,"span",0)),2&Pt&&(s.xp6(1),s.Q6J("polymorpheusOutlet",an.content)("polymorpheusOutletContext",an.context))},dependencies:[se.Li],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}[_nghost-%COMP%]:before{content:"";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background:inherit;transform:translate(-50%,-50%) rotate(45deg)}[data-appearance=error][_nghost-%COMP%]{background:var(--tui-error-fill)}[data-appearance=onDark][_nghost-%COMP%]{background:var(--tui-elevation-02);color:var(--tui-text-01);filter:drop-shadow(0 0 .125rem rgba(0,0,0,.16)) drop-shadow(0 1.5rem 1rem rgba(0,0,0,.03)) drop-shadow(0 .75rem .75rem rgba(0,0,0,.04)) drop-shadow(0 .25rem .375rem rgba(0,0,0,.05))}[_nghost-%COMP%]:not([style*="top"]){visibility:hidden}._untouchable[_nghost-%COMP%]{pointer-events:none}'],data:{animation:[Ue.QF]},changeDetection:0}),(0,e.gn)([Y.UM],xt.prototype,"update",null),xt})(),Re=(()=>{class xt extends ie.kk{constructor(Pt,an,fn){super(Ke=>this.stream$.subscribe(Ke)),this.zone=Pt,this.doc=an,this.el=fn,this.id$=new Se.t(1),this.stream$=this.id$.pipe((0,_e.Xd)(()=>(0,_e.mL)(this.doc,"keydown",{capture:!0}),k.Pc),(0,ee.w)(()=>this.focused?(0,N.of)(!1):(0,ze.T)((0,_e.mL)(this.doc,"keyup"),(0,_e.mL)(this.element,"blur")).pipe((0,tt.U)(()=>this.focused))),function Ge(xt){return(0,mt.e)((Wt,Pt)=>{let an=!1,fn=null,Ke=null;const ot=()=>{if(null==Ke||Ke.unsubscribe(),Ke=null,an){an=!1;const lt=fn;fn=null,Pt.next(lt)}};Wt.subscribe((0,Qe.x)(Pt,lt=>{null==Ke||Ke.unsubscribe(),an=!0,fn=lt,Ke=(0,Qe.x)(Pt,ot,At.Z),(0,qe.Xf)(xt(lt)).subscribe(Ke)},()=>{ot(),Pt.complete()},void 0,()=>{fn=Ke=null}))})}(Ke=>Ke?(0,et.H)(1e3):(0,N.of)(null)),(0,R.O)(!1),(0,be.x)(),(0,S.T)(1),(0,_e.Yr)(this.zone)),this.tuiHintDescribe="",this.type="hint"}ngOnChanges(){this.id$.next(this.tuiHintDescribe)}get focused(){return(0,ue.V8)(this.element)}get element(){return this.doc.getElementById(this.tuiHintDescribe||"")||this.el.nativeElement}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(s.R0b),s.Y36(pt.K0),s.Y36(s.SBq))},xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},features:[s._Bn([(0,ie.UK)(xt)]),s.qOj,s.TTD]}),(0,e.gn)([Y.UM],xt.prototype,"element",null),xt})(),he=(()=>{class xt extends ie.FP{constructor(Pt,an,fn){super(Pt,an,fn),this.type="hint"}}return xt.\u0275fac=function(Pt){return new(Pt||xt)(s.Y36(de.a3,2),s.Y36(ie.kk),s.Y36(ie.c2))},xt.\u0275dir=s.lG2({type:xt,selectors:[["","tuiHint","",5,"ng-container",5,"ng-template"]],features:[s._Bn([de.a3]),s.qOj]}),xt})(),at=(()=>{class xt extends ie.uG{constructor(Pt,an,fn,Ke){super(),this.options=Pt,this.viewport=an,this.directive=fn,this.accessors=Ke,this.points=wt.Fw.reduce((ot,lt)=>Object.assign(Object.assign({},ot),{[lt]:[0,0]}),{}),this.direction=this.options.direction,this.type="hint"}getPosition({width:Pt,height:an}){var fn,Ke;const ot=null!==(Ke=null===(fn=this.accessor)||void 0===fn?void 0:fn.getClientRect())&&void 0!==Ke?Ke:W.Jy,lt=ot.left+ot.width/2,it=ot.top+ot.height/2;if(this.points["top-left"][0]=ot.top-an-8,this.points["top-left"][1]=lt-Pt+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=lt-Pt/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=lt-22,this.points["bottom-left"][0]=ot.bottom+8,this.points["bottom-left"][1]=this.points["top-left"][1],this.points.bottom[0]=this.points["bottom-left"][0],this.points.bottom[1]=this.points.top[1],this.points["bottom-right"][0]=this.points["bottom-left"][0],this.points["bottom-right"][1]=this.points["top-right"][1],this.points["left-top"][0]=it-an+22,this.points["left-top"][1]=ot.left-Pt-8,this.points.left[0]=it-an/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=it-22,this.points["left-bottom"][1]=this.points["left-top"][1],this.points["right-top"][0]=this.points["left-top"][0],this.points["right-top"][1]=ot.right+8,this.points.right[0]=this.points.left[0],this.points.right[1]=this.points["right-top"][1],this.points["right-bottom"][0]=this.points["left-bottom"][0],this.points["right-bottom"][1]=this.points["right-top"][1],this.checkPosition(this.points[this.direction],Pt,an))return this.points[this.direction];const st=wt.Fw.find(V=>this.checkPosition(this.points[V],Pt,an));return this.points[st||this.fallback]}get accessor(){return(0,ie.Sv)("hint")(this.accessors,this.directive)}get fallback(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}checkPosition([Pt,an],fn,Ke){const ot=this.viewport.getClientRect();return Pt>8&&an>8&&Pt+Ke{class xt{}return xt.\u0275fac=function(Pt){return new(Pt||xt)},xt.\u0275mod=s.oAB({type:xt}),xt.\u0275inj=s.cJS({imports:[[pt.ez,se.wq]]}),xt})()},5452:(Ht,Fe,c)=>{"use strict";c.d(Fe,{w:()=>k,z:()=>z});var e=c(4537),s=c(6480);let k=(()=>{class F extends s.QJ{constructor(){super(...arguments),this.mode=null}}return F.\u0275fac=function(){let ne;return function(te){return(ne||(ne=e.n5z(F)))(te||F)}}(),F.\u0275dir=e.lG2({type:F,selectors:[["","tuiMode",""]],inputs:{mode:["tuiMode","mode"]},features:[e.qOj]}),F})(),z=(()=>{class F{}return F.\u0275fac=function(W){return new(W||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({}),F})()},8940:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Y0:()=>N,Ym:()=>Ve,z1:()=>ie,kI:()=>be,Cs:()=>ze,be:()=>je,cn:()=>q,B7:()=>ee,kD:()=>Oe,AW:()=>vt,aR:()=>we,xT:()=>At,Tq:()=>qe,A7:()=>R,sz:()=>S});var e=c(1927),s=c(6480),k=c(9669),z=c(2325),F=c(4537),ne=c(6060),W=c(1860),te=c(7241),pe=c(408);const ce=new te.y(pe.Z);var Y=c(3528);class _e{constructor(et,pt,wt,Cn,St,Ft,It,Rt,Zt,Ut,Dt,Xt,Qt){this.change$=et,this.options=pt,this.legacyAppearance=wt,this.appearanceDirective=Cn,this.cleanerDirective=St,this.customContentDirective=Ft,this.iconDirective=It,this.iconLeftDirective=Rt,this.labelOutsideDirective=Zt,this.sizeDirective=Ut,this.prefixDirective=Dt,this.postfixDirective=Xt,this.fillerDirective=Qt}get appearance(){return this.appearanceDirective.appearance||this.legacyAppearance}get cleaner(){return this.cleanerDirective.cleaner}get customContent(){return this.customContentDirective.customContent||""}get icon(){return this.iconDirective.icon}get iconLeft(){return this.iconLeftDirective.iconLeft}get labelOutside(){return this.labelOutsideDirective.labelOutside}get size(){return this.sizeDirective.size}get prefix(){return this.prefixDirective.prefix}get postfix(){return this.postfixDirective.postfix}get filler(){return this.fillerDirective.filler}}const ie=(0,e.JN)({iconCleaner:"tuiIconClose",hintOnDisabled:!1}),ve=(0,e.N1)(()=>new Ae);let Ae=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.appearance=""}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldAppearance",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"]},features:[F._Bn([{provide:ve,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const Ve=(0,e.N1)(()=>new je);let je=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.cleaner=!1}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldCleaner",""]],inputs:{cleaner:["tuiTextfieldCleaner","cleaner"]},features:[F._Bn([{provide:Ve,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const se=(0,e.N1)(()=>new ee);let ee=(()=>{class Se extends s.QJ{}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldCustomContent",""]],inputs:{customContent:["tuiTextfieldCustomContent","customContent"]},features:[F._Bn([{provide:se,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const $e=(0,e.N1)(()=>new Oe);let Oe=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.filler=""}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldFiller",""]],inputs:{filler:["tuiTextfieldFiller","filler"]},features:[F._Bn([{provide:$e,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const _t=(0,e.N1)(()=>new vt);let vt=(()=>{class Se extends s.QJ{}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldIcon",""]],inputs:{icon:["tuiTextfieldIcon","icon"]},features:[F._Bn([{provide:_t,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const tt=(0,e.N1)(()=>new we);let we=(()=>{class Se extends s.QJ{}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldIconLeft",""]],inputs:{iconLeft:["tuiTextfieldIconLeft","iconLeft"]},features:[F._Bn([{provide:tt,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const mt=(0,e.N1)(()=>new At);let At=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.labelOutside=!1}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldLabelOutside",""]],inputs:{labelOutside:["tuiTextfieldLabelOutside","labelOutside"]},features:[F._Bn([{provide:mt,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const Qe=(0,e.N1)(()=>new qe);let qe=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.postfix=""}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldPostfix",""]],inputs:{postfix:["tuiTextfieldPostfix","postfix"]},features:[F._Bn([{provide:Qe,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const Ge=(0,e.N1)(()=>new R);let R=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.prefix=""}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldPrefix",""]],inputs:{prefix:["tuiTextfieldPrefix","prefix"]},features:[F._Bn([{provide:Ge,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})();const be=(0,e.N1)(()=>new S);let S=(()=>{class Se extends s.QJ{constructor(){super(...arguments),this.size="l"}}return Se.\u0275fac=function(){let et;return function(wt){return(et||(et=F.n5z(Se)))(wt||Se)}}(),Se.\u0275dir=F.lG2({type:Se,selectors:[["","tuiTextfieldSize",""]],inputs:{size:["tuiTextfieldSize","size"]},features:[F._Bn([{provide:be,useExisting:(0,F.Gpc)(()=>Se)}]),F.qOj]}),Se})(),q=(()=>{class Se{}return Se.\u0275fac=function(pt){return new(pt||Se)},Se.\u0275mod=F.oAB({type:Se}),Se.\u0275inj=F.cJS({}),Se})();const ze=new F.OlP("[TUI_TEXTFIELD_WATCHED_CONTROLLER]"),N=[k.a3,{provide:ze,deps:[F.sBO,k.a3,ie,ne.jt,ve,Ve,se,_t,tt,mt,be,Ge,Qe,$e],useFactory:(Se,et,pt,wt,...Cn)=>{const St=(0,W.T)(...Cn.map(({change$:Ft})=>Ft||ce)).pipe((0,z.NA)(Se),(0,Y.R)(et));return St.subscribe(),new _e(St,pt,wt,...Cn)}}]},1489:(Ht,Fe,c)=>{"use strict";c.d(Fe,{W:()=>ne,o:()=>F});var e=c(4537),s=c(7320),k=c(2130),z=c(6060);let F=(()=>{class W{constructor(pe){this.mode$=pe,this.disabled=!1,this.readOnly=!1,this.hover=null,this.active=null,this.focus=!1,this.invalid=!1,this.appearance=""}get computedInvalid(){return!this.disabled&&!this.readOnly&&this.invalid}get computedFocused(){return this.focus&&!this.disabled}get interactiveState(){return this.disabled?s.z3.Disabled:this.readOnly?s.z3.Readonly:this.active?s.z3.Active:this.hover?s.z3.Hover:null}get noHover(){return this.readOnly||!1===this.hover}get noActive(){return this.readOnly||!1===this.active}}return W.\u0275fac=function(pe){return new(pe||W)(e.Y36(z.Au))},W.\u0275dir=e.lG2({type:W,selectors:[["","tuiWrapper",""]],hostVars:10,hostBindings:function(pe,ce){1&pe&&e.NdJ("$.data-mode.attr",function(){return ce.mode$}),2&pe&&(e.uIk("data-appearance",ce.appearance)("data-state",ce.interactiveState),e.ekj("_invalid",ce.computedInvalid)("_focused",ce.computedFocused)("_no-hover",ce.noHover)("_no-active",ce.noActive))},inputs:{disabled:"disabled",readOnly:"readOnly",hover:"hover",active:"active",focus:"focus",invalid:"invalid",appearance:"appearance"},features:[e._Bn([k.CV])]}),W})(),ne=(()=>{class W{}return W.\u0275fac=function(pe){return new(pe||W)},W.\u0275mod=e.oAB({type:W}),W.\u0275inj=e.cJS({}),W})()},7320:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Nm:()=>e,z3:()=>k});var e=(()=>{return(ne=e||(e={})).Accent="accent",ne.Flat="flat",ne.Icon="icon",ne.Outline="outline",ne.Primary="primary",ne.Secondary="secondary",ne.SecondaryDestructive="secondary-destructive",ne.Table="table",ne.Textfield="textfield",ne.Whiteblock="whiteblock",ne.WhiteblockActive="whiteblock-active",e;var ne})(),k=(()=>{return(ne=k||(k={})).Active="active",ne.Disabled="disabled",ne.Hover="hover",ne.Readonly="readonly",k;var ne})()},2130:(Ht,Fe,c)=>{"use strict";c.d(Fe,{CV:()=>te});var e=c(4537),s=c(6060),k=c(5452),z=c(4945),F=c(3674),ne=c(7969);new e.tp0;const te={provide:s.Au,deps:[[new e.FiY,k.w],e.SBq],useFactory:(ce,{nativeElement:de})=>{const Y=ce?ce.change$.pipe((0,F.O)(null),(0,ne.U)(()=>ce.mode)):(0,z.of)(null);return de["$.data-mode.attr"]=Y,Y}}},7941:(Ht,Fe,c)=>{"use strict";c.d(Fe,{BN:()=>_t,K5:()=>mt,KG:()=>tt,Lp:()=>At,Ok:()=>we,zE:()=>$e});var e=c(4537),s=c(2325),k=c(8033),z=c(3770),F=c(9669),W=(c(8939),c(6060)),te=c(7241),pe=c(4121),ce=c(1860),de=c(1995),Y=c(9018),_e=c(7969),ue=c(2147),ie=c(6466),Ue=c(5490),ve=c(3528),Ae=c(2579),Ve=c(3631),je=c(3178),se=c(5998),ee=c(7766);let $e=(()=>{class Qe extends te.y{constructor(Ge,R,be){super(S=>this.stream$.subscribe(S)),this.media=Ge,this.ngZone=R,this.size$=be,this.sorted=Object.values(this.media).sort((S,q)=>S-q),this.invert=Object.keys(this.media).reduce((S,q)=>Object.assign(Object.assign({},S),{[this.media[q]]:q}),{}),this.stream$=this.size$.pipe((0,_e.U)(({width:S})=>this.sorted.find(q=>q>S)),(0,_e.U)(S=>this.invert[S||this.sorted[this.sorted.length-1]]),(0,ue.x)(),(0,s.Yr)(this.ngZone),(0,ie.d)({bufferSize:1,refCount:!0}))}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.LFG(W.J_),e.LFG(e.R0b),e.LFG(k.fM))},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),_t=(()=>{class Qe extends pe.X{constructor(){super([])}add(Ge){this.next(this.value.concat(Ge))}remove(Ge){this.value.includes(Ge)&&this.next(this.value.filter(R=>R!==Ge))}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),tt=(()=>{class Qe extends te.y{constructor(Ge,R,be,S){super(q=>R.pipe((0,_e.U)(()=>Ge.nativeElement.getBoundingClientRect()),(0,_e.U)(ze=>S.getPosition(ze)),(0,s.fL)(be),(0,Ue.x)(()=>S.getPosition(z.Jy))).subscribe(q))}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.LFG(e.SBq),e.LFG(Ae.L1),e.LFG(e.R0b),e.LFG(Ve.uG))},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac}),Qe})(),we=(()=>{class Qe extends te.y{constructor(Ge,R,be,S){const q=Ge?(0,ce.T)((0,de.H)(0),be).pipe((0,_e.U)(()=>Ge.isActive),(0,ue.x)(),(0,s.Yr)(R),(0,ve.R)(S)):Y.E;super(ze=>q.subscribe(ze))}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.LFG(je.Od,8),e.LFG(e.R0b),e.LFG(Ae.L1),e.LFG(F.a3,2))},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac}),Qe})(),mt=(()=>{class Qe{constructor(Ge,R,be){this.tuiSanitizer=Ge,this.sanitizer=R,this.originals={},this.items$=new pe.X(new Map),this.define(be)}define(Ge){const{value:R}=this.items$;Object.keys(Ge).forEach(be=>{this.defineIcon(be,Ge[be],R)}),this.items$.next(R)}getOriginal(Ge){return this.originals[Ge]||null}defineIcon(Ge,R,be){if(be.has(Ge))return;const S=this.parseSrc(Ge,R);S&&(be.set(Ge,S),this.originals=Object.assign(Object.assign({},this.originals),{[Ge]:R}))}parseSrc(Ge,R){return this.sanitize((0,ee.NK)(R,Ge))}sanitize(Ge){return this.sanitizer.bypassSecurityTrustHtml((this.tuiSanitizer?this.tuiSanitizer.sanitize(e.q3G.HTML,Ge):this.sanitizer.sanitize(e.q3G.HTML,Ge))||"")}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.LFG(W.hm,8),e.LFG(se.H7),e.LFG(W.It))},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),At=(()=>{class Qe{constructor(Ge,R){this.win=Ge,this.isWebkit=R}correct(Ge){var R,be,S,q;return this.isWebkit?[Ge[0]+(null!==(be=null===(R=this.win.visualViewport)||void 0===R?void 0:R.offsetTop)&&void 0!==be?be:0),Ge[1]+(null!==(q=null===(S=this.win.visualViewport)||void 0===S?void 0:S.offsetLeft)&&void 0!==q?q:0)]:Ge}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(e.LFG(Ae.m9),e.LFG(k.jF))},Qe.\u0275prov=e.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})()},6060:(Ht,Fe,c)=>{"use strict";c.d(Fe,{dx:()=>_t,Pw:()=>vt,U0:()=>Se,Gs:()=>mt,N1:()=>Ge,PL:()=>pt,xp:()=>St,It:()=>It,ki:()=>Rt,AA:()=>Ft,rL:()=>Ut,sf:()=>Dt,J_:()=>Zt,Au:()=>Xt,$R:()=>N,PH:()=>et,Ln:()=>cn,HO:()=>Re,IQ:()=>Xe,TK:()=>$e,hm:()=>ye,u_:()=>Lt,V5:()=>xt,jt:()=>Wt,S0:()=>Pt,r2:()=>fn,sE:()=>Ke,EO:()=>ot,RB:()=>qe,oE:()=>R,P7:()=>Le,cp:()=>an});var e=c(4537),s=c(1927),k=c(6424),z=c(2325),F=c(8192),ne=c(8692),W=c(6493),te=c(6640),pe=c(7766),de=c(2579),Y=c(815),_e=c(3674),ue=c(7969),ie=c(2147),Ue=c(1528),ve=c(3528),Ae=c(8269),Ve=c(4945),je=c(1860),se=c(8330),ee=c(7320);const $e=(0,s.N1)(()=>{var it,st,V;return null!==(V=null===(st=null===(it=(0,e.f3M)(ne.K0).defaultView)||void 0===it?void 0:it.matchMedia)||void 0===st?void 0:st.call(it,"(prefers-reduced-motion: reduce)").matches)&&void 0!==V&&V}),_t=(0,s.N1)(()=>(0,e.f3M)($e)?0:300),vt=(0,s.N1)(()=>({value:"",params:{duration:(0,e.f3M)(_t)}})),we=((0,s.N1)(()=>(0,e.X6Q)()),{check:"tuiIconCheck",close:"tuiIconClose",error:"tuiIconAlertCircle",more:"tuiIconChevronRight"}),mt=(0,s.JN)(we),Qe=new e.OlP("[TUI_DATA_LIST_ACCESSOR]");function qe(it){return{provide:Qe,useExisting:it}}const Ge=new e.OlP("[TUI_DATA_LIST_HOST]");function R(it){return{provide:Ge,useExisting:it}}(0,s.JN)(it=>it.isWeekend?"weekend":"weekday"),new e.OlP("[TUI_DOCUMENT_OR_SHADOW_ROOT]"),new e.OlP("[TUI_ELEMENT_REF]");const ze=(0,s.JN)(k.L.Monday),N=(0,s.N1)((0,W.v)("months")),Se=(0,s.N1)((0,W.v)("close")),et=(0,s.N1)((0,W.v)("nothingFoundMessage")),pt=(0,s.N1)((0,W.v)("defaultErrorMessage")),Cn=((0,s.N1)((0,W.v)("spinTexts")),(0,s.N1)((0,W.v)("shortWeekDays"))),St="assets/taiga-ui/icons",Ft=(0,s.JN)(St),It=(0,s.JN)({}),Rt=(0,s.N1)(()=>(0,te.ht)((0,e.f3M)(Ft))),Zt=(0,s.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),Ut=(0,s.N1)(()=>{const it=(0,e.f3M)(de.m9),st=(0,e.f3M)(Zt);return(0,z.mL)(it,"resize").pipe((0,Y.B)(),(0,_e.O)(null),(0,ue.U)(()=>function ce(it,{mobile:st}){return(0,pe.ic)(it)Qt[it],size:"m",hasIcon:!0,defaultAutoCloseTime:3e3}),Re=(0,s.JN)(Ae.Jl);(0,s.JN)((0,Ve.of)(Object.assign(Object.assign({},Ae.Jl),{decimalLimit:NaN})));const Xe=new e.OlP("[TUI_OPTION_CONTENT]");function Le(it){return{provide:Xe,useValue:it}}const fe=it=>{const st=it.length-1;return[it[st],...it.slice(0,st)]},ye=((0,s.N1)(()=>{const it=(0,e.f3M)(ze);return(0,e.f3M)(Cn).pipe((0,ue.U)(fe),(0,ue.U)(st=>[...st.slice(it),...st.slice(0,it)]))}),new e.OlP("[TUI_SANITIZER]")),Lt=((0,s.N1)(()=>{const it=(0,e.f3M)(ne.K0);return(0,je.T)((0,z.mL)(it,"selectionchange"),(0,z.mL)(it,"mouseup"),(0,z.mL)(it,"mousedown").pipe((0,Ue.w)(()=>(0,z.mL)(it,"mousemove").pipe((0,ve.R)((0,z.mL)(it,"mouseup"))))),(0,z.mL)(it,"keydown"),(0,z.mL)(it,"keyup")).pipe((0,Y.B)())}),(0,s.JN)({decrement:"tuiIconChevronLeft",increment:"tuiIconChevronRight"}),(0,s.JN)(F.N)),xt=(0,s.JN)(se.y),Wt=(0,s.JN)(ee.Nm.Textfield),Pt=new e.OlP("[TUI_TEXTFIELD_HOST]");function an(it){return{provide:Pt,useExisting:it}}const fn=(0,s.JN)("Taiga"),Ke=new e.OlP("[TUI_VALUE_ACCESSOR]"),ot=(0,s.N1)(()=>{const it=(0,e.f3M)(de.m9);return{type:"viewport",getClientRect:()=>({top:0,left:0,right:it.innerWidth,bottom:it.innerHeight,width:it.innerWidth,height:it.innerHeight})}})},7766:(Ht,Fe,c)=>{"use strict";function e(de){return!(!de||typeof getComputedStyle>"u")&&("fixed"===getComputedStyle(de).getPropertyValue("position")||e(de.parentElement))}function F({document:de,innerWidth:Y}){return Math.max(de.documentElement.clientWidth||0,Y||0)}c.d(Fe,{NK:()=>ce,ic:()=>F,qK:()=>e});const W='width="',te='height="',pe="")));if(null==ue||!ue.includes(W)||!ue.includes(te))return`${_e.replace(pe,``;const ie=ue.indexOf(W),Ue=ue.indexOf(te),ve=ie+W.length,Ae=Ue+te.length,Ve=ue.slice(ve,ue.indexOf('"',ve)),je=ue.slice(Ae,ue.indexOf('"',Ae));if(!je||!Ve||Ve.includes("%")||je.includes("%")||Ve.includes("em")||je.includes("em"))return _e.replace(pe,`${_e}`}},6640:(Ht,Fe,c)=>{"use strict";c.d(Fe,{R9:()=>Y,_X:()=>F,ht:()=>ne,jL:()=>pe,kL:()=>W,lp:()=>ce,mn:()=>te});var e=c(8269),s=c(4493);const k=1.5,z=2.5;function F(_e,ue=!1,ie=!1,Ue=!1,ve="m"){const Ae="s"===ve?0:.25;let Ve=0;return _e&&(Ve+=k+Ae),ue&&(Ve+=k+Ae),ie&&(Ve+=k+Ae),Ue&&(Ve+=z+Ae),Ve}function ne(_e){const ue=_e.endsWith("/")?_e:`${_e}/`;return ie=>ie.startsWith("tuiIcon")?`${ue}${ie}.svg${e.uJ}#${ie}`:(0,e.oA)(ie)}function W(_e){return 1===_e.length||e.Nq.includes(_e)}function te(_e,ue="tui-hints-host"){var ie;return!(null===(ie=(0,s.PU)(_e))||void 0===ie||!ie.some(Ue=>!Ue.closest(ue)))}function pe(_e){const ue=_e.trim();return ue.startsWith("<")&&ue.endsWith(">")}function ce(_e,ue){return(ie,Ue)=>{const ve=ie||Object.assign({},Ue||ue);return Object.keys(_e).forEach(Ae=>{ve[Ae]=_e[Ae]}),ve}}const de={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function Y(_e,ue="s"){return de[_e]>de[ue]}},1081:(Ht,Fe,c)=>{"use strict";c.d(Fe,{X:()=>e});var e=(()=>{return(s=e||(e={})).AD="AD",s.AE="AE",s.AF="AF",s.AG="AG",s.AI="AI",s.AL="AL",s.AM="AM",s.AO="AO",s.AR="AR",s.AT="AT",s.AU="AU",s.AW="AW",s.AZ="AZ",s.BA="BA",s.BB="BB",s.BD="BD",s.BE="BE",s.BF="BF",s.BG="BG",s.BH="BH",s.BI="BI",s.BJ="BJ",s.BL="BL",s.BM="BM",s.BN="BN",s.BO="BO",s.BQ="BQ",s.BR="BR",s.BS="BS",s.BT="BT",s.BW="BW",s.BY="BY",s.BZ="BZ",s.CA="CA",s.CD="CD",s.CF="CF",s.CG="CG",s.CH="CH",s.CI="CI",s.CL="CL",s.CM="CM",s.CN="CN",s.CO="CO",s.CR="CR",s.CU="CU",s.CV="CV",s.CW="CW",s.CY="CY",s.CZ="CZ",s.DE="DE",s.DJ="DJ",s.DK="DK",s.DM="DM",s.DO="DO",s.DZ="DZ",s.EC="EC",s.EE="EE",s.EG="EG",s.ER="ER",s.ES="ES",s.ET="ET",s.FI="FI",s.FJ="FJ",s.FK="FK",s.FM="FM",s.FR="FR",s.GA="GA",s.GB="GB",s.GD="GD",s.GE="GE",s.GF="GF",s.GH="GH",s.GI="GI",s.GL="GL",s.GM="GM",s.GN="GN",s.GP="GP",s.GQ="GQ",s.GR="GR",s.GT="GT",s.GW="GW",s.GY="GY",s.HK="HK",s.HN="HN",s.HR="HR",s.HT="HT",s.HU="HU",s.ID="ID",s.IE="IE",s.IL="IL",s.IN="IN",s.IQ="IQ",s.IR="IR",s.IS="IS",s.IT="IT",s.JM="JM",s.JO="JO",s.JP="JP",s.KE="KE",s.KG="KG",s.KH="KH",s.KM="KM",s.KN="KN",s.KP="KP",s.KR="KR",s.KW="KW",s.KY="KY",s.KZ="KZ",s.LA="LA",s.LB="LB",s.LC="LC",s.LI="LI",s.LK="LK",s.LR="LR",s.LS="LS",s.LT="LT",s.LU="LU",s.LV="LV",s.LY="LY",s.MA="MA",s.MC="MC",s.MD="MD",s.ME="ME",s.MF="MF",s.MG="MG",s.MK="MK",s.ML="ML",s.MM="MM",s.MN="MN",s.MO="MO",s.MQ="MQ",s.MR="MR",s.MS="MS",s.MT="MT",s.MU="MU",s.MV="MV",s.MW="MW",s.MX="MX",s.MY="MY",s.MZ="MZ",s.NA="NA",s.NC="NC",s.NE="NE",s.NG="NG",s.NI="NI",s.NL="NL",s.NO="NO",s.NP="NP",s.NZ="NZ",s.OM="OM",s.PA="PA",s.PE="PE",s.PF="PF",s.PG="PG",s.PH="PH",s.PK="PK",s.PL="PL",s.PT="PT",s.PW="PW",s.PY="PY",s.QA="QA",s.RE="RE",s.RO="RO",s.RS="RS",s.RU="RU",s.RW="RW",s.SA="SA",s.SB="SB",s.SC="SC",s.SD="SD",s.SE="SE",s.SG="SG",s.SH="SH",s.SI="SI",s.SK="SK",s.SL="SL",s.SM="SM",s.SN="SN",s.SO="SO",s.SR="SR",s.ST="ST",s.SV="SV",s.SX="SX",s.SY="SY",s.SZ="SZ",s.TC="TC",s.TD="TD",s.TG="TG",s.TH="TH",s.TJ="TJ",s.TL="TL",s.TM="TM",s.TN="TN",s.TO="TO",s.TR="TR",s.TT="TT",s.TW="TW",s.TZ="TZ",s.UA="UA",s.UG="UG",s.US="US",s.UY="UY",s.UZ="UZ",s.VC="VC",s.VE="VE",s.VG="VG",s.VN="VN",s.VU="VU",s.WS="WS",s.XK="XK",s.YE="YE",s.YT="YT",s.ZA="ZA",s.ZM="ZM",s.ZW="ZW",e;var s})()},6493:(Ht,Fe,c)=>{"use strict";c.d(Fe,{v:()=>Ve});var e=c(4537),s=c(1081);const ce=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({name:"english"},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],close:"Close",nothingFoundMessage:"Nothing found",defaultErrorMessage:"Value is invalid",spinTexts:["Previous","Next"],shortWeekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],countries:{[s.X.AD]:"Andorra",[s.X.AE]:"United Arab Emirates",[s.X.AF]:"Afghanistan",[s.X.AG]:"Antigua and Barbuda",[s.X.BL]:"Saint Barth\xe9lemy",[s.X.AI]:"Anguilla",[s.X.AL]:"Albania",[s.X.AM]:"Armenia",[s.X.AO]:"Angola",[s.X.AR]:"Argentina",[s.X.AT]:"Austria",[s.X.AU]:"Australia",[s.X.AW]:"Aruba",[s.X.AZ]:"Azerbaijan",[s.X.BA]:"Bosnia and Herzegovina",[s.X.BB]:"Barbados",[s.X.BD]:"Bangladesh",[s.X.BE]:"Belgium",[s.X.BF]:"Burkina Faso",[s.X.BG]:"Bulgaria",[s.X.BH]:"Bahrain",[s.X.BI]:"Burundi",[s.X.BJ]:"Benin",[s.X.GF]:"Guyana",[s.X.BM]:"Bermuda",[s.X.BN]:"Brunei Darussalam",[s.X.BO]:"Bolivia",[s.X.BQ]:"Bonaire, Sint Eustatius and Saba",[s.X.BR]:"Brazil",[s.X.BS]:"Bahamas",[s.X.BT]:"Bhutan",[s.X.BW]:"Botswana",[s.X.BY]:"Belarus",[s.X.BZ]:"Belize",[s.X.CA]:"Canada",[s.X.CD]:"Dem. Rep. Congo (Kinshasa)",[s.X.CF]:"Central African Republic",[s.X.CG]:"Congo (Brazzaville)",[s.X.CH]:"Switzerland",[s.X.CI]:"Ivory Coast",[s.X.CL]:"Chile",[s.X.CM]:"Cameroon",[s.X.CN]:"China",[s.X.CO]:"Colombia",[s.X.CR]:"Costa Rica",[s.X.CU]:"Cuba",[s.X.CV]:"Cape Verde",[s.X.CW]:"Cura\xe7ao",[s.X.CY]:"Cyprus",[s.X.CZ]:"Czech Republic",[s.X.DE]:"Germany",[s.X.DJ]:"Djibouti",[s.X.DK]:"Denmark",[s.X.DM]:"Dominica",[s.X.DO]:"Dominican Republic",[s.X.DZ]:"Algeria",[s.X.EC]:"Ecuador",[s.X.EE]:"Estonia",[s.X.EG]:"Egypt",[s.X.ER]:"Eritrea",[s.X.ES]:"Spain",[s.X.ET]:"Ethiopia",[s.X.FI]:"Finland",[s.X.FJ]:"Fiji",[s.X.FK]:"Falkland Islands",[s.X.FM]:"F.S. of Micronesia",[s.X.FR]:"France",[s.X.GA]:"Gabon",[s.X.GB]:"United Kingdom",[s.X.GD]:"Grenada",[s.X.GE]:"Georgia",[s.X.GP]:"Guadeloupe",[s.X.GH]:"Ghana",[s.X.GI]:"Gibraltar",[s.X.GL]:"Greenland",[s.X.GM]:"Gambia",[s.X.GN]:"Guinea",[s.X.MF]:"Saint-Martin",[s.X.GQ]:"Equatorial Guinea",[s.X.GR]:"Greece",[s.X.GT]:"Guatemala",[s.X.GW]:"Guinea-Bissau",[s.X.GY]:"Guyana",[s.X.HK]:"Hong Kong",[s.X.HN]:"Honduras",[s.X.HR]:"Croatia",[s.X.HT]:"Haiti",[s.X.HU]:"Hungary",[s.X.ID]:"Indonesia",[s.X.IE]:"Ireland",[s.X.IL]:"Israel",[s.X.IN]:"India",[s.X.IQ]:"Iraq",[s.X.IR]:"Iran",[s.X.IS]:"Iceland",[s.X.IT]:"Italy",[s.X.JM]:"Jamaica",[s.X.JO]:"Jordan",[s.X.JP]:"Japan",[s.X.KE]:"Kenya",[s.X.KG]:"Kyrgyzstan",[s.X.KH]:"Cambodia",[s.X.KM]:"Comoros",[s.X.KN]:"Saint Kitts and Nevis",[s.X.KP]:"Korean PDR",[s.X.KR]:"Rep. Korea",[s.X.KW]:"Kuwait",[s.X.KY]:"Cayman Islands",[s.X.KZ]:"Kazakhstan",[s.X.LA]:"Laos",[s.X.LB]:"Lebanon",[s.X.LC]:"Saint Lucia",[s.X.LI]:"Liechtenstein",[s.X.LK]:"Sri Lanka",[s.X.LR]:"Liberia",[s.X.LS]:"Lesotho",[s.X.LT]:"Lithuania",[s.X.LU]:"Luxembourg",[s.X.LV]:"Latvia",[s.X.LY]:"Libya",[s.X.MA]:"Morocco",[s.X.MC]:"Monaco",[s.X.MD]:"Moldova",[s.X.ME]:"Montenegro",[s.X.MQ]:"Martinique",[s.X.MG]:"Madagascar",[s.X.MK]:"Rep. of North Macedonia",[s.X.ML]:"Mali",[s.X.MM]:"Burma (Myanmar)",[s.X.MN]:"Mongolia",[s.X.MO]:"Macau",[s.X.RE]:"R\xe9union",[s.X.MR]:"Mauritania",[s.X.MS]:"Montserrat",[s.X.MT]:"Malta",[s.X.MU]:"Mauritius",[s.X.MV]:"Maldives",[s.X.MW]:"Malawi",[s.X.MX]:"Mexico",[s.X.MY]:"Malaysia",[s.X.MZ]:"Mozambique",[s.X.NA]:"Namibia",[s.X.NC]:"New Caledonia",[s.X.NE]:"Niger",[s.X.NG]:"Nigeria",[s.X.NI]:"Nicaragua",[s.X.NL]:"Netherlands",[s.X.NO]:"Norway",[s.X.NP]:"Nepal",[s.X.NZ]:"New Zealand",[s.X.OM]:"Oman",[s.X.PA]:"Panama",[s.X.PE]:"Peru",[s.X.PF]:"French Polynesia (Tahiti)",[s.X.PG]:"Papua New Guinea",[s.X.PH]:"Philippines",[s.X.PK]:"Pakistan",[s.X.PL]:"Poland",[s.X.PT]:"Portugal",[s.X.PW]:"Palau",[s.X.PY]:"Paraguay",[s.X.QA]:"Qatar",[s.X.YT]:"Mayotte",[s.X.RO]:"Romania",[s.X.RS]:"Serbia",[s.X.RU]:"Russia",[s.X.RW]:"Rwanda",[s.X.SA]:"Saudi Arabia",[s.X.SB]:"Solomon Islands",[s.X.SC]:"Seychelles",[s.X.SD]:"Sudan",[s.X.SE]:"Sweden",[s.X.SG]:"Singapore",[s.X.SH]:"Saint Helena",[s.X.SI]:"Slovenia",[s.X.SK]:"Slovakia",[s.X.SL]:"Sierra Leone",[s.X.SM]:"San Marino",[s.X.SN]:"Senegal",[s.X.SO]:"Somalia",[s.X.SR]:"Suriname",[s.X.ST]:"Sao Tome and Principe",[s.X.SV]:"El Salvador",[s.X.SX]:"Sint Maarten",[s.X.SY]:"Syrian Arab Republic",[s.X.SZ]:"Swaziland",[s.X.TC]:"Turks and Caicos",[s.X.TD]:"Chad",[s.X.TG]:"Togo",[s.X.TH]:"Thailand",[s.X.TJ]:"Tajikistan",[s.X.TL]:"East Timor",[s.X.TM]:"Turkmenistan",[s.X.TN]:"Tunisia",[s.X.TO]:"Tonga",[s.X.TR]:"Turkey",[s.X.TT]:"Trinidad and Tobago",[s.X.TW]:"Taiwan",[s.X.TZ]:"Tanzania",[s.X.UA]:"Ukraine",[s.X.UG]:"Uganda",[s.X.US]:"USA",[s.X.UY]:"Uruguay",[s.X.UZ]:"Uzbekistan",[s.X.VC]:"Saint Vincent and the Grenadines",[s.X.VE]:"Venezuela",[s.X.VG]:"British Virgin Islands",[s.X.VN]:"Vietnam",[s.X.VU]:"Vanuatu",[s.X.WS]:"Samoa",[s.X.XK]:"Kosovo",[s.X.YE]:"Yemen",[s.X.ZA]:"South Africa",[s.X.ZM]:"Zambia",[s.X.ZW]:"Zimbabwe"}}),{cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range","Choose days"],range:["from","to"],countTexts:["Plus","Minus"],time:{"HH:MM":"HH:MM","HH:MM:SS":"HH:MM:SS","HH:MM:SS.MSS":"HH:MM:SS.MSS"},dateTexts:{DMY:"dd.mm.yyyy",MDY:"mm.dd.yyyy",YMD:"yyyy.mm.dd"},digitalInformationUnits:["B","KiB","MiB"],passwordTexts:["Show password","Hide password"],copyTexts:["Copy","Copied"],shortCalendarMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pagination:["Previous page","Next page"],fileTexts:{loadingError:"Upload failed",preview:"Preview",remove:"Remove"},inputFileTexts:{defaultLabelSingle:"or drop\xa0it\xa0here",defaultLabelMultiple:"or drop\xa0them\xa0here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is too large ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},prompt:{yes:"Yes",no:"No"}}),{showHideText:"Show/Hide",paginationTexts:{pages:"Pages",linesPerPage:"Lines per page",of:"of"}}),{cardNumber:["Number","Card number"],cardExpiry:["Expires","Valid through"]}),{colorSelectorModeNames:["Solid color","Gradient"],toolbarTools:{undo:"Undo",redo:"Redo",font:"Font",fontStyle:"Font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikeThrough:"Strike through",justify:"Justify",justifyLeft:"Justify left",justifyCenter:"Justify center",justifyRight:"Justify right",justifyFull:"Justify full",list:"List",indent:"Indent",outdent:"Outdent",unorderedList:"Unordered list",orderedList:"Ordered list",quote:"Quote",foreColor:"Color",backColor:"Background color",hiliteColor:"Highlight color",clear:"Clear",link:"Link",attach:"Attach file",tex:"Insert TeX",code:"Code",image:"Insert image",insertHorizontalRule:"Insert horizontal rule",superscript:"Superscript",subscript:"Subscript",insertTable:"Insert table",insertGroup:"Insert group",hiliteGroup:"Hilite group",removeGroup:"Remove group",insertAnchor:"Insert anchor",mergeCells:"Merge cells",splitCells:"Split cells",rowsColumnsManaging:"Managing rows and columns",cellColor:"Cell color",setDetails:"Details",removeDetails:"Remove details"},editorEditLink:{urlExample:"example.com",anchorExample:"anchor"},editorTableCommands:[["Insert column before","Insert column after"],["Insert row before","Insert row after"],["Delete column","Delete row"]],editorCodeOptions:["Code in the text","Code in block"],editorFontOptions:{small:"Small",large:"Large",normal:"Normal",title:"Title",subtitle:"Subtitle"}}),{previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"}});var de=c(4945);const Y=new e.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:()=>ce}),_e=new e.OlP("[TUI_LANGUAGE]",{factory:()=>(0,de.of)((0,e.f3M)(Y))});new e.OlP("[TUI_LANGUAGE_LOADER]"),new e.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"});var Ue=c(97),ve=c(1528),Ae=c(7969);function Ve(je){return()=>(0,e.f3M)(_e).pipe((0,ve.w)(se=>(0,Ue.b)(se)?se:(0,de.of)(se)),(0,Ae.U)(se=>se[je]))}},3063:(Ht,Fe,c)=>{"use strict";c.d(Fe,{p:()=>At,s:()=>Qe});var e=c(4537),s=c(9900),k=c(6480),z=c(7179),F=c(8033),ne=c(6060),W=c(1927),te=c(7320),pe=c(4789),ce=c(1489),de=c(9570);function Y(qe,Ge){if(1&qe&&e._UZ(0,"tui-svg",2),2&qe){const R=Ge.polymorpheusOutlet,be=e.oxw();e.ekj("t-mark_on",!be.empty),e.Q6J("src",R)}}const _e=function(qe){return{$implicit:qe}},ue=["*"],Ue=(0,W.JN)({size:"m",appearances:{unchecked:te.Nm.Outline,checked:te.Nm.Primary,indeterminate:te.Nm.Primary},icons:{checked:({$implicit:qe})=>"m"===qe?"tuiIconCheck":"tuiIconCheckLarge",indeterminate:({$implicit:qe})=>"m"===qe?"tuiIconMinus":"tuiIconMinusLarge"}});let Ae=(()=>{class qe{constructor(R){this.options=R,this.size=this.options.size,this.disabled=!1,this.focused=!1,this.hovered=!1,this.pressed=!1,this.invalid=!1,this.icon=this.options.icons.checked,this.value=!1}set valueSetter(R){!1!==R&&this.setCurrentIcon(R),this.value=R}get appearance(){switch(this.value){case!1:return this.options.appearances.unchecked;case!0:return this.options.appearances.checked;default:return this.options.appearances.indeterminate}}get empty(){return!1===this.value}setCurrentIcon(R){this.icon=null===R?this.options.icons.indeterminate:this.options.icons.checked}}return qe.\u0275fac=function(R){return new(R||qe)(e.Y36(Ue))},qe.\u0275cmp=e.Xpm({type:qe,selectors:[["tui-primitive-checkbox"]],hostVars:1,hostBindings:function(R,be){2&R&&e.uIk("data-size",be.size)},inputs:{size:"size",disabled:"disabled",focused:"focused",hovered:"hovered",pressed:"pressed",invalid:"invalid",valueSetter:["value","valueSetter"]},ngContentSelectors:ue,decls:3,vars:10,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],["class","t-mark",3,"t-mark_on","src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-mark",3,"src"]],template:function(R,be){1&R&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,Y,1,3,"tui-svg",1),e.Hsn(2),e.qZA()),2&R&&(e.Q6J("active",be.pressed)("appearance",be.appearance)("disabled",be.disabled)("focus",be.focused)("hover",be.hovered)("invalid",be.invalid),e.xp6(1),e.Q6J("polymorpheusOutlet",be.icon)("polymorpheusOutletContext",e.VKq(8,_e,be.size)))},dependencies:[pe.PN,ce.o,de.Li],styles:["[_nghost-%COMP%]{display:block;font-size:0;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem;border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem;border-radius:var(--tui-radius-s)}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.t-mark_on[_ngcontent-%COMP%]{transform:scale(1)}"],changeDetection:0}),qe})(),Ve=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[pe.EI,ce.W,de.wq]]}),qe})();var je=c(2130),se=c(4541),ee=c(3633),$e=c(5059),Oe=c(8491),_t=c(8692);const vt=["focusableElement"];let tt=(()=>{class qe extends k.F9{constructor(R,be,S){super(R,S),this.options=be,this.size=this.options.size}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get computedFocusable(){return this.interactive&&this.focusable}onChecked(R){this.value=R}onFocused(R){this.updateFocused(R)}onFocusVisible(R){this.updateFocusVisible(R)}}return qe.\u0275fac=function(R){return new(R||qe)(e.Y36(s.a5,10),e.Y36(Ue),e.Y36(e.sBO))},qe.\u0275cmp=e.Xpm({type:qe,selectors:[["tui-checkbox"]],viewQuery:function(R,be){if(1&R&&e.Gf(vt,5),2&R){let S;e.iGM(S=e.CRH())&&(be.focusableElement=S.first)}},hostVars:1,hostBindings:function(R,be){2&R&&e.uIk("data-size",be.size)},inputs:{size:"size"},features:[e._Bn([(0,F.FT)(qe),(0,k.wB)(qe)]),e.qOj],decls:3,vars:11,consts:[[3,"disabled","focused","hovered","invalid","pressed","size","value"],["automation-id","tui-checkbox__native","type","checkbox",1,"t-native",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(R,be){1&R&&(e.TgZ(0,"tui-primitive-checkbox",0)(1,"input",1,2),e.NdJ("tuiCheckedChange",function(q){return be.value=q})("tuiFocusedChange",function(q){return be.onFocused(q)})("tuiFocusVisibleChange",function(q){return be.onFocusVisible(q)}),e.qZA()()),2&R&&(e.Q6J("disabled",be.disabled)("focused",be.computedFocusVisible)("hovered",be.pseudoHover)("invalid",be.computedInvalid)("pressed",be.pseudoActive)("size",be.size)("value",be.value),e.xp6(1),e.Q6J("disabled",be.disabled)("id",be.id)("tuiFocusable",be.computedFocusable)("tuiChecked",be.value))},dependencies:[Ae,se.t,ee.t,$e.U,Oe.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%] tui-primitive-checkbox[_ngcontent-%COMP%]{pointer-events:none}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}"],changeDetection:0}),qe})(),we=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[_t.ez,se.S,ee.u,$e.F,Oe.c,Ve]]}),qe})();const mt=["*"];let At=(()=>{class qe extends k.F9{constructor(R,be,S,q){super(R,be),this.mode$=S,this.options=q,this.size=this.options.size}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get nativeFocusableElement(){var R,be;return null!==(be=null===(R=this.checkbox)||void 0===R?void 0:R.nativeFocusableElement)&&void 0!==be?be:null}onFocused(R){this.updateFocused(R)}onModelChange(R){this.value=R}}return qe.\u0275fac=function(R){return new(R||qe)(e.Y36(s.a5,10),e.Y36(e.sBO),e.Y36(ne.Au),e.Y36(Ue))},qe.\u0275cmp=e.Xpm({type:qe,selectors:[["tui-checkbox-labeled"]],viewQuery:function(R,be){if(1&R&&e.Gf(tt,5),2&R){let S;e.iGM(S=e.CRH())&&(be.checkbox=S.first)}},hostVars:1,hostBindings:function(R,be){1&R&&e.NdJ("$.data-mode.attr",function(){return be.mode$}),2&R&&e.uIk("data-size",be.size)},inputs:{size:"size"},features:[e._Bn([(0,F.FT)(qe),(0,k.wB)(qe),je.CV]),e.qOj],ngContentSelectors:mt,decls:4,vars:12,consts:[[1,"t-wrapper"],[3,"disabled","focusable","nativeId","pseudoActive","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange"],[1,"t-content"]],template:function(R,be){1&R&&(e.F$t(),e.TgZ(0,"label",0)(1,"tui-checkbox",1),e.NdJ("ngModelChange",function(q){return be.value=q})("focusedChange",function(q){return be.onFocused(q)}),e.qZA(),e.TgZ(2,"div",2),e.Hsn(3),e.qZA()()),2&R&&(e.xp6(1),e.Q6J("disabled",be.computedDisabled)("focusable",be.focusable)("nativeId",be.nativeId)("pseudoActive",be.pseudoActive)("pseudoFocus",be.pseudoFocus)("pseudoHover",be.pseudoHover)("pseudoInvalid",be.computedInvalid)("readOnly",be.readOnly)("size",be.size)("ngModel",be.value),e.xp6(1),e.ekj("t-content_disabled",be.computedDisabled))},dependencies:[tt,s.JJ,s.On],styles:["[_nghost-%COMP%]{position:relative;display:block;line-height:0}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{display:inline-flex;max-width:100%;cursor:pointer}._disabled[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{cursor:default}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);line-height:1rem;word-wrap:break-word;min-width:0}.t-content_disabled[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{margin-left:.5rem}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-left:.75rem}"],changeDetection:0}),qe})(),Qe=(()=>{class qe{}return qe.\u0275fac=function(R){return new(R||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[_t.ez,s.u5,we]]}),qe})()},1673:(Ht,Fe,c)=>{"use strict";c.d(Fe,{K3:()=>ve,Qf:()=>Ve,wU:()=>Ae});var e=c(4537),s=c(9900),k=c(221),z=c(6480),F=c(7179),ne=c(8033),W=c(5600),te=c(5640),pe=c(8940),ce=c(5111),de=c(6060),Y=c(3631),_e=c(26),ue=c(8692);const ie=["*",[["input"]]],Ue=["*","input"];let ve=(()=>{class je extends z.M${constructor(ee,$e,Oe,_t){super(ee,$e,_t),this.textfieldSize=Oe,this.open=!1}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement}get focused(){return(0,F.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}get canOpen(){return this.interactive&&!!this.datalist}onValueChange(ee){this.value=ee,this.open=!0}onActiveZone(ee){this.updateFocused(ee)}handleOption(ee){this.setNativeValue(String(ee)),this.focusInput(),this.value=String(ee),this.open=!1}getFallbackValue(){return""}focusInput(ee=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:ee})}setNativeValue(ee){this.nativeFocusableElement&&(this.nativeFocusableElement.value=ee)}}return je.\u0275fac=function(ee){return new(ee||je)(e.Y36(s.a5,10),e.Y36(e.sBO),e.Y36(pe.kI),e.Y36(z.FX,8))},je.\u0275cmp=e.Xpm({type:je,selectors:[["tui-input"]],contentQueries:function(ee,$e,Oe){if(1&ee&&e.Suo(Oe,ce.gX,5,e.Rgc),2&ee){let _t;e.iGM(_t=e.CRH())&&($e.datalist=_t.first)}},viewQuery:function(ee,$e){if(1&ee&&(e.Gf(W.o1,5),e.Gf(te.yc,5)),2&ee){let Oe;e.iGM(Oe=e.CRH())&&($e.hostedDropdown=Oe.first),e.iGM(Oe=e.CRH())&&($e.textfield=Oe.first)}},hostVars:1,hostBindings:function(ee,$e){2&ee&&e.uIk("data-size",$e.size)},features:[e._Bn([_e.E2,(0,ne.FT)(je),(0,de.oE)(je),(0,z.wB)(je)],[_e.yn]),e.qOj],ngContentSelectors:Ue,decls:4,vars:11,consts:[[1,"t-hosted",3,"canOpen","content","open","openChange","tuiActiveZoneChange"],["automation-id","tui-input__textfield",1,"t-textfield",3,"disabled","focusable","invalid","nativeId","pseudoFocus","pseudoHover","readOnly","value","valueChange"]],template:function(ee,$e){1&ee&&(e.F$t(ie),e.TgZ(0,"tui-hosted-dropdown",0),e.NdJ("openChange",function(_t){return $e.open=_t})("tuiActiveZoneChange",function(_t){return $e.onActiveZone(_t)}),e.TgZ(1,"tui-primitive-textfield",1),e.NdJ("valueChange",function(_t){return $e.onValueChange(_t)}),e.Hsn(2),e.Hsn(3,1,["ngProjectAs","input",5,["input"]]),e.qZA()()),2&ee&&(e.Q6J("canOpen",$e.canOpen)("content",$e.datalist||"")("open",$e.open),e.xp6(1),e.Q6J("disabled",$e.computedDisabled)("focusable",$e.computedFocusable)("invalid",$e.computedInvalid)("nativeId",$e.nativeId)("pseudoFocus",$e.computedFocused)("pseudoHover",$e.pseudoHover)("readOnly",$e.readOnly)("value",$e.value))},dependencies:[W.o1,te.yc,k.e,te.B1],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}._disabled[_nghost-%COMP%]{pointer-events:none}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}"],changeDetection:0}),je})(),Ae=(()=>{class je extends Y.D1{onValueChange(ee){this.host.onValueChange(ee)}}return je.\u0275fac=function(){let se;return function($e){return(se||(se=e.n5z(je)))($e||je)}}(),je.\u0275dir=e.lG2({type:je,selectors:[["tui-input"]],features:[e._Bn([(0,de.cp)(je)]),e.qOj]}),je})(),Ve=(()=>{class je{}return je.\u0275fac=function(ee){return new(ee||je)},je.\u0275mod=e.oAB({type:je}),je.\u0275inj=e.cJS({imports:[[ue.ez,k.A,te.KW,W.jh]]}),je})()},26:(Ht,Fe,c)=>{"use strict";c.d(Fe,{yn:()=>Y,E2:()=>_e});var e=c(4537),s=c(6060);c(7969);var ne=c(8952),pe=(c(9811),c(4945),c(8330)),ce=c(9900);const Y=(0,ne.fx)({limitWidth:"fixed",align:"right"}),_e={provide:s.sE,deps:[[new e.FiY,new e.PiD,ce.JU]],useFactory:pe.y}},9811:(Ht,Fe,c)=>{"use strict";c.d(Fe,{UV:()=>Xe,Ys:()=>an,RZ:()=>ot,ue:()=>Ut,WO:()=>lt,Z4:()=>it});var e=c(4537),s=c(1927),k=c(3770),F=(c(8939),c(6424)),ne=c(7788),W=c(5648);const Y=12;(0,s.JN)("DMY"),(0,s.JN)(".");class Qe{constructor(V){this.year=V}static isValidYear(V){return Number.isInteger(V)&&(0,W.wf)(V,0,1e4)}static isLeapYear(V){return V%400==0||V%4==0&&V%100!=0}static getAbsoluteLeapYears(V){return Math.ceil(V/400)+(Math.ceil(V/4)-Math.ceil(V/100))}static lengthBetween(V,Pe){return Pe.year-V.year}static normalizeYearPart(V){return(0,W.G1)(V,0,9999)}get formattedYear(){return String(this.year).padStart(4,"0")}get isLeapYear(){return Qe.isLeapYear(this.year)}get absoluteLeapYears(){return Qe.getAbsoluteLeapYears(this.year)}yearBefore({year:V}){return this.year=V}yearAfter({year:V}){return this.year>V}append({year:V=0}){return new Qe(this.year+V)}toString(){return this.formattedYear}valueOf(){return this.year}[Symbol.toPrimitive](V){return Date.prototype[Symbol.toPrimitive].call(this,V)}toJSON(){return this.formattedYear}}class qe extends Qe{constructor(V,Pe){super(V),this.month=Pe}static isValidMonth(V,Pe){return Qe.isValidYear(V)&&qe.isValidMonthPart(Pe)}static getMonthDaysCount(V,Pe){switch(V){case F.B.February:return Pe?29:28;case F.B.April:case F.B.June:case F.B.September:case F.B.November:return 30;default:return 31}}static currentLocal(){const V=new Date;return new qe(V.getFullYear(),V.getMonth())}static currentUtc(){const V=new Date;return new qe(V.getUTCFullYear(),V.getUTCMonth())}static lengthBetween(V,Pe){return Pe.month+12*Pe.year-(V.month+12*V.year)}static normalizeMonthPart(V){return(0,W.G1)(V,0,11)}static isValidMonthPart(V){return Number.isInteger(V)&&(0,W.wf)(V,0,12)}get formattedMonthPart(){return String(this.month+1).padStart(2,"0")}get daysCount(){return qe.getMonthDaysCount(this.month,this.isLeapYear)}monthBefore(V){return this.yearBefore(V)||this.yearSame(V)&&this.month=V.month}monthAfter(V){return this.yearAfter(V)||this.yearSame(V)&&this.month>V.month}append({year:V=0,month:Pe=0}){const bt=(this.year+V)*Y+this.month+Pe;return new qe(Math.floor(bt/Y),bt%Y)}toString(){return`${this.formattedMonthPart}.${this.formattedYear}`}valueOf(){return this.toLocalNativeDate().valueOf()}toJSON(){return`${super.toJSON()}-${this.formattedMonthPart}`}toLocalNativeDate(){return new Date(this.year,this.month)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month))}}class Ge extends qe{constructor(V,Pe,bt){super(V,Pe),this.day=bt}static fromLocalNativeDate(V){return new Ge(V.getFullYear(),V.getMonth(),V.getDate())}static fromUtcNativeDate(V){return new Ge(V.getUTCFullYear(),V.getUTCMonth(),V.getUTCDate())}static isValidDay(V,Pe,bt){return qe.isValidMonth(V,Pe)&&Number.isInteger(bt)&&(0,W.wf)(bt,1,qe.getMonthDaysCount(Pe,Qe.isLeapYear(V))+1)}static currentLocal(){const V=new Date,Pe=V.getFullYear(),bt=V.getMonth(),gt=V.getDate();return new Ge(Pe,bt,gt)}static currentUtc(){const V=new Date,Pe=V.getUTCFullYear(),bt=V.getUTCMonth(),gt=V.getUTCDate();return new Ge(Pe,bt,gt)}static normalizeOf(V,Pe,bt){const gt=Qe.normalizeYearPart(V),on=qe.normalizeMonthPart(Pe),$t=Ge.normalizeDayPart(bt,on,gt);return new Ge(gt,on,$t)}static lengthBetween(V,Pe){return Math.round((Pe.toLocalNativeDate().getTime()-V.toLocalNativeDate().getTime())/864e5)}static parseRawDateString(V,Pe="DMY"){switch(Pe){case"YMD":return{day:parseInt(V.slice(8,10),10),month:parseInt(V.slice(5,7),10)-1,year:parseInt(V.slice(0,4),10)};case"MDY":return{day:parseInt(V.slice(3,5),10),month:parseInt(V.slice(0,2),10)-1,year:parseInt(V.slice(6,10),10)};default:return{day:parseInt(V.slice(0,2),10),month:parseInt(V.slice(3,5),10)-1,year:parseInt(V.slice(6,10),10)}}}static normalizeParse(V,Pe="DMY"){const{day:bt,month:gt,year:on}=this.parseRawDateString(V,Pe);return Ge.normalizeOf(on,gt,bt)}static jsonParse(V){const{day:Pe,month:bt,year:gt}=this.parseRawDateString(V,"YMD");if(!Qe.isValidYear(gt))throw new ne.JY(gt);if(!qe.isValidMonth(gt,bt))throw new ne.AM(bt);if(!Number.isInteger(Pe)||!(0,W.wf)(Pe,1,qe.getMonthDaysCount(bt,Qe.isLeapYear(gt))+1))throw new ne.I4(Pe);return new Ge(gt,bt,Pe)}static normalizeDayPart(V,Pe,bt){const gt=qe.getMonthDaysCount(Pe,Qe.isLeapYear(bt));return(0,W.G1)(V,1,gt)}get formattedDayPart(){return String(this.day).padStart(2,"0")}get isWeekend(){const V=this.dayOfWeek(!1);return V===F.L.Saturday||V===F.L.Sunday}dayOfWeek(V=!0){const Pe=V?this.toLocalNativeDate().getDay()-1:this.toLocalNativeDate().getDay();return Pe<0?6:Pe}dayBefore(V){return this.monthBefore(V)||this.monthSame(V)&&this.day=V.day}dayAfter(V){return this.monthAfter(V)||this.monthSame(V)&&this.day>V.day}dayLimit(V,Pe){return null!==V&&this.dayBefore(V)?V:null!==Pe&&this.dayAfter(Pe)?Pe:this}append({year:V=0,month:Pe=0,day:bt=0}){const gt=(this.year+V)*Y+this.month+Pe;let on=Math.floor(gt/Y),$t=gt%Y,vn=Math.min(this.day,qe.getMonthDaysCount($t,Qe.isLeapYear(on)))+bt;for(;vn>qe.getMonthDaysCount($t,Qe.isLeapYear(on));)vn-=qe.getMonthDaysCount($t,Qe.isLeapYear(on)),$t===F.B.December?(on++,$t=F.B.January):$t++;for(;vn<1;)$t===F.B.January?(on--,$t=F.B.December):$t--,vn+=qe.getMonthDaysCount($t,Qe.isLeapYear(on));return new Ge(on,$t,vn)}getFormattedDay(V,Pe){const bt=this.formattedDayPart,gt=this.formattedMonthPart,on=this.formattedYear;switch(V){case"YMD":return`${on}${Pe}${gt}${Pe}${bt}`;case"MDY":return`${gt}${Pe}${bt}${Pe}${on}`;default:return`${bt}${Pe}${gt}${Pe}${on}`}}toString(V="DMY",Pe="."){return this.getFormattedDay(V,Pe)}toJSON(){return`${super.toJSON()}-${this.formattedDayPart}`}toLocalNativeDate(){return new Date(this.year,this.month,this.day)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month,this.day))}}const S=new Ge(0,0,1),q=new Ge(9999,11,31);class ze{constructor(V,Pe,bt=0,gt=0){this.hours=V,this.minutes=Pe,this.seconds=bt,this.ms=gt}static isValidTime(V,Pe,bt=0,gt=0){return Number.isInteger(V)&&tuiInRange(V,0,24)&&Number.isInteger(Pe)&&tuiInRange(Pe,0,60)&&Number.isInteger(bt)&&tuiInRange(bt,0,60)&&Number.isInteger(gt)&&tuiInRange(gt,0,1e3)}static current(){return ze.fromAbsoluteMilliseconds(Date.now()%864e5)}static currentLocal(){const V=new Date;return ze.fromAbsoluteMilliseconds((Date.now()-V.getTimezoneOffset()*$e)%864e5)}static fromAbsoluteMilliseconds(V){const Pe=Math.floor(V/Oe),bt=Math.floor(V%Oe/$e),gt=Math.floor(V%Oe%$e/1e3)||0,on=Math.floor(V%Oe%$e%1e3)||0;return new ze(Pe,bt,gt,on)}static fromString(V){const Pe=Number(V.slice(0,2)),bt=Number(V.slice(3,5)),gt=Number(V.slice(6,8))||0,on=Number(V.slice(9,12))||0;return new ze(Pe,bt,gt,on)}static fromLocalNativeDate(V){return new ze(V.getHours(),V.getMinutes(),V.getSeconds(),V.getMilliseconds())}shift({hours:V=0,minutes:Pe=0,seconds:bt=0,ms:gt=0}){const on=(1e3+this.ms+gt%1e3)%1e3,vn=(gt<0?Math.ceil(gt/1e3):Math.floor(gt/1e3))+bt,Jt=(60+this.seconds+vn%60)%60,Mn=(vn<0?Math.ceil(vn/60):Math.floor(vn/60))+Pe,oe=(60+this.minutes+Mn%60)%60,H=(Mn<0?Math.ceil(Mn/60):Math.floor(Mn/60))+V;return new ze((24+this.hours+H%24)%24,oe,Jt,on)}toString(V){const Pe="HH:MM:SS.MSS"===V||!V&&this.ms>0,bt=Pe||"HH:MM:SS"===V||!V&&this.seconds>0;return`${this.formatTime(this.hours)}:${this.formatTime(this.minutes)}${bt?`:${this.formatTime(this.seconds)}`:""}${Pe?`.${this.formatTime(this.ms,3)}`:""}`}valueOf(){return this.toAbsoluteMilliseconds()}[Symbol.toPrimitive](V){return Date.prototype[Symbol.toPrimitive].call(this,V)}toAbsoluteMilliseconds(){return this.hours*Oe+this.minutes*$e+1e3*this.seconds+this.ms}formatTime(V,Pe=2){return String(V).padStart(Pe,"0")}}var N=c(1081),Se=c(6493);new e.OlP("[TUI_CALENDAR_DATE_STREAM]"),(0,s.JN)({[N.X.AD]:"+376###-###",[N.X.AE]:"+971-##-###-####",[N.X.AF]:"+93##-###-####",[N.X.AG]:"+1(268) ###-####",[N.X.AI]:"+1(264) ###-####",[N.X.AL]:"+355(###) ###-###",[N.X.AM]:"+374##-###-###",[N.X.AO]:"+244(###) ###-###",[N.X.AR]:"+54(###) ####-####",[N.X.AT]:"+43(###) ###-####",[N.X.AU]:"+61#-####-####",[N.X.AW]:"+297###-####",[N.X.AZ]:"+994##-###-##-##",[N.X.BA]:"+387 ###-####-##",[N.X.BB]:"+1(246) ###-####",[N.X.BD]:"+880##-###-###",[N.X.BE]:"+32(###) ###-###",[N.X.BF]:"+226##-##-####",[N.X.BG]:"+359(###) ###-###",[N.X.BH]:"+973####-####",[N.X.BI]:"+257##-##-####",[N.X.BJ]:"+229##-##-####",[N.X.BL]:"+590 ## ## ## ## ##",[N.X.BM]:"+1(441) ###-####",[N.X.BN]:"+673###-####",[N.X.BO]:"+591#-###-####",[N.X.BQ]:"+599-###-####",[N.X.BR]:"+55(##) ####-####",[N.X.BS]:"+1(242) ###-####",[N.X.BT]:"+975#-###-###",[N.X.BW]:"+267##-###-###",[N.X.BY]:"+375(##) ###-##-##",[N.X.BZ]:"+501###-####",[N.X.CA]:"+1(###) ###-####",[N.X.CD]:"+243(###) ###-###",[N.X.CF]:"+236-##-##-####",[N.X.CG]:"+242##-###-####",[N.X.CH]:"+41##-###-####",[N.X.CI]:"+225##-##-###-###",[N.X.CL]:"+56#-####-####",[N.X.CM]:"+237#####-####",[N.X.CN]:"+86(###) ####-####",[N.X.CO]:"+57(###) ###-####",[N.X.CR]:"+506####-####",[N.X.CU]:"+53#-###-####",[N.X.CV]:"+238(###) ##-##",[N.X.CW]:"+5999-###-####",[N.X.CY]:"+357##-###-###",[N.X.CZ]:"+420(###) ###-###",[N.X.DE]:"+49(###) ###-###-##",[N.X.DJ]:"+253##-##-##-##",[N.X.DK]:"+45##-##-##-##",[N.X.DM]:"+1(767) ###-####",[N.X.DO]:"+1(###) ###-####",[N.X.DZ]:"+213##-###-####",[N.X.EC]:"+593##-###-####",[N.X.EE]:"+372####-####",[N.X.EG]:"+20(###) ###-####",[N.X.ER]:"+291#-###-###",[N.X.ES]:"+34(###) ###-###",[N.X.ET]:"+251##-###-####",[N.X.FI]:"+358(###) ###-##-##",[N.X.FJ]:"+679##-#####",[N.X.FK]:"+500#####",[N.X.FM]:"+691###-####",[N.X.FR]:"+33 ## ## ## ## ##",[N.X.GA]:"+241##-##-##-##",[N.X.GB]:"+44##-####-####",[N.X.GD]:"+1(473) ###-####",[N.X.GE]:"+995(###) ###-###",[N.X.GF]:"+594 ## ## ## ## ##",[N.X.GH]:"+233(###) ###-###",[N.X.GI]:"+350###-#####",[N.X.GL]:"+299##-##-##",[N.X.GM]:"+220(###) ##-##",[N.X.GN]:"+224##-###-###",[N.X.GP]:"+590 ## ## ## ## ##",[N.X.GQ]:"+240##-###-####",[N.X.GR]:"+30(###) ###-####",[N.X.GT]:"+502#-###-####",[N.X.GW]:"+245#-######",[N.X.GY]:"+592###-####",[N.X.HK]:"+852####-####",[N.X.HN]:"+504####-####",[N.X.HR]:"+385##-###-####",[N.X.HT]:"+509##-##-####",[N.X.HU]:"+36(###) ###-###",[N.X.ID]:"+62(###) ###-##-###",[N.X.IE]:"+353(###) ###-###",[N.X.IL]:"+972##-###-####",[N.X.IN]:"+91(####) ###-###",[N.X.IQ]:"+964(###) ###-####",[N.X.IR]:"+98(###) ###-####",[N.X.IS]:"+354###-####",[N.X.IT]:"+39(###) ####-###",[N.X.JM]:"+1(876) ###-####",[N.X.JO]:"+962#-####-####",[N.X.JP]:"+81-##-####-####",[N.X.KE]:"+254###-######",[N.X.KG]:"+996(###) ###-###",[N.X.KH]:"+855##-###-###",[N.X.KM]:"+269##-#####",[N.X.KN]:"+1(869) ###-####",[N.X.KP]:"+850####-#############",[N.X.KR]:"+82##-###-####",[N.X.KW]:"+965####-####",[N.X.KY]:"+1(345) ###-####",[N.X.KZ]:"+7(###) ###-##-##",[N.X.LA]:"+856##-##-###-###",[N.X.LB]:"+961##-###-###",[N.X.LC]:"+1(758) ###-####",[N.X.LI]:"+423(###) ###-####",[N.X.LK]:"+94##-###-####",[N.X.LR]:"+231##-###-###",[N.X.LS]:"+266#-###-####",[N.X.LT]:"+370(###) ##-###",[N.X.LU]:"+352(###) ###-###",[N.X.LV]:"+371##-###-###",[N.X.LY]:"+218##-###-####",[N.X.MA]:"+212##-####-###",[N.X.MC]:"+377###-###-###",[N.X.MD]:"+373####-####",[N.X.ME]:"+382##-###-###",[N.X.MF]:"+590 ## ## ## ## ##",[N.X.MG]:"+261##-##-#####",[N.X.MK]:"+389##-###-###",[N.X.ML]:"+223##-##-####",[N.X.MM]:"+95##-###-###",[N.X.MN]:"+976##-##-####",[N.X.MO]:"+853####-####",[N.X.MQ]:"+596 ## ## ## ## ##",[N.X.MR]:"+222##-##-####",[N.X.MS]:"+1(664) ###-####",[N.X.MT]:"+356####-####",[N.X.MU]:"+230####-####",[N.X.MV]:"+960###-####",[N.X.MW]:"+265#-####-####",[N.X.MX]:"+52(###) ###-####",[N.X.MY]:"+60(###) ###-###",[N.X.MZ]:"+258##-###-###",[N.X.NA]:"+264##-###-####",[N.X.NC]:"+687 ### ###",[N.X.NE]:"+227##-##-####",[N.X.NG]:"+234(###) ###-####",[N.X.NI]:"+505####-####",[N.X.NL]:"+31##-###-####",[N.X.NO]:"+47(###) ##-###",[N.X.NP]:"+977##-###-###",[N.X.NZ]:"+64(###) ###-####",[N.X.OM]:"+968##-###-###",[N.X.PA]:"+507###-####",[N.X.PE]:"+51(###) ###-###",[N.X.PF]:"+689 ## ## ## ##",[N.X.PG]:"+675(###) ##-###",[N.X.PH]:"+63(###) ###-####",[N.X.PK]:"+92(###) ###-####",[N.X.PL]:"+48(###) ###-###",[N.X.PT]:"+351##-###-####",[N.X.PW]:"+680###-####",[N.X.PY]:"+595(###) ###-###",[N.X.QA]:"+974####-####",[N.X.RE]:"+262 ## ## ## ## ##",[N.X.RO]:"+40##-###-####",[N.X.RS]:"+381##-###-####",[N.X.RU]:"+7### ###-##-##",[N.X.RW]:"+250(###) ###-###",[N.X.SA]:"+966#-####-####",[N.X.SB]:"+677###-####",[N.X.SC]:"+248#-###-###",[N.X.SD]:"+249##-###-####",[N.X.SE]:"+46##-###-####",[N.X.SG]:"+65####-####",[N.X.SH]:"+290####",[N.X.SI]:"+386##-###-###",[N.X.SK]:"+421(###) ###-###",[N.X.SL]:"+232##-######",[N.X.SM]:"+378####-######",[N.X.SN]:"+221##-###-####",[N.X.SO]:"+252##-###-###",[N.X.SR]:"+597###-####",[N.X.ST]:"+239##-#####",[N.X.SV]:"+503##-##-####",[N.X.SX]:"+1(721) ###-####",[N.X.SY]:"+963##-####-###",[N.X.SZ]:"+268##-##-####",[N.X.TC]:"+1(649) ###-####",[N.X.TD]:"+235##-##-##-##",[N.X.TG]:"+228##-###-###",[N.X.TH]:"+66##-###-####",[N.X.TJ]:"+992##-###-####",[N.X.TL]:"+670###-#####",[N.X.TM]:"+993#-###-####",[N.X.TN]:"+216##-###-###",[N.X.TO]:"+676#####",[N.X.TR]:"+90(###) ###-####",[N.X.TT]:"+1(868) ###-####",[N.X.TW]:"+886#-####-####",[N.X.TZ]:"+255##-###-####",[N.X.UA]:"+380(##) ###-##-##",[N.X.UG]:"+256(###) ###-###",[N.X.US]:"+1(###) ###-####",[N.X.UY]:"+598#-###-##-##",[N.X.UZ]:"+998##-###-####",[N.X.VC]:"+1(784) ###-####",[N.X.VE]:"+58(###) ###-####",[N.X.VG]:"+1(284)###-####",[N.X.VN]:"+84(###) ####-###",[N.X.VU]:"+678##-#####",[N.X.WS]:"+685##-####",[N.X.XK]:"+383##-###-###",[N.X.YE]:"+967###-###-###",[N.X.YT]:"+262 ## ## ## ## ##",[N.X.ZA]:"+27##-###-####",[N.X.ZM]:"+260##-###-####",[N.X.ZW]:"+263#-######"}),new e.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),new e.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),new e.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]"),(0,s.N1)((0,Se.v)("prompt")),(0,s.N1)((0,Se.v)("cancel")),(0,s.N1)((0,Se.v)("done"));const Ut=(0,s.N1)((0,Se.v)("more")),Xe=((0,s.N1)((0,Se.v)("hide")),(0,s.N1)((0,Se.v)("showAll")),(0,s.N1)((0,Se.v)("otherDate")),(0,s.N1)((0,Se.v)("mobileCalendarTexts")),(0,s.N1)((0,Se.v)("range")),(0,s.N1)((0,Se.v)("countTexts")),(0,s.N1)((0,Se.v)("time")),(0,s.N1)((0,Se.v)("dateTexts")),(0,s.N1)((0,Se.v)("digitalInformationUnits")),(0,s.N1)((0,Se.v)("copyTexts"))),Lt=((0,s.N1)((0,Se.v)("passwordTexts")),(0,s.N1)((0,Se.v)("shortCalendarMonths")),(0,s.N1)((0,Se.v)("fileTexts")),(0,s.N1)((0,Se.v)("pagination")),(0,s.N1)((0,Se.v)("inputFileTexts")),(0,s.N1)((0,Se.v)("multiSelectTexts")),(0,s.N1)((0,Se.v)("countries")),{icon:({$implicit:st})=>"s"===st?"tuiIconCalendar":"tuiIconCalendarLarge",min:S,max:q,nativePicker:!1});(0,s.JN)(Lt);const an=(0,s.JN)({stringify:k.yZ,identityMatcher:k.bg,disabledItemHandler:k.Iy});new e.OlP("[TUI_MOBILE_CALENDAR]");const ot=new e.OlP("[TUI_MONTH_FORMATTER]"),lt=(0,s.JN)(24),it=(0,s.JN)({})},126:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Gt:()=>Ve,X1:()=>je,uX:()=>Ae});var e=c(5998),s=c(4537),k=c(9018),z=c(3729),F=c(3072),ne=c(5857);class te{supports(ee){return ee.includes(this.modifier)}addGlobalEventListener(){return()=>{}}unwrap(ee){return ee.split(".").filter($e=>!this.modifier.includes($e)).join(".")}}let pe=(()=>{class se extends te{constructor(){super(...arguments),this.modifier="$"}addEventListener($e,Oe){$e[Oe]=$e[Oe]||k.E;const _t=this.getMethod($e,Oe),vt=this.manager.getZone().onStable,tt=(0,z.z)(vt.pipe((0,ne.o)(()=>$e[Oe]===k.E)),(0,F.P)(()=>$e[Oe])).subscribe(_t);return()=>tt.unsubscribe()}getMethod($e,Oe){const[,_t,vt,tt=""]=Oe.split(".");return Oe.endsWith(".attr")?we=>null===we?$e.removeAttribute(_t):$e.setAttribute(_t,String(we)):"class"===_t?we=>$e.classList.toggle(vt,!!we):"style"===_t?we=>$e.style.setProperty(function W(se){return se.replace(/[a-z][A-Z]/g,ee=>`${ee[0]}-${ee[1].toLowerCase()}`)}(vt),`${we}${tt}`):we=>$e[_t]=we}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})(),ce=(()=>{class se extends te{constructor(){super(...arguments),this.modifier="capture.once.passive"}supports($e){return $e.includes(".")&&!this.unwrap($e).includes(".")}addEventListener($e,Oe,_t){return $e.addEventListener(this.unwrap(Oe),_t,{once:Oe.includes(".once"),passive:Oe.includes(".passive"),capture:Oe.includes(".capture")}),()=>$e.removeEventListener(this.unwrap(Oe),_t)}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})(),de=(()=>{class se extends te{constructor(){super(...arguments),this.modifier=".prevent"}addEventListener($e,Oe,_t){return this.manager.addEventListener($e,this.unwrap(Oe),tt=>{tt.preventDefault(),_t(tt)})}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})(),Y=(()=>{class se extends te{constructor(){super(...arguments),this.modifier=".self"}addEventListener($e,Oe,_t){return this.manager.addEventListener($e,this.unwrap(Oe),tt=>{tt.target===tt.currentTarget&&_t(tt)})}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})(),_e=(()=>{class se extends te{constructor(){super(...arguments),this.modifier=".silent"}addEventListener($e,Oe,_t){return se.ngZone=this.manager.getZone(),se.ngZone.runOutsideAngular(()=>this.manager.addEventListener($e,this.unwrap(Oe),_t))}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})();const ve=[_e,pe,ce,de,Y,(()=>{class se extends te{constructor(){super(...arguments),this.modifier=".stop"}addEventListener($e,Oe,_t){return this.manager.addEventListener($e,this.unwrap(Oe),tt=>{tt.stopPropagation(),_t(tt)})}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})(),(()=>{class se extends te{constructor(){super(...arguments),this.modifier=".init"}addEventListener(){return console.warn(".init plugin is no longer necessary as of v3.1.0"),()=>{}}}return se.\u0275fac=function(){let ee;return function(Oe){return(ee||(ee=s.n5z(se)))(Oe||se)}}(),se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})()].map(se=>({provide:e.s3,multi:!0,useClass:se}));function Ae(se){return(ee,$e,Oe)=>{const{value:_t}=Oe;Oe.value=function(...vt){se.apply(this,vt)&&(_e.ngZone?_e.ngZone.run(()=>_t.apply(this,vt)):_t.apply(this,vt))}}}function Ve(se){return se}let je=(()=>{class se{constructor([$e]){console.assert(!($e instanceof _e)||se.initialized,"EventPluginsModule must come after BrowserModule in imports"),se.initialized=!0}}return se.initialized=!1,se.\u0275fac=function($e){return new($e||se)(s.LFG(e.s3))},se.\u0275mod=s.oAB({type:se}),se.\u0275inj=s.cJS({providers:ve}),se})()},9570:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Al:()=>k,GL:()=>z,Li:()=>W,wq:()=>de,yf:()=>s});var e=c(4537);const s=new e.OlP("POLYMORPHEUS_CONTEXT");class k{constructor(_e,ue){this.component=_e,this.i=ue}createInjector(_e,ue){return e.zs3.create({parent:this.i||_e,providers:[{provide:s,useValue:ue}]})}}let z=(()=>{class Y{constructor(ue,ie){this.template=ue,this.cdr=ie,this.polymorpheus=""}check(){this.cdr.markForCheck()}static ngTemplateContextGuard(ue,ie){return!0}}return Y.\u0275fac=function(ue){return new(ue||Y)(e.Y36(e.Rgc,2),e.Y36(e.sBO))},Y.\u0275dir=e.lG2({type:Y,selectors:[["ng-template","polymorpheus",""]],inputs:{polymorpheus:"polymorpheus"},exportAs:["polymorpheus"]}),Y})();class F{constructor(_e){this.$implicit=_e}get polymorpheusOutlet(){return this.$implicit}}let W=(()=>{class Y{constructor(ue,ie,Ue){this.vcr=ue,this.i=ie,this.t=Ue,this.content=""}get template(){return te(this.content)?this.content.template:this.content instanceof e.Rgc?this.content:this.t}ngOnChanges({content:ue}){var ie;const Ue=this.getContext();if(null===(ie=this.c)||void 0===ie||ie.injector.get(e.sBO).markForCheck(),!ue)return;this.vcr.clear();const ve=Ue&&new Proxy(Ue,{get:(Ae,Ve)=>{var je;return null===(je=this.getContext())||void 0===je?void 0:je[Ve]}});pe(this.content)?this.process(this.content,ve):null!=(Ue instanceof F&&Ue.$implicit)&&this.vcr.createEmbeddedView(this.template,ve)}ngDoCheck(){te(this.content)&&this.content.check()}static ngTemplateContextGuard(ue,ie){return!0}getContext(){return function ce(Y){return te(Y)||Y instanceof e.Rgc}(this.content)||pe(this.content)?this.context:new F("function"==typeof this.content?this.content(this.context):this.content)}process(ue,ie){const Ue=ue.createInjector(this.i,ie);this.c=this.vcr.createComponent(Ue.get(e._Vd).resolveComponentFactory(ue.component),0,Ue)}}return Y.\u0275fac=function(ue){return new(ue||Y)(e.Y36(e.s_b),e.Y36(e.zs3),e.Y36(e.Rgc))},Y.\u0275dir=e.lG2({type:Y,selectors:[["","polymorpheusOutlet",""]],inputs:{content:["polymorpheusOutlet","content"],context:["polymorpheusOutletContext","context"]},features:[e.TTD]}),Y})();function te(Y){return Y instanceof z}function pe(Y){return Y instanceof k}let de=(()=>{class Y{}return Y.\u0275fac=function(ue){return new(ue||Y)},Y.\u0275mod=e.oAB({type:Y}),Y.\u0275inj=e.cJS({}),Y})()},3358:function(Ht){Ht.exports=function(){"use strict";const{entries:Fe,setPrototypeOf:c,isFrozen:e,getPrototypeOf:s,getOwnPropertyDescriptor:k}=Object;let{freeze:z,seal:F,create:ne}=Object,{apply:W,construct:te}=typeof Reflect<"u"&&Reflect;z||(z=function(Xt){return Xt}),F||(F=function(Xt){return Xt}),W||(W=function(Xt,Qt,hn){return Xt.apply(Qt,hn)}),te||(te=function(Xt,Qt){return new Xt(...Qt)});const pe=je(Array.prototype.forEach),ce=je(Array.prototype.pop),de=je(Array.prototype.push),Y=je(String.prototype.toLowerCase),_e=je(String.prototype.toString),ue=je(String.prototype.match),ie=je(String.prototype.replace),Ue=je(String.prototype.indexOf),ve=je(String.prototype.trim),Ae=je(RegExp.prototype.test),Ve=function se(Dt){return function(){for(var Xt=arguments.length,Qt=new Array(Xt),hn=0;hn1?Qt-1:0),cn=1;cn2&&void 0!==arguments[2]?arguments[2]:Y;c&&c(Dt,null);let hn=Xt.length;for(;hn--;){let cn=Xt[hn];if("string"==typeof cn){const yt=Qt(cn);yt!==cn&&(e(Xt)||(Xt[hn]=yt),cn=yt)}Dt[cn]=!0}return Dt}function $e(Dt){for(let Xt=0;Xt/gm),N=F(/\${[\w\W]*}/gm),Se=F(/^data-[\-\w.\u00B7-\uFFFF]/),et=F(/^aria-[\-\w]+$/),pt=F(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),wt=F(/^(?:\w+script|data):/i),Cn=F(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),St=F(/^html$/i);var Ft=Object.freeze({__proto__:null,MUSTACHE_EXPR:q,ERB_EXPR:ze,TMPLIT_EXPR:N,DATA_ATTR:Se,ARIA_ATTR:et,IS_ALLOWED_URI:pt,IS_SCRIPT_OR_DATA:wt,ATTR_WHITESPACE:Cn,DOCTYPE_NAME:St});const It=function(){return typeof window>"u"?null:window},Rt=function(Xt,Qt){if("object"!=typeof Xt||"function"!=typeof Xt.createPolicy)return null;let hn=null;const cn="data-tt-policy-suffix";Qt&&Qt.hasAttribute(cn)&&(hn=Qt.getAttribute(cn));const yt="dompurify"+(hn?"#"+hn:"");try{return Xt.createPolicy(yt,{createHTML:Re=>Re,createScriptURL:Re=>Re})}catch{return console.warn("TrustedTypes policy "+yt+" could not be created."),null}};return function Zt(){let Dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:It();const Xt=Pn=>Zt(Pn);if(Xt.version="3.0.8",Xt.removed=[],!Dt||!Dt.document||9!==Dt.document.nodeType)return Xt.isSupported=!1,Xt;let{document:Qt}=Dt;const hn=Qt,cn=hn.currentScript,{DocumentFragment:yt,HTMLTemplateElement:Re,Node:he,Element:re,NodeFilter:Xe,NamedNodeMap:Le=Dt.NamedNodeMap||Dt.MozNamedAttrMap,HTMLFormElement:fe,DOMParser:We,trustedTypes:ye}=Dt,at=re.prototype,kt=_t(at,"cloneNode"),qt=_t(at,"nextSibling"),Lt=_t(at,"childNodes"),xt=_t(at,"parentNode");if("function"==typeof Re){const Pn=Qt.createElement("template");Pn.content&&Pn.content.ownerDocument&&(Qt=Pn.content.ownerDocument)}let Wt,Pt="";const{implementation:an,createNodeIterator:fn,createDocumentFragment:Ke,getElementsByTagName:ot}=Qt,{importNode:lt}=hn;let it={};Xt.isSupported="function"==typeof Fe&&"function"==typeof xt&&an&&void 0!==an.createHTMLDocument;const{MUSTACHE_EXPR:st,ERB_EXPR:V,TMPLIT_EXPR:Pe,DATA_ATTR:bt,ARIA_ATTR:gt,IS_SCRIPT_OR_DATA:on,ATTR_WHITESPACE:$t}=Ft;let{IS_ALLOWED_URI:vn}=Ft,Jt=null;const Nn=ee({},[...vt,...tt,...we,...At,...qe]);let Mn=null;const oe=ee({},[...Ge,...R,...be,...S]);let Q=Object.seal(ne(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),H=null,le=null,Ie=!0,rt=!0,nt=!1,ut=!0,He=!1,Ne=!1,U=!1,I=!1,A=!1,$=!1,xe=!1,ct=!0,dt=!1,Yt=!0,rn=!1,en={},gn=null;const pn=ee({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let In=null;const Kn=ee({},["audio","video","img","source","image","track"]);let mn=null;const xn=ee({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$n="http://www.w3.org/1998/Math/MathML",ci="http://www.w3.org/2000/svg",ri="http://www.w3.org/1999/xhtml";let Xn=ri,Yn=!1,Qn=null;const Ai=ee({},[$n,ci,ri],_e);let Ji=null;const Wn=["application/xhtml+xml","text/html"],Ti="text/html";let ti=null,Mi=null;const to=Qt.createElement("form"),Ri=function(Nt){return Nt instanceof RegExp||Nt instanceof Function},Wo=function(){let Nt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Mi||Mi!==Nt){if((!Nt||"object"!=typeof Nt)&&(Nt={}),Nt=Oe(Nt),Ji=-1===Wn.indexOf(Nt.PARSER_MEDIA_TYPE)?Ti:Nt.PARSER_MEDIA_TYPE,ti="application/xhtml+xml"===Ji?_e:Y,Jt="ALLOWED_TAGS"in Nt?ee({},Nt.ALLOWED_TAGS,ti):Nn,Mn="ALLOWED_ATTR"in Nt?ee({},Nt.ALLOWED_ATTR,ti):oe,Qn="ALLOWED_NAMESPACES"in Nt?ee({},Nt.ALLOWED_NAMESPACES,_e):Ai,mn="ADD_URI_SAFE_ATTR"in Nt?ee(Oe(xn),Nt.ADD_URI_SAFE_ATTR,ti):xn,In="ADD_DATA_URI_TAGS"in Nt?ee(Oe(Kn),Nt.ADD_DATA_URI_TAGS,ti):Kn,gn="FORBID_CONTENTS"in Nt?ee({},Nt.FORBID_CONTENTS,ti):pn,H="FORBID_TAGS"in Nt?ee({},Nt.FORBID_TAGS,ti):{},le="FORBID_ATTR"in Nt?ee({},Nt.FORBID_ATTR,ti):{},en="USE_PROFILES"in Nt&&Nt.USE_PROFILES,Ie=!1!==Nt.ALLOW_ARIA_ATTR,rt=!1!==Nt.ALLOW_DATA_ATTR,nt=Nt.ALLOW_UNKNOWN_PROTOCOLS||!1,ut=!1!==Nt.ALLOW_SELF_CLOSE_IN_ATTR,He=Nt.SAFE_FOR_TEMPLATES||!1,Ne=Nt.WHOLE_DOCUMENT||!1,A=Nt.RETURN_DOM||!1,$=Nt.RETURN_DOM_FRAGMENT||!1,xe=Nt.RETURN_TRUSTED_TYPE||!1,I=Nt.FORCE_BODY||!1,ct=!1!==Nt.SANITIZE_DOM,dt=Nt.SANITIZE_NAMED_PROPS||!1,Yt=!1!==Nt.KEEP_CONTENT,rn=Nt.IN_PLACE||!1,vn=Nt.ALLOWED_URI_REGEXP||pt,Xn=Nt.NAMESPACE||ri,Q=Nt.CUSTOM_ELEMENT_HANDLING||{},Nt.CUSTOM_ELEMENT_HANDLING&&Ri(Nt.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Q.tagNameCheck=Nt.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Nt.CUSTOM_ELEMENT_HANDLING&&Ri(Nt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Q.attributeNameCheck=Nt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Nt.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof Nt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Q.allowCustomizedBuiltInElements=Nt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),He&&(rt=!1),$&&(A=!0),en&&(Jt=ee({},qe),Mn=[],!0===en.html&&(ee(Jt,vt),ee(Mn,Ge)),!0===en.svg&&(ee(Jt,tt),ee(Mn,R),ee(Mn,S)),!0===en.svgFilters&&(ee(Jt,we),ee(Mn,R),ee(Mn,S)),!0===en.mathMl&&(ee(Jt,At),ee(Mn,be),ee(Mn,S))),Nt.ADD_TAGS&&(Jt===Nn&&(Jt=Oe(Jt)),ee(Jt,Nt.ADD_TAGS,ti)),Nt.ADD_ATTR&&(Mn===oe&&(Mn=Oe(Mn)),ee(Mn,Nt.ADD_ATTR,ti)),Nt.ADD_URI_SAFE_ATTR&&ee(mn,Nt.ADD_URI_SAFE_ATTR,ti),Nt.FORBID_CONTENTS&&(gn===pn&&(gn=Oe(gn)),ee(gn,Nt.FORBID_CONTENTS,ti)),Yt&&(Jt["#text"]=!0),Ne&&ee(Jt,["html","head","body"]),Jt.table&&(ee(Jt,["tbody"]),delete H.tbody),Nt.TRUSTED_TYPES_POLICY){if("function"!=typeof Nt.TRUSTED_TYPES_POLICY.createHTML)throw Ve('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof Nt.TRUSTED_TYPES_POLICY.createScriptURL)throw Ve('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Wt=Nt.TRUSTED_TYPES_POLICY,Pt=Wt.createHTML("")}else void 0===Wt&&(Wt=Rt(ye,cn)),null!==Wt&&"string"==typeof Pt&&(Pt=Wt.createHTML(""));z&&z(Nt),Mi=Nt}},wo=ee({},["mi","mo","mn","ms","mtext"]),no=ee({},["foreignobject","desc","title","annotation-xml"]),qo=ee({},["title","style","font","a","script"]),lr=ee({},[...tt,...we,...mt]),ui=ee({},[...At,...Qe]),Qi=function(Nt){de(Xt.removed,{element:Nt});try{Nt.parentNode.removeChild(Nt)}catch{Nt.remove()}},yo=function(Nt,yn){try{de(Xt.removed,{attribute:yn.getAttributeNode(Nt),from:yn})}catch{de(Xt.removed,{attribute:null,from:yn})}if(yn.removeAttribute(Nt),"is"===Nt&&!Mn[Nt])if(A||$)try{Qi(yn)}catch{}else try{yn.setAttribute(Nt,"")}catch{}},Po=function(Nt){let yn=null,Rn=null;if(I)Nt=""+Nt;else{const Bi=ue(Nt,/^[\r\n\t ]+/);Rn=Bi&&Bi[0]}"application/xhtml+xml"===Ji&&Xn===ri&&(Nt=''+Nt+"");const vi=Wt?Wt.createHTML(Nt):Nt;if(Xn===ri)try{yn=(new We).parseFromString(vi,Ji)}catch{}if(!yn||!yn.documentElement){yn=an.createDocument(Xn,"template",null);try{yn.documentElement.innerHTML=Yn?Pt:vi}catch{}}const Ii=yn.body||yn.documentElement;return Nt&&Rn&&Ii.insertBefore(Qt.createTextNode(Rn),Ii.childNodes[0]||null),Xn===ri?ot.call(yn,Ne?"html":"body")[0]:Ne?yn.documentElement:Ii},Vo=function(Nt){return fn.call(Nt.ownerDocument||Nt,Nt,Xe.SHOW_ELEMENT|Xe.SHOW_COMMENT|Xe.SHOW_TEXT,null)},ji=function(Nt){return"function"==typeof he&&Nt instanceof he},io=function(Nt,yn,Rn){it[Nt]&&pe(it[Nt],vi=>{vi.call(Xt,yn,Rn,Mi)})},Li=function(Nt){let yn=null;if(io("beforeSanitizeElements",Nt,null),function(Nt){return Nt instanceof fe&&("string"!=typeof Nt.nodeName||"string"!=typeof Nt.textContent||"function"!=typeof Nt.removeChild||!(Nt.attributes instanceof Le)||"function"!=typeof Nt.removeAttribute||"function"!=typeof Nt.setAttribute||"string"!=typeof Nt.namespaceURI||"function"!=typeof Nt.insertBefore||"function"!=typeof Nt.hasChildNodes)}(Nt))return Qi(Nt),!0;const Rn=ti(Nt.nodeName);if(io("uponSanitizeElement",Nt,{tagName:Rn,allowedTags:Jt}),Nt.hasChildNodes()&&!ji(Nt.firstElementChild)&&Ae(/<[/\w]/g,Nt.innerHTML)&&Ae(/<[/\w]/g,Nt.textContent))return Qi(Nt),!0;if(!Jt[Rn]||H[Rn]){if(!H[Rn]&&Si(Rn)&&(Q.tagNameCheck instanceof RegExp&&Ae(Q.tagNameCheck,Rn)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(Rn)))return!1;if(Yt&&!gn[Rn]){const vi=xt(Nt)||Nt.parentNode,Ii=Lt(Nt)||Nt.childNodes;if(Ii&&vi)for(let xi=Ii.length-1;xi>=0;--xi)vi.insertBefore(kt(Ii[xi],!0),qt(Nt))}return Qi(Nt),!0}return Nt instanceof re&&!function(Nt){let yn=xt(Nt);(!yn||!yn.tagName)&&(yn={namespaceURI:Xn,tagName:"template"});const Rn=Y(Nt.tagName),vi=Y(yn.tagName);return!!Qn[Nt.namespaceURI]&&(Nt.namespaceURI===ci?yn.namespaceURI===ri?"svg"===Rn:yn.namespaceURI===$n?"svg"===Rn&&("annotation-xml"===vi||wo[vi]):Boolean(lr[Rn]):Nt.namespaceURI===$n?yn.namespaceURI===ri?"math"===Rn:yn.namespaceURI===ci?"math"===Rn&&no[vi]:Boolean(ui[Rn]):Nt.namespaceURI===ri?!(yn.namespaceURI===ci&&!no[vi]||yn.namespaceURI===$n&&!wo[vi])&&!ui[Rn]&&(qo[Rn]||!lr[Rn]):!("application/xhtml+xml"!==Ji||!Qn[Nt.namespaceURI]))}(Nt)||("noscript"===Rn||"noembed"===Rn||"noframes"===Rn)&&Ae(/<\/no(script|embed|frames)/i,Nt.innerHTML)?(Qi(Nt),!0):(He&&3===Nt.nodeType&&(yn=Nt.textContent,pe([st,V,Pe],vi=>{yn=ie(yn,vi," ")}),Nt.textContent!==yn&&(de(Xt.removed,{element:Nt.cloneNode()}),Nt.textContent=yn)),io("afterSanitizeElements",Nt,null),!1)},Yi=function(Nt,yn,Rn){if(ct&&("id"===yn||"name"===yn)&&(Rn in Qt||Rn in to))return!1;if((!rt||le[yn]||!Ae(bt,yn))&&(!Ie||!Ae(gt,yn)))if(!Mn[yn]||le[yn]){if(!(Si(Nt)&&(Q.tagNameCheck instanceof RegExp&&Ae(Q.tagNameCheck,Nt)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(Nt))&&(Q.attributeNameCheck instanceof RegExp&&Ae(Q.attributeNameCheck,yn)||Q.attributeNameCheck instanceof Function&&Q.attributeNameCheck(yn))||"is"===yn&&Q.allowCustomizedBuiltInElements&&(Q.tagNameCheck instanceof RegExp&&Ae(Q.tagNameCheck,Rn)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(Rn))))return!1}else if(!mn[yn]&&!Ae(vn,ie(Rn,$t,""))&&("src"!==yn&&"xlink:href"!==yn&&"href"!==yn||"script"===Nt||0!==Ue(Rn,"data:")||!In[Nt])&&(!nt||Ae(on,ie(Rn,$t,"")))&&Rn)return!1;return!0},Si=function(Nt){return Nt.indexOf("-")>0},oo=function(Nt){io("beforeSanitizeAttributes",Nt,null);const{attributes:yn}=Nt;if(!yn)return;const Rn={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Mn};let vi=yn.length;for(;vi--;){const Ii=yn[vi],{name:Bi,namespaceURI:xi,value:Ao}=Ii,Co=ti(Bi);let Ki="value"===Bi?Ao:ve(Ao);if(Rn.attrName=Co,Rn.attrValue=Ki,Rn.keepAttr=!0,Rn.forceKeepAttr=void 0,io("uponSanitizeAttribute",Nt,Rn),Ki=Rn.attrValue,Rn.forceKeepAttr||(yo(Bi,Nt),!Rn.keepAttr))continue;if(!ut&&Ae(/\/>/i,Ki)){yo(Bi,Nt);continue}He&&pe([st,V,Pe],Do=>{Ki=ie(Ki,Do," ")});const Yo=ti(Nt.nodeName);if(Yi(Yo,Co,Ki)){if(dt&&("id"===Co||"name"===Co)&&(yo(Bi,Nt),Ki="user-content-"+Ki),Wt&&"object"==typeof ye&&"function"==typeof ye.getAttributeType&&!xi)switch(ye.getAttributeType(Yo,Co)){case"TrustedHTML":Ki=Wt.createHTML(Ki);break;case"TrustedScriptURL":Ki=Wt.createScriptURL(Ki)}try{xi?Nt.setAttributeNS(xi,Bi,Ki):Nt.setAttribute(Bi,Ki),ce(Xt.removed)}catch{}}}io("afterSanitizeAttributes",Nt,null)},go=function Pn(Nt){let yn=null;const Rn=Vo(Nt);for(io("beforeSanitizeShadowDOM",Nt,null);yn=Rn.nextNode();)io("uponSanitizeShadowNode",yn,null),!Li(yn)&&(yn.content instanceof yt&&Pn(yn.content),oo(yn));io("afterSanitizeShadowDOM",Nt,null)};return Xt.sanitize=function(Pn){let Nt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},yn=null,Rn=null,vi=null,Ii=null;if(Yn=!Pn,Yn&&(Pn="\x3c!--\x3e"),"string"!=typeof Pn&&!ji(Pn)){if("function"!=typeof Pn.toString)throw Ve("toString is not a function");if("string"!=typeof(Pn=Pn.toString()))throw Ve("dirty is not a string, aborting")}if(!Xt.isSupported)return Pn;if(U||Wo(Nt),Xt.removed=[],"string"==typeof Pn&&(rn=!1),rn){if(Pn.nodeName){const Ao=ti(Pn.nodeName);if(!Jt[Ao]||H[Ao])throw Ve("root node is forbidden and cannot be sanitized in-place")}}else if(Pn instanceof he)yn=Po("\x3c!----\x3e"),Rn=yn.ownerDocument.importNode(Pn,!0),1===Rn.nodeType&&"BODY"===Rn.nodeName||"HTML"===Rn.nodeName?yn=Rn:yn.appendChild(Rn);else{if(!A&&!He&&!Ne&&-1===Pn.indexOf("<"))return Wt&&xe?Wt.createHTML(Pn):Pn;if(yn=Po(Pn),!yn)return A?null:xe?Pt:""}yn&&I&&Qi(yn.firstChild);const Bi=Vo(rn?Pn:yn);for(;vi=Bi.nextNode();)Li(vi)||(vi.content instanceof yt&&go(vi.content),oo(vi));if(rn)return Pn;if(A){if($)for(Ii=Ke.call(yn.ownerDocument);yn.firstChild;)Ii.appendChild(yn.firstChild);else Ii=yn;return(Mn.shadowroot||Mn.shadowrootmode)&&(Ii=lt.call(hn,Ii,!0)),Ii}let xi=Ne?yn.outerHTML:yn.innerHTML;return Ne&&Jt["!doctype"]&&yn.ownerDocument&&yn.ownerDocument.doctype&&yn.ownerDocument.doctype.name&&Ae(St,yn.ownerDocument.doctype.name)&&(xi="\n"+xi),He&&pe([st,V,Pe],Ao=>{xi=ie(xi,Ao," ")}),Wt&&xe?Wt.createHTML(xi):xi},Xt.setConfig=function(){Wo(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),U=!0},Xt.clearConfig=function(){Mi=null,U=!1},Xt.isValidAttribute=function(Pn,Nt,yn){Mi||Wo({});const Rn=ti(Pn),vi=ti(Nt);return Yi(Rn,vi,yn)},Xt.addHook=function(Pn,Nt){"function"==typeof Nt&&(it[Pn]=it[Pn]||[],de(it[Pn],Nt))},Xt.removeHook=function(Pn){if(it[Pn])return ce(it[Pn])},Xt.removeHooks=function(Pn){it[Pn]&&(it[Pn]=[])},Xt.removeAllHooks=function(){it={}},Xt}()}()},4121:(Ht,Fe,c)=>{"use strict";c.d(Fe,{X:()=>s});var e=c(8023);class s extends e.x{constructor(z){super(),this._value=z}get value(){return this.getValue()}_subscribe(z){const F=super._subscribe(z);return!F.closed&&z.next(this._value),F}getValue(){const{hasError:z,thrownError:F,_value:ne}=this;if(z)throw F;return this._throwIfClosed(),ne}next(z){super.next(this._value=z)}}},7241:(Ht,Fe,c)=>{"use strict";c.d(Fe,{y:()=>te});var e=c(4021),s=c(4813),k=c(3122),z=c(7824),F=c(2046),ne=c(5975),W=c(1519);let te=(()=>{class Y{constructor(ue){ue&&(this._subscribe=ue)}lift(ue){const ie=new Y;return ie.source=this,ie.operator=ue,ie}subscribe(ue,ie,Ue){const ve=function de(Y){return Y&&Y instanceof e.Lv||function ce(Y){return Y&&(0,ne.m)(Y.next)&&(0,ne.m)(Y.error)&&(0,ne.m)(Y.complete)}(Y)&&(0,s.Nn)(Y)}(ue)?ue:new e.Hp(ue,ie,Ue);return(0,W.x)(()=>{const{operator:Ae,source:Ve}=this;ve.add(Ae?Ae.call(ve,Ve):Ve?this._subscribe(ve):this._trySubscribe(ve))}),ve}_trySubscribe(ue){try{return this._subscribe(ue)}catch(ie){ue.error(ie)}}forEach(ue,ie){return new(ie=pe(ie))((Ue,ve)=>{const Ae=new e.Hp({next:Ve=>{try{ue(Ve)}catch(je){ve(je),Ae.unsubscribe()}},error:ve,complete:Ue});this.subscribe(Ae)})}_subscribe(ue){var ie;return null===(ie=this.source)||void 0===ie?void 0:ie.subscribe(ue)}[k.L](){return this}pipe(...ue){return(0,z.U)(ue)(this)}toPromise(ue){return new(ue=pe(ue))((ie,Ue)=>{let ve;this.subscribe(Ae=>ve=Ae,Ae=>Ue(Ae),()=>ie(ve))})}}return Y.create=_e=>new Y(_e),Y})();function pe(Y){var _e;return null!==(_e=null!=Y?Y:F.v.Promise)&&void 0!==_e?_e:Promise}},5557:(Ht,Fe,c)=>{"use strict";c.d(Fe,{t:()=>k});var e=c(8023),s=c(2069);class k extends e.x{constructor(F=1/0,ne=1/0,W=s.l){super(),this._bufferSize=F,this._windowTime=ne,this._timestampProvider=W,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=ne===1/0,this._bufferSize=Math.max(1,F),this._windowTime=Math.max(1,ne)}next(F){const{isStopped:ne,_buffer:W,_infiniteTimeWindow:te,_timestampProvider:pe,_windowTime:ce}=this;ne||(W.push(F),!te&&W.push(pe.now()+ce)),this._trimBuffer(),super.next(F)}_subscribe(F){this._throwIfClosed(),this._trimBuffer();const ne=this._innerSubscribe(F),{_infiniteTimeWindow:W,_buffer:te}=this,pe=te.slice();for(let ce=0;ce{"use strict";c.d(Fe,{x:()=>W});var e=c(7241),s=c(4813);const z=(0,c(5776).d)(pe=>function(){pe(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var F=c(8308),ne=c(1519);let W=(()=>{class pe extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(de){const Y=new te(this,this);return Y.operator=de,Y}_throwIfClosed(){if(this.closed)throw new z}next(de){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Y of this.currentObservers)Y.next(de)}})}error(de){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=de;const{observers:Y}=this;for(;Y.length;)Y.shift().error(de)}})}complete(){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:de}=this;for(;de.length;)de.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var de;return(null===(de=this.observers)||void 0===de?void 0:de.length)>0}_trySubscribe(de){return this._throwIfClosed(),super._trySubscribe(de)}_subscribe(de){return this._throwIfClosed(),this._checkFinalizedStatuses(de),this._innerSubscribe(de)}_innerSubscribe(de){const{hasError:Y,isStopped:_e,observers:ue}=this;return Y||_e?s.Lc:(this.currentObservers=null,ue.push(de),new s.w0(()=>{this.currentObservers=null,(0,F.P)(ue,de)}))}_checkFinalizedStatuses(de){const{hasError:Y,thrownError:_e,isStopped:ue}=this;Y?de.error(_e):ue&&de.complete()}asObservable(){const de=new e.y;return de.source=this,de}}return pe.create=(ce,de)=>new te(ce,de),pe})();class te extends W{constructor(ce,de){super(),this.destination=ce,this.source=de}next(ce){var de,Y;null===(Y=null===(de=this.destination)||void 0===de?void 0:de.next)||void 0===Y||Y.call(de,ce)}error(ce){var de,Y;null===(Y=null===(de=this.destination)||void 0===de?void 0:de.error)||void 0===Y||Y.call(de,ce)}complete(){var ce,de;null===(de=null===(ce=this.destination)||void 0===ce?void 0:ce.complete)||void 0===de||de.call(ce)}_subscribe(ce){var de,Y;return null!==(Y=null===(de=this.source)||void 0===de?void 0:de.subscribe(ce))&&void 0!==Y?Y:s.Lc}}},4021:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Hp:()=>Ue,Lv:()=>Y});var e=c(5975),s=c(4813),k=c(2046),z=c(4922),F=c(408);const ne=pe("C",void 0,void 0);function pe(se,ee,$e){return{kind:se,value:ee,error:$e}}var ce=c(4146),de=c(1519);class Y extends s.w0{constructor(ee){super(),this.isStopped=!1,ee?(this.destination=ee,(0,s.Nn)(ee)&&ee.add(this)):this.destination=je}static create(ee,$e,Oe){return new Ue(ee,$e,Oe)}next(ee){this.isStopped?Ve(function te(se){return pe("N",se,void 0)}(ee),this):this._next(ee)}error(ee){this.isStopped?Ve(function W(se){return pe("E",void 0,se)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?Ve(ne,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ee){this.destination.next(ee)}_error(ee){try{this.destination.error(ee)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const _e=Function.prototype.bind;function ue(se,ee){return _e.call(se,ee)}class ie{constructor(ee){this.partialObserver=ee}next(ee){const{partialObserver:$e}=this;if($e.next)try{$e.next(ee)}catch(Oe){ve(Oe)}}error(ee){const{partialObserver:$e}=this;if($e.error)try{$e.error(ee)}catch(Oe){ve(Oe)}else ve(ee)}complete(){const{partialObserver:ee}=this;if(ee.complete)try{ee.complete()}catch($e){ve($e)}}}class Ue extends Y{constructor(ee,$e,Oe){let _t;if(super(),(0,e.m)(ee)||!ee)_t={next:null!=ee?ee:void 0,error:null!=$e?$e:void 0,complete:null!=Oe?Oe:void 0};else{let vt;this&&k.v.useDeprecatedNextContext?(vt=Object.create(ee),vt.unsubscribe=()=>this.unsubscribe(),_t={next:ee.next&&ue(ee.next,vt),error:ee.error&&ue(ee.error,vt),complete:ee.complete&&ue(ee.complete,vt)}):_t=ee}this.destination=new ie(_t)}}function ve(se){k.v.useDeprecatedSynchronousErrorHandling?(0,de.O)(se):(0,z.h)(se)}function Ve(se,ee){const{onStoppedNotification:$e}=k.v;$e&&ce.z.setTimeout(()=>$e(se,ee))}const je={closed:!0,next:F.Z,error:function Ae(se){throw se},complete:F.Z}},4813:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Lc:()=>ne,w0:()=>F,Nn:()=>W});var e=c(5975);const k=(0,c(5776).d)(pe=>function(de){pe(this),this.message=de?`${de.length} errors occurred during unsubscription:\n${de.map((Y,_e)=>`${_e+1}) ${Y.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=de});var z=c(8308);class F{constructor(ce){this.initialTeardown=ce,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ce;if(!this.closed){this.closed=!0;const{_parentage:de}=this;if(de)if(this._parentage=null,Array.isArray(de))for(const ue of de)ue.remove(this);else de.remove(this);const{initialTeardown:Y}=this;if((0,e.m)(Y))try{Y()}catch(ue){ce=ue instanceof k?ue.errors:[ue]}const{_finalizers:_e}=this;if(_e){this._finalizers=null;for(const ue of _e)try{te(ue)}catch(ie){ce=null!=ce?ce:[],ie instanceof k?ce=[...ce,...ie.errors]:ce.push(ie)}}if(ce)throw new k(ce)}}add(ce){var de;if(ce&&ce!==this)if(this.closed)te(ce);else{if(ce instanceof F){if(ce.closed||ce._hasParent(this))return;ce._addParent(this)}(this._finalizers=null!==(de=this._finalizers)&&void 0!==de?de:[]).push(ce)}}_hasParent(ce){const{_parentage:de}=this;return de===ce||Array.isArray(de)&&de.includes(ce)}_addParent(ce){const{_parentage:de}=this;this._parentage=Array.isArray(de)?(de.push(ce),de):de?[de,ce]:ce}_removeParent(ce){const{_parentage:de}=this;de===ce?this._parentage=null:Array.isArray(de)&&(0,z.P)(de,ce)}remove(ce){const{_finalizers:de}=this;de&&(0,z.P)(de,ce),ce instanceof F&&ce._removeParent(this)}}F.EMPTY=(()=>{const pe=new F;return pe.closed=!0,pe})();const ne=F.EMPTY;function W(pe){return pe instanceof F||pe&&"closed"in pe&&(0,e.m)(pe.remove)&&(0,e.m)(pe.add)&&(0,e.m)(pe.unsubscribe)}function te(pe){(0,e.m)(pe)?pe():pe.unsubscribe()}},2046:(Ht,Fe,c)=>{"use strict";c.d(Fe,{v:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5696:(Ht,Fe,c)=>{"use strict";c.d(Fe,{a:()=>ce});var e=c(7241),s=c(447),k=c(985),z=c(8330),F=c(2692),ne=c(6651),W=c(9299),te=c(8499),pe=c(6903);function ce(..._e){const ue=(0,ne.yG)(_e),ie=(0,ne.jO)(_e),{args:Ue,keys:ve}=(0,s.D)(_e);if(0===Ue.length)return(0,k.D)([],ue);const Ae=new e.y(function de(_e,ue,ie=z.y){return Ue=>{Y(ue,()=>{const{length:ve}=_e,Ae=new Array(ve);let Ve=ve,je=ve;for(let se=0;se{const ee=(0,k.D)(_e[se],ue);let $e=!1;ee.subscribe((0,te.x)(Ue,Oe=>{Ae[se]=Oe,$e||($e=!0,je--),je||Ue.next(ie(Ae.slice()))},()=>{--Ve||Ue.complete()}))},Ue)},Ue)}}(Ue,ue,ve?Ve=>(0,W.n)(ve,Ve):z.y));return ie?Ae.pipe((0,F.Z)(ie)):Ae}function Y(_e,ue,ie){_e?(0,pe.f)(ie,_e,ue):ue()}},3729:(Ht,Fe,c)=>{"use strict";c.d(Fe,{z:()=>F});var e=c(549),k=c(6651),z=c(985);function F(...ne){return function s(){return(0,e.J)(1)}()((0,z.D)(ne,(0,k.yG)(ne)))}},3072:(Ht,Fe,c)=>{"use strict";c.d(Fe,{P:()=>k});var e=c(7241),s=c(5955);function k(z){return new e.y(F=>{(0,s.Xf)(z()).subscribe(F)})}},9018:(Ht,Fe,c)=>{"use strict";c.d(Fe,{E:()=>s});const s=new(c(7241).y)(F=>F.complete())},985:(Ht,Fe,c)=>{"use strict";c.d(Fe,{D:()=>Oe});var e=c(5955),s=c(6903),k=c(2085),z=c(8499);function F(_t,vt=0){return(0,k.e)((tt,we)=>{tt.subscribe((0,z.x)(we,mt=>(0,s.f)(we,_t,()=>we.next(mt),vt),()=>(0,s.f)(we,_t,()=>we.complete(),vt),mt=>(0,s.f)(we,_t,()=>we.error(mt),vt)))})}function ne(_t,vt=0){return(0,k.e)((tt,we)=>{we.add(_t.schedule(()=>tt.subscribe(we),vt))})}var pe=c(7241),de=c(4565),Y=c(5975);function ue(_t,vt){if(!_t)throw new Error("Iterable cannot be null");return new pe.y(tt=>{(0,s.f)(tt,vt,()=>{const we=_t[Symbol.asyncIterator]();(0,s.f)(tt,vt,()=>{we.next().then(mt=>{mt.done?tt.complete():tt.next(mt.value)})},0,!0)})})}var ie=c(2021),Ue=c(9450),ve=c(6602),Ae=c(6920),Ve=c(2604),je=c(5626),se=c(1559);function Oe(_t,vt){return vt?function $e(_t,vt){if(null!=_t){if((0,ie.c)(_t))return function W(_t,vt){return(0,e.Xf)(_t).pipe(ne(vt),F(vt))}(_t,vt);if((0,ve.z)(_t))return function ce(_t,vt){return new pe.y(tt=>{let we=0;return vt.schedule(function(){we===_t.length?tt.complete():(tt.next(_t[we++]),tt.closed||this.schedule())})})}(_t,vt);if((0,Ue.t)(_t))return function te(_t,vt){return(0,e.Xf)(_t).pipe(ne(vt),F(vt))}(_t,vt);if((0,Ve.D)(_t))return ue(_t,vt);if((0,Ae.T)(_t))return function _e(_t,vt){return new pe.y(tt=>{let we;return(0,s.f)(tt,vt,()=>{we=_t[de.h](),(0,s.f)(tt,vt,()=>{let mt,At;try{({value:mt,done:At}=we.next())}catch(Qe){return void tt.error(Qe)}At?tt.complete():tt.next(mt)},0,!0)}),()=>(0,Y.m)(null==we?void 0:we.return)&&we.return()})}(_t,vt);if((0,se.L)(_t))return function ee(_t,vt){return ue((0,se.Q)(_t),vt)}(_t,vt)}throw(0,je.z)(_t)}(_t,vt):(0,e.Xf)(_t)}},4581:(Ht,Fe,c)=>{"use strict";c.d(Fe,{R:()=>ce});var e=c(5955),s=c(7241),k=c(4882),z=c(6602),F=c(5975),ne=c(2692);const W=["addListener","removeListener"],te=["addEventListener","removeEventListener"],pe=["on","off"];function ce(ie,Ue,ve,Ae){if((0,F.m)(ve)&&(Ae=ve,ve=void 0),Ae)return ce(ie,Ue,ve).pipe((0,ne.Z)(Ae));const[Ve,je]=function ue(ie){return(0,F.m)(ie.addEventListener)&&(0,F.m)(ie.removeEventListener)}(ie)?te.map(se=>ee=>ie[se](Ue,ee,ve)):function Y(ie){return(0,F.m)(ie.addListener)&&(0,F.m)(ie.removeListener)}(ie)?W.map(de(ie,Ue)):function _e(ie){return(0,F.m)(ie.on)&&(0,F.m)(ie.off)}(ie)?pe.map(de(ie,Ue)):[];if(!Ve&&(0,z.z)(ie))return(0,k.z)(se=>ce(se,Ue,ve))((0,e.Xf)(ie));if(!Ve)throw new TypeError("Invalid event target");return new s.y(se=>{const ee=(...$e)=>se.next(1<$e.length?$e:$e[0]);return Ve(ee),()=>je(ee)})}function de(ie,Ue){return ve=>Ae=>ie[ve](Ue,Ae)}},5955:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Xf:()=>_e});var e=c(4911),s=c(6602),k=c(9450),z=c(7241),F=c(2021),ne=c(2604),W=c(5626),te=c(6920),pe=c(1559),ce=c(5975),de=c(4922),Y=c(3122);function _e(se){if(se instanceof z.y)return se;if(null!=se){if((0,F.c)(se))return function ue(se){return new z.y(ee=>{const $e=se[Y.L]();if((0,ce.m)($e.subscribe))return $e.subscribe(ee);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(se);if((0,s.z)(se))return function ie(se){return new z.y(ee=>{for(let $e=0;$e{se.then($e=>{ee.closed||(ee.next($e),ee.complete())},$e=>ee.error($e)).then(null,de.h)})}(se);if((0,ne.D)(se))return Ae(se);if((0,te.T)(se))return function ve(se){return new z.y(ee=>{for(const $e of se)if(ee.next($e),ee.closed)return;ee.complete()})}(se);if((0,pe.L)(se))return function Ve(se){return Ae((0,pe.Q)(se))}(se)}throw(0,W.z)(se)}function Ae(se){return new z.y(ee=>{(function je(se,ee){var $e,Oe,_t,vt;return(0,e.mG)(this,void 0,void 0,function*(){try{for($e=(0,e.KL)(se);!(Oe=yield $e.next()).done;)if(ee.next(Oe.value),ee.closed)return}catch(tt){_t={error:tt}}finally{try{Oe&&!Oe.done&&(vt=$e.return)&&(yield vt.call($e))}finally{if(_t)throw _t.error}}ee.complete()})})(se,ee).catch($e=>ee.error($e))})}},1860:(Ht,Fe,c)=>{"use strict";c.d(Fe,{T:()=>ne});var e=c(549),s=c(5955),k=c(9018),z=c(6651),F=c(985);function ne(...W){const te=(0,z.yG)(W),pe=(0,z._6)(W,1/0),ce=W;return ce.length?1===ce.length?(0,s.Xf)(ce[0]):(0,e.J)(pe)((0,F.D)(ce,te)):k.E}},4945:(Ht,Fe,c)=>{"use strict";c.d(Fe,{of:()=>k});var e=c(6651),s=c(985);function k(...z){const F=(0,e.yG)(z);return(0,s.D)(z,F)}},3787:(Ht,Fe,c)=>{"use strict";c.d(Fe,{_:()=>k});var e=c(7241),s=c(5975);function k(z,F){const ne=(0,s.m)(z)?z:()=>z,W=te=>te.error(ne());return new e.y(F?te=>F.schedule(W,0,te):W)}},1995:(Ht,Fe,c)=>{"use strict";c.d(Fe,{H:()=>F});var e=c(7241),s=c(6523),k=c(1830);function F(ne=0,W,te=s.P){let pe=-1;return null!=W&&((0,k.K)(W)?te=W:pe=W),new e.y(ce=>{let de=function z(ne){return ne instanceof Date&&!isNaN(ne)}(ne)?+ne-te.now():ne;de<0&&(de=0);let Y=0;return te.schedule(function(){ce.closed||(ce.next(Y++),0<=pe?this.schedule(void 0,pe):ce.complete())},de)})}},8499:(Ht,Fe,c)=>{"use strict";c.d(Fe,{x:()=>s});var e=c(4021);function s(z,F,ne,W,te){return new k(z,F,ne,W,te)}class k extends e.Lv{constructor(F,ne,W,te,pe,ce){super(F),this.onFinalize=pe,this.shouldUnsubscribe=ce,this._next=ne?function(de){try{ne(de)}catch(Y){F.error(Y)}}:super._next,this._error=te?function(de){try{te(de)}catch(Y){F.error(Y)}finally{this.unsubscribe()}}:super._error,this._complete=W?function(){try{W()}catch(de){F.error(de)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var F;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ne}=this;super.unsubscribe(),!ne&&(null===(F=this.onFinalize)||void 0===F||F.call(this))}}}},3568:(Ht,Fe,c)=>{"use strict";c.d(Fe,{K:()=>z});var e=c(5955),s=c(8499),k=c(2085);function z(F){return(0,k.e)((ne,W)=>{let ce,te=null,pe=!1;te=ne.subscribe((0,s.x)(W,void 0,void 0,de=>{ce=(0,e.Xf)(F(de,z(F)(ne))),te?(te.unsubscribe(),te=null,ce.subscribe(W)):pe=!0})),pe&&(te.unsubscribe(),te=null,ce.subscribe(W))})}},4551:(Ht,Fe,c)=>{"use strict";c.d(Fe,{b:()=>k});var e=c(4882),s=c(5975);function k(z,F){return(0,s.m)(F)?(0,e.z)(z,F,1):(0,e.z)(z,1)}},3151:(Ht,Fe,c)=>{"use strict";c.d(Fe,{b:()=>z});var e=c(6523),s=c(2085),k=c(8499);function z(F,ne=e.z){return(0,s.e)((W,te)=>{let pe=null,ce=null,de=null;const Y=()=>{if(pe){pe.unsubscribe(),pe=null;const ue=ce;ce=null,te.next(ue)}};function _e(){const ue=de+F,ie=ne.now();if(ie{ce=ue,de=ne.now(),pe||(pe=ne.schedule(_e,F),te.add(pe))},()=>{Y(),te.complete()},void 0,()=>{ce=pe=null}))})}},2686:(Ht,Fe,c)=>{"use strict";c.d(Fe,{d:()=>k});var e=c(2085),s=c(8499);function k(z){return(0,e.e)((F,ne)=>{let W=!1;F.subscribe((0,s.x)(ne,te=>{W=!0,ne.next(te)},()=>{W||ne.next(z),ne.complete()}))})}},3517:(Ht,Fe,c)=>{"use strict";c.d(Fe,{g:()=>ce});var e=c(6523),s=c(3729),k=c(5598),z=c(9087),F=c(116),ne=c(4882),W=c(5955);function te(de,Y){return Y?_e=>(0,s.z)(Y.pipe((0,k.q)(1),(0,z.l)()),_e.pipe(te(de))):(0,ne.z)((_e,ue)=>(0,W.Xf)(de(_e,ue)).pipe((0,k.q)(1),(0,F.h)(_e)))}var pe=c(1995);function ce(de,Y=e.z){const _e=(0,pe.H)(de,Y);return te(()=>_e)}},2147:(Ht,Fe,c)=>{"use strict";c.d(Fe,{x:()=>z});var e=c(8330),s=c(2085),k=c(8499);function z(ne,W=e.y){return ne=null!=ne?ne:F,(0,s.e)((te,pe)=>{let ce,de=!0;te.subscribe((0,k.x)(pe,Y=>{const _e=W(Y);(de||!ne(ce,_e))&&(de=!1,ce=_e,pe.next(Y))}))})}function F(ne,W){return ne===W}},4970:(Ht,Fe,c)=>{"use strict";c.d(Fe,{h:()=>k});var e=c(2085),s=c(8499);function k(z,F){return(0,e.e)((ne,W)=>{let te=0;ne.subscribe((0,s.x)(W,pe=>z.call(F,pe,te++)&&W.next(pe)))})}},5490:(Ht,Fe,c)=>{"use strict";c.d(Fe,{x:()=>s});var e=c(2085);function s(k){return(0,e.e)((z,F)=>{try{z.subscribe(F)}finally{F.add(k)}})}},9676:(Ht,Fe,c)=>{"use strict";c.d(Fe,{P:()=>W});var e=c(7472),s=c(4970),k=c(5598),z=c(2686),F=c(8623),ne=c(8330);function W(te,pe){const ce=arguments.length>=2;return de=>de.pipe(te?(0,s.h)((Y,_e)=>te(Y,_e,de)):ne.y,(0,k.q)(1),ce?(0,z.d)(pe):(0,F.T)(()=>new e.K))}},9087:(Ht,Fe,c)=>{"use strict";c.d(Fe,{l:()=>z});var e=c(2085),s=c(8499),k=c(408);function z(){return(0,e.e)((F,ne)=>{F.subscribe((0,s.x)(ne,k.Z))})}},7969:(Ht,Fe,c)=>{"use strict";c.d(Fe,{U:()=>k});var e=c(2085),s=c(8499);function k(z,F){return(0,e.e)((ne,W)=>{let te=0;ne.subscribe((0,s.x)(W,pe=>{W.next(z.call(F,pe,te++))}))})}},116:(Ht,Fe,c)=>{"use strict";c.d(Fe,{h:()=>s});var e=c(7969);function s(k){return(0,e.U)(()=>k)}},549:(Ht,Fe,c)=>{"use strict";c.d(Fe,{J:()=>k});var e=c(4882),s=c(8330);function k(z=1/0){return(0,e.z)(s.y,z)}},4882:(Ht,Fe,c)=>{"use strict";c.d(Fe,{z:()=>te});var e=c(7969),s=c(5955),k=c(2085),z=c(6903),F=c(8499),W=c(5975);function te(pe,ce,de=1/0){return(0,W.m)(ce)?te((Y,_e)=>(0,e.U)((ue,ie)=>ce(Y,ue,_e,ie))((0,s.Xf)(pe(Y,_e))),de):("number"==typeof ce&&(de=ce),(0,k.e)((Y,_e)=>function ne(pe,ce,de,Y,_e,ue,ie,Ue){const ve=[];let Ae=0,Ve=0,je=!1;const se=()=>{je&&!ve.length&&!Ae&&ce.complete()},ee=Oe=>Ae{ue&&ce.next(Oe),Ae++;let _t=!1;(0,s.Xf)(de(Oe,Ve++)).subscribe((0,F.x)(ce,vt=>{null==_e||_e(vt),ue?ee(vt):ce.next(vt)},()=>{_t=!0},void 0,()=>{if(_t)try{for(Ae--;ve.length&&Ae$e(vt)):$e(vt)}se()}catch(vt){ce.error(vt)}}))};return pe.subscribe((0,F.x)(ce,ee,()=>{je=!0,se()})),()=>{null==Ue||Ue()}}(Y,_e,pe,de)))}},9034:(Ht,Fe,c)=>{"use strict";c.d(Fe,{G:()=>k});var e=c(2085),s=c(8499);function k(){return(0,e.e)((z,F)=>{let ne,W=!1;z.subscribe((0,s.x)(F,te=>{const pe=ne;ne=te,W&&F.next([pe,te]),W=!0}))})}},853:(Ht,Fe,c)=>{"use strict";c.d(Fe,{r:()=>ne});var e=c(9018),s=c(2085),k=c(8499),z=c(5955),F=c(1995);function ne(W){let pe,te=1/0;return null!=W&&("object"==typeof W?({count:te=1/0,delay:pe}=W):te=W),te<=0?()=>e.E:(0,s.e)((ce,de)=>{let _e,Y=0;const ue=()=>{if(null==_e||_e.unsubscribe(),_e=null,null!=pe){const Ue="number"==typeof pe?(0,F.H)(pe):(0,z.Xf)(pe(Y)),ve=(0,k.x)(de,()=>{ve.unsubscribe(),ie()});Ue.subscribe(ve)}else ie()},ie=()=>{let Ue=!1;_e=ce.subscribe((0,k.x)(de,void 0,()=>{++Y{"use strict";c.d(Fe,{a:()=>F});var e=c(5955),s=c(8023),k=c(2085),z=c(8499);function F(ne){return(0,k.e)((W,te)=>{let pe,de,ce=!1,Y=!1,_e=!1;const ue=()=>_e&&Y&&(te.complete(),!0),Ue=()=>{_e=!1,pe=W.subscribe((0,z.x)(te,void 0,()=>{_e=!0,!ue()&&(de||(de=new s.x,(0,e.Xf)(ne(de)).subscribe((0,z.x)(te,()=>{pe?Ue():ce=!0},()=>{Y=!0,ue()}))),de).next()})),ce&&(pe.unsubscribe(),pe=null,ce=!1,Ue())};Ue()})}},815:(Ht,Fe,c)=>{"use strict";c.d(Fe,{B:()=>F});var e=c(5955),s=c(8023),k=c(4021),z=c(2085);function F(W={}){const{connector:te=(()=>new s.x),resetOnError:pe=!0,resetOnComplete:ce=!0,resetOnRefCountZero:de=!0}=W;return Y=>{let _e,ue,ie,Ue=0,ve=!1,Ae=!1;const Ve=()=>{null==ue||ue.unsubscribe(),ue=void 0},je=()=>{Ve(),_e=ie=void 0,ve=Ae=!1},se=()=>{const ee=_e;je(),null==ee||ee.unsubscribe()};return(0,z.e)((ee,$e)=>{Ue++,!Ae&&!ve&&Ve();const Oe=ie=null!=ie?ie:te();$e.add(()=>{Ue--,0===Ue&&!Ae&&!ve&&(ue=ne(se,de))}),Oe.subscribe($e),!_e&&Ue>0&&(_e=new k.Hp({next:_t=>Oe.next(_t),error:_t=>{Ae=!0,Ve(),ue=ne(je,pe,_t),Oe.error(_t)},complete:()=>{ve=!0,Ve(),ue=ne(je,ce),Oe.complete()}}),(0,e.Xf)(ee).subscribe(_e))})(Y)}}function ne(W,te,...pe){if(!0===te)return void W();if(!1===te)return;const ce=new k.Hp({next:()=>{ce.unsubscribe(),W()}});return(0,e.Xf)(te(...pe)).subscribe(ce)}},6466:(Ht,Fe,c)=>{"use strict";c.d(Fe,{d:()=>k});var e=c(5557),s=c(815);function k(z,F,ne){let W,te=!1;return z&&"object"==typeof z?({bufferSize:W=1/0,windowTime:F=1/0,refCount:te=!1,scheduler:ne}=z):W=null!=z?z:1/0,(0,s.B)({connector:()=>new e.t(W,F,ne),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:te})}},1588:(Ht,Fe,c)=>{"use strict";c.d(Fe,{T:()=>s});var e=c(4970);function s(k){return(0,e.h)((z,F)=>k<=F)}},3674:(Ht,Fe,c)=>{"use strict";c.d(Fe,{O:()=>z});var e=c(3729),s=c(6651),k=c(2085);function z(...F){const ne=(0,s.yG)(F);return(0,k.e)((W,te)=>{(ne?(0,e.z)(F,W,ne):(0,e.z)(F,W)).subscribe(te)})}},1528:(Ht,Fe,c)=>{"use strict";c.d(Fe,{w:()=>z});var e=c(5955),s=c(2085),k=c(8499);function z(F,ne){return(0,s.e)((W,te)=>{let pe=null,ce=0,de=!1;const Y=()=>de&&!pe&&te.complete();W.subscribe((0,k.x)(te,_e=>{null==pe||pe.unsubscribe();let ue=0;const ie=ce++;(0,e.Xf)(F(_e,ie)).subscribe(pe=(0,k.x)(te,Ue=>te.next(ne?ne(_e,Ue,ie,ue++):Ue),()=>{pe=null,Y()}))},()=>{de=!0,Y()}))})}},5598:(Ht,Fe,c)=>{"use strict";c.d(Fe,{q:()=>z});var e=c(9018),s=c(2085),k=c(8499);function z(F){return F<=0?()=>e.E:(0,s.e)((ne,W)=>{let te=0;ne.subscribe((0,k.x)(W,pe=>{++te<=F&&(W.next(pe),F<=te&&W.complete())}))})}},3528:(Ht,Fe,c)=>{"use strict";c.d(Fe,{R:()=>F});var e=c(2085),s=c(8499),k=c(5955),z=c(408);function F(ne){return(0,e.e)((W,te)=>{(0,k.Xf)(ne).subscribe((0,s.x)(te,()=>te.complete(),z.Z)),!te.closed&&W.subscribe(te)})}},5857:(Ht,Fe,c)=>{"use strict";c.d(Fe,{o:()=>k});var e=c(2085),s=c(8499);function k(z,F=!1){return(0,e.e)((ne,W)=>{let te=0;ne.subscribe((0,s.x)(W,pe=>{const ce=z(pe,te++);(ce||F)&&W.next(pe),!ce&&W.complete()}))})}},8168:(Ht,Fe,c)=>{"use strict";c.d(Fe,{b:()=>F});var e=c(5975),s=c(2085),k=c(8499),z=c(8330);function F(ne,W,te){const pe=(0,e.m)(ne)||W||te?{next:ne,error:W,complete:te}:ne;return pe?(0,s.e)((ce,de)=>{var Y;null===(Y=pe.subscribe)||void 0===Y||Y.call(pe);let _e=!0;ce.subscribe((0,k.x)(de,ue=>{var ie;null===(ie=pe.next)||void 0===ie||ie.call(pe,ue),de.next(ue)},()=>{var ue;_e=!1,null===(ue=pe.complete)||void 0===ue||ue.call(pe),de.complete()},ue=>{var ie;_e=!1,null===(ie=pe.error)||void 0===ie||ie.call(pe,ue),de.error(ue)},()=>{var ue,ie;_e&&(null===(ue=pe.unsubscribe)||void 0===ue||ue.call(pe)),null===(ie=pe.finalize)||void 0===ie||ie.call(pe)}))}):z.y}},6148:(Ht,Fe,c)=>{"use strict";c.d(Fe,{p:()=>W});var e=c(6523),s=c(2085),k=c(8499),z=c(5955),ne=c(1995);function W(te,pe=e.z,ce){const de=(0,ne.H)(te,pe);return function F(te,pe){return(0,s.e)((ce,de)=>{const{leading:Y=!0,trailing:_e=!1}=null!=pe?pe:{};let ue=!1,ie=null,Ue=null,ve=!1;const Ae=()=>{null==Ue||Ue.unsubscribe(),Ue=null,_e&&(se(),ve&&de.complete())},Ve=()=>{Ue=null,ve&&de.complete()},je=ee=>Ue=(0,z.Xf)(te(ee)).subscribe((0,k.x)(de,Ae,Ve)),se=()=>{if(ue){ue=!1;const ee=ie;ie=null,de.next(ee),!ve&&je(ee)}};ce.subscribe((0,k.x)(de,ee=>{ue=!0,ie=ee,(!Ue||Ue.closed)&&(Y?se():je(ee))},()=>{ve=!0,(!(_e&&ue&&Ue)||Ue.closed)&&de.complete()}))})}(()=>de,ce)}},8623:(Ht,Fe,c)=>{"use strict";c.d(Fe,{T:()=>z});var e=c(7472),s=c(2085),k=c(8499);function z(ne=F){return(0,s.e)((W,te)=>{let pe=!1;W.subscribe((0,k.x)(te,ce=>{pe=!0,te.next(ce)},()=>pe?te.complete():te.error(ne())))})}function F(){return new e.K}},7470:(Ht,Fe,c)=>{"use strict";c.d(Fe,{M:()=>W});var e=c(2085),s=c(8499),k=c(5955),z=c(8330),F=c(408),ne=c(6651);function W(...te){const pe=(0,ne.jO)(te);return(0,e.e)((ce,de)=>{const Y=te.length,_e=new Array(Y);let ue=te.map(()=>!1),ie=!1;for(let Ue=0;Ue{_e[Ue]=ve,!ie&&!ue[Ue]&&(ue[Ue]=!0,(ie=ue.every(z.y))&&(ue=null))},F.Z));ce.subscribe((0,s.x)(de,Ue=>{if(ie){const ve=[Ue,..._e];de.next(pe?pe(...ve):ve)}}))})}},3466:(Ht,Fe,c)=>{"use strict";c.d(Fe,{o:()=>F});var e=c(4813);class s extends e.w0{constructor(W,te){super()}schedule(W,te=0){return this}}const k={setInterval(ne,W,...te){const{delegate:pe}=k;return null!=pe&&pe.setInterval?pe.setInterval(ne,W,...te):setInterval(ne,W,...te)},clearInterval(ne){const{delegate:W}=k;return((null==W?void 0:W.clearInterval)||clearInterval)(ne)},delegate:void 0};var z=c(8308);class F extends s{constructor(W,te){super(W,te),this.scheduler=W,this.work=te,this.pending=!1}schedule(W,te=0){var pe;if(this.closed)return this;this.state=W;const ce=this.id,de=this.scheduler;return null!=ce&&(this.id=this.recycleAsyncId(de,ce,te)),this.pending=!0,this.delay=te,this.id=null!==(pe=this.id)&&void 0!==pe?pe:this.requestAsyncId(de,this.id,te),this}requestAsyncId(W,te,pe=0){return k.setInterval(W.flush.bind(W,this),pe)}recycleAsyncId(W,te,pe=0){if(null!=pe&&this.delay===pe&&!1===this.pending)return te;null!=te&&k.clearInterval(te)}execute(W,te){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const pe=this._execute(W,te);if(pe)return pe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(W,te){let ce,pe=!1;try{this.work(W)}catch(de){pe=!0,ce=de||new Error("Scheduled action threw falsy error")}if(pe)return this.unsubscribe(),ce}unsubscribe(){if(!this.closed){const{id:W,scheduler:te}=this,{actions:pe}=te;this.work=this.state=this.scheduler=null,this.pending=!1,(0,z.P)(pe,this),null!=W&&(this.id=this.recycleAsyncId(te,W,null)),this.delay=null,super.unsubscribe()}}}},474:(Ht,Fe,c)=>{"use strict";c.d(Fe,{v:()=>k});var e=c(2069);class s{constructor(F,ne=s.now){this.schedulerActionCtor=F,this.now=ne}schedule(F,ne=0,W){return new this.schedulerActionCtor(this,F).schedule(W,ne)}}s.now=e.l.now;class k extends s{constructor(F,ne=s.now){super(F,ne),this.actions=[],this._active=!1}flush(F){const{actions:ne}=this;if(this._active)return void ne.push(F);let W;this._active=!0;do{if(W=F.execute(F.state,F.delay))break}while(F=ne.shift());if(this._active=!1,W){for(;F=ne.shift();)F.unsubscribe();throw W}}}},6523:(Ht,Fe,c)=>{"use strict";c.d(Fe,{P:()=>z,z:()=>k});var e=c(3466);const k=new(c(474).v)(e.o),z=k},2069:(Ht,Fe,c)=>{"use strict";c.d(Fe,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},4146:(Ht,Fe,c)=>{"use strict";c.d(Fe,{z:()=>e});const e={setTimeout(s,k,...z){const{delegate:F}=e;return null!=F&&F.setTimeout?F.setTimeout(s,k,...z):setTimeout(s,k,...z)},clearTimeout(s){const{delegate:k}=e;return((null==k?void 0:k.clearTimeout)||clearTimeout)(s)},delegate:void 0}},4565:(Ht,Fe,c)=>{"use strict";c.d(Fe,{h:()=>s});const s=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3122:(Ht,Fe,c)=>{"use strict";c.d(Fe,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},7472:(Ht,Fe,c)=>{"use strict";c.d(Fe,{K:()=>s});const s=(0,c(5776).d)(k=>function(){k(this),this.name="EmptyError",this.message="no elements in sequence"})},6651:(Ht,Fe,c)=>{"use strict";c.d(Fe,{_6:()=>ne,jO:()=>z,yG:()=>F});var e=c(5975),s=c(1830);function k(W){return W[W.length-1]}function z(W){return(0,e.m)(k(W))?W.pop():void 0}function F(W){return(0,s.K)(k(W))?W.pop():void 0}function ne(W,te){return"number"==typeof k(W)?W.pop():te}},447:(Ht,Fe,c)=>{"use strict";c.d(Fe,{D:()=>F});const{isArray:e}=Array,{getPrototypeOf:s,prototype:k,keys:z}=Object;function F(W){if(1===W.length){const te=W[0];if(e(te))return{args:te,keys:null};if(function ne(W){return W&&"object"==typeof W&&s(W)===k}(te)){const pe=z(te);return{args:pe.map(ce=>te[ce]),keys:pe}}}return{args:W,keys:null}}},697:(Ht,Fe,c)=>{"use strict";c.d(Fe,{k:()=>s});const{isArray:e}=Array;function s(k){return 1===k.length&&e(k[0])?k[0]:k}},8308:(Ht,Fe,c)=>{"use strict";function e(s,k){if(s){const z=s.indexOf(k);0<=z&&s.splice(z,1)}}c.d(Fe,{P:()=>e})},5776:(Ht,Fe,c)=>{"use strict";function e(s){const z=s(F=>{Error.call(F),F.stack=(new Error).stack});return z.prototype=Object.create(Error.prototype),z.prototype.constructor=z,z}c.d(Fe,{d:()=>e})},9299:(Ht,Fe,c)=>{"use strict";function e(s,k){return s.reduce((z,F,ne)=>(z[F]=k[ne],z),{})}c.d(Fe,{n:()=>e})},1519:(Ht,Fe,c)=>{"use strict";c.d(Fe,{O:()=>z,x:()=>k});var e=c(2046);let s=null;function k(F){if(e.v.useDeprecatedSynchronousErrorHandling){const ne=!s;if(ne&&(s={errorThrown:!1,error:null}),F(),ne){const{errorThrown:W,error:te}=s;if(s=null,W)throw te}}else F()}function z(F){e.v.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=F)}},6903:(Ht,Fe,c)=>{"use strict";function e(s,k,z,F=0,ne=!1){const W=k.schedule(function(){z(),ne?s.add(this.schedule(null,F)):this.unsubscribe()},F);if(s.add(W),!ne)return W}c.d(Fe,{f:()=>e})},8330:(Ht,Fe,c)=>{"use strict";function e(s){return s}c.d(Fe,{y:()=>e})},6602:(Ht,Fe,c)=>{"use strict";c.d(Fe,{z:()=>e});const e=s=>s&&"number"==typeof s.length&&"function"!=typeof s},2604:(Ht,Fe,c)=>{"use strict";c.d(Fe,{D:()=>s});var e=c(5975);function s(k){return Symbol.asyncIterator&&(0,e.m)(null==k?void 0:k[Symbol.asyncIterator])}},5975:(Ht,Fe,c)=>{"use strict";function e(s){return"function"==typeof s}c.d(Fe,{m:()=>e})},2021:(Ht,Fe,c)=>{"use strict";c.d(Fe,{c:()=>k});var e=c(3122),s=c(5975);function k(z){return(0,s.m)(z[e.L])}},6920:(Ht,Fe,c)=>{"use strict";c.d(Fe,{T:()=>k});var e=c(4565),s=c(5975);function k(z){return(0,s.m)(null==z?void 0:z[e.h])}},97:(Ht,Fe,c)=>{"use strict";c.d(Fe,{b:()=>k});var e=c(7241),s=c(5975);function k(z){return!!z&&(z instanceof e.y||(0,s.m)(z.lift)&&(0,s.m)(z.subscribe))}},9450:(Ht,Fe,c)=>{"use strict";c.d(Fe,{t:()=>s});var e=c(5975);function s(k){return(0,e.m)(null==k?void 0:k.then)}},1559:(Ht,Fe,c)=>{"use strict";c.d(Fe,{L:()=>z,Q:()=>k});var e=c(4911),s=c(5975);function k(F){return(0,e.FC)(this,arguments,function*(){const W=F.getReader();try{for(;;){const{value:te,done:pe}=yield(0,e.qq)(W.read());if(pe)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(te)}}finally{W.releaseLock()}})}function z(F){return(0,s.m)(null==F?void 0:F.getReader)}},1830:(Ht,Fe,c)=>{"use strict";c.d(Fe,{K:()=>s});var e=c(5975);function s(k){return k&&(0,e.m)(k.schedule)}},2085:(Ht,Fe,c)=>{"use strict";c.d(Fe,{A:()=>s,e:()=>k});var e=c(5975);function s(z){return(0,e.m)(null==z?void 0:z.lift)}function k(z){return F=>{if(s(F))return F.lift(function(ne){try{return z(ne,this)}catch(W){this.error(W)}});throw new TypeError("Unable to lift unknown Observable type")}}},2692:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Z:()=>z});var e=c(7969);const{isArray:s}=Array;function z(F){return(0,e.U)(ne=>function k(F,ne){return s(ne)?F(...ne):F(ne)}(F,ne))}},408:(Ht,Fe,c)=>{"use strict";function e(){}c.d(Fe,{Z:()=>e})},7824:(Ht,Fe,c)=>{"use strict";c.d(Fe,{U:()=>k,z:()=>s});var e=c(8330);function s(...z){return k(z)}function k(z){return 0===z.length?e.y:1===z.length?z[0]:function(ne){return z.reduce((W,te)=>te(W),ne)}}},4922:(Ht,Fe,c)=>{"use strict";c.d(Fe,{h:()=>k});var e=c(2046),s=c(4146);function k(z){s.z.setTimeout(()=>{const{onUnhandledError:F}=e.v;if(!F)throw z;F(z)})}},5626:(Ht,Fe,c)=>{"use strict";function e(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}c.d(Fe,{z:()=>e})},7277:()=>{"use strict";!function(he){const re=he.performance;function Xe(rt){re&&re.mark&&re.mark(rt)}function Le(rt,nt){re&&re.measure&&re.measure(rt,nt)}Xe("Zone");const fe=he.__Zone_symbol_prefix||"__zone_symbol__";function We(rt){return fe+rt}const ye=!0===he[We("forceDuplicateZoneCheck")];if(he.Zone){if(ye||"function"!=typeof he.Zone.__symbol__)throw new Error("Zone already loaded.");return he.Zone}let at=(()=>{class nt{static assertZonePatched(){if(he.Promise!==Mn.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let He=nt.current;for(;He.parent;)He=He.parent;return He}static get current(){return Q.zone}static get currentTask(){return H}static __load_patch(He,Ne,U=!1){if(Mn.hasOwnProperty(He)){if(!U&&ye)throw Error("Already loaded patch: "+He)}else if(!he["__Zone_disable_"+He]){const I="Zone:"+He;Xe(I),Mn[He]=Ne(he,nt,oe),Le(I,I)}}get parent(){return this._parent}get name(){return this._name}constructor(He,Ne){this._parent=He,this._name=Ne?Ne.name||"unnamed":"",this._properties=Ne&&Ne.properties||{},this._zoneDelegate=new qt(this,this._parent&&this._parent._zoneDelegate,Ne)}get(He){const Ne=this.getZoneWith(He);if(Ne)return Ne._properties[He]}getZoneWith(He){let Ne=this;for(;Ne;){if(Ne._properties.hasOwnProperty(He))return Ne;Ne=Ne._parent}return null}fork(He){if(!He)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,He)}wrap(He,Ne){if("function"!=typeof He)throw new Error("Expecting function got: "+He);const U=this._zoneDelegate.intercept(this,He,Ne),I=this;return function(){return I.runGuarded(U,this,arguments,Ne)}}run(He,Ne,U,I){Q={parent:Q,zone:this};try{return this._zoneDelegate.invoke(this,He,Ne,U,I)}finally{Q=Q.parent}}runGuarded(He,Ne=null,U,I){Q={parent:Q,zone:this};try{try{return this._zoneDelegate.invoke(this,He,Ne,U,I)}catch(A){if(this._zoneDelegate.handleError(this,A))throw A}}finally{Q=Q.parent}}runTask(He,Ne,U){if(He.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(He.zone||st).name+"; Execution: "+this.name+")");if(He.state===V&&(He.type===Nn||He.type===Jt))return;const I=He.state!=gt;I&&He._transitionTo(gt,bt),He.runCount++;const A=H;H=He,Q={parent:Q,zone:this};try{He.type==Jt&&He.data&&!He.data.isPeriodic&&(He.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,He,Ne,U)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{He.state!==V&&He.state!==$t&&(He.type==Nn||He.data&&He.data.isPeriodic?I&&He._transitionTo(bt,gt):(He.runCount=0,this._updateTaskCount(He,-1),I&&He._transitionTo(V,gt,V))),Q=Q.parent,H=A}}scheduleTask(He){if(He.zone&&He.zone!==this){let U=this;for(;U;){if(U===He.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${He.zone.name}`);U=U.parent}}He._transitionTo(Pe,V);const Ne=[];He._zoneDelegates=Ne,He._zone=this;try{He=this._zoneDelegate.scheduleTask(this,He)}catch(U){throw He._transitionTo($t,Pe,V),this._zoneDelegate.handleError(this,U),U}return He._zoneDelegates===Ne&&this._updateTaskCount(He,1),He.state==Pe&&He._transitionTo(bt,Pe),He}scheduleMicroTask(He,Ne,U,I){return this.scheduleTask(new Lt(vn,He,Ne,U,I,void 0))}scheduleMacroTask(He,Ne,U,I,A){return this.scheduleTask(new Lt(Jt,He,Ne,U,I,A))}scheduleEventTask(He,Ne,U,I,A){return this.scheduleTask(new Lt(Nn,He,Ne,U,I,A))}cancelTask(He){if(He.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(He.zone||st).name+"; Execution: "+this.name+")");if(He.state===bt||He.state===gt){He._transitionTo(on,bt,gt);try{this._zoneDelegate.cancelTask(this,He)}catch(Ne){throw He._transitionTo($t,on),this._zoneDelegate.handleError(this,Ne),Ne}return this._updateTaskCount(He,-1),He._transitionTo(V,on),He.runCount=0,He}}_updateTaskCount(He,Ne){const U=He._zoneDelegates;-1==Ne&&(He._zoneDelegates=null);for(let I=0;Irt.hasTask(ut,He),onScheduleTask:(rt,nt,ut,He)=>rt.scheduleTask(ut,He),onInvokeTask:(rt,nt,ut,He,Ne,U)=>rt.invokeTask(ut,He,Ne,U),onCancelTask:(rt,nt,ut,He)=>rt.cancelTask(ut,He)};class qt{constructor(nt,ut,He){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=nt,this._parentDelegate=ut,this._forkZS=He&&(He&&He.onFork?He:ut._forkZS),this._forkDlgt=He&&(He.onFork?ut:ut._forkDlgt),this._forkCurrZone=He&&(He.onFork?this.zone:ut._forkCurrZone),this._interceptZS=He&&(He.onIntercept?He:ut._interceptZS),this._interceptDlgt=He&&(He.onIntercept?ut:ut._interceptDlgt),this._interceptCurrZone=He&&(He.onIntercept?this.zone:ut._interceptCurrZone),this._invokeZS=He&&(He.onInvoke?He:ut._invokeZS),this._invokeDlgt=He&&(He.onInvoke?ut:ut._invokeDlgt),this._invokeCurrZone=He&&(He.onInvoke?this.zone:ut._invokeCurrZone),this._handleErrorZS=He&&(He.onHandleError?He:ut._handleErrorZS),this._handleErrorDlgt=He&&(He.onHandleError?ut:ut._handleErrorDlgt),this._handleErrorCurrZone=He&&(He.onHandleError?this.zone:ut._handleErrorCurrZone),this._scheduleTaskZS=He&&(He.onScheduleTask?He:ut._scheduleTaskZS),this._scheduleTaskDlgt=He&&(He.onScheduleTask?ut:ut._scheduleTaskDlgt),this._scheduleTaskCurrZone=He&&(He.onScheduleTask?this.zone:ut._scheduleTaskCurrZone),this._invokeTaskZS=He&&(He.onInvokeTask?He:ut._invokeTaskZS),this._invokeTaskDlgt=He&&(He.onInvokeTask?ut:ut._invokeTaskDlgt),this._invokeTaskCurrZone=He&&(He.onInvokeTask?this.zone:ut._invokeTaskCurrZone),this._cancelTaskZS=He&&(He.onCancelTask?He:ut._cancelTaskZS),this._cancelTaskDlgt=He&&(He.onCancelTask?ut:ut._cancelTaskDlgt),this._cancelTaskCurrZone=He&&(He.onCancelTask?this.zone:ut._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Ne=He&&He.onHasTask;(Ne||ut&&ut._hasTaskZS)&&(this._hasTaskZS=Ne?He:kt,this._hasTaskDlgt=ut,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=nt,He.onScheduleTask||(this._scheduleTaskZS=kt,this._scheduleTaskDlgt=ut,this._scheduleTaskCurrZone=this.zone),He.onInvokeTask||(this._invokeTaskZS=kt,this._invokeTaskDlgt=ut,this._invokeTaskCurrZone=this.zone),He.onCancelTask||(this._cancelTaskZS=kt,this._cancelTaskDlgt=ut,this._cancelTaskCurrZone=this.zone))}fork(nt,ut){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,nt,ut):new at(nt,ut)}intercept(nt,ut,He){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,nt,ut,He):ut}invoke(nt,ut,He,Ne,U){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,nt,ut,He,Ne,U):ut.apply(He,Ne)}handleError(nt,ut){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,nt,ut)}scheduleTask(nt,ut){let He=ut;if(this._scheduleTaskZS)this._hasTaskZS&&He._zoneDelegates.push(this._hasTaskDlgtOwner),He=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,nt,ut),He||(He=ut);else if(ut.scheduleFn)ut.scheduleFn(ut);else{if(ut.type!=vn)throw new Error("Task is missing scheduleFn.");lt(ut)}return He}invokeTask(nt,ut,He,Ne){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,nt,ut,He,Ne):ut.callback.apply(He,Ne)}cancelTask(nt,ut){let He;if(this._cancelTaskZS)He=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,nt,ut);else{if(!ut.cancelFn)throw Error("Task is not cancelable");He=ut.cancelFn(ut)}return He}hasTask(nt,ut){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,nt,ut)}catch(He){this.handleError(nt,He)}}_updateTaskCount(nt,ut){const He=this._taskCounts,Ne=He[nt],U=He[nt]=Ne+ut;if(U<0)throw new Error("More tasks executed then were scheduled.");0!=Ne&&0!=U||this.hasTask(this.zone,{microTask:He.microTask>0,macroTask:He.macroTask>0,eventTask:He.eventTask>0,change:nt})}}class Lt{constructor(nt,ut,He,Ne,U,I){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=nt,this.source=ut,this.data=Ne,this.scheduleFn=U,this.cancelFn=I,!He)throw new Error("callback is not defined");this.callback=He;const A=this;this.invoke=nt===Nn&&Ne&&Ne.useG?Lt.invokeTask:function(){return Lt.invokeTask.call(he,A,this,arguments)}}static invokeTask(nt,ut,He){nt||(nt=this),le++;try{return nt.runCount++,nt.zone.runTask(nt,ut,He)}finally{1==le&&it(),le--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(V,Pe)}_transitionTo(nt,ut,He){if(this._state!==ut&&this._state!==He)throw new Error(`${this.type} '${this.source}': can not transition to '${nt}', expecting state '${ut}'${He?" or '"+He+"'":""}, was '${this._state}'.`);this._state=nt,nt==V&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const xt=We("setTimeout"),Wt=We("Promise"),Pt=We("then");let Ke,an=[],fn=!1;function ot(rt){if(Ke||he[Wt]&&(Ke=he[Wt].resolve(0)),Ke){let nt=Ke[Pt];nt||(nt=Ke.then),nt.call(Ke,rt)}else he[xt](rt,0)}function lt(rt){0===le&&0===an.length&&ot(it),rt&&an.push(rt)}function it(){if(!fn){for(fn=!0;an.length;){const rt=an;an=[];for(let nt=0;ntQ,onUnhandledError:Ie,microtaskDrainDone:Ie,scheduleMicroTask:lt,showUncaughtError:()=>!at[We("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ie,patchMethod:()=>Ie,bindArguments:()=>[],patchThen:()=>Ie,patchMacroTask:()=>Ie,patchEventPrototype:()=>Ie,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ie,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ie,wrapWithCurrentZone:()=>Ie,filterProperties:()=>[],attachOriginToPatched:()=>Ie,_redefineProperty:()=>Ie,patchCallbacks:()=>Ie,nativeScheduleMicroTask:ot};let Q={parent:null,zone:new at(null,null)},H=null,le=0;function Ie(){}Le("Zone","Zone"),he.Zone=at}(typeof window<"u"&&window||typeof self<"u"&&self||global);const Ht=Object.getOwnPropertyDescriptor,Fe=Object.defineProperty,c=Object.getPrototypeOf,e=Object.create,s=Array.prototype.slice,k="addEventListener",z="removeEventListener",F=Zone.__symbol__(k),ne=Zone.__symbol__(z),W="true",te="false",pe=Zone.__symbol__("");function ce(he,re){return Zone.current.wrap(he,re)}function de(he,re,Xe,Le,fe){return Zone.current.scheduleMacroTask(he,re,Xe,Le,fe)}const Y=Zone.__symbol__,_e=typeof window<"u",ue=_e?window:void 0,ie=_e&&ue||"object"==typeof self&&self||global,Ue="removeAttribute";function ve(he,re){for(let Xe=he.length-1;Xe>=0;Xe--)"function"==typeof he[Xe]&&(he[Xe]=ce(he[Xe],re+"_"+Xe));return he}function Ve(he){return!he||!1!==he.writable&&!("function"==typeof he.get&&typeof he.set>"u")}const je=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,se=!("nw"in ie)&&typeof ie.process<"u"&&"[object process]"==={}.toString.call(ie.process),ee=!se&&!je&&!(!_e||!ue.HTMLElement),$e=typeof ie.process<"u"&&"[object process]"==={}.toString.call(ie.process)&&!je&&!(!_e||!ue.HTMLElement),Oe={},_t=function(he){if(!(he=he||ie.event))return;let re=Oe[he.type];re||(re=Oe[he.type]=Y("ON_PROPERTY"+he.type));const Xe=this||he.target||ie,Le=Xe[re];let fe;return ee&&Xe===ue&&"error"===he.type?(fe=Le&&Le.call(this,he.message,he.filename,he.lineno,he.colno,he.error),!0===fe&&he.preventDefault()):(fe=Le&&Le.apply(this,arguments),null!=fe&&!fe&&he.preventDefault()),fe};function vt(he,re,Xe){let Le=Ht(he,re);if(!Le&&Xe&&Ht(Xe,re)&&(Le={enumerable:!0,configurable:!0}),!Le||!Le.configurable)return;const fe=Y("on"+re+"patched");if(he.hasOwnProperty(fe)&&he[fe])return;delete Le.writable,delete Le.value;const We=Le.get,ye=Le.set,at=re.slice(2);let kt=Oe[at];kt||(kt=Oe[at]=Y("ON_PROPERTY"+at)),Le.set=function(qt){let Lt=this;!Lt&&he===ie&&(Lt=ie),Lt&&("function"==typeof Lt[kt]&&Lt.removeEventListener(at,_t),ye&&ye.call(Lt,null),Lt[kt]=qt,"function"==typeof qt&&Lt.addEventListener(at,_t,!1))},Le.get=function(){let qt=this;if(!qt&&he===ie&&(qt=ie),!qt)return null;const Lt=qt[kt];if(Lt)return Lt;if(We){let xt=We.call(this);if(xt)return Le.set.call(this,xt),"function"==typeof qt[Ue]&&qt.removeAttribute(re),xt}return null},Fe(he,re,Le),he[fe]=!0}function tt(he,re,Xe){if(re)for(let Le=0;Lefunction(ye,at){const kt=Xe(ye,at);return kt.cbIdx>=0&&"function"==typeof at[kt.cbIdx]?de(kt.name,at[kt.cbIdx],kt,fe):We.apply(ye,at)})}function qe(he,re){he[Y("OriginalDelegate")]=re}let Ge=!1,R=!1;function S(){if(Ge)return R;Ge=!0;try{const he=ue.navigator.userAgent;(-1!==he.indexOf("MSIE ")||-1!==he.indexOf("Trident/")||-1!==he.indexOf("Edge/"))&&(R=!0)}catch{}return R}Zone.__load_patch("ZoneAwarePromise",(he,re,Xe)=>{const Le=Object.getOwnPropertyDescriptor,fe=Object.defineProperty,ye=Xe.symbol,at=[],kt=!0===he[ye("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],qt=ye("Promise"),Lt=ye("then"),xt="__creationTrace__";Xe.onUnhandledError=A=>{if(Xe.showUncaughtError()){const $=A&&A.rejection;$?console.error("Unhandled Promise rejection:",$ instanceof Error?$.message:$,"; Zone:",A.zone.name,"; Task:",A.task&&A.task.source,"; Value:",$,$ instanceof Error?$.stack:void 0):console.error(A)}},Xe.microtaskDrainDone=()=>{for(;at.length;){const A=at.shift();try{A.zone.runGuarded(()=>{throw A.throwOriginal?A.rejection:A})}catch($){Pt($)}}};const Wt=ye("unhandledPromiseRejectionHandler");function Pt(A){Xe.onUnhandledError(A);try{const $=re[Wt];"function"==typeof $&&$.call(this,A)}catch{}}function an(A){return A&&A.then}function fn(A){return A}function Ke(A){return ut.reject(A)}const ot=ye("state"),lt=ye("value"),it=ye("finally"),st=ye("parentPromiseValue"),V=ye("parentPromiseState"),Pe="Promise.then",bt=null,gt=!0,on=!1,$t=0;function vn(A,$){return xe=>{try{oe(A,$,xe)}catch(ct){oe(A,!1,ct)}}}const Jt=function(){let A=!1;return function(xe){return function(){A||(A=!0,xe.apply(null,arguments))}}},Nn="Promise resolved with itself",Mn=ye("currentTaskTrace");function oe(A,$,xe){const ct=Jt();if(A===xe)throw new TypeError(Nn);if(A[ot]===bt){let dt=null;try{("object"==typeof xe||"function"==typeof xe)&&(dt=xe&&xe.then)}catch(Bt){return ct(()=>{oe(A,!1,Bt)})(),A}if($!==on&&xe instanceof ut&&xe.hasOwnProperty(ot)&&xe.hasOwnProperty(lt)&&xe[ot]!==bt)H(xe),oe(A,xe[ot],xe[lt]);else if($!==on&&"function"==typeof dt)try{dt.call(xe,ct(vn(A,$)),ct(vn(A,!1)))}catch(Bt){ct(()=>{oe(A,!1,Bt)})()}else{A[ot]=$;const Bt=A[lt];if(A[lt]=xe,A[it]===it&&$===gt&&(A[ot]=A[V],A[lt]=A[st]),$===on&&xe instanceof Error){const Yt=re.currentTask&&re.currentTask.data&&re.currentTask.data[xt];Yt&&fe(xe,Mn,{configurable:!0,enumerable:!1,writable:!0,value:Yt})}for(let Yt=0;Yt{try{const rn=A[lt],en=!!xe&&it===xe[it];en&&(xe[st]=rn,xe[V]=Bt);const gn=$.run(Yt,void 0,en&&Yt!==Ke&&Yt!==fn?[]:[rn]);oe(xe,!0,gn)}catch(rn){oe(xe,!1,rn)}},xe)}const rt=function(){},nt=he.AggregateError;class ut{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve($){return oe(new this(null),gt,$)}static reject($){return oe(new this(null),on,$)}static any($){if(!$||"function"!=typeof $[Symbol.iterator])return Promise.reject(new nt([],"All promises were rejected"));const xe=[];let ct=0;try{for(let Yt of $)ct++,xe.push(ut.resolve(Yt))}catch{return Promise.reject(new nt([],"All promises were rejected"))}if(0===ct)return Promise.reject(new nt([],"All promises were rejected"));let dt=!1;const Bt=[];return new ut((Yt,rn)=>{for(let en=0;en{dt||(dt=!0,Yt(gn))},gn=>{Bt.push(gn),ct--,0===ct&&(dt=!0,rn(new nt(Bt,"All promises were rejected")))})})}static race($){let xe,ct,dt=new this((rn,en)=>{xe=rn,ct=en});function Bt(rn){xe(rn)}function Yt(rn){ct(rn)}for(let rn of $)an(rn)||(rn=this.resolve(rn)),rn.then(Bt,Yt);return dt}static all($){return ut.allWithCallback($)}static allSettled($){return(this&&this.prototype instanceof ut?this:ut).allWithCallback($,{thenCallback:ct=>({status:"fulfilled",value:ct}),errorCallback:ct=>({status:"rejected",reason:ct})})}static allWithCallback($,xe){let ct,dt,Bt=new this((gn,pn)=>{ct=gn,dt=pn}),Yt=2,rn=0;const en=[];for(let gn of $){an(gn)||(gn=this.resolve(gn));const pn=rn;try{gn.then(In=>{en[pn]=xe?xe.thenCallback(In):In,Yt--,0===Yt&&ct(en)},In=>{xe?(en[pn]=xe.errorCallback(In),Yt--,0===Yt&&ct(en)):dt(In)})}catch(In){dt(In)}Yt++,rn++}return Yt-=2,0===Yt&&ct(en),Bt}constructor($){const xe=this;if(!(xe instanceof ut))throw new Error("Must be an instanceof Promise.");xe[ot]=bt,xe[lt]=[];try{const ct=Jt();$&&$(ct(vn(xe,gt)),ct(vn(xe,on)))}catch(ct){oe(xe,!1,ct)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return ut}then($,xe){var ct;let dt=null===(ct=this.constructor)||void 0===ct?void 0:ct[Symbol.species];(!dt||"function"!=typeof dt)&&(dt=this.constructor||ut);const Bt=new dt(rt),Yt=re.current;return this[ot]==bt?this[lt].push(Yt,Bt,$,xe):le(this,Yt,Bt,$,xe),Bt}catch($){return this.then(null,$)}finally($){var xe;let ct=null===(xe=this.constructor)||void 0===xe?void 0:xe[Symbol.species];(!ct||"function"!=typeof ct)&&(ct=ut);const dt=new ct(rt);dt[it]=it;const Bt=re.current;return this[ot]==bt?this[lt].push(Bt,dt,$,$):le(this,Bt,dt,$,$),dt}}ut.resolve=ut.resolve,ut.reject=ut.reject,ut.race=ut.race,ut.all=ut.all;const He=he[qt]=he.Promise;he.Promise=ut;const Ne=ye("thenPatched");function U(A){const $=A.prototype,xe=Le($,"then");if(xe&&(!1===xe.writable||!xe.configurable))return;const ct=$.then;$[Lt]=ct,A.prototype.then=function(dt,Bt){return new ut((rn,en)=>{ct.call(this,rn,en)}).then(dt,Bt)},A[Ne]=!0}return Xe.patchThen=U,He&&(U(He),At(he,"fetch",A=>function I(A){return function($,xe){let ct=A.apply($,xe);if(ct instanceof ut)return ct;let dt=ct.constructor;return dt[Ne]||U(dt),ct}}(A))),Promise[re.__symbol__("uncaughtPromiseErrors")]=at,ut}),Zone.__load_patch("toString",he=>{const re=Function.prototype.toString,Xe=Y("OriginalDelegate"),Le=Y("Promise"),fe=Y("Error"),We=function(){if("function"==typeof this){const qt=this[Xe];if(qt)return"function"==typeof qt?re.call(qt):Object.prototype.toString.call(qt);if(this===Promise){const Lt=he[Le];if(Lt)return re.call(Lt)}if(this===Error){const Lt=he[fe];if(Lt)return re.call(Lt)}}return re.call(this)};We[Xe]=re,Function.prototype.toString=We;const ye=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":ye.call(this)}});let q=!1;if(typeof window<"u")try{const he=Object.defineProperty({},"passive",{get:function(){q=!0}});window.addEventListener("test",he,he),window.removeEventListener("test",he,he)}catch{q=!1}const ze={useG:!0},N={},Se={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),pt=Y("propagationStopped");function wt(he,re){const Xe=(re?re(he):he)+te,Le=(re?re(he):he)+W,fe=pe+Xe,We=pe+Le;N[he]={},N[he][te]=fe,N[he][W]=We}function Cn(he,re,Xe,Le){const fe=Le&&Le.add||k,We=Le&&Le.rm||z,ye=Le&&Le.listeners||"eventListeners",at=Le&&Le.rmAll||"removeAllListeners",kt=Y(fe),qt="."+fe+":",Lt="prependListener",xt="."+Lt+":",Wt=function(lt,it,st){if(lt.isRemoved)return;const V=lt.callback;let Pe;"object"==typeof V&&V.handleEvent&&(lt.callback=gt=>V.handleEvent(gt),lt.originalDelegate=V);try{lt.invoke(lt,it,[st])}catch(gt){Pe=gt}const bt=lt.options;return bt&&"object"==typeof bt&&bt.once&&it[We].call(it,st.type,lt.originalDelegate?lt.originalDelegate:lt.callback,bt),Pe};function Pt(lt,it,st){if(!(it=it||he.event))return;const V=lt||it.target||he,Pe=V[N[it.type][st?W:te]];if(Pe){const bt=[];if(1===Pe.length){const gt=Wt(Pe[0],V,it);gt&&bt.push(gt)}else{const gt=Pe.slice();for(let on=0;on{throw on})}}}const an=function(lt){return Pt(this,lt,!1)},fn=function(lt){return Pt(this,lt,!0)};function Ke(lt,it){if(!lt)return!1;let st=!0;it&&void 0!==it.useG&&(st=it.useG);const V=it&&it.vh;let Pe=!0;it&&void 0!==it.chkDup&&(Pe=it.chkDup);let bt=!1;it&&void 0!==it.rt&&(bt=it.rt);let gt=lt;for(;gt&&!gt.hasOwnProperty(fe);)gt=c(gt);if(!gt&<[fe]&&(gt=lt),!gt||gt[kt])return!1;const on=it&&it.eventNameToString,$t={},vn=gt[kt]=gt[fe],Jt=gt[Y(We)]=gt[We],Nn=gt[Y(ye)]=gt[ye],Mn=gt[Y(at)]=gt[at];let oe;it&&it.prepend&&(oe=gt[Y(it.prepend)]=gt[it.prepend]);const ut=st?function(xe){if(!$t.isExisting)return vn.call($t.target,$t.eventName,$t.capture?fn:an,$t.options)}:function(xe){return vn.call($t.target,$t.eventName,xe.invoke,$t.options)},He=st?function(xe){if(!xe.isRemoved){const ct=N[xe.eventName];let dt;ct&&(dt=ct[xe.capture?W:te]);const Bt=dt&&xe.target[dt];if(Bt)for(let Yt=0;Ytfunction(fe,We){fe[pt]=!0,Le&&Le.apply(fe,We)})}function It(he,re,Xe,Le,fe){const We=Zone.__symbol__(Le);if(re[We])return;const ye=re[We]=re[Le];re[Le]=function(at,kt,qt){return kt&&kt.prototype&&fe.forEach(function(Lt){const xt=`${Xe}.${Le}::`+Lt,Wt=kt.prototype;try{if(Wt.hasOwnProperty(Lt)){const Pt=he.ObjectGetOwnPropertyDescriptor(Wt,Lt);Pt&&Pt.value?(Pt.value=he.wrapWithCurrentZone(Pt.value,xt),he._redefineProperty(kt.prototype,Lt,Pt)):Wt[Lt]&&(Wt[Lt]=he.wrapWithCurrentZone(Wt[Lt],xt))}else Wt[Lt]&&(Wt[Lt]=he.wrapWithCurrentZone(Wt[Lt],xt))}catch{}}),ye.call(re,at,kt,qt)},he.attachOriginToPatched(re[Le],ye)}function Rt(he,re,Xe){if(!Xe||0===Xe.length)return re;const Le=Xe.filter(We=>We.target===he);if(!Le||0===Le.length)return re;const fe=Le[0].ignoreProperties;return re.filter(We=>-1===fe.indexOf(We))}function Zt(he,re,Xe,Le){he&&tt(he,Rt(he,re,Xe),Le)}function Ut(he){return Object.getOwnPropertyNames(he).filter(re=>re.startsWith("on")&&re.length>2).map(re=>re.substring(2))}Zone.__load_patch("util",(he,re,Xe)=>{const Le=Ut(he);Xe.patchOnProperties=tt,Xe.patchMethod=At,Xe.bindArguments=ve,Xe.patchMacroTask=Qe;const fe=re.__symbol__("BLACK_LISTED_EVENTS"),We=re.__symbol__("UNPATCHED_EVENTS");he[We]&&(he[fe]=he[We]),he[fe]&&(re[fe]=re[We]=he[fe]),Xe.patchEventPrototype=Ft,Xe.patchEventTarget=Cn,Xe.isIEOrEdge=S,Xe.ObjectDefineProperty=Fe,Xe.ObjectGetOwnPropertyDescriptor=Ht,Xe.ObjectCreate=e,Xe.ArraySlice=s,Xe.patchClass=mt,Xe.wrapWithCurrentZone=ce,Xe.filterProperties=Rt,Xe.attachOriginToPatched=qe,Xe._redefineProperty=Object.defineProperty,Xe.patchCallbacks=It,Xe.getGlobalObjects=()=>({globalSources:Se,zoneSymbolEventNames:N,eventNames:Le,isBrowser:ee,isMix:$e,isNode:se,TRUE_STR:W,FALSE_STR:te,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:k,REMOVE_EVENT_LISTENER_STR:z})});const Qt=Y("zoneTask");function hn(he,re,Xe,Le){let fe=null,We=null;Xe+=Le;const ye={};function at(qt){const Lt=qt.data;return Lt.args[0]=function(){return qt.invoke.apply(this,arguments)},Lt.handleId=fe.apply(he,Lt.args),qt}function kt(qt){return We.call(he,qt.data.handleId)}fe=At(he,re+=Le,qt=>function(Lt,xt){if("function"==typeof xt[0]){const Wt={isPeriodic:"Interval"===Le,delay:"Timeout"===Le||"Interval"===Le?xt[1]||0:void 0,args:xt},Pt=xt[0];xt[0]=function(){try{return Pt.apply(this,arguments)}finally{Wt.isPeriodic||("number"==typeof Wt.handleId?delete ye[Wt.handleId]:Wt.handleId&&(Wt.handleId[Qt]=null))}};const an=de(re,xt[0],Wt,at,kt);if(!an)return an;const fn=an.data.handleId;return"number"==typeof fn?ye[fn]=an:fn&&(fn[Qt]=an),fn&&fn.ref&&fn.unref&&"function"==typeof fn.ref&&"function"==typeof fn.unref&&(an.ref=fn.ref.bind(fn),an.unref=fn.unref.bind(fn)),"number"==typeof fn||fn?fn:an}return qt.apply(he,xt)}),We=At(he,Xe,qt=>function(Lt,xt){const Wt=xt[0];let Pt;"number"==typeof Wt?Pt=ye[Wt]:(Pt=Wt&&Wt[Qt],Pt||(Pt=Wt)),Pt&&"string"==typeof Pt.type?"notScheduled"!==Pt.state&&(Pt.cancelFn&&Pt.data.isPeriodic||0===Pt.runCount)&&("number"==typeof Wt?delete ye[Wt]:Wt&&(Wt[Qt]=null),Pt.zone.cancelTask(Pt)):qt.apply(he,xt)})}Zone.__load_patch("legacy",he=>{const re=he[Zone.__symbol__("legacyPatch")];re&&re()}),Zone.__load_patch("timers",he=>{const Xe="clear";hn(he,"set",Xe,"Timeout"),hn(he,"set",Xe,"Interval"),hn(he,"set",Xe,"Immediate")}),Zone.__load_patch("requestAnimationFrame",he=>{hn(he,"request","cancel","AnimationFrame"),hn(he,"mozRequest","mozCancel","AnimationFrame"),hn(he,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(he,re)=>{const Xe=["alert","prompt","confirm"];for(let Le=0;Lefunction(kt,qt){return re.current.run(We,he,qt,at)})}),Zone.__load_patch("EventTarget",(he,re,Xe)=>{(function Re(he,re){re.patchEventPrototype(he,re)})(he,Xe),function yt(he,re){if(Zone[re.symbol("patchEventTarget")])return;const{eventNames:Xe,zoneSymbolEventNames:Le,TRUE_STR:fe,FALSE_STR:We,ZONE_SYMBOL_PREFIX:ye}=re.getGlobalObjects();for(let kt=0;kt{mt("MutationObserver"),mt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(he,re,Xe)=>{mt("IntersectionObserver")}),Zone.__load_patch("FileReader",(he,re,Xe)=>{mt("FileReader")}),Zone.__load_patch("on_property",(he,re,Xe)=>{!function Dt(he,re){if(se&&!$e||Zone[he.symbol("patchEvents")])return;const Xe=re.__Zone_ignore_on_properties;let Le=[];if(ee){const fe=window;Le=Le.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const We=function be(){try{const he=ue.navigator.userAgent;if(-1!==he.indexOf("MSIE ")||-1!==he.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:fe,ignoreProperties:["error"]}]:[];Zt(fe,Ut(fe),Xe&&Xe.concat(We),c(fe))}Le=Le.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let fe=0;fe{!function cn(he,re){const{isBrowser:Xe,isMix:Le}=re.getGlobalObjects();(Xe||Le)&&he.customElements&&"customElements"in he&&re.patchCallbacks(re,he.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(he,Xe)}),Zone.__load_patch("XHR",(he,re)=>{!function kt(qt){const Lt=qt.XMLHttpRequest;if(!Lt)return;const xt=Lt.prototype;let Pt=xt[F],an=xt[ne];if(!Pt){const $t=qt.XMLHttpRequestEventTarget;if($t){const vn=$t.prototype;Pt=vn[F],an=vn[ne]}}const fn="readystatechange",Ke="scheduled";function ot($t){const vn=$t.data,Jt=vn.target;Jt[We]=!1,Jt[at]=!1;const Nn=Jt[fe];Pt||(Pt=Jt[F],an=Jt[ne]),Nn&&an.call(Jt,fn,Nn);const Mn=Jt[fe]=()=>{if(Jt.readyState===Jt.DONE)if(!vn.aborted&&Jt[We]&&$t.state===Ke){const Q=Jt[re.__symbol__("loadfalse")];if(0!==Jt.status&&Q&&Q.length>0){const H=$t.invoke;$t.invoke=function(){const le=Jt[re.__symbol__("loadfalse")];for(let Ie=0;Iefunction($t,vn){return $t[Le]=0==vn[2],$t[ye]=vn[1],st.apply($t,vn)}),Pe=Y("fetchTaskAborting"),bt=Y("fetchTaskScheduling"),gt=At(xt,"send",()=>function($t,vn){if(!0===re.current[bt]||$t[Le])return gt.apply($t,vn);{const Jt={target:$t,url:$t[ye],isPeriodic:!1,args:vn,aborted:!1},Nn=de("XMLHttpRequest.send",lt,Jt,ot,it);$t&&!0===$t[at]&&!Jt.aborted&&Nn.state===Ke&&Nn.invoke()}}),on=At(xt,"abort",()=>function($t,vn){const Jt=function Wt($t){return $t[Xe]}($t);if(Jt&&"string"==typeof Jt.type){if(null==Jt.cancelFn||Jt.data&&Jt.data.aborted)return;Jt.zone.cancelTask(Jt)}else if(!0===re.current[Pe])return on.apply($t,vn)})}(he);const Xe=Y("xhrTask"),Le=Y("xhrSync"),fe=Y("xhrListener"),We=Y("xhrScheduled"),ye=Y("xhrURL"),at=Y("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",he=>{he.navigator&&he.navigator.geolocation&&function Ae(he,re){const Xe=he.constructor.name;for(let Le=0;Le{const kt=function(){return at.apply(this,ve(arguments,Xe+"."+fe))};return qe(kt,at),kt})(We)}}}(he.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(he,re)=>{function Xe(Le){return function(fe){St(he,Le).forEach(ye=>{const at=he.PromiseRejectionEvent;if(at){const kt=new at(Le,{promise:fe.promise,reason:fe.rejection});ye.invoke(kt)}})}}he.PromiseRejectionEvent&&(re[Y("unhandledPromiseRejectionHandler")]=Xe("unhandledrejection"),re[Y("rejectionHandledHandler")]=Xe("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(he,re,Xe)=>{!function Xt(he,re){re.patchMethod(he,"queueMicrotask",Xe=>function(Le,fe){Zone.current.scheduleMicroTask("queueMicrotask",fe[0])})}(he,Xe)})},3402:(Ht,Fe,c)=>{"use strict";c.d(Fe,{XE:()=>k.X,ro:()=>z.r,U5:()=>s,cl:()=>ne});var e=c(4537);let s=(()=>{var W;class te{}return(W=te).\u0275fac=function(ce){return new(ce||W)},W.\u0275mod=e.oAB({type:W}),W.\u0275inj=e.cJS({}),te})();var k=c(9510),z=c(7258),F=c(3577);let ne=(()=>{var W;class te{transform(ce,de){return(0,F.CV)(String(null!=ce?ce:""),null!=de?de:F.A_)}}return(W=te).\u0275fac=function(ce){return new(ce||W)},W.\u0275pipe=e.Yjl({name:"maskito",type:W,pure:!0,standalone:!0}),te})()},9510:(Ht,Fe,c)=>{"use strict";c.d(Fe,{X:()=>z});var e=c(9900),s=c(3577),k=c(4537);let z=(()=>{var F;class ne{constructor(te){this.accessor=te,this.maskito=s.A_;const pe=te.writeValue.bind(te);te.writeValue=ce=>{var de;pe((0,s.CV)(String(null!=ce?ce:""),null!==(de=this.maskito)&&void 0!==de?de:s.A_))}}}return(F=ne).\u0275fac=function(te){return new(te||F)(k.Y36(e.Fj))},F.\u0275dir=k.lG2({type:F,selectors:[["input","maskito",""],["textarea","maskito",""]],hostBindings:function(te,pe){1&te&&k.NdJ("input",function(de){return pe.accessor._handleInput(de.target.value)})("blur",function(){return pe.accessor.onTouched()})("compositionstart",function(){return pe.accessor._compositionStart()})("compositionend",function(de){return pe.accessor._compositionEnd(de.target.value)})},inputs:{maskito:"maskito"},standalone:!0,features:[k._Bn([e.Fj,{provide:e.JU,multi:!0,useExisting:e.Fj}])]}),ne})()},7258:(Ht,Fe,c)=>{"use strict";c.d(Fe,{r:()=>z});var e=c(8239),s=c(4537),k=c(3577);let z=(()=>{var F;class ne{constructor(te,pe){this.ngZone=te,this.elementRef=pe,this.maskedElement=null,this.maskito=k.A_,this.maskitoElement=k.gI}ngOnChanges(){var te=this;return(0,e.Z)(function*(){var pe;null===(pe=te.maskedElement)||void 0===pe||pe.destroy();const ce=te.maskitoElement,de=yield ce(te.elementRef.nativeElement);te.maskitoElement===ce&&te.ngZone.runOutsideAngular(()=>{var Y;te.maskedElement=new k.C8(de,null!==(Y=te.maskito)&&void 0!==Y?Y:k.A_)})})()}ngOnDestroy(){var te;null===(te=this.maskedElement)||void 0===te||te.destroy()}}return(F=ne).\u0275fac=function(te){return new(te||F)(s.Y36(s.R0b),s.Y36(s.SBq))},F.\u0275dir=s.lG2({type:F,selectors:[["","maskito",""]],inputs:{maskito:"maskito",maskitoElement:"maskitoElement"},standalone:!0,features:[s.TTD]}),ne})()},3577:(Ht,Fe,c)=>{"use strict";c.d(Fe,{gI:()=>e,A_:()=>s,C8:()=>qe,D2:()=>At,qs:()=>Qe,CV:()=>mt,fD:()=>se});const e=Ge=>Ge.querySelector("input,textarea")||Ge,s={mask:/^.*$/,preprocessors:[],postprocessors:[],plugins:[],overwriteMode:"shift"};class k{constructor(){this.now=null,this.past=[],this.future=[]}undo(){const R=this.past.pop();R&&this.now&&(this.future.push(this.now),this.updateElement(R,"historyUndo"))}redo(){const R=this.future.pop();R&&this.now&&(this.past.push(this.now),this.updateElement(R,"historyRedo"))}updateHistory(R){if(!this.now)return void(this.now=R);const be=this.now.value!==R.value,S=this.now.selection.some((q,ze)=>q!==R.selection[ze]);!be&&!S||(be&&(this.past.push(this.now),this.future=[]),this.now=R)}updateElement(R,be){this.now=R,this.updateElementState(R,{inputType:be,data:null})}}function F(Ge,...R){return R.every(({value:be,selection:S})=>be===Ge.value&&S[0]===Ge.selection[0]&&S[1]===Ge.selection[1])}function W(Ge){return"string"==typeof Ge}function te(Ge,R,be,S){let q="";for(let ze=R.length;ze{const q=R[S];return W(q)?be===q:be.match(q)}):R.test(Ge)}function Y(Ge,R,be=null){if(pe(Ge.value,R))return Ge;const{value:S,selection:q}=Array.isArray(R)?function ce(Ge,R,be){var S,q;let ze=null,N=null;const Se=Array.from(Ge.value).reduce((pt,wt,Cn)=>{const Ft=pt+te(R,pt,wt,be),It=R[Ft.length];return W(It)?Ft+It:wt.match(It)?(null===ze&&Cn>=Ge.selection[0]&&(ze=Ft.length),null===N&&Cn>=Ge.selection[1]&&(N=Ft.length),Ft+wt):Ft},""),et=te(R,Se,"",be);return{value:pe(Se+et,R)?Se+et:Se,selection:[null!==(S=ze)&&void 0!==S?S:Se.length,null!==(q=N)&&void 0!==q?q:Se.length]}}(Ge,R,be):function de({value:Ge,selection:R},be){const[S,q]=R;let ze=S,N=q;return{value:Array.from(Ge).reduce((et,pt,wt)=>{const Cn=et+pt;return S===wt&&(ze=et.length),q===wt&&(N=et.length),Cn.match(be)?Cn:et},""),selection:[ze,N]}}(Ge,R);return{selection:q,value:Array.isArray(R)?S.slice(0,R.length):S}}function _e(Ge,R){if(!Array.isArray(R))return Ge;const[be,S]=Ge.selection,q=[],ze=Array.from(Ge.value).reduce((N,Se,et)=>{const pt=R[et];return et===be&&q.push(N.length),et===S&&q.push(N.length),W(pt)&&pt===Se?N:N+Se},"");return q.length<2&&q.push(...new Array(2-q.length).fill(ze.length)),{value:ze,selection:[q[0],q[1]]}}class ue{constructor(R,be){this.initialElementState=R,this.maskOptions=be,this.value="",this.selection=[0,0];const{value:S,selection:q}=Y(R,this.getMaskExpression(R));this.value=S,this.selection=q}addCharacters([R,be],S){const{value:q}=this,ze=this.getMaskExpression({value:q.slice(0,R)+S+q.slice(be),selection:[R+S.length,R+S.length]}),N={value:q,selection:[R,be]},Se=_e(N,ze),[et,pt]=function ne({value:Ge,selection:R},be,S){const[q,ze]=R;return{value:Ge,selection:"replace"===("function"==typeof S?S({value:Ge,selection:R}):S)?[q,q+be.length]:[q,ze]}}(Se,S,this.maskOptions.overwriteMode).selection,wt=Se.value.slice(0,et)+S,Cn=wt.length,St=Y({value:wt+Se.value.slice(pt),selection:[Cn,Cn]},ze,N);if(q.slice(0,et)===Y({value:wt,selection:[Cn,Cn]},ze,N).value||F(this,St))throw new Error("Invalid mask value");this.value=St.value,this.selection=St.selection}deleteCharacters([R,be]){if(R===be||!be)return;const{value:S}=this,q=this.getMaskExpression({value:S.slice(0,R)+S.slice(be),selection:[R,R]}),ze={value:S,selection:[R,be]},N=_e(ze,q),[Se,et]=N.selection,wt=Y({value:N.value.slice(0,Se)+N.value.slice(et),selection:[Se,Se]},q,ze);this.value=wt.value,this.selection=wt.selection}getMaskExpression(R){const{mask:be}=this.maskOptions;return"function"==typeof be?be(R):be}}class ie{constructor(R){this.element=R,this.listeners=[]}listen(R,be,S){const q=be;this.element.addEventListener(R,q,S),this.listeners.push(()=>this.element.removeEventListener(R,q))}destroy(){this.listeners.forEach(R=>R())}}const Ue={CTRL:1,ALT:2,SHIFT:4,META:8},ve_Y=89,ve_Z=90;function Ae(Ge,R,be){return Ge.ctrlKey===!!(R&Ue.CTRL)&&Ge.altKey===!!(R&Ue.ALT)&&Ge.shiftKey===!!(R&Ue.SHIFT)&&Ge.metaKey===!!(R&Ue.META)&&Ge.keyCode===be}function se(Ge,R){if("string"==typeof R)Ge.value=R;else{var be;const[S,q]=R.selection;Ge.value=R.value,null===(be=Ge.setSelectionRange)||void 0===be||be.call(Ge,S,q)}Ge.dispatchEvent(new Event("input",{bubbles:!0}))}function ee({value:Ge,selection:R},be){const[S,q]=R;if(S!==q)return[S,q];const ze=be?Ge.slice(S).indexOf("\n")+1||Ge.length:Ge.slice(0,q).lastIndexOf("\n")+1;return[be?S:ze,be?ze:q]}function $e({value:Ge,selection:R},be){const[S,q]=R;return S!==q?[S,q]:(be?[S,q+1]:[S-1,q]).map(N=>Math.min(Math.max(N,0),Ge.length))}const Oe=/\s+$/g,_t=/^\s+/g,vt=/\s/;function tt({value:Ge,selection:R},be){const[S,q]=R;if(S!==q)return[S,q];if(be){const et=Ge.slice(S),[pt]=et.match(_t)||[""],wt=et.trimStart().search(vt);return[S,-1!==wt?S+pt.length+wt:Ge.length]}const ze=Ge.slice(0,q),[N]=ze.match(Oe)||[""],Se=ze.trimEnd().split("").reverse().findIndex(et=>et.match(vt));return[-1!==Se?q-N.length-Se:0,q]}function we(Ge=[]){return(R,...be)=>Ge.reduce((S,q)=>({...S,...q(S,...be)}),R)}function mt(Ge,R){const be={...s,...R},S=we(be.preprocessors),q=we(be.postprocessors),ze="string"==typeof Ge?{value:Ge,selection:[0,0]}:Ge,{elementState:N}=S({elementState:ze,data:""},"validation"),Se=new ue(N,be),{value:et,selection:pt}=q(Se,ze);return"string"==typeof Ge?et:{value:et,selection:pt}}function At(Ge){return(R,be)=>{const S=R.selectionStart||0,q=R.selectionEnd||0;se(R,{value:mt(R.value,Ge||be),selection:[S,q]})}}function Qe(){return(Ge,R)=>{const be=S=>{if("insertCompositionText"!==S.inputType)return;const ze={selection:[Ge.selectionStart||0,Ge.selectionEnd||0],value:Ge.value},N=mt(ze,R);F(ze,N)||(S.preventDefault(),se(Ge,N))};return Ge.addEventListener("input",be),()=>Ge.removeEventListener("input",be)}}class qe extends k{constructor(R,be){super(),this.element=R,this.maskitoOptions=be,this.isTextArea="TEXTAREA"===this.element.nodeName,this.eventListener=new ie(this.element),this.options={...s,...this.maskitoOptions},this.preprocessor=we(this.options.preprocessors),this.postprocessor=we(this.options.postprocessors),this.teardowns=this.options.plugins.map(S=>S(this.element,this.options)),this.updateHistory(this.elementState),this.eventListener.listen("keydown",S=>function Ve(Ge){return Ae(Ge,Ue.CTRL,ve_Y)||Ae(Ge,Ue.CTRL|Ue.SHIFT,ve_Z)||Ae(Ge,Ue.META|Ue.SHIFT,ve_Z)}(S)?(S.preventDefault(),this.redo()):function je(Ge){return Ae(Ge,Ue.CTRL,ve_Z)||Ae(Ge,Ue.META,ve_Z)}(S)?(S.preventDefault(),this.undo()):void 0),this.eventListener.listen("beforeinput",S=>{const q=S.inputType.includes("Forward");switch(this.updateHistory(this.elementState),S.inputType){case"historyUndo":return S.preventDefault(),this.undo();case"historyRedo":return S.preventDefault(),this.redo();case"deleteByCut":case"deleteContentBackward":case"deleteContentForward":return this.handleDelete({event:S,isForward:q,selection:$e(this.elementState,q)});case"deleteWordForward":case"deleteWordBackward":return this.handleDelete({event:S,isForward:q,selection:tt(this.elementState,q),force:!0});case"deleteSoftLineBackward":case"deleteSoftLineForward":case"deleteHardLineBackward":case"deleteHardLineForward":return this.handleDelete({event:S,isForward:q,selection:ee(this.elementState,q),force:!0});case"insertCompositionText":return;case"insertLineBreak":return this.handleEnter(S);default:return this.handleInsert(S,S.data||"")}}),this.eventListener.listen("input",({inputType:S})=>{"insertCompositionText"!==S&&(this.ensureValueFitsMask(),this.updateHistory(this.elementState))}),this.eventListener.listen("compositionend",()=>{this.ensureValueFitsMask(),this.updateHistory(this.elementState)})}get elementState(){const{value:R,selectionStart:be,selectionEnd:S}=this.element;return{value:R,selection:[be||0,S||0]}}get maxLength(){const{maxLength:R}=this.element;return-1===R?1/0:R}destroy(){this.eventListener.destroy(),this.teardowns.forEach(R=>null==R?void 0:R())}updateElementState({value:R,selection:be},S={inputType:"insertText",data:null}){const q=this.elementState.value;this.updateValue(R),this.updateSelectionRange(be),q!==R&&this.dispatchInputEvent(S)}updateSelectionRange([R,be]){var S,q;this.element.selectionStart===R&&this.element.selectionEnd===be||null===(S=(q=this.element).setSelectionRange)||void 0===S||S.call(q,R,be)}updateValue(R){this.element.value=R}ensureValueFitsMask(){this.updateElementState(mt(this.elementState,this.options))}dispatchInputEvent(R={inputType:"insertText",data:null}){globalThis.InputEvent&&this.element.dispatchEvent(new InputEvent("input",{...R,bubbles:!0,cancelable:!1}))}handleDelete({event:R,selection:be,isForward:S,force:q=!1}){const ze={value:this.elementState.value,selection:be},[N,Se]=ze.selection,{elementState:et}=this.preprocessor({elementState:ze,data:""},S?"deleteForward":"deleteBackward"),pt=new ue(et,this.options),[wt,Cn]=et.selection;pt.deleteCharacters([wt,Cn]);const St=this.postprocessor(pt,ze);if(ze.value.slice(0,N)+ze.value.slice(Se)!==St.value||q){if(R.preventDefault(),function z(Ge,...R){return R.every(({value:be})=>be===Ge.value)}(ze,et,pt,St))return this.updateSelectionRange(S?[Cn,Cn]:[wt,wt]);this.updateElementState(St,{inputType:R.inputType,data:null}),this.updateHistory(St)}}handleInsert(R,be){const S=this.elementState,{elementState:q,data:ze=be}=this.preprocessor({data:be,elementState:S},"insert"),N=new ue(q,this.options);try{N.addCharacters(q.selection,ze)}catch{return R.preventDefault()}const[Se,et]=q.selection,pt=S.value.slice(0,Se)+be+S.value.slice(et),wt=this.postprocessor(N,S);if(wt.value.length>this.maxLength)return R.preventDefault();pt!==wt.value&&(R.preventDefault(),this.updateElementState(wt,{data:be,inputType:R.inputType}),this.updateHistory(wt))}handleEnter(R){this.isTextArea&&this.handleInsert(R,"\n")}}},3139:(Ht,Fe,c)=>{"use strict";c.d(Fe,{x:()=>e,C:()=>s});const e={WhatIsMaskito:"getting-started/what-is-maskito",MaskitoLibraries:"getting-started/maskito-libraries",CoreConceptsOverview:"core-concepts/overview",MaskExpression:"core-concepts/mask-expression",ElementState:"core-concepts/element-state",Processors:"core-concepts/processors",Plugins:"core-concepts/plugins",OverwriteMode:"core-concepts/overwrite-mode",Transformer:"core-concepts/transformer",Angular:"frameworks/angular",React:"frameworks/react",Vue:"frameworks/vue",Number:"kit/number",Time:"kit/time",Date:"kit/date",DateRange:"kit/date-range",DateTime:"kit/date-time",PhonePackage:"addons/phone",Card:"recipes/card",Phone:"recipes/phone",Textarea:"recipes/textarea",Prefix:"recipes/prefix",Postfix:"recipes/postfix",Placeholder:"recipes/placeholder",BrowserSupport:"browser-support",Changelog:"changelog",Stackblitz:"stackblitz",Cypress:"cypress"},s={MaskitoOptions:"mask",JavaScript:"JavaScript",Angular:"Angular",React:"React",Vue:"Vue"}},8179:(Ht,Fe,c)=>{"use strict";var e=c(5998),k=(c(7400),c(5732)),z=c(4537),F=c(4091),ne=c(763),W=c(8692);let te=(()=>{class Ke extends F._j{constructor(lt,it){super(),this._nextAnimationId=0,this._renderer=lt.createRenderer(it.body,{id:"0",encapsulation:z.ifc.None,styles:[],data:{animation:[]}})}build(lt){const it=this._nextAnimationId.toString();this._nextAnimationId++;const st=Array.isArray(lt)?(0,F.vP)(lt):lt;return de(this._renderer,null,it,"register",[st]),new pe(it,this._renderer)}}return Ke.\u0275fac=function(lt){return new(lt||Ke)(z.LFG(z.FYo),z.LFG(W.K0))},Ke.\u0275prov=z.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class pe extends F.LC{constructor(ot,lt){super(),this._id=ot,this._renderer=lt}create(ot,lt){return new ce(this._id,ot,lt||{},this._renderer)}}class ce{constructor(ot,lt,it,st){this.id=ot,this.element=lt,this._renderer=st,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",it)}_listen(ot,lt){return this._renderer.listen(this.element,`@@${this.id}:${ot}`,lt)}_command(ot,...lt){return de(this._renderer,this.element,this.id,ot,lt)}onDone(ot){this._listen("done",ot)}onStart(ot){this._listen("start",ot)}onDestroy(ot){this._listen("destroy",ot)}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(ot){this._command("setPosition",ot)}getPosition(){var ot,lt;return null!==(ot=null===(lt=this._renderer.engine.players[+this.id])||void 0===lt?void 0:lt.getPosition())&&void 0!==ot?ot:0}}function de(Ke,ot,lt,it,st){return Ke.setProperty(ot,`@@${lt}:${it}`,st)}const Y="@",_e="@.disabled";let ue=(()=>{class Ke{constructor(lt,it,st){this.delegate=lt,this.engine=it,this._zone=st,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),it.onRemovalComplete=(V,Pe)=>{const bt=null==Pe?void 0:Pe.parentNode(V);bt&&Pe.removeChild(bt,V)}}createRenderer(lt,it){const V=this.delegate.createRenderer(lt,it);if(!(lt&&it&&it.data&&it.data.animation)){let $t=this._rendererCache.get(V);return $t||($t=new ie("",V,this.engine,()=>this._rendererCache.delete(V)),this._rendererCache.set(V,$t)),$t}const Pe=it.id,bt=it.id+"-"+this._currentId;this._currentId++,this.engine.register(bt,lt);const gt=$t=>{Array.isArray($t)?$t.forEach(gt):this.engine.registerTrigger(Pe,bt,lt,$t.name,$t)};return it.data.animation.forEach(gt),new Ue(this,bt,V,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(lt,it,st){lt>=0&<it(st)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(V=>{const[Pe,bt]=V;Pe(bt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([it,st]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return Ke.\u0275fac=function(lt){return new(lt||Ke)(z.LFG(z.FYo),z.LFG(ne.Th),z.LFG(z.R0b))},Ke.\u0275prov=z.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class ie{constructor(ot,lt,it,st){this.namespaceId=ot,this.delegate=lt,this.engine=it,this._onDestroy=st,this.destroyNode=this.delegate.destroyNode?V=>lt.destroyNode(V):null}get data(){return this.delegate.data}destroy(){var ot;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(ot=this._onDestroy)||void 0===ot||ot.call(this)}createElement(ot,lt){return this.delegate.createElement(ot,lt)}createComment(ot){return this.delegate.createComment(ot)}createText(ot){return this.delegate.createText(ot)}appendChild(ot,lt){this.delegate.appendChild(ot,lt),this.engine.onInsert(this.namespaceId,lt,ot,!1)}insertBefore(ot,lt,it,st=!0){this.delegate.insertBefore(ot,lt,it),this.engine.onInsert(this.namespaceId,lt,ot,st)}removeChild(ot,lt,it){this.engine.onRemove(this.namespaceId,lt,this.delegate,it)}selectRootElement(ot,lt){return this.delegate.selectRootElement(ot,lt)}parentNode(ot){return this.delegate.parentNode(ot)}nextSibling(ot){return this.delegate.nextSibling(ot)}setAttribute(ot,lt,it,st){this.delegate.setAttribute(ot,lt,it,st)}removeAttribute(ot,lt,it){this.delegate.removeAttribute(ot,lt,it)}addClass(ot,lt){this.delegate.addClass(ot,lt)}removeClass(ot,lt){this.delegate.removeClass(ot,lt)}setStyle(ot,lt,it,st){this.delegate.setStyle(ot,lt,it,st)}removeStyle(ot,lt,it){this.delegate.removeStyle(ot,lt,it)}setProperty(ot,lt,it){lt.charAt(0)==Y&<==_e?this.disableAnimations(ot,!!it):this.delegate.setProperty(ot,lt,it)}setValue(ot,lt){this.delegate.setValue(ot,lt)}listen(ot,lt,it){return this.delegate.listen(ot,lt,it)}disableAnimations(ot,lt){this.engine.disableAnimations(ot,lt)}}class Ue extends ie{constructor(ot,lt,it,st,V){super(lt,it,st,V),this.factory=ot,this.namespaceId=lt}setProperty(ot,lt,it){lt.charAt(0)==Y?"."==lt.charAt(1)&<==_e?this.disableAnimations(ot,it=void 0===it||!!it):this.engine.process(this.namespaceId,ot,lt.slice(1),it):this.delegate.setProperty(ot,lt,it)}listen(ot,lt,it){if(lt.charAt(0)==Y){const st=function ve(Ke){switch(Ke){case"body":return document.body;case"document":return document;case"window":return window;default:return Ke}}(ot);let V=lt.slice(1),Pe="";return V.charAt(0)!=Y&&([V,Pe]=function Ae(Ke){const ot=Ke.indexOf(".");return[Ke.substring(0,ot),Ke.slice(ot+1)]}(V)),this.engine.listen(this.namespaceId,st,V,Pe,bt=>{this.factory.scheduleListenerCallback(bt._data||-1,it,bt)})}return this.delegate.listen(ot,lt,it)}}const ee=[{provide:F._j,useClass:te},{provide:ne.NH,useFactory:function je(){return new ne.Ar}},{provide:ne.Th,useClass:(()=>{class Ke extends ne.Th{constructor(lt,it,st,V){super(lt.body,it,st)}ngOnDestroy(){this.flush()}}return Ke.\u0275fac=function(lt){return new(lt||Ke)(z.LFG(W.K0),z.LFG(ne.Vi),z.LFG(ne.NH),z.LFG(z.z2F))},Ke.\u0275prov=z.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})()},{provide:z.FYo,useFactory:function se(Ke,ot,lt){return new ue(Ke,ot,lt)},deps:[e.se,ne.Th,z.R0b]}],$e=[{provide:ne.Vi,useFactory:()=>new ne.DT},{provide:z.QbO,useValue:"BrowserAnimations"},...ee],Oe=[{provide:ne.Vi,useClass:ne.nV},{provide:z.QbO,useValue:"NoopAnimations"},...ee];let _t=(()=>{class Ke{static withConfig(lt){return{ngModule:Ke,providers:lt.disableAnimations?Oe:$e}}}return Ke.\u0275fac=function(lt){return new(lt||Ke)},Ke.\u0275mod=z.oAB({type:Ke}),Ke.\u0275inj=z.cJS({providers:$e,imports:[e.b2]}),Ke})();var mt=c(9439),At=c(2847),Qe=c(5452),qe=c(5551),Ge=c(1001),R=c(3139),be=c(6060),S=c(3358),q=c.n(S);const ze=new z.OlP("Config for DOMPurify",{factory:()=>({}),providedIn:"root"}),N=new z.OlP("Hooks for DOMPurify",{factory:()=>[],providedIn:"root"}),Se=new z.OlP("A function that sanitizes value for a CSS rule",{factory:()=>Ke=>Ke,providedIn:"root"}),et=q();let pt=(()=>{class Ke{constructor(lt,it,{defaultView:st},V){this.config=lt,this.sanitizeStyle=it,this.domPurify=et(st),V.forEach(({name:Pe,hook:bt})=>{this.domPurify.addHook(Pe,bt)})}sanitize(lt,it,st=this.config){if(lt===z.q3G.SCRIPT)throw new Error("DOMPurify does not support SCRIPT context");return lt===z.q3G.STYLE?this.sanitizeStyle(String(it)):this.domPurify.sanitize(String(it||""),st)}}return Ke.\u0275fac=function(lt){return new(lt||Ke)(z.LFG(ze),z.LFG(Se),z.LFG(W.K0),z.LFG(N))},Ke.\u0275prov=z.Yz7({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();var St=c(3178);let Ft=(()=>{var Ke;class ot{constructor(){this.stackblitzStarterPath=`/${R.x.Stackblitz}`}}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["my-app"]],features:[z._Bn([{provide:be.hm,useClass:pt}])],decls:5,vars:1,consts:[["ngProjectAs","tuiDocHeader",5,["tuiDocHeader"]],["href","https://github.com/taiga-family/maskito","icon","assets/icons/github.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Maskito source code on GitHub","tuiLink","","tuiMode","onLight",1,"link"],["href","https://t.me/taiga_ui/10600","icon","assets/icons/telegram.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Get help on Telegram","tuiLink","","tuiMode","onLight",1,"link"],["icon","assets/icons/stackblitz.svg","iconAlign","left","title","Maskito StackBlitz Starter","tuiLink","","tuiMode","onLight",1,"link",3,"routerLink"]],template:function(it,st){1&it&&(z.TgZ(0,"tui-doc-main"),z.ynx(1,0),z._UZ(2,"a",1)(3,"a",2)(4,"a",3),z.BQk(),z.qZA()),2&it&&(z.xp6(4),z.Q6J("routerLink",st.stackblitzStarterPath))},dependencies:[St.rH,mt.$5,At.V,Qe.w],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-m);color:var(--tui-text-01)}.link[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),ot})();var It=c(8239),Rt=c(4548),Zt=c(5432);const Ut=[{section:"Getting started",title:"What is Maskito?",route:R.x.WhatIsMaskito,keywords:"getting, started, what, is, maskito"},{section:"Getting started",title:"Maskito libraries",route:R.x.MaskitoLibraries,keywords:"install, package, packages, maskito, npm, setup, explore, ecosystem"},{section:"Core concepts",title:"Overview",route:R.x.CoreConceptsOverview,keywords:"core, concepts, overview"},{section:"Core concepts",title:"Mask expression",route:R.x.MaskExpression,keywords:"core, concepts, mask, expression, reg, exp, fixed"},{section:"Core concepts",title:"Element state",route:R.x.ElementState,keywords:"core, concepts, element, state"},{section:"Core concepts",title:"Processors",route:R.x.Processors,keywords:"core, concepts, preprocessor, postprocessor, processor, element, state, elementState"},{section:"Core concepts",title:"Plugins",route:R.x.Plugins,keywords:"core, concepts, extension, event, focus, blur"},{section:"Core concepts",title:"Overwrite mode",route:R.x.OverwriteMode,keywords:"core, concepts, overwrite, mode, shift, replace"},{section:"Core concepts",title:"Transformer",route:R.x.Transformer,keywords:"core, concepts, programmatic, patch, set, update, value"},{section:"Frameworks",title:"Angular",route:R.x.Angular,keywords:"ng, angular, framework, addon"},{section:"Frameworks",title:"React",route:R.x.React,keywords:"react, framework, addon"},{section:"Frameworks",title:"Vue",route:R.x.Vue,keywords:"vue, framework, addon"},{section:"Kit",title:"Number",route:R.x.Number,keywords:"digit, number, money, mask, kit, generator"},{section:"Kit",title:"Time",route:R.x.Time,keywords:"time, hour, minute, second, mask, kit, generator"},{section:"Kit",title:"Date",route:R.x.Date,keywords:"date, day, month, year, mask, kit, generator"},{section:"Kit",title:"DateRange",route:R.x.DateRange,keywords:"date, day, month, year, mask, range, kit, generator"},{section:"Kit",title:"DateTime",route:R.x.DateTime,keywords:"date, day, month, year, mask, time, date-time, hour, minute, second, kit, generator"},{section:"Addons",title:"@maskito/phone",route:R.x.PhonePackage,keywords:"phone, libphonenumber, international, generator"},{section:"Recipes",title:"Card",route:R.x.Card,keywords:"card, credit, cvv, debit, mask, recipe"},{section:"Recipes",title:"Phone",route:R.x.Phone,keywords:"phone, mobile, tel, telephone, mask, recipe"},{section:"Recipes",title:"Textarea",route:R.x.Textarea,keywords:"textarea, latin, mask, recipe"},{section:"Recipes",title:"With prefix",route:R.x.Prefix,keywords:"prefix, before, recipe"},{section:"Recipes",title:"With postfix",route:R.x.Postfix,keywords:"postfix, after, percent, am, pm, recipe"},{section:"Recipes",title:"With placeholder",route:R.x.Placeholder,keywords:"guide, placeholder, fill, recipe"},{section:"Other",title:"Browser support",route:R.x.BrowserSupport,keywords:"chrome, safari, ie, edge, firefox, browser, support"},{section:"Other",title:"Changelog",route:R.x.Changelog,keywords:"changelog, release, version, history"}];var Dt=c(9570),Xt=c(4789);const hn=new Dt.Al((()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["angular-logo"]],decls:1,vars:0,consts:[["src","assets/icons/angular.svg"]],template:function(it,st){1&it&&z._UZ(0,"tui-svg",0)},dependencies:[Xt.PN],encapsulation:2,changeDetection:0}),ot})());let cn=(()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275mod=z.oAB({type:Ke}),Ke.\u0275inj=z.cJS({imports:[Xt.EI]}),ot})();const Re=new Dt.Al((()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["javascript-logo"]],decls:1,vars:0,consts:[["src","assets/icons/javascript.svg"]],template:function(it,st){1&it&&z._UZ(0,"tui-svg",0)},dependencies:[Xt.PN],encapsulation:2,changeDetection:0}),ot})()),re=new Dt.Al((()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["react-logo"]],decls:1,vars:0,consts:[["src","assets/icons/react.svg"]],template:function(it,st){1&it&&z._UZ(0,"tui-svg",0)},dependencies:[Xt.PN],encapsulation:2,changeDetection:0}),ot})()),Le=new Dt.Al((()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["vue-logo"]],decls:1,vars:0,consts:[["src","assets/icons/vue.svg"]],template:function(it,st){1&it&&z._UZ(0,"tui-svg",0)},dependencies:[Xt.PN],encapsulation:2,changeDetection:0}),ot})()),We=new Dt.Al((()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275cmp=z.Xpm({type:Ke,selectors:[["logo"]],decls:5,vars:0,consts:[["routerLink","/","tuiLink","",1,"logo-link"],[1,"logo-name"],["alt","Maskito logo","src","assets/icons/maskito.svg",1,"logo"],["alt","by Tinkoff","src","assets/icons/by.svg",1,"by"]],template:function(it,st){1&it&&(z.TgZ(0,"a",0)(1,"span",1),z._UZ(2,"img",2),z._uU(3," Maskito "),z.qZA()(),z._UZ(4,"img",3))},dependencies:[At.V,St.rH],styles:["[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font-size:0}.logo-link[_ngcontent-%COMP%]{display:flex}.logo-name[_ngcontent-%COMP%]{display:flex;color:var(--tui-text-01)}.logo[_ngcontent-%COMP%]{margin-right:.625rem}.by[_ngcontent-%COMP%]{margin-left:.875rem}tui-root._mobile[_nghost-%COMP%] .by[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .by[_ngcontent-%COMP%]{display:none}"],changeDetection:0}),ot})()),xt=[{provide:W.S$,useClass:W.b0},{provide:Rt.Yx,useValue:"Maskito | "},{provide:Rt.Or,useValue:We},{provide:Rt.AC,useValue:["Description and examples","API"]},{provide:Rt.V5,useValue:Ut},{provide:Rt.yO,useValue:Ke=>{const ot="https://github.com/taiga-family/maskito/tree/main/projects";return Ke.path?`${ot}/${Ke.path}`:Ke.package&&"kit"===Ke.package.toLowerCase()?`${ot}/${Ke.package.toLowerCase()}/src/lib/masks/${(Ke.header[0].toLowerCase()+Ke.header.slice(1)).replace(/[A-Z]/g,lt=>`-${lt.toLowerCase()}`)}`:null}},{provide:Rt.lW,useClass:Ge.StackblitzService},{provide:Rt.$_,useValue:Ke=>{const ot=Object.keys(Ke);return 1===ot.length&&ot[0]===R.C.MaskitoOptions?{...Ke,[R.C.JavaScript]:"import {Maskito, MaskitoOptions} from '@maskito/core';\nimport maskitoOptions from './mask';\n\nconst element = document.querySelector('input,textarea')!;\nconst maskedInput = new Maskito(element, maskitoOptions);\n\n// Call this function when the element is detached from DOM\nmaskedInput.destroy();",[R.C.Angular]:"import {Component} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport type {MaskitoOptions} from '@maskito/core';\n\nimport mask from './mask';\n\n@Component({\n selector: 'my-app',\n standalone: true,\n imports: [MaskitoDirective],\n template: '',\n})\nexport class App {\n readonly options: MaskitoOptions = mask;\n}",[R.C.React]:"import * as React from 'react';\nimport {useMaskito} from '@maskito/react';\n\nimport options from './mask';\n\nexport default function App() {\n const maskedInputRef = useMaskito({options});\n\n return ;\n}",[R.C.Vue]:"import {createApp} from 'vue';\nimport {maskito} from '@maskito/vue';\n\nimport options from './mask';\n\nconst app = createApp({\n template: '',\n directives: {maskito},\n data: () => ({ options }),\n});"}:Ke}},(0,mt.hs)({codeEditorVisibilityHandler:Ke=>{const ot=Object.keys(Ke);return ot.includes(R.C.MaskitoOptions)&&ot.includes(R.C.JavaScript)},tabTitles:new Map([[R.C.JavaScript,Re],[R.C.Angular,hn],[R.C.React,re],[R.C.Vue,Le]])}),{provide:Zt.rN,useFactory:()=>{const Ke=(0,W.NF)((0,z.f3M)(z.Lbi));return{coreLibraryLoader:(ot=(0,It.Z)(function*(){return c.e(9358).then(c.bind(c,9358))}),function(){return ot.apply(this,arguments)}),lineNumbersLoader:function(){var ot=(0,It.Z)(function*(){return Ke?c.e(9022).then(c.t.bind(c,9022,23)):Promise.resolve()});return function(){return ot.apply(this,arguments)}}(),languages:{typescript:function(){var ot=(0,It.Z)(function*(){return c.e(3377).then(c.bind(c,3377))});return function(){return ot.apply(this,arguments)}}(),less:function(){var ot=(0,It.Z)(function*(){return c.e(4249).then(c.bind(c,4249))});return function(){return ot.apply(this,arguments)}}(),xml:function(){var ot=(0,It.Z)(function*(){return c.e(3088).then(c.bind(c,3088))});return function(){return ot.apply(this,arguments)}}()}};var ot}}],Wt=[{path:R.x.WhatIsMaskito,loadChildren:()=>Promise.all([c.e(8592),c.e(2089)]).then(c.bind(c,2089)).then(Ke=>Ke.WhatIsMaskitoDocPageModule),data:{title:"What is Maskito?"}},{path:R.x.MaskitoLibraries,loadChildren:()=>c.e(5113).then(c.bind(c,5113)).then(Ke=>Ke.MaskitoLibrariesDocPageModule),data:{title:"Maskito libraries"}},{path:R.x.CoreConceptsOverview,loadChildren:()=>Promise.all([c.e(8592),c.e(7674)]).then(c.bind(c,7674)).then(Ke=>Ke.CoreConceptsOverviewDocPageModule),data:{title:"Core concepts"}},{path:R.x.MaskExpression,loadChildren:()=>Promise.all([c.e(8592),c.e(7089)]).then(c.bind(c,7089)).then(Ke=>Ke.MaskExpressionDocPageModule),data:{title:"Mask expression"}},{path:R.x.ElementState,loadChildren:()=>c.e(5017).then(c.bind(c,5017)).then(Ke=>Ke.ElementStateDocPageModule),data:{title:"Element state"}},{path:R.x.Processors,loadChildren:()=>Promise.all([c.e(8592),c.e(2742)]).then(c.bind(c,2742)).then(Ke=>Ke.ProcessorsDocPageModule),data:{title:"Processors"}},{path:R.x.Plugins,loadChildren:()=>Promise.all([c.e(8592),c.e(2870)]).then(c.bind(c,2870)).then(Ke=>Ke.PluginsDocPageModule),data:{title:"Plugins"}},{path:R.x.OverwriteMode,loadChildren:()=>Promise.all([c.e(3506),c.e(8592),c.e(6233)]).then(c.bind(c,6233)).then(Ke=>Ke.OverwriteModeDocPageModule),data:{title:"Overwrite mode"}},{path:R.x.Transformer,loadChildren:()=>Promise.all([c.e(8592),c.e(7072)]).then(c.bind(c,7072)).then(Ke=>Ke.TransformerDocPageModule),data:{title:"Transformer"}},{path:R.x.Angular,loadChildren:()=>c.e(8354).then(c.bind(c,8354)).then(Ke=>Ke.AngularDocPageModule),data:{title:"Angular"}},{path:R.x.React,loadChildren:()=>Promise.all([c.e(7435),c.e(8660)]).then(c.bind(c,8660)).then(Ke=>Ke.ReactDocPageModule),data:{title:"React"}},{path:R.x.Vue,loadChildren:()=>c.e(8210).then(c.bind(c,8210)).then(Ke=>Ke.VueDocPageModule),data:{title:"Vue"}},{path:R.x.Number,loadChildren:()=>c.e(6054).then(c.bind(c,6054)).then(Ke=>Ke.NumberMaskDocModule),data:{title:"Number"}},{path:R.x.Time,loadChildren:()=>c.e(18).then(c.bind(c,18)).then(Ke=>Ke.TimeMaskDocModule),data:{title:"Time"}},{path:R.x.Date,loadChildren:()=>c.e(2888).then(c.bind(c,2888)).then(Ke=>Ke.DateMaskDocModule),data:{title:"Date"}},{path:R.x.DateRange,loadChildren:()=>c.e(4701).then(c.bind(c,4701)).then(Ke=>Ke.DateRangeMaskDocModule),data:{title:"DateRange"}},{path:R.x.DateTime,loadChildren:()=>c.e(5564).then(c.bind(c,5564)).then(Ke=>Ke.DateTimeMaskDocModule),data:{title:"DateTime"}},{path:R.x.Card,loadChildren:()=>c.e(5445).then(c.bind(c,5445)).then(Ke=>Ke.CardDocModule),data:{title:"Card"}},{path:R.x.Phone,loadChildren:()=>Promise.all([c.e(8592),c.e(5608)]).then(c.bind(c,5608)).then(Ke=>Ke.PhoneDocModule),data:{title:"Phone"}},{path:R.x.PhonePackage,loadChildren:()=>Promise.all([c.e(8592),c.e(7316)]).then(c.bind(c,7316)).then(Ke=>Ke.PhoneDocModule),data:{title:"Phone"}},{path:R.x.Textarea,loadChildren:()=>Promise.all([c.e(3506),c.e(131)]).then(c.bind(c,131)).then(Ke=>Ke.TextareaDocModule),data:{title:"Textarea"}},{path:R.x.Prefix,loadChildren:()=>c.e(5580).then(c.bind(c,5580)).then(Ke=>Ke.PrefixDocModule),data:{title:"With prefix"}},{path:R.x.Postfix,loadChildren:()=>c.e(904).then(c.bind(c,904)).then(Ke=>Ke.PostfixDocModule),data:{title:"With postfix"}},{path:R.x.Placeholder,loadChildren:()=>Promise.all([c.e(8592),c.e(6597)]).then(c.bind(c,6597)).then(Ke=>Ke.PlaceholderDocModule),data:{title:"With placeholder"}},{path:R.x.BrowserSupport,loadChildren:()=>c.e(1759).then(c.bind(c,1759)).then(Ke=>Ke.BrowserSupportModule),data:{title:"Browser support"}},{path:R.x.Changelog,loadChildren:()=>c.e(4088).then(c.bind(c,4088)).then(Ke=>Ke.ChangelogModule),data:{title:"Changelog"}},{path:R.x.Stackblitz,loadChildren:()=>Promise.resolve().then(c.bind(c,1001)).then(Ke=>Ke.StackblitzStarterModule),data:{title:"Stackblitz Starter"}},{path:R.x.Cypress,loadChildren:()=>Promise.all([c.e(7435),c.e(169)]).then(c.bind(c,169)).then(Ke=>Ke.CypressDocPageModule),data:{title:"Cypress tests \u{1f92b}"}},{path:"**",redirectTo:R.x.WhatIsMaskito}];let Pt=(()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275mod=z.oAB({type:Ke}),Ke.\u0275inj=z.cJS({imports:[St.Bz.forRoot(Wt,{initialNavigation:"enabledBlocking",scrollPositionRestoration:"enabled"}),St.Bz]}),ot})(),an=(()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275mod=z.oAB({type:Ke}),Ke.\u0275inj=z.cJS({imports:[At.j,St.Bz]}),ot})(),fn=(()=>{var Ke;class ot{}return(Ke=ot).\u0275fac=function(it){return new(it||Ke)},Ke.\u0275mod=z.oAB({type:Ke,bootstrap:[Ft]}),Ke.\u0275inj=z.cJS({providers:xt,imports:[e.b2.withServerTransition({appId:"demo"}),Pt,_t,k.JF,an,qe.JP.forRoot({loader:k.eN,sanitize:z.q3G.NONE}),mt.qn,At.j,Qe.z,Ge.StackblitzEditButtonModule,cn]}),ot})();document.addEventListener("DOMContentLoaded",()=>{e.q6().bootstrapModule(fn).then(Ke=>{const ot=window;ot.ngRef&&ot.ngRef.destroy(),ot.ngRef=Ke}).catch(console.error)})},1001:(Ht,Fe,c)=>{"use strict";c.r(Fe),c.d(Fe,{StackblitzEditButtonComponent:()=>k,StackblitzEditButtonModule:()=>z,StackblitzService:()=>Dt,StackblitzStarterComponent:()=>Qt,StackblitzStarterModule:()=>cn});var e=c(4537),s=c(2628);let k=(()=>{var yt;class Re{}return(yt=Re).\u0275fac=function(re){return new(re||yt)},yt.\u0275cmp=e.Xpm({type:yt,selectors:[["stackblitz-edit-button"]],decls:2,vars:0,consts:[["appearance","flat","icon","assets/icons/stackblitz.svg","size","s","title","Edit on StackBlitz","tuiButton","","type","button"]],template:function(re,Xe){1&re&&(e.TgZ(0,"button",0),e._uU(1," Edit "),e.qZA())},dependencies:[s.v0],styles:["@media screen and (max-width: 47.9625em){button[_ngcontent-%COMP%]{font-size:0;margin-right:-1rem}}"],changeDetection:0}),Re})(),z=(()=>{var yt;class Re{}return(yt=Re).\u0275fac=function(re){return new(re||yt)},yt.\u0275mod=e.oAB({type:yt}),yt.\u0275inj=e.cJS({imports:[s.fN]}),Re})();var F=c(8239),ne=c(8692),W=c(2497),te=c(3139);const Y="https://stackblitz.com",_e=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],ue=["project","search","ports","settings"],ie=["light","dark"],Ue=["editor","preview"],ve={clickToLoad:yt=>Ve("ctl",yt),devToolsHeight:yt=>se("devtoolsheight",yt),forceEmbedLayout:yt=>Ve("embed",yt),hideDevTools:yt=>Ve("hidedevtools",yt),hideExplorer:yt=>Ve("hideExplorer",yt),hideNavigation:yt=>Ve("hideNavigation",yt),openFile:yt=>$e("file",yt),showSidebar:yt=>function je(yt,Re){return"boolean"==typeof Re?`${yt}=${Re?"1":"0"}`:""}("showSidebar",yt),sidebarView:yt=>ee("sidebarView",yt,ue),startScript:yt=>$e("startScript",yt),terminalHeight:yt=>se("terminalHeight",yt),theme:yt=>ee("theme",yt,ie),view:yt=>ee("view",yt,Ue),zenMode:yt=>Ve("zenMode",yt)};function Ae(yt={}){const Re=Object.entries(yt).map(([he,re])=>null!=re&&ve.hasOwnProperty(he)?ve[he](re):"").filter(Boolean);return Re.length?`?${Re.join("&")}`:""}function Ve(yt,Re){return!0===Re?`${yt}=1`:""}function se(yt,Re){if("number"==typeof Re&&!Number.isNaN(Re)){const he=Math.min(100,Math.max(0,Re));return`${yt}=${encodeURIComponent(Math.round(he))}`}return""}function ee(yt,Re="",he=[]){return he.includes(Re)?`${yt}=${encodeURIComponent(Re)}`:""}function $e(yt,Re){return(Array.isArray(Re)?Re:[Re]).filter(re=>"string"==typeof re&&""!==re.trim()).map(re=>`${yt}=${encodeURIComponent(re)}`).join("&")}function _t(yt,Re){return`${tt(Re)}${yt}${Ae(Re)}`}function tt(yt={}){return("string"==typeof yt.origin?yt.origin:Y).replace(/\/$/,"")}function At(yt){return yt&&!1===yt.newWindow?"_self":"_blank"}function N({template:yt,title:Re,description:he,dependencies:re,files:Xe,settings:Le}){if(!_e.includes(yt)){const at=_e.map(kt=>`'${kt}'`).join(", ");console.warn(`Unsupported project.template: must be one of ${at}`)}const fe=[],We=(at,kt,qt="")=>{fe.push(function q(yt,Re){const he=document.createElement("input");return he.type="hidden",he.name=yt,he.value=Re,he}(at,"string"==typeof kt?kt:qt))};We("project[title]",Re),"string"==typeof he&&he.length>0&&We("project[description]",he),We("project[template]",yt,"javascript"),re&&("node"===yt?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):We("project[dependencies]",JSON.stringify(re))),Le&&We("project[settings]",JSON.stringify(Le)),Object.entries(Xe).forEach(([at,kt])=>{We(`project[files][${function ze(yt){return yt.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}(at)}]`,kt)});const ye=document.createElement("form");return ye.method="POST",ye.setAttribute("style","display:none!important;"),ye.append(...fe),ye}const Zt_openProject=function wt(yt,Re){!function et(yt,Re){const he=N(yt);he.action=_t("/run",Re),he.target=At(Re),document.body.appendChild(he),he.submit(),document.body.removeChild(he)}(yt,Re)};var Ut=c(9570);let Dt=(()=>{var yt;class Re{constructor(){this.baseProjectConfigs={template:"typescript",dependencies:{"@maskito/core":"*","@maskito/kit":"*"}},this.name="Stackblitz",this.content=new Ut.Al(k)}edit(re,Xe,Le){var fe=this;return(0,F.Z)(function*(){const[We,ye]=yield Promise.all([c.e(1223).then(c.t.bind(c,1223,17)),c.e(4930).then(c.t.bind(c,4930,17))].map(W.JQ));return Zt_openProject({...fe.baseProjectConfigs,title:`maskito/${re}/${Xe}`,description:`Maskito example of the component ${re}`,files:{"index.html":re.includes("textarea")?"":"","styles.css":ye,"index.ts":(0,W.vi)(We)[0],"mask.ts":Le[te.C.MaskitoOptions]}},{openFile:"index.ts,mask.ts"})})()}openStarter({title:re,description:Xe,files:Le},fe){return Zt_openProject({...this.baseProjectConfigs,title:re,description:Xe,files:Le},fe)}}return(yt=Re).\u0275fac=function(re){return new(re||yt)},yt.\u0275prov=e.Yz7({token:yt,factory:yt.\u0275fac}),Re})();var Xt=c(719);let Qt=(()=>{var yt;class Re{constructor(re,Xe){this.platformId=re,this.stackblitz=Xe}ngOnInit(){var re=this;return(0,F.Z)(function*(){(0,ne.NF)(re.platformId)&&(yield re.openStackblitz())})()}openStackblitz(){var re=this;return(0,F.Z)(function*(){const[Xe,Le]=yield Promise.all([c.e(5097).then(c.t.bind(c,5097,17)),c.e(4930).then(c.t.bind(c,4930,17))].map(W.JQ));return re.stackblitz.openStarter({title:"Maskito Starter",description:"A starter with Maskito library\nDocumentation: https://maskito.dev",files:{"index.html":"","index.ts":Xe,"styles.css":Le}},{newWindow:!1,openFile:"index.ts",hideExplorer:!0})})()}}return(yt=Re).\u0275fac=function(re){return new(re||yt)(e.Y36(e.Lbi),e.Y36(Dt))},yt.\u0275cmp=e.Xpm({type:yt,selectors:[["stackblitz-starter"]],features:[e._Bn([Dt])],decls:1,vars:1,consts:[["size","xxl","textContent","Stackblitz loading...",1,"loader",3,"overlay"]],template:function(re,Xe){1&re&&e._UZ(0,"tui-loader",0),2&re&&e.Q6J("overlay",!0)},dependencies:[Xt.kM],styles:[".loader[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--tui-base-01);z-index:1}"],changeDetection:0}),Re})();var hn=c(3178);let cn=(()=>{var yt;class Re{}return(yt=Re).\u0275fac=function(re){return new(re||yt)},yt.\u0275mod=e.oAB({type:yt}),yt.\u0275inj=e.cJS({imports:[Xt.dS,hn.Bz.forChild([{path:"",component:Qt}])]}),Re})()},7400:(Ht,Fe,c)=>{"use strict";c(7277)},4555:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Q7:()=>Cn,nQ:()=>St,tr:()=>Dt,n9:()=>hn,H$:()=>ye,f8:()=>Jt,vZ:()=>qt,A7:()=>Se,jX:()=>et,Bb:()=>Ft,hM:()=>It,rC:()=>Mn,Oe:()=>Rt});var e=c(3577);const s=[".",",","\u0431","\u044e"],k=new Date("0001-01-01"),z=new Date("9999-12-31"),F={hours:23,minutes:59,seconds:59,milliseconds:999},ne="\xa0",W="\u2013",te="\u2014",pe="-",ce="\u2212",de="\u30fc",Y=[pe,W,te,ce],_e=[","," "],ue=[":","."],ie={hours:2,minutes:2,seconds:2,milliseconds:3};function Ue(oe,Q,H){const le=Math.min(Number(H),Math.max(Number(Q),Number(oe)));return oe instanceof Date?new Date(le):le}function ve(oe,{day:Q,month:H,year:le}={}){const Ie=new Date(oe);return Q&&Ie.setDate(Ie.getDate()+Q),H&&Ie.setMonth(Ie.getMonth()+H),le&&Ie.setFullYear(Ie.getFullYear()+le),Ie}function Ae(oe){return{day:String(oe.getDate()).padStart(2,"0"),month:String(oe.getMonth()+1).padStart(2,"0"),year:String(oe.getFullYear()).padStart(4,"0"),hours:String(oe.getHours()).padStart(2,"0"),minutes:String(oe.getMinutes()).padStart(2,"0"),seconds:String(oe.getSeconds()).padStart(2,"0"),milliseconds:String(oe.getMilliseconds()).padStart(3,"0")}}function Ve(oe,Q){return!(oe.length!H.match(/^0+$/))}function je(oe,Q,H){const le=Q.replace(/\W/g,"").length;return oe.replace(H,"").match(new RegExp(`(\\D*\\d[^\\d\\s]*){1,${le}}`,"g"))||[]}function se(oe,Q){const H=Q.replace(/[^dmy]/g,""),le=oe.replace(/\D+/g,""),Ie={day:le.slice(H.indexOf("d"),H.lastIndexOf("d")+1),month:le.slice(H.indexOf("m"),H.lastIndexOf("m")+1),year:le.slice(H.indexOf("y"),H.lastIndexOf("y")+1)};return Object.fromEntries(Object.entries(Ie).filter(([rt,nt])=>Boolean(nt)).sort(([rt],[nt])=>Q.toLowerCase().indexOf(rt[0])>Q.toLowerCase().indexOf(nt[0])?1:-1))}function ee(oe,Q){var H,le,Ie,rt,nt,ut,He;const Ne=2===(null===(H=oe.year)||void 0===H?void 0:H.length)?`20${oe.year}`:oe.year,U=new Date(Number(null!=Ne?Ne:"0"),Number(null!==(le=oe.month)&&void 0!==le?le:"1")-1,Number(null!==(Ie=oe.day)&&void 0!==Ie?Ie:"1"),Number(null!==(rt=null==Q?void 0:Q.hours)&&void 0!==rt?rt:"0"),Number(null!==(nt=null==Q?void 0:Q.minutes)&&void 0!==nt?nt:"0"),Number(null!==(ut=null==Q?void 0:Q.seconds)&&void 0!==ut?ut:"0"),Number(null!==(He=null==Q?void 0:Q.milliseconds)&&void 0!==He?He:"0"));return U.setFullYear(Number(null!=Ne?Ne:"0")),U}const $e=", ";function Oe({day:oe,month:Q,year:H,hours:le,minutes:Ie,seconds:rt,milliseconds:nt},ut,He){var Ne;const U=2===(null===(Ne=ut.match(/y/g))||void 0===Ne?void 0:Ne.length)?null==H?void 0:H.slice(-2):H;return(ut+(He?$e+He:"")).replace(/d+/g,null!=oe?oe:"").replace(/m+/g,null!=Q?Q:"").replace(/y+/g,null!=U?U:"").replace(/H+/g,null!=le?le:"").replace(/MSS/g,null!=nt?nt:"").replace(/M+/g,null!=Ie?Ie:"").replace(/S+/g,null!=rt?rt:"").replace(/^\D+/g,"").replace(/\D+$/g,"")}function _t(oe,Q,H=0){return Number(oe.padEnd(Q.length,"0"))<=Number(Q)?{validatedSegmentValue:oe,prefixedZeroesCount:H}:oe.endsWith("0")?_t(`0${oe.slice(0,Q.length-1)}`,Q,H+1):_t(`${oe.slice(0,Q.length-1)}0`,Q,H)}const vt=oe=>{var Q,H,le;return{day:(null===(Q=oe.match(/d/g))||void 0===Q?void 0:Q.length)||0,month:(null===(H=oe.match(/m/g))||void 0===H?void 0:H.length)||0,year:(null===(le=oe.match(/y/g))||void 0===le?void 0:le.length)||0}},tt={day:31,month:12,year:9999};function we({dateString:oe,dateModeTemplate:Q,offset:H,selection:[le,Ie]}){const rt=se(oe,Q),nt=Object.entries(rt),ut={};let He=0;for(const[I,A]of nt){const $=Oe(ut,Q),xe=tt[I],dt=H+$.length+($.length&&1)+vt(Q)[I],Bt=dt>=le&&dt===Ie;if(Bt&&Number(A)>Number(xe))return{validatedDateString:"",updatedSelection:[le,Ie]};if(Bt&&Number(A)<1)return{validatedDateString:"",updatedSelection:[le,Ie]};const{validatedSegmentValue:Yt,prefixedZeroesCount:rn}=_t(A,`${xe}`);He+=rn,ut[I]=Yt}const Ne=Oe(ut,Q),U=Ne.length-oe.length;return{validatedDateString:Ne,updatedSelection:[le+He+U,Ie+He+U]}}const mt=/[\\^$.*+?()[\]{}|]/g,At=new RegExp(mt.source);function Qe(oe){return oe&&At.test(oe)?oe.replace(mt,"\\$&"):oe}function R(oe){return oe}function be(oe){return!oe||"object"==typeof oe&&0===Object.keys(oe).length}function S(oe,Q){const H=vt(Q);return Object.fromEntries(Object.entries(oe).map(([le,Ie])=>{const rt=H[le];return[le,Ie.length===rt&&Ie.match(/^0+$/)?"1".padStart(rt,"0"):Ie]}))}function q({dateModeTemplate:oe,min:Q=k,max:H=z,rangeSeparator:le="",dateSegmentSeparator:Ie="."}){return({value:rt,selection:nt})=>{const ut=le&&rt.endsWith(le),He=je(rt,oe,le);let Ne="";for(const U of He){Ne+=Ne?le:"";const I=se(U,oe);Ve(U,oe)?Ne+=Oe(Ae(Ue(ee(I),Q,H)),oe):Ne+=Oe(S(I,oe),oe)+(U.endsWith(Ie)?Ie:"")}return{selection:nt,value:Ne+(ut?le:"")}}}function ze({dateModeTemplate:oe,dateSegmentsSeparator:Q,rangeSeparator:H=""}){return({elementState:le,data:Ie})=>{const rt=H?new RegExp(`${H}|-`):$e,nt=Ie.split(rt),ut=Ie.includes($e)?[nt[0]]:nt;if(ut.every(He=>He.trim().split(/\D/).length===oe.split(Q).length)){const He=ut.map(Ne=>function N(oe,Q,H){const le=oe.split(/\D/),Ie=Q.split(H);return le.map((nt,ut)=>ut===Ie.length-1?nt:nt.padStart(Ie[ut].length,"0")).join(H)}(Ne,oe,Q)).join(H);return{elementState:le,data:`${He}${Ie.includes($e)&&$e+nt[1]||""}`}}return{elementState:le,data:Ie}}}function Se(oe){const Q=new RegExp(`${Qe(oe)}$`);return oe?({value:H,selection:le},Ie)=>{if(!H&&!Ie.value.endsWith(oe))return{value:H,selection:le};if(!H.endsWith(oe)&&!Ie.value.endsWith(oe))return{selection:le,value:H+oe};const rt=Ie.value.replace(Q,""),nt=Ie.selection[1]>=rt.length,ut=function qe(oe,Q){let H="";for(let le=0;le{const I=He.length-1-U;return He[I]!==Ne||ut[I]===Ne&&nt?He.slice(0,I+1)+Ne+He.slice(I+1):He},H)}}:R}function et(oe){return oe?({value:Q,selection:H},le)=>{if(Q.startsWith(oe)||!Q&&!le.value.startsWith(oe))return{value:Q,selection:H};const[Ie,rt]=H,nt=Array.from(oe).reduce((He,Ne,U)=>He[U]===Ne?He:He.slice(0,U)+Ne+He.slice(U),Q),ut=nt.length-Q.length;return{selection:[Ie+ut,rt+ut],value:nt}}:R}function pt({dateModeTemplate:oe,dateSegmentsSeparator:Q,rangeSeparator:H=""}){return({elementState:le,data:Ie})=>{const{value:rt,selection:nt}=le;if(Ie===Q)return{elementState:le,data:nt[0]===rt.length?Ie:""};if(Y.includes(Ie))return{elementState:le,data:H};const ut=Ie.replace(new RegExp(`[^\\d${Qe(Q)}${H}]`,"g"),"");if(!ut)return{elementState:le,data:""};const[He,Ne]=nt;let U=Ne+Ie.length;const I=rt.slice(0,He)+ut+rt.slice(U),A=je(I,oe,H);let $="";const xe=Boolean(H)&&I.includes(H);for(const dt of A){const{validatedDateString:Bt,updatedSelection:Yt}=we({dateString:dt,dateModeTemplate:oe,offset:$?$.length+H.length:0,selection:[He,U]});if(dt&&!Bt)return{elementState:le,data:""};U=Yt[1],$+=xe&&$?H+Bt:Bt}const ct=$.slice(He,U);return{elementState:{selection:nt,value:$.slice(0,He)+ct.split(Q).map(dt=>"0".repeat(dt.length)).join(Q)+$.slice(U)},data:ct}}}function wt(oe,Q,H){return(le,Ie)=>{const rt=()=>Q(le,Ie);return le.addEventListener(oe,rt,H),()=>le.removeEventListener(oe,rt,H)}}function Cn(oe){return wt("focus",Q=>{Q.value||(0,e.fD)(Q,oe)})}function St(oe){return Q=>{const H=Q.ownerDocument;let le=0;const Ie=()=>le++,rt=()=>{le=Math.max(--le,0)},nt=()=>{if(function Ge({activeElement:oe}){if(null==oe||!oe.shadowRoot)return oe;let Q=oe.shadowRoot.activeElement;for(;null!==(H=Q)&&void 0!==H&&H.shadowRoot;){var H;Q=Q.shadowRoot.activeElement}return Q}(H)!==Q)return;if(le)return H.addEventListener("mouseup",nt,{once:!0,passive:!0});const ut=Q.selectionStart||0,He=Q.selectionEnd||0,[Ne,U]=oe(Q.value,[ut,He]);(Ne>ut||U{H.removeEventListener("selectionchange",nt),H.removeEventListener("mousedown",Ie),H.removeEventListener("mouseup",rt)}}}function Ft(oe){const Q=()=>{const H=oe.value;oe.addEventListener("beforeinput",le=>{le.defaultPrevented&&H===oe.value&&oe.dispatchEvent(new CustomEvent("maskitoReject",{bubbles:!0}))},{once:!0})};return oe.addEventListener("beforeinput",Q,!0),()=>oe.removeEventListener("beforeinput",Q,!0)}function It(oe){return wt("blur",Q=>{Q.value===oe&&(0,e.fD)(Q,"")})}function Rt(oe,Q=!1){const H=rt=>{for(let nt=rt.length-1;nt>=0;nt--)if(rt[nt]!==oe[nt])return rt.slice(0,nt+1);return""},le=[St(rt=>[0,H(rt).length])];let Ie=!1;if(Q){const rt=wt("focus",ut=>{Ie=!0,(0,e.fD)(ut,ut.value+oe.slice(ut.value.length))},{capture:!0}),nt=wt("blur",ut=>{Ie=!1,(0,e.fD)(ut,H(ut.value))},{capture:!0});le.push(rt,nt)}return{plugins:le,removePlaceholder:H,preprocessors:[({elementState:rt,data:nt})=>{const{value:ut,selection:He}=rt;return{elementState:{selection:He,value:H(ut)},data:nt}}],postprocessors:[({value:rt,selection:nt})=>Ie||!Q?{value:rt+oe.slice(rt.length),selection:nt}:{value:rt,selection:nt}]}}function Dt({mode:oe,separator:Q=".",max:H,min:le}){const Ie=oe.split("/").join(Q);return{...e.A_,mask:Array.from(Ie).map(rt=>rt===Q?rt:/\d/),overwriteMode:"replace",preprocessors:[({elementState:oe},Q)=>{const{value:H,selection:le}=oe;if(!H||function Ut(oe,[Q,H]){return H===oe.length}(H,le))return{elementState:oe};const[Ie,rt]=le,nt=H.slice(Ie,rt).replace(/\d/g,"0"),ut=H.slice(0,Ie)+nt+H.slice(rt);return"validation"===Q||"insert"===Q&&Ie===rt?{elementState:{selection:le,value:ut}}:{elementState:{selection:"deleteBackward"===Q||"insert"===Q?[Ie,Ie]:[rt,rt],value:ut}}},ze({dateModeTemplate:Ie,dateSegmentsSeparator:Q}),pt({dateModeTemplate:Ie,dateSegmentsSeparator:Q})],postprocessors:[q({min:le,max:H,dateModeTemplate:Ie,dateSegmentSeparator:Q})]}}function Xt({dateModeTemplate:oe,rangeSeparator:Q,minLength:H,maxLength:le,max:Ie=z}){return be(H)&&be(le)?R:({value:rt,selection:nt})=>{const ut=je(rt,oe,Q);if(2!==ut.length||ut.some(xe=>!Ve(xe,oe)))return{value:rt,selection:nt};const[He,Ne]=ut.map(xe=>ee(se(xe,oe))),U=ve(He,{...H,day:(null==H?void 0:H.day)&&H.day-1}),I=be(le)?Ie:ve(He,{...le,day:(null==le?void 0:le.day)&&le.day-1}),A=Ue(Ne,U,Ie);return{selection:nt,value:ut[0]+Q+Oe(Ae(A>I?I:A),oe)}}}function Qt({dateModeTemplate:oe,rangeSeparator:Q}){return({value:H,selection:le})=>{const Ie=je(H,oe,Q),rt=2===Ie.length&&Ie.every(A=>Ve(A,oe)),[nt,ut]=le;if(!((nt>=H.length||0===nt&&ut>=H.length)&&rt))return{value:H,selection:le};const[U,I]=Ie.map(A=>ee(se(A,oe)));return{selection:le,value:U>I?Ie.reverse().join(Q):H}}}function hn({mode:oe,min:Q,max:H,minLength:le,maxLength:Ie,dateSeparator:rt=".",rangeSeparator:nt=`${ne}${W}${ne}`}){const ut=oe.split("/").join(rt),He=Array.from(ut).map(Ne=>Ne===rt?Ne:/\d/);return{...e.A_,mask:[...He,...Array.from(nt),...He],overwriteMode:"replace",preprocessors:[({elementState:oe},Q)=>{const{value:H,selection:le}=oe;if(!H||function Ut(oe,[Q,H]){return H===oe.length}(H,le))return{elementState:oe};const[Ie,rt]=le,nt=H.slice(Ie,rt).replace(/\d/g,"0"),ut=H.slice(0,Ie)+nt+H.slice(rt);return"validation"===Q||"insert"===Q&&Ie===rt?{elementState:{selection:le,value:ut}}:{elementState:{selection:"deleteBackward"===Q||"insert"===Q?[Ie,Ie]:[rt,rt],value:ut}}},ze({dateModeTemplate:ut,rangeSeparator:nt,dateSegmentsSeparator:rt}),pt({dateModeTemplate:ut,rangeSeparator:nt,dateSegmentsSeparator:rt})],postprocessors:[q({min:Q,max:H,dateModeTemplate:ut,rangeSeparator:nt,dateSegmentSeparator:rt}),Xt({dateModeTemplate:ut,minLength:le,maxLength:Ie,max:H,rangeSeparator:nt}),Qt({dateModeTemplate:ut,rangeSeparator:nt})]}}function cn(oe){return Object.fromEntries(Object.entries(oe).map(([Q,H])=>[Q,`${H}`.padEnd(ie[Q],"0")]))}function yt(oe){const Q=oe.replace(/\D+/g,""),H={hours:Q.slice(0,2),minutes:Q.slice(2,4),seconds:Q.slice(4,6),milliseconds:Q.slice(6,9)};return Object.fromEntries(Object.entries(H).filter(([le,Ie])=>Boolean(Ie)))}function Re({hours:oe="",minutes:Q="",seconds:H="",milliseconds:le=""}){return`${oe}${Q&&`:${Q}`}${H&&`:${H}`}${le&&`.${le}`}`}const he=new RegExp(`[${ue.map(Qe).join("")}]$`);function re({timeString:oe,paddedMaxValues:Q,offset:H,selection:[le,Ie]}){const rt=yt(oe),nt=Object.entries(rt),ut={};let He=0;for(const[A,$]of nt){const xe=Re(ut),ct=Q[A],Bt=H+xe.length+(xe.length&&1)+ie[A];if(Bt>=le&&Bt<=Ie&&Number($)>Number(ct))return{validatedTimeString:"",updatedTimeSelection:[le,Ie]};const{validatedSegmentValue:rn,prefixedZeroesCount:en}=_t($,`${ct}`);He+=en,ut[A]=rn}const[Ne=""]=oe.match(he)||[],U=Re(ut)+Ne,I=Math.max(U.length-oe.length,0);return{validatedTimeString:U,updatedTimeSelection:[le+He+I,Ie+He+I]}}function Xe(oe,Q){const H=oe.includes($e);return[oe.slice(0,Q.length),oe.slice(H?Q.length+$e.length:Q.length)]}function fe({dateModeTemplate:oe,timeMode:Q,min:H=k,max:le=z}){return({value:Ie,selection:rt})=>{const[nt,ut]=Xe(Ie,oe),He=se(nt,oe),Ne=yt(ut);if(!function Le(oe,Q,H){return oe.length>=Q.length+H.length+$e.length&&oe.split($e)[0].split(/\D/).every(le=>!le.match(/^0+$/))}(Ie,oe,Q)){const $=S(He,oe),{year:xe,month:ct,day:dt}=Ve(nt,oe)?Ae(Ue(ee($),H,le)):$,Bt=Oe({year:xe,month:ct,day:dt,...Ne},oe,Q);return{selection:rt,value:Bt+Ie.slice(Bt.length)}}return{selection:rt,value:Oe(Ae(Ue(ee(He,Ne),H,le)),oe,Q)}}}function We({dateModeTemplate:oe,dateSegmentsSeparator:Q}){const H=new RegExp(`[^\\d${ue.map(Qe).join("")}${Qe(Q)}]+`);return({elementState:le,data:Ie})=>{const{value:rt,selection:nt}=le;if(Ie===Q)return{elementState:le,data:nt[0]===rt.length?Ie:""};if(_e.includes(Ie))return{elementState:le,data:$e};const ut=Ie.replace(H,"");if(!ut)return{elementState:le,data:""};const[He,Ne]=nt;let U=Ne+Ie.length;const I=rt.slice(0,He)+ut+rt.slice(U),[A,$]=Xe(I,oe);let xe="";const ct=I.includes($e),{validatedDateString:dt,updatedSelection:Bt}=we({dateString:A,dateModeTemplate:oe,offset:0,selection:[He,U]});if(A&&!dt)return{elementState:le,data:""};U=Bt[1],xe+=dt;const Yt=cn(F),{validatedTimeString:rn,updatedTimeSelection:en}=re({timeString:$,paddedMaxValues:Yt,offset:xe.length+$e.length,selection:[He,U]});if($&&!rn)return{elementState:le,data:""};U=en[1],xe+=ct?$e+rn:rn;const gn=xe.slice(He,U);return{elementState:{selection:nt,value:xe.slice(0,He)+gn.split(Q).map(pn=>"0".repeat(pn.length)).join(Q)+xe.slice(U)},data:gn}}}function ye({dateMode:oe,timeMode:Q,dateSeparator:H=".",min:le,max:Ie}){const rt=oe.split("/").join(H);return{...e.A_,mask:[...Array.from(rt).map(nt=>nt===H?nt:/\d/),...$e.split(""),...Array.from(Q).map(nt=>ue.includes(nt)?nt:/\d/)],overwriteMode:"replace",preprocessors:[({elementState:oe},Q)=>{const{value:H,selection:le}=oe;if(!H||function Ut(oe,[Q,H]){return H===oe.length}(H,le))return{elementState:oe};const[Ie,rt]=le,nt=H.slice(Ie,rt).replace(/\d/g,"0"),ut=H.slice(0,Ie)+nt+H.slice(rt);return"validation"===Q||"insert"===Q&&Ie===rt?{elementState:{selection:le,value:ut}}:{elementState:{selection:"deleteBackward"===Q||"insert"===Q?[Ie,Ie]:[rt,rt],value:ut}}},ze({dateModeTemplate:rt,dateSegmentsSeparator:H}),We({dateModeTemplate:rt,dateSegmentsSeparator:H})],postprocessors:[fe({min:le,max:Ie,dateModeTemplate:rt,timeMode:Q})]}}function at({decimalSeparator:oe,isNegativeAllowed:Q,precision:H,thousandSeparator:le,prefix:Ie,postfix:rt,decimalPseudoSeparators:nt=[],pseudoMinuses:ut=[]}){const He=kt(Ie),U=Q?`[${ce}${ut.map(xe=>`\\${xe}`).join("")}]?`:"",I=le?`[\\d${Qe(le).replace(/\s/g,"\\s")}]*`:"[\\d]*",A=H>0?`([${Qe(oe)}${nt.map(Qe).join("")}]\\d{0,${Number.isFinite(H)?H:""}})?`:"",$=kt(rt);return new RegExp(`^${He}${U}${I}${A}${$}$`)}function kt(oe){return oe?`${oe.split("").map(Q=>`${Qe(Q)}?`).join("")}`:""}function qt(oe,Q="."){const H=!!oe.match(new RegExp(`^\\D*[${ce}\\${pe}${W}${te}]`)),le=Qe(Q),Ie=oe.replace(new RegExp(`${le}(?!\\d)`,"g"),"").replace(new RegExp(`[^\\d${le}]`,"g"),"").replace(Q,".");return Ie?Number((H?pe:"")+Ie):NaN}function Wt({decimalSeparator:oe,precision:Q,decimalZeroPadding:H,postfix:le}){if(Q<=0||!H)return R;const Ie=new RegExp(`${Qe(le)}$`);return({value:rt,selection:nt})=>{if(Number.isNaN(qt(rt,oe)))return{value:rt,selection:nt};const[ut,He=""]=rt.replace(Ie,"").split(oe);return{value:ut+oe+He.padEnd(Q,"0")+le,selection:nt}}}function Pt(oe){return oe.replace(/[\uff10-\uff19]/g,Q=>String.fromCharCode(Q.charCodeAt(0)-65248))}function fn({decimalSeparator:oe,decimalPseudoSeparators:Q,pseudoMinuses:H}){let le=!0;const Ie=at({decimalSeparator:oe,decimalPseudoSeparators:Q,pseudoMinuses:H,prefix:"",postfix:"",thousandSeparator:"",precision:1/0,isNegativeAllowed:!0});return({elementState:rt,data:nt})=>le?(le=!1,{elementState:(0,e.CV)(rt,{mask:Ie}),data:nt}):{elementState:rt,data:nt}}function ot({min:oe,max:Q,decimalSeparator:H}){return({value:le,selection:Ie})=>{const rt=qt(le,H),nt=rt>0?Math.min(rt,Q):Math.max(rt,oe);if(!Number.isNaN(rt)&&nt!==rt){const ut=`${nt}`.replace(".",H).replace(pe,ce);return{value:ut,selection:[ut.length,ut.length]}}return{value:le,selection:Ie}}}function lt({decimalSeparator:oe,thousandSeparator:Q,decimalZeroPadding:H}){return({elementState:le,data:Ie},rt)=>{const{value:nt,selection:ut}=le,[He,Ne]=ut,U=nt.slice(He,Ne),I=H?[oe,Q]:[Q],A=H&&He>nt.indexOf(oe)&&Boolean(U.match(/^0+$/gi));return"deleteBackward"!==rt&&"deleteForward"!==rt||!I.includes(U)&&!A?{elementState:le,data:Ie}:{elementState:{value:nt,selection:"deleteForward"===rt?[Ne,Ne]:[He,He]},data:Ie}}}function it({decimalSeparator:oe,precision:Q}){const H=new RegExp(`^\\D*${Qe(oe)}`);return({elementState:le,data:Ie})=>{const{value:rt,selection:nt}=le,[ut]=nt;return Q<=0||rt.includes(oe)||!Ie.match(H)?{elementState:le,data:Ie}:{elementState:le,data:rt.slice(0,ut).match(/\d+/)?Ie:`0${Ie}`}}}function st(oe,Q){const H=new RegExp(`[${Q.join("")}]`,"gi");return({elementState:le,data:Ie})=>{const{value:rt,selection:nt}=le;return{elementState:{selection:nt,value:rt.replace(H,oe)},data:Ie.replace(H,oe)}}}function V(oe){return({elementState:Q,data:H})=>{const{value:le,selection:Ie}=Q,[rt,nt]=Ie;return{elementState:Q,data:!le.includes(oe)||le.slice(rt,nt+1).includes(oe)?H:H.replace(new RegExp(Qe(oe),"gi"),"")}}}function Pe({thousandSeparator:oe,decimalSeparator:Q,prefix:H,postfix:le}){if(!oe)return R;const Ie=new RegExp(`^${Qe(H)}${ce}?`),rt=new RegExp(`${Qe(le)}$`);return({value:ut,selection:He})=>{const[Ne,U=""]=ut.split(Q),[I,A]=He;let[$,xe]=He;const ct=Ne.replace(Ie,"").replace(rt,""),[dt=""]=Ne.match(Ie)||[],[Bt=""]=Ne.match(rt)||[],Yt=Array.from(ct).reduceRight((rn,en,gn)=>{const In=!(!gn&&en===oe)&&rn.length&&(rn.length+1)%4==0;return In&&(en===oe||((...ut)=>ut.every(He=>/\s/.test(He)))(en,oe))?oe+rn:en!==oe||In?In?(gn<=I&&$++,gn<=A&&xe++,en+oe+rn):en+rn:(gn&&gn<=I&&$--,gn&&gn<=A&&xe--,rn)},"");return{value:dt+Yt+Bt+(ut.includes(Q)?Q:"")+U,selection:[$,xe]}}}function bt(oe,Q){if(oe>0)return R;const H=new RegExp(`${Qe(Q)}.*$`,"g");return({elementState:le,data:Ie})=>{const{value:rt,selection:nt}=le,[ut,He]=nt,Ne=rt.replace(H,"");return{elementState:{selection:[Math.min(ut,Ne.length),Math.min(He,Ne.length)],value:Ne},data:Ie.replace(H,"")}}}const gt=[0,0];function on(oe,Q){const H=function Ke(oe,Q){const H=Ie=>{const rt=Qe(Q);return Ie.replace(new RegExp(`^(\\D+)?[0${rt}]+(?=0)`),"$1").replace(new RegExp(`^(\\D+)?[0${rt}]+(?=[1-9])`),"$1")},le=(Ie,rt)=>{const nt=Ie.slice(0,rt),ut=Ie.slice(rt).startsWith("0");return nt.length-H(nt).length+(ut?1:0)};return({value:Ie,selection:rt})=>{const[nt,ut]=rt,He=Ie.includes(oe),[Ne,U=""]=Ie.split(oe),I=H(Ne);if(Ne===I)return{value:Ie,selection:rt};const A=nt-le(Ie,nt),$=ut-le(Ie,ut);return{value:I+(He?oe:"")+U,selection:[Math.max(A,0),Math.max($,0)]}}}(oe,Q);return wt("blur",le=>{const Ie=H({value:le.value,selection:gt},{value:"",selection:gt}).value;le.value!==Ie&&(0,e.fD)(le,Ie)},{capture:!0})}function $t({min:oe,max:Q,decimalSeparator:H}){return wt("blur",(le,Ie)=>{const rt=qt(le.value,H),nt=Ue(rt,oe,Q);!Number.isNaN(rt)&&rt!==nt&&(0,e.fD)(le,(0,e.CV)(function Lt(oe){const Q=String(oe),[H,le]=Q.split("e-");let Ie=Q;if(le){const[,rt]=H.split("."),nt=Number(le)+((null==rt?void 0:rt.length)||0);Ie=oe.toFixed(nt)}return Ie}(nt),Ie))},{capture:!0})}function vn(oe){return wt("blur",Q=>{const H=Q.value.replace(new RegExp(`^(\\D+)?${Qe(oe)}`),`$10${oe}`);H!==Q.value&&(0,e.fD)(Q,H)},{capture:!0})}function Jt({max:oe=Number.MAX_SAFE_INTEGER,min:Q=Number.MIN_SAFE_INTEGER,precision:H=0,thousandSeparator:le=ne,decimalSeparator:Ie=".",decimalPseudoSeparators:rt,decimalZeroPadding:nt=!1,prefix:ut="",postfix:He=""}={}){const Ne=[pe,W,te,de].filter(I=>I!==le&&I!==Ie),U=function xt({decimalSeparator:oe,thousandSeparator:Q,decimalPseudoSeparators:H=s}){return H.filter(le=>le!==Q&&le!==oe)}({decimalSeparator:Ie,thousandSeparator:le,decimalPseudoSeparators:rt});return{...e.A_,mask:at({decimalSeparator:Ie,precision:H,thousandSeparator:le,prefix:ut,postfix:He,isNegativeAllowed:Q<0}),preprocessors:[fn({decimalSeparator:Ie,decimalPseudoSeparators:U,pseudoMinuses:Ne}),({elementState:oe,data:Q})=>{const{value:H,selection:le}=oe;return{elementState:{selection:le,value:Pt(H)},data:Pt(Q)}},st(ce,Ne),st(Ie,U),it({decimalSeparator:Ie,precision:H}),lt({decimalSeparator:Ie,decimalZeroPadding:nt,thousandSeparator:le}),bt(H,Ie),V(Ie)],postprocessors:[ot({decimalSeparator:Ie,min:Q,max:oe}),et(ut),Se(He),Pe({decimalSeparator:Ie,thousandSeparator:le,prefix:ut,postfix:He}),Wt({decimalSeparator:Ie,decimalZeroPadding:nt,precision:H,postfix:He})],plugins:[on(Ie,le),vn(Ie),$t({min:Q,max:oe,decimalSeparator:Ie})],overwriteMode:nt?({value:I,selection:[A]})=>A<=I.indexOf(Ie)?"shift":"replace":"shift"}}function Nn(oe){const Q=cn(oe),H=new RegExp(`[^\\d${ue.map(Qe).join("")}]+`);return({elementState:le,data:Ie},rt)=>{if("deleteBackward"===rt||"deleteForward"===rt)return{elementState:le,data:Ie};const{value:nt,selection:ut}=le;if("validation"===rt){const{validatedTimeString:dt,updatedTimeSelection:Bt}=re({timeString:nt,paddedMaxValues:Q,offset:0,selection:ut});return{elementState:{value:dt,selection:Bt},data:Ie}}const He=Ie.replace(H,""),[Ne,U]=ut;let I=U+He.length;const A=nt.slice(0,Ne)+He+nt.slice(I),{validatedTimeString:$,updatedTimeSelection:xe}=re({timeString:A,paddedMaxValues:Q,offset:0,selection:[Ne,I]});if(A&&!$)return{elementState:le,data:""};I=xe[1];const ct=$.slice(Ne,I);return{elementState:{selection:ut,value:$.slice(0,Ne)+"0".repeat(ct.length)+$.slice(I)},data:ct}}}function Mn({mode:oe,timeSegmentMaxValues:Q={}}){const H={...F,...Q};return{...e.A_,mask:Array.from(oe).map(le=>ue.includes(le)?le:/\d/),preprocessors:[({elementState:oe},Q)=>{const{value:H,selection:le}=oe;if(!H||function Ut(oe,[Q,H]){return H===oe.length}(H,le))return{elementState:oe};const[Ie,rt]=le,nt=H.slice(Ie,rt).replace(/\d/g,"0"),ut=H.slice(0,Ie)+nt+H.slice(rt);return"validation"===Q||"insert"===Q&&Ie===rt?{elementState:{selection:le,value:ut}}:{elementState:{selection:"deleteBackward"===Q||"insert"===Q?[Ie,Ie]:[rt,rt],value:ut}}},Nn(H)],overwriteMode:"replace"}}},4091:(Ht,Fe,c)=>{"use strict";c.d(Fe,{EY:()=>Ue,IO:()=>ie,LC:()=>s,X$:()=>z,ZE:()=>Ve,ZN:()=>Ae,_j:()=>e,eR:()=>de,jt:()=>F,k1:()=>je,l3:()=>k,oB:()=>te,pV:()=>_e,vP:()=>W});class e{}class s{}const k="*";function z(se,ee){return{type:7,name:se,definitions:ee,options:{}}}function F(se,ee=null){return{type:4,styles:ee,timings:se}}function W(se,ee=null){return{type:2,steps:se,options:ee}}function te(se){return{type:6,styles:se,offset:null}}function de(se,ee,$e=null){return{type:1,expr:se,animation:ee,options:$e}}function _e(se=null){return{type:9,options:se}}function ie(se,ee,$e=null){return{type:11,selector:se,animation:ee,options:$e}}function Ue(se,ee){return{type:12,timings:se,animation:ee}}function ve(se){Promise.resolve().then(se)}class Ae{constructor(ee=0,$e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ee+$e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ee=>ee()),this._onDoneFns=[])}onStart(ee){this._originalOnStartFns.push(ee),this._onStartFns.push(ee)}onDone(ee){this._originalOnDoneFns.push(ee),this._onDoneFns.push(ee)}onDestroy(ee){this._onDestroyFns.push(ee)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ve(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ee=>ee()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ee=>ee()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ee){this._position=this.totalTime?ee*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ee){const $e="start"==ee?this._onStartFns:this._onDoneFns;$e.forEach(Oe=>Oe()),$e.length=0}}class Ve{constructor(ee){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ee;let $e=0,Oe=0,_t=0;const vt=this.players.length;0==vt?ve(()=>this._onFinish()):this.players.forEach(tt=>{tt.onDone(()=>{++$e==vt&&this._onFinish()}),tt.onDestroy(()=>{++Oe==vt&&this._onDestroy()}),tt.onStart(()=>{++_t==vt&&this._onStart()})}),this.totalTime=this.players.reduce((tt,we)=>Math.max(tt,we.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ee=>ee()),this._onDoneFns=[])}init(){this.players.forEach(ee=>ee.init())}onStart(ee){this._onStartFns.push(ee)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ee=>ee()),this._onStartFns=[])}onDone(ee){this._onDoneFns.push(ee)}onDestroy(ee){this._onDestroyFns.push(ee)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ee=>ee.play())}pause(){this.players.forEach(ee=>ee.pause())}restart(){this.players.forEach(ee=>ee.restart())}finish(){this._onFinish(),this.players.forEach(ee=>ee.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ee=>ee.destroy()),this._onDestroyFns.forEach(ee=>ee()),this._onDestroyFns=[])}reset(){this.players.forEach(ee=>ee.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ee){const $e=ee*this.totalTime;this.players.forEach(Oe=>{const _t=Oe.totalTime?Math.min(1,$e/Oe.totalTime):1;Oe.setPosition(_t)})}getPosition(){const ee=this.players.reduce(($e,Oe)=>null===$e||Oe.totalTime>$e.totalTime?Oe:$e,null);return null!=ee?ee.getPosition():0}beforeDestroy(){this.players.forEach(ee=>{ee.beforeDestroy&&ee.beforeDestroy()})}triggerCallback(ee){const $e="start"==ee?this._onStartFns:this._onDoneFns;$e.forEach(Oe=>Oe()),$e.length=0}}const je="!"},763:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Ar:()=>Si,DT:()=>Mo,NH:()=>io,Th:()=>Er,Vi:()=>at,nV:()=>ye});var e=c(4091),s=c(4537);function z(Ee){return new s.vHH(3e3,!1)}function et(){return typeof window<"u"&&typeof window.document<"u"}function pt(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function wt(Ee){switch(Ee.length){case 0:return new e.ZN;case 1:return Ee[0];default:return new e.ZE(Ee)}}function Cn(Ee,_,y,j,De=new Map,Ye=new Map){const Ct=[],Ot=[];let Vt=-1,sn=null;if(j.forEach(kn=>{const T=kn.get("offset"),E=T==Vt,M=E&&sn||new Map;kn.forEach((ae,ft)=>{let Dn=ft,zn=ae;if("offset"!==ft)switch(Dn=_.normalizePropertyName(Dn,Ct),zn){case e.k1:zn=De.get(ft);break;case e.l3:zn=Ye.get(ft);break;default:zn=_.normalizeStyleValue(ft,Dn,zn,Ct)}M.set(Dn,zn)}),E||Ot.push(M),sn=M,Vt=T}),Ct.length)throw function we(Ee){return new s.vHH(3502,!1)}();return Ot}function St(Ee,_,y,j){switch(_){case"start":Ee.onStart(()=>j(y&&Ft(y,"start",Ee)));break;case"done":Ee.onDone(()=>j(y&&Ft(y,"done",Ee)));break;case"destroy":Ee.onDestroy(()=>j(y&&Ft(y,"destroy",Ee)))}}function Ft(Ee,_,y){const j=y.totalTime,Ye=It(Ee.element,Ee.triggerName,Ee.fromState,Ee.toState,_||Ee.phaseName,null==j?Ee.totalTime:j,!!y.disabled),Ct=Ee._data;return null!=Ct&&(Ye._data=Ct),Ye}function It(Ee,_,y,j,De="",Ye=0,Ct){return{element:Ee,triggerName:_,fromState:y,toState:j,phaseName:De,totalTime:Ye,disabled:!!Ct}}function Rt(Ee,_,y){let j=Ee.get(_);return j||Ee.set(_,j=y),j}function Zt(Ee){const _=Ee.indexOf(":");return[Ee.substring(1,_),Ee.slice(_+1)]}let Ut=(Ee,_)=>!1,Dt=(Ee,_,y)=>[],Xt=null;function Qt(Ee){const _=Ee.parentNode||Ee.host;return _===Xt?null:_}(pt()||typeof Element<"u")&&(et()?(Xt=(()=>document.documentElement)(),Ut=(Ee,_)=>{for(;_;){if(_===Ee)return!0;_=Qt(_)}return!1}):Ut=(Ee,_)=>Ee.contains(_),Dt=(Ee,_,y)=>{if(y)return Array.from(Ee.querySelectorAll(_));const j=Ee.querySelector(_);return j?[j]:[]});let yt=null,Re=!1;const Le=Ut,fe=Dt;let ye=(()=>{class Ee{validateStyleProperty(y){return function he(Ee){yt||(yt=function Xe(){return typeof document<"u"?document.body:null}()||{},Re=!!yt.style&&"WebkitAppearance"in yt.style);let _=!0;return yt.style&&!function cn(Ee){return"ebkit"==Ee.substring(1,6)}(Ee)&&(_=Ee in yt.style,!_&&Re&&(_="Webkit"+Ee.charAt(0).toUpperCase()+Ee.slice(1)in yt.style)),_}(y)}matchesElement(y,j){return!1}containsElement(y,j){return Le(y,j)}getParentElement(y){return Qt(y)}query(y,j,De){return fe(y,j,De)}computeStyle(y,j,De){return De||""}animate(y,j,De,Ye,Ct,Ot=[],Vt){return new e.ZN(De,Ye)}}return Ee.\u0275fac=function(y){return new(y||Ee)},Ee.\u0275prov=s.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})(),at=(()=>{class Ee{}return Ee.NOOP=new ye,Ee})();const kt=1e3,xt="ng-enter",Wt="ng-leave",Pt="ng-trigger",an=".ng-trigger",fn="ng-animating",Ke=".ng-animating";function ot(Ee){if("number"==typeof Ee)return Ee;const _=Ee.match(/^(-?[\.\d]+)(m?s)/);return!_||_.length<2?0:lt(parseFloat(_[1]),_[2])}function lt(Ee,_){return"s"===_?Ee*kt:Ee}function it(Ee,_,y){return Ee.hasOwnProperty("duration")?Ee:function st(Ee,_,y){let De,Ye=0,Ct="";if("string"==typeof Ee){const Ot=Ee.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ot)return _.push(z()),{duration:0,delay:0,easing:""};De=lt(parseFloat(Ot[1]),Ot[2]);const Vt=Ot[3];null!=Vt&&(Ye=lt(parseFloat(Vt),Ot[4]));const sn=Ot[5];sn&&(Ct=sn)}else De=Ee;if(!y){let Ot=!1,Vt=_.length;De<0&&(_.push(function F(){return new s.vHH(3100,!1)}()),Ot=!0),Ye<0&&(_.push(function ne(){return new s.vHH(3101,!1)}()),Ot=!0),Ot&&_.splice(Vt,0,z())}return{duration:De,delay:Ye,easing:Ct}}(Ee,_,y)}function V(Ee,_={}){return Object.keys(Ee).forEach(y=>{_[y]=Ee[y]}),_}function Pe(Ee){const _=new Map;return Object.keys(Ee).forEach(y=>{_.set(y,Ee[y])}),_}function on(Ee,_=new Map,y){if(y)for(let[j,De]of y)_.set(j,De);for(let[j,De]of Ee)_.set(j,De);return _}function $t(Ee,_,y){return y?_+":"+y+";":""}function vn(Ee){let _="";for(let y=0;y{const Ye=nt(De);y&&!y.has(De)&&y.set(De,Ee.style[Ye]),Ee.style[Ye]=j}),pt()&&vn(Ee))}function Nn(Ee,_){Ee.style&&(_.forEach((y,j)=>{const De=nt(j);Ee.style[De]=""}),pt()&&vn(Ee))}function Mn(Ee){return Array.isArray(Ee)?1==Ee.length?Ee[0]:(0,e.vP)(Ee):Ee}const Q=new RegExp("{{\\s*(.+?)\\s*}}","g");function H(Ee){let _=[];if("string"==typeof Ee){let y;for(;y=Q.exec(Ee);)_.push(y[1]);Q.lastIndex=0}return _}function le(Ee,_,y){const j=Ee.toString(),De=j.replace(Q,(Ye,Ct)=>{let Ot=_[Ct];return null==Ot&&(y.push(function te(Ee){return new s.vHH(3003,!1)}()),Ot=""),Ot.toString()});return De==j?Ee:De}function Ie(Ee){const _=[];let y=Ee.next();for(;!y.done;)_.push(y.value),y=Ee.next();return _}const rt=/-+([a-z0-9])/g;function nt(Ee){return Ee.replace(rt,(..._)=>_[1].toUpperCase())}function ut(Ee){return Ee.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function U(Ee,_,y){switch(_.type){case 7:return Ee.visitTrigger(_,y);case 0:return Ee.visitState(_,y);case 1:return Ee.visitTransition(_,y);case 2:return Ee.visitSequence(_,y);case 3:return Ee.visitGroup(_,y);case 4:return Ee.visitAnimate(_,y);case 5:return Ee.visitKeyframes(_,y);case 6:return Ee.visitStyle(_,y);case 8:return Ee.visitReference(_,y);case 9:return Ee.visitAnimateChild(_,y);case 10:return Ee.visitAnimateRef(_,y);case 11:return Ee.visitQuery(_,y);case 12:return Ee.visitStagger(_,y);default:throw function pe(Ee){return new s.vHH(3004,!1)}()}}function I(Ee,_){return window.getComputedStyle(Ee)[_]}const rn="*";function en(Ee,_){const y=[];return"string"==typeof Ee?Ee.split(/\s*,\s*/).forEach(j=>function gn(Ee,_,y){if(":"==Ee[0]){const Vt=function pn(Ee,_){switch(Ee){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(y,j)=>parseFloat(j)>parseFloat(y);case":decrement":return(y,j)=>parseFloat(j) *"}}(Ee,y);if("function"==typeof Vt)return void _.push(Vt);Ee=Vt}const j=Ee.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==j||j.length<4)return y.push(function $e(Ee){return new s.vHH(3015,!1)}()),_;const De=j[1],Ye=j[2],Ct=j[3];_.push(mn(De,Ct));"<"==Ye[0]&&!(De==rn&&Ct==rn)&&_.push(mn(Ct,De))}(j,y,_)):y.push(Ee),y}const In=new Set(["true","1"]),Kn=new Set(["false","0"]);function mn(Ee,_){const y=In.has(Ee)||Kn.has(Ee),j=In.has(_)||Kn.has(_);return(De,Ye)=>{let Ct=Ee==rn||Ee==De,Ot=_==rn||_==Ye;return!Ct&&y&&"boolean"==typeof De&&(Ct=De?In.has(Ee):Kn.has(Ee)),!Ot&&j&&"boolean"==typeof Ye&&(Ot=Ye?In.has(_):Kn.has(_)),Ct&&Ot}}const $n=new RegExp("s*:selfs*,?","g");function ci(Ee,_,y,j){return new Xn(Ee).build(_,y,j)}class Xn{constructor(_){this._driver=_}build(_,y,j){const De=new Ai(y);return this._resetContextStyleTimingState(De),U(this,Mn(_),De)}_resetContextStyleTimingState(_){_.currentQuerySelector="",_.collectedStyles=new Map,_.collectedStyles.set("",new Map),_.currentTime=0}visitTrigger(_,y){let j=y.queryCount=0,De=y.depCount=0;const Ye=[],Ct=[];return"@"==_.name.charAt(0)&&y.errors.push(function de(){return new s.vHH(3006,!1)}()),_.definitions.forEach(Ot=>{if(this._resetContextStyleTimingState(y),0==Ot.type){const Vt=Ot,sn=Vt.name;sn.toString().split(/\s*,\s*/).forEach(kn=>{Vt.name=kn,Ye.push(this.visitState(Vt,y))}),Vt.name=sn}else if(1==Ot.type){const Vt=this.visitTransition(Ot,y);j+=Vt.queryCount,De+=Vt.depCount,Ct.push(Vt)}else y.errors.push(function Y(){return new s.vHH(3007,!1)}())}),{type:7,name:_.name,states:Ye,transitions:Ct,queryCount:j,depCount:De,options:null}}visitState(_,y){const j=this.visitStyle(_.styles,y),De=_.options&&_.options.params||null;if(j.containsDynamicStyles){const Ye=new Set,Ct=De||{};j.styles.forEach(Ot=>{Ot instanceof Map&&Ot.forEach(Vt=>{H(Vt).forEach(sn=>{Ct.hasOwnProperty(sn)||Ye.add(sn)})})}),Ye.size&&(Ie(Ye.values()),y.errors.push(function _e(Ee,_){return new s.vHH(3008,!1)}()))}return{type:0,name:_.name,style:j,options:De?{params:De}:null}}visitTransition(_,y){y.queryCount=0,y.depCount=0;const j=U(this,Mn(_.animation),y);return{type:1,matchers:en(_.expr,y.errors),animation:j,queryCount:y.queryCount,depCount:y.depCount,options:Ti(_.options)}}visitSequence(_,y){return{type:2,steps:_.steps.map(j=>U(this,j,y)),options:Ti(_.options)}}visitGroup(_,y){const j=y.currentTime;let De=0;const Ye=_.steps.map(Ct=>{y.currentTime=j;const Ot=U(this,Ct,y);return De=Math.max(De,y.currentTime),Ot});return y.currentTime=De,{type:3,steps:Ye,options:Ti(_.options)}}visitAnimate(_,y){const j=function Wn(Ee,_){if(Ee.hasOwnProperty("duration"))return Ee;if("number"==typeof Ee)return ti(it(Ee,_).duration,0,"");const y=Ee;if(y.split(/\s+/).some(Ye=>"{"==Ye.charAt(0)&&"{"==Ye.charAt(1))){const Ye=ti(0,0,"");return Ye.dynamic=!0,Ye.strValue=y,Ye}const De=it(y,_);return ti(De.duration,De.delay,De.easing)}(_.timings,y.errors);y.currentAnimateTimings=j;let De,Ye=_.styles?_.styles:(0,e.oB)({});if(5==Ye.type)De=this.visitKeyframes(Ye,y);else{let Ct=_.styles,Ot=!1;if(!Ct){Ot=!0;const sn={};j.easing&&(sn.easing=j.easing),Ct=(0,e.oB)(sn)}y.currentTime+=j.duration+j.delay;const Vt=this.visitStyle(Ct,y);Vt.isEmptyStep=Ot,De=Vt}return y.currentAnimateTimings=null,{type:4,timings:j,style:De,options:null}}visitStyle(_,y){const j=this._makeStyleAst(_,y);return this._validateStyleAst(j,y),j}_makeStyleAst(_,y){const j=[],De=Array.isArray(_.styles)?_.styles:[_.styles];for(let Ot of De)"string"==typeof Ot?Ot===e.l3?j.push(Ot):y.errors.push(new s.vHH(3002,!1)):j.push(Pe(Ot));let Ye=!1,Ct=null;return j.forEach(Ot=>{if(Ot instanceof Map&&(Ot.has("easing")&&(Ct=Ot.get("easing"),Ot.delete("easing")),!Ye))for(let Vt of Ot.values())if(Vt.toString().indexOf("{{")>=0){Ye=!0;break}}),{type:6,styles:j,easing:Ct,offset:_.offset,containsDynamicStyles:Ye,options:null}}_validateStyleAst(_,y){const j=y.currentAnimateTimings;let De=y.currentTime,Ye=y.currentTime;j&&Ye>0&&(Ye-=j.duration+j.delay),_.styles.forEach(Ct=>{"string"!=typeof Ct&&Ct.forEach((Ot,Vt)=>{const sn=y.collectedStyles.get(y.currentQuerySelector),kn=sn.get(Vt);let T=!0;kn&&(Ye!=De&&Ye>=kn.startTime&&De<=kn.endTime&&(y.errors.push(function Ue(Ee,_,y,j,De){return new s.vHH(3010,!1)}()),T=!1),Ye=kn.startTime),T&&sn.set(Vt,{startTime:Ye,endTime:De}),y.options&&function oe(Ee,_,y){const j=_.params||{},De=H(Ee);De.length&&De.forEach(Ye=>{j.hasOwnProperty(Ye)||y.push(function W(Ee){return new s.vHH(3001,!1)}())})}(Ot,y.options,y.errors)})})}visitKeyframes(_,y){const j={type:5,styles:[],options:null};if(!y.currentAnimateTimings)return y.errors.push(function ve(){return new s.vHH(3011,!1)}()),j;let Ye=0;const Ct=[];let Ot=!1,Vt=!1,sn=0;const kn=_.steps.map(zn=>{const ii=this._makeStyleAst(zn,y);let Di=null!=ii.offset?ii.offset:function Ji(Ee){if("string"==typeof Ee)return null;let _=null;if(Array.isArray(Ee))Ee.forEach(y=>{if(y instanceof Map&&y.has("offset")){const j=y;_=parseFloat(j.get("offset")),j.delete("offset")}});else if(Ee instanceof Map&&Ee.has("offset")){const y=Ee;_=parseFloat(y.get("offset")),y.delete("offset")}return _}(ii.styles),mi=0;return null!=Di&&(Ye++,mi=ii.offset=Di),Vt=Vt||mi<0||mi>1,Ot=Ot||mi0&&Ye{const Di=E>0?ii==M?1:E*ii:Ct[ii],mi=Di*Dn;y.currentTime=ae+ft.delay+mi,ft.duration=mi,this._validateStyleAst(zn,y),zn.offset=Di,j.styles.push(zn)}),j}visitReference(_,y){return{type:8,animation:U(this,Mn(_.animation),y),options:Ti(_.options)}}visitAnimateChild(_,y){return y.depCount++,{type:9,options:Ti(_.options)}}visitAnimateRef(_,y){return{type:10,animation:this.visitReference(_.animation,y),options:Ti(_.options)}}visitQuery(_,y){const j=y.currentQuerySelector,De=_.options||{};y.queryCount++,y.currentQuery=_;const[Ye,Ct]=function Yn(Ee){const _=!!Ee.split(/\s*,\s*/).find(y=>":self"==y);return _&&(Ee=Ee.replace($n,"")),Ee=Ee.replace(/@\*/g,an).replace(/@\w+/g,y=>an+"-"+y.slice(1)).replace(/:animating/g,Ke),[Ee,_]}(_.selector);y.currentQuerySelector=j.length?j+" "+Ye:Ye,Rt(y.collectedStyles,y.currentQuerySelector,new Map);const Ot=U(this,Mn(_.animation),y);return y.currentQuery=null,y.currentQuerySelector=j,{type:11,selector:Ye,limit:De.limit||0,optional:!!De.optional,includeSelf:Ct,animation:Ot,originalSelector:_.selector,options:Ti(_.options)}}visitStagger(_,y){y.currentQuery||y.errors.push(function se(){return new s.vHH(3013,!1)}());const j="full"===_.timings?{duration:0,delay:0,easing:"full"}:it(_.timings,y.errors,!0);return{type:12,animation:U(this,Mn(_.animation),y),timings:j,options:null}}}class Ai{constructor(_){this.errors=_,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 Ti(Ee){return Ee?(Ee=V(Ee)).params&&(Ee.params=function Qn(Ee){return Ee?V(Ee):null}(Ee.params)):Ee={},Ee}function ti(Ee,_,y){return{duration:Ee,delay:_,easing:y}}function Mi(Ee,_,y,j,De,Ye,Ct=null,Ot=!1){return{type:1,element:Ee,keyframes:_,preStyleProps:y,postStyleProps:j,duration:De,delay:Ye,totalTime:De+Ye,easing:Ct,subTimeline:Ot}}class to{constructor(){this._map=new Map}get(_){return this._map.get(_)||[]}append(_,y){let j=this._map.get(_);j||this._map.set(_,j=[]),j.push(...y)}has(_){return this._map.has(_)}clear(){this._map.clear()}}const wo=new RegExp(":enter","g"),qo=new RegExp(":leave","g");function lr(Ee,_,y,j,De,Ye=new Map,Ct=new Map,Ot,Vt,sn=[]){return(new ui).buildKeyframes(Ee,_,y,j,De,Ye,Ct,Ot,Vt,sn)}class ui{buildKeyframes(_,y,j,De,Ye,Ct,Ot,Vt,sn,kn=[]){sn=sn||new to;const T=new Qi(_,y,sn,De,Ye,kn,[]);T.options=Vt;const E=Vt.delay?ot(Vt.delay):0;T.currentTimeline.delayNextStep(E),T.currentTimeline.setStyles([Ct],null,T.errors,Vt),U(this,j,T);const M=T.timelines.filter(ae=>ae.containsAnimation());if(M.length&&Ot.size){let ae;for(let ft=M.length-1;ft>=0;ft--){const Dn=M[ft];if(Dn.element===y){ae=Dn;break}}ae&&!ae.allowOnlyTimelineStyles()&&ae.setStyles([Ot],null,T.errors,Vt)}return M.length?M.map(ae=>ae.buildKeyframes()):[Mi(y,[],[],[],0,E,"",!1)]}visitTrigger(_,y){}visitState(_,y){}visitTransition(_,y){}visitAnimateChild(_,y){const j=y.subInstructions.get(y.element);if(j){const De=y.createSubContext(_.options),Ye=y.currentTimeline.currentTime,Ct=this._visitSubInstructions(j,De,De.options);Ye!=Ct&&y.transformIntoNewTimeline(Ct)}y.previousNode=_}visitAnimateRef(_,y){const j=y.createSubContext(_.options);j.transformIntoNewTimeline(),this._applyAnimationRefDelays([_.options,_.animation.options],y,j),this.visitReference(_.animation,j),y.transformIntoNewTimeline(j.currentTimeline.currentTime),y.previousNode=_}_applyAnimationRefDelays(_,y,j){for(const Ye of _){const Ct=null==Ye?void 0:Ye.delay;if(Ct){var De;const Ot="number"==typeof Ct?Ct:ot(le(Ct,null!==(De=null==Ye?void 0:Ye.params)&&void 0!==De?De:{},y.errors));j.delayNextStep(Ot)}}}_visitSubInstructions(_,y,j){let Ye=y.currentTimeline.currentTime;const Ct=null!=j.duration?ot(j.duration):null,Ot=null!=j.delay?ot(j.delay):null;return 0!==Ct&&_.forEach(Vt=>{const sn=y.appendInstructionToTimeline(Vt,Ct,Ot);Ye=Math.max(Ye,sn.duration+sn.delay)}),Ye}visitReference(_,y){y.updateOptions(_.options,!0),U(this,_.animation,y),y.previousNode=_}visitSequence(_,y){const j=y.subContextCount;let De=y;const Ye=_.options;if(Ye&&(Ye.params||Ye.delay)&&(De=y.createSubContext(Ye),De.transformIntoNewTimeline(),null!=Ye.delay)){6==De.previousNode.type&&(De.currentTimeline.snapshotCurrentStyles(),De.previousNode=Wi);const Ct=ot(Ye.delay);De.delayNextStep(Ct)}_.steps.length&&(_.steps.forEach(Ct=>U(this,Ct,De)),De.currentTimeline.applyStylesToKeyframe(),De.subContextCount>j&&De.transformIntoNewTimeline()),y.previousNode=_}visitGroup(_,y){const j=[];let De=y.currentTimeline.currentTime;const Ye=_.options&&_.options.delay?ot(_.options.delay):0;_.steps.forEach(Ct=>{const Ot=y.createSubContext(_.options);Ye&&Ot.delayNextStep(Ye),U(this,Ct,Ot),De=Math.max(De,Ot.currentTimeline.currentTime),j.push(Ot.currentTimeline)}),j.forEach(Ct=>y.currentTimeline.mergeTimelineCollectedStyles(Ct)),y.transformIntoNewTimeline(De),y.previousNode=_}_visitTiming(_,y){if(_.dynamic){const j=_.strValue;return it(y.params?le(j,y.params,y.errors):j,y.errors)}return{duration:_.duration,delay:_.delay,easing:_.easing}}visitAnimate(_,y){const j=y.currentAnimateTimings=this._visitTiming(_.timings,y),De=y.currentTimeline;j.delay&&(y.incrementTime(j.delay),De.snapshotCurrentStyles());const Ye=_.style;5==Ye.type?this.visitKeyframes(Ye,y):(y.incrementTime(j.duration),this.visitStyle(Ye,y),De.applyStylesToKeyframe()),y.currentAnimateTimings=null,y.previousNode=_}visitStyle(_,y){const j=y.currentTimeline,De=y.currentAnimateTimings;!De&&j.hasCurrentStyleProperties()&&j.forwardFrame();const Ye=De&&De.easing||_.easing;_.isEmptyStep?j.applyEmptyStep(Ye):j.setStyles(_.styles,Ye,y.errors,y.options),y.previousNode=_}visitKeyframes(_,y){const j=y.currentAnimateTimings,De=y.currentTimeline.duration,Ye=j.duration,Ot=y.createSubContext().currentTimeline;Ot.easing=j.easing,_.styles.forEach(Vt=>{Ot.forwardTime((Vt.offset||0)*Ye),Ot.setStyles(Vt.styles,Vt.easing,y.errors,y.options),Ot.applyStylesToKeyframe()}),y.currentTimeline.mergeTimelineCollectedStyles(Ot),y.transformIntoNewTimeline(De+Ye),y.previousNode=_}visitQuery(_,y){const j=y.currentTimeline.currentTime,De=_.options||{},Ye=De.delay?ot(De.delay):0;Ye&&(6===y.previousNode.type||0==j&&y.currentTimeline.hasCurrentStyleProperties())&&(y.currentTimeline.snapshotCurrentStyles(),y.previousNode=Wi);let Ct=j;const Ot=y.invokeQuery(_.selector,_.originalSelector,_.limit,_.includeSelf,!!De.optional,y.errors);y.currentQueryTotal=Ot.length;let Vt=null;Ot.forEach((sn,kn)=>{y.currentQueryIndex=kn;const T=y.createSubContext(_.options,sn);Ye&&T.delayNextStep(Ye),sn===y.element&&(Vt=T.currentTimeline),U(this,_.animation,T),T.currentTimeline.applyStylesToKeyframe(),Ct=Math.max(Ct,T.currentTimeline.currentTime)}),y.currentQueryIndex=0,y.currentQueryTotal=0,y.transformIntoNewTimeline(Ct),Vt&&(y.currentTimeline.mergeTimelineCollectedStyles(Vt),y.currentTimeline.snapshotCurrentStyles()),y.previousNode=_}visitStagger(_,y){const j=y.parentContext,De=y.currentTimeline,Ye=_.timings,Ct=Math.abs(Ye.duration),Ot=Ct*(y.currentQueryTotal-1);let Vt=Ct*y.currentQueryIndex;switch(Ye.duration<0?"reverse":Ye.easing){case"reverse":Vt=Ot-Vt;break;case"full":Vt=j.currentStaggerTime}const kn=y.currentTimeline;Vt&&kn.delayNextStep(Vt);const T=kn.currentTime;U(this,_.animation,y),y.previousNode=_,j.currentStaggerTime=De.currentTime-T+(De.startTime-j.currentTimeline.startTime)}}const Wi={};class Qi{constructor(_,y,j,De,Ye,Ct,Ot,Vt){this._driver=_,this.element=y,this.subInstructions=j,this._enterClassName=De,this._leaveClassName=Ye,this.errors=Ct,this.timelines=Ot,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Wi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Vt||new yo(this._driver,y,0),Ot.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(_,y){if(!_)return;const j=_;let De=this.options;null!=j.duration&&(De.duration=ot(j.duration)),null!=j.delay&&(De.delay=ot(j.delay));const Ye=j.params;if(Ye){let Ct=De.params;Ct||(Ct=this.options.params={}),Object.keys(Ye).forEach(Ot=>{(!y||!Ct.hasOwnProperty(Ot))&&(Ct[Ot]=le(Ye[Ot],Ct,this.errors))})}}_copyOptions(){const _={};if(this.options){const y=this.options.params;if(y){const j=_.params={};Object.keys(y).forEach(De=>{j[De]=y[De]})}}return _}createSubContext(_=null,y,j){const De=y||this.element,Ye=new Qi(this._driver,De,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(De,j||0));return Ye.previousNode=this.previousNode,Ye.currentAnimateTimings=this.currentAnimateTimings,Ye.options=this._copyOptions(),Ye.updateOptions(_),Ye.currentQueryIndex=this.currentQueryIndex,Ye.currentQueryTotal=this.currentQueryTotal,Ye.parentContext=this,this.subContextCount++,Ye}transformIntoNewTimeline(_){return this.previousNode=Wi,this.currentTimeline=this.currentTimeline.fork(this.element,_),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(_,y,j){const De={duration:null!=y?y:_.duration,delay:this.currentTimeline.currentTime+(null!=j?j:0)+_.delay,easing:""},Ye=new Po(this._driver,_.element,_.keyframes,_.preStyleProps,_.postStyleProps,De,_.stretchStartingKeyframe);return this.timelines.push(Ye),De}incrementTime(_){this.currentTimeline.forwardTime(this.currentTimeline.duration+_)}delayNextStep(_){_>0&&this.currentTimeline.delayNextStep(_)}invokeQuery(_,y,j,De,Ye,Ct){let Ot=[];if(De&&Ot.push(this.element),_.length>0){_=(_=_.replace(wo,"."+this._enterClassName)).replace(qo,"."+this._leaveClassName);let sn=this._driver.query(this.element,_,1!=j);0!==j&&(sn=j<0?sn.slice(sn.length+j,sn.length):sn.slice(0,j)),Ot.push(...sn)}return!Ye&&0==Ot.length&&Ct.push(function ee(Ee){return new s.vHH(3014,!1)}()),Ot}}class yo{constructor(_,y,j,De){this._driver=_,this.element=y,this.startTime=j,this._elementTimelineStylesLookup=De,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(_){const y=1===this._keyframes.size&&this._pendingStyles.size;this.duration||y?(this.forwardTime(this.currentTime+_),y&&this.snapshotCurrentStyles()):this.startTime+=_}fork(_,y){return this.applyStylesToKeyframe(),new yo(this._driver,_,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(_){this.applyStylesToKeyframe(),this.duration=_,this._loadKeyframe()}_updateStyle(_,y){this._localTimelineStyles.set(_,y),this._globalTimelineStyles.set(_,y),this._styleSummary.set(_,{time:this.currentTime,value:y})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(_){_&&this._previousKeyframe.set("easing",_);for(let[y,j]of this._globalTimelineStyles)this._backFill.set(y,j||e.l3),this._currentKeyframe.set(y,e.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(_,y,j,De){y&&this._previousKeyframe.set("easing",y);const Ye=De&&De.params||{},Ct=function bo(Ee,_){const y=new Map;let j;return Ee.forEach(De=>{if("*"===De){j=j||_.keys();for(let Ye of j)y.set(Ye,e.l3)}else on(De,y)}),y}(_,this._globalTimelineStyles);for(let[Vt,sn]of Ct){const kn=le(sn,Ye,j);var Ot;this._pendingStyles.set(Vt,kn),this._localTimelineStyles.has(Vt)||this._backFill.set(Vt,null!==(Ot=this._globalTimelineStyles.get(Vt))&&void 0!==Ot?Ot:e.l3),this._updateStyle(Vt,kn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((_,y)=>{this._currentKeyframe.set(y,_)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((_,y)=>{this._currentKeyframe.has(y)||this._currentKeyframe.set(y,_)}))}snapshotCurrentStyles(){for(let[_,y]of this._localTimelineStyles)this._pendingStyles.set(_,y),this._updateStyle(_,y)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const _=[];for(let y in this._currentKeyframe)_.push(y);return _}mergeTimelineCollectedStyles(_){_._styleSummary.forEach((y,j)=>{const De=this._styleSummary.get(j);(!De||y.time>De.time)&&this._updateStyle(j,y.value)})}buildKeyframes(){this.applyStylesToKeyframe();const _=new Set,y=new Set,j=1===this._keyframes.size&&0===this.duration;let De=[];this._keyframes.forEach((Ot,Vt)=>{const sn=on(Ot,new Map,this._backFill);sn.forEach((kn,T)=>{kn===e.k1?_.add(T):kn===e.l3&&y.add(T)}),j||sn.set("offset",Vt/this.duration),De.push(sn)});const Ye=_.size?Ie(_.values()):[],Ct=y.size?Ie(y.values()):[];if(j){const Ot=De[0],Vt=new Map(Ot);Ot.set("offset",0),Vt.set("offset",1),De=[Ot,Vt]}return Mi(this.element,De,Ye,Ct,this.duration,this.startTime,this.easing,!1)}}class Po extends yo{constructor(_,y,j,De,Ye,Ct,Ot=!1){super(_,y,Ct.delay),this.keyframes=j,this.preStyleProps=De,this.postStyleProps=Ye,this._stretchStartingKeyframe=Ot,this.timings={duration:Ct.duration,delay:Ct.delay,easing:Ct.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let _=this.keyframes,{delay:y,duration:j,easing:De}=this.timings;if(this._stretchStartingKeyframe&&y){const Ye=[],Ct=j+y,Ot=y/Ct,Vt=on(_[0]);Vt.set("offset",0),Ye.push(Vt);const sn=on(_[0]);sn.set("offset",Vo(Ot)),Ye.push(sn);const kn=_.length-1;for(let T=1;T<=kn;T++){let E=on(_[T]);const M=E.get("offset");E.set("offset",Vo((y+M*j)/Ct)),Ye.push(E)}j=Ct,y=0,De="",_=Ye}return Mi(this.element,_,this.preStyleProps,this.postStyleProps,j,y,De,!0)}}function Vo(Ee,_=3){const y=Math.pow(10,_-1);return Math.round(Ee*y)/y}class io{}const Yi=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 Si extends io{normalizePropertyName(_,y){return nt(_)}normalizeStyleValue(_,y,j,De){let Ye="";const Ct=j.toString().trim();if(Yi.has(y)&&0!==j&&"0"!==j)if("number"==typeof j)Ye="px";else{const Ot=j.match(/^[+-]?[\d\.]+([a-z]*)$/);Ot&&0==Ot[1].length&&De.push(function ce(Ee,_){return new s.vHH(3005,!1)}())}return Ct+Ye}}function oo(Ee,_,y,j,De,Ye,Ct,Ot,Vt,sn,kn,T,E){return{type:0,element:Ee,triggerName:_,isRemovalTransition:De,fromState:y,fromStyles:Ye,toState:j,toStyles:Ct,timelines:Ot,queriedElements:Vt,preStyleProps:sn,postStyleProps:kn,totalTime:T,errors:E}}const go={};class Pn{constructor(_,y,j){this._triggerName=_,this.ast=y,this._stateStyles=j}match(_,y,j,De){return function yn(Ee,_,y,j,De){return Ee.some(Ye=>Ye(_,y,j,De))}(this.ast.matchers,_,y,j,De)}buildStyles(_,y,j){let De=this._stateStyles.get("*");return void 0!==_&&(De=this._stateStyles.get(null==_?void 0:_.toString())||De),De?De.buildStyles(y,j):new Map}build(_,y,j,De,Ye,Ct,Ot,Vt,sn,kn){var T;const E=[],M=this.ast.options&&this.ast.options.params||go,ft=this.buildStyles(j,Ot&&Ot.params||go,E),Dn=Vt&&Vt.params||go,zn=this.buildStyles(De,Dn,E),ii=new Set,Di=new Map,mi=new Map,_o="void"===De,Ro={params:Rn(Dn,M),delay:null===(T=this.ast.options)||void 0===T?void 0:T.delay},qi=kn?[]:lr(_,y,this.ast.animation,Ye,Ct,ft,zn,Ro,sn,E);let yi=0;if(qi.forEach(Zi=>{yi=Math.max(Zi.duration+Zi.delay,yi)}),E.length)return oo(y,this._triggerName,j,De,_o,ft,zn,[],[],Di,mi,yi,E);qi.forEach(Zi=>{const or=Zi.element,fo=Rt(Di,or,new Set);Zi.preStyleProps.forEach(cr=>fo.add(cr));const Zo=Rt(mi,or,new Set);Zi.postStyleProps.forEach(cr=>Zo.add(cr)),or!==y&&ii.add(or)});const eo=Ie(ii.values());return oo(y,this._triggerName,j,De,_o,ft,zn,qi,eo,Di,mi,yi)}}function Rn(Ee,_){const y=V(_);for(const j in Ee)Ee.hasOwnProperty(j)&&null!=Ee[j]&&(y[j]=Ee[j]);return y}class vi{constructor(_,y,j){this.styles=_,this.defaultParams=y,this.normalizer=j}buildStyles(_,y){const j=new Map,De=V(this.defaultParams);return Object.keys(_).forEach(Ye=>{const Ct=_[Ye];null!==Ct&&(De[Ye]=Ct)}),this.styles.styles.forEach(Ye=>{"string"!=typeof Ye&&Ye.forEach((Ct,Ot)=>{Ct&&(Ct=le(Ct,De,y));const Vt=this.normalizer.normalizePropertyName(Ot,y);Ct=this.normalizer.normalizeStyleValue(Ot,Vt,Ct,y),j.set(Ot,Ct)})}),j}}class Bi{constructor(_,y,j){this.name=_,this.ast=y,this._normalizer=j,this.transitionFactories=[],this.states=new Map,y.states.forEach(De=>{this.states.set(De.name,new vi(De.style,De.options&&De.options.params||{},j))}),Ao(this.states,"true","1"),Ao(this.states,"false","0"),y.transitions.forEach(De=>{this.transitionFactories.push(new Pn(_,De,this.states))}),this.fallbackTransition=function xi(Ee,_,y){return new Pn(Ee,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ct,Ot)=>!0],options:null,queryCount:0,depCount:0},_)}(_,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(_,y,j,De){return this.transitionFactories.find(Ct=>Ct.match(_,y,j,De))||null}matchStyles(_,y,j){return this.fallbackTransition.buildStyles(_,y,j)}}function Ao(Ee,_,y){Ee.has(_)?Ee.has(y)||Ee.set(y,Ee.get(_)):Ee.has(y)&&Ee.set(_,Ee.get(y))}const Co=new to;class Ki{constructor(_,y,j){this.bodyNode=_,this._driver=y,this._normalizer=j,this._animations=new Map,this._playersById=new Map,this.players=[]}register(_,y){const j=[],De=[],Ye=ci(this._driver,y,j,De);if(j.length)throw function mt(Ee){return new s.vHH(3503,!1)}();this._animations.set(_,Ye)}_buildPlayer(_,y,j){const De=_.element,Ye=Cn(0,this._normalizer,0,_.keyframes,y,j);return this._driver.animate(De,Ye,_.duration,_.delay,_.easing,[],!0)}create(_,y,j={}){const De=[],Ye=this._animations.get(_);let Ct;const Ot=new Map;if(Ye?(Ct=lr(this._driver,y,Ye,xt,Wt,new Map,new Map,j,Co,De),Ct.forEach(kn=>{const T=Rt(Ot,kn.element,new Map);kn.postStyleProps.forEach(E=>T.set(E,null))})):(De.push(function At(){return new s.vHH(3300,!1)}()),Ct=[]),De.length)throw function Qe(Ee){return new s.vHH(3504,!1)}();Ot.forEach((kn,T)=>{kn.forEach((E,M)=>{kn.set(M,this._driver.computeStyle(T,M,e.l3))})});const sn=wt(Ct.map(kn=>{const T=Ot.get(kn.element);return this._buildPlayer(kn,new Map,T)}));return this._playersById.set(_,sn),sn.onDestroy(()=>this.destroy(_)),this.players.push(sn),sn}destroy(_){const y=this._getPlayer(_);y.destroy(),this._playersById.delete(_);const j=this.players.indexOf(y);j>=0&&this.players.splice(j,1)}_getPlayer(_){const y=this._playersById.get(_);if(!y)throw function qe(Ee){return new s.vHH(3301,!1)}();return y}listen(_,y,j,De){const Ye=It(y,"","","");return St(this._getPlayer(_),j,Ye,De),()=>{}}command(_,y,j,De){if("register"==j)return void this.register(_,De[0]);if("create"==j)return void this.create(_,y,De[0]||{});const Ye=this._getPlayer(_);switch(j){case"play":Ye.play();break;case"pause":Ye.pause();break;case"reset":Ye.reset();break;case"restart":Ye.restart();break;case"finish":Ye.finish();break;case"init":Ye.init();break;case"setPosition":Ye.setPosition(parseFloat(De[0]));break;case"destroy":this.destroy(_)}}}const Yo="ng-animate-queued",So="ng-animate-disabled",zr=[],er={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},To="__ng_removed";class jo{get params(){return this.options.params}constructor(_,y=""){this.namespaceId=y;const j=_&&_.hasOwnProperty("value");if(this.value=function nr(Ee){return null!=Ee?Ee:null}(j?_.value:_),j){const Ye=V(_);delete Ye.value,this.options=Ye}else this.options={};this.options.params||(this.options.params={})}absorbOptions(_){const y=_.params;if(y){const j=this.options.params;Object.keys(y).forEach(De=>{null==j[De]&&(j[De]=y[De])})}}}const co="void",Sr=new jo(co);class Tr{constructor(_,y,j){this.id=_,this.hostElement=y,this._engine=j,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+_,Hi(y,this._hostClassName)}listen(_,y,j,De){if(!this._triggers.has(y))throw function Ge(Ee,_){return new s.vHH(3302,!1)}();if(null==j||0==j.length)throw function R(Ee){return new s.vHH(3303,!1)}();if(!function Zr(Ee){return"start"==Ee||"done"==Ee}(j))throw function be(Ee,_){return new s.vHH(3400,!1)}();const Ye=Rt(this._elementListeners,_,[]),Ct={name:y,phase:j,callback:De};Ye.push(Ct);const Ot=Rt(this._engine.statesByElement,_,new Map);return Ot.has(y)||(Hi(_,Pt),Hi(_,Pt+"-"+y),Ot.set(y,Sr)),()=>{this._engine.afterFlush(()=>{const Vt=Ye.indexOf(Ct);Vt>=0&&Ye.splice(Vt,1),this._triggers.has(y)||Ot.delete(y)})}}register(_,y){return!this._triggers.has(_)&&(this._triggers.set(_,y),!0)}_getTrigger(_){const y=this._triggers.get(_);if(!y)throw function S(Ee){return new s.vHH(3401,!1)}();return y}trigger(_,y,j,De=!0){const Ye=this._getTrigger(y),Ct=new Ui(this.id,y,_);let Ot=this._engine.statesByElement.get(_);Ot||(Hi(_,Pt),Hi(_,Pt+"-"+y),this._engine.statesByElement.set(_,Ot=new Map));let Vt=Ot.get(y);const sn=new jo(j,this.id);if(!(j&&j.hasOwnProperty("value"))&&Vt&&sn.absorbOptions(Vt.options),Ot.set(y,sn),Vt||(Vt=Sr),sn.value!==co&&Vt.value===sn.value){if(!function zi(Ee,_){const y=Object.keys(Ee),j=Object.keys(_);if(y.length!=j.length)return!1;for(let De=0;De{Nn(_,Dn),Jt(_,zn)})}return}const E=Rt(this._engine.playersByElement,_,[]);E.forEach(ft=>{ft.namespaceId==this.id&&ft.triggerName==y&&ft.queued&&ft.destroy()});let M=Ye.matchTransition(Vt.value,sn.value,_,sn.params),ae=!1;if(!M){if(!De)return;M=Ye.fallbackTransition,ae=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:_,triggerName:y,transition:M,fromState:Vt,toState:sn,player:Ct,isFallbackTransition:ae}),ae||(Hi(_,Yo),Ct.onStart(()=>{Ko(_,Yo)})),Ct.onDone(()=>{let ft=this.players.indexOf(Ct);ft>=0&&this.players.splice(ft,1);const Dn=this._engine.playersByElement.get(_);if(Dn){let zn=Dn.indexOf(Ct);zn>=0&&Dn.splice(zn,1)}}),this.players.push(Ct),E.push(Ct),Ct}deregister(_){this._triggers.delete(_),this._engine.statesByElement.forEach(y=>y.delete(_)),this._elementListeners.forEach((y,j)=>{this._elementListeners.set(j,y.filter(De=>De.name!=_))})}clearElementCache(_){this._engine.statesByElement.delete(_),this._elementListeners.delete(_);const y=this._engine.playersByElement.get(_);y&&(y.forEach(j=>j.destroy()),this._engine.playersByElement.delete(_))}_signalRemovalForInnerTriggers(_,y){const j=this._engine.driver.query(_,an,!0);j.forEach(De=>{if(De[To])return;const Ye=this._engine.fetchNamespacesByElement(De);Ye.size?Ye.forEach(Ct=>Ct.triggerLeaveAnimation(De,y,!1,!0)):this.clearElementCache(De)}),this._engine.afterFlushAnimationsDone(()=>j.forEach(De=>this.clearElementCache(De)))}triggerLeaveAnimation(_,y,j,De){const Ye=this._engine.statesByElement.get(_),Ct=new Map;if(Ye){const Ot=[];if(Ye.forEach((Vt,sn)=>{if(Ct.set(sn,Vt.value),this._triggers.has(sn)){const kn=this.trigger(_,sn,co,De);kn&&Ot.push(kn)}}),Ot.length)return this._engine.markElementAsRemoved(this.id,_,!0,y,Ct),j&&wt(Ot).onDone(()=>this._engine.processLeaveNode(_)),!0}return!1}prepareLeaveAnimationListeners(_){const y=this._elementListeners.get(_),j=this._engine.statesByElement.get(_);if(y&&j){const De=new Set;y.forEach(Ye=>{const Ct=Ye.name;if(De.has(Ct))return;De.add(Ct);const Vt=this._triggers.get(Ct).fallbackTransition,sn=j.get(Ct)||Sr,kn=new jo(co),T=new Ui(this.id,Ct,_);this._engine.totalQueuedPlayers++,this._queue.push({element:_,triggerName:Ct,transition:Vt,fromState:sn,toState:kn,player:T,isFallbackTransition:!0})})}}removeNode(_,y){const j=this._engine;if(_.childElementCount&&this._signalRemovalForInnerTriggers(_,y),this.triggerLeaveAnimation(_,y,!0))return;let De=!1;if(j.totalAnimations){const Ye=j.players.length?j.playersByQueriedElement.get(_):[];if(Ye&&Ye.length)De=!0;else{let Ct=_;for(;Ct=Ct.parentNode;)if(j.statesByElement.get(Ct)){De=!0;break}}}if(this.prepareLeaveAnimationListeners(_),De)j.markElementAsRemoved(this.id,_,!1,y);else{const Ye=_[To];(!Ye||Ye===er)&&(j.afterFlush(()=>this.clearElementCache(_)),j.destroyInnerAnimations(_),j._onRemovalComplete(_,y))}}insertNode(_,y){Hi(_,this._hostClassName)}drainQueuedTransitions(_){const y=[];return this._queue.forEach(j=>{const De=j.player;if(De.destroyed)return;const Ye=j.element,Ct=this._elementListeners.get(Ye);Ct&&Ct.forEach(Ot=>{if(Ot.name==j.triggerName){const Vt=It(Ye,j.triggerName,j.fromState.value,j.toState.value);Vt._data=_,St(j.player,Ot.phase,Vt,Ot.callback)}}),De.markedForDestroy?this._engine.afterFlush(()=>{De.destroy()}):y.push(j)}),this._queue=[],y.sort((j,De)=>{const Ye=j.transition.ast.depCount,Ct=De.transition.ast.depCount;return 0==Ye||0==Ct?Ye-Ct:this._engine.driver.containsElement(j.element,De.element)?1:-1})}destroy(_){this.players.forEach(y=>y.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,_)}elementContainsData(_){let y=!1;return this._elementListeners.has(_)&&(y=!0),y=!!this._queue.find(j=>j.element===_)||y,y}}class tr{_onRemovalComplete(_,y){this.onRemovalComplete(_,y)}constructor(_,y,j){this.bodyNode=_,this.driver=y,this._normalizer=j,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=(De,Ye)=>{}}get queuedPlayers(){const _=[];return this._namespaceList.forEach(y=>{y.players.forEach(j=>{j.queued&&_.push(j)})}),_}createNamespace(_,y){const j=new Tr(_,y,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,y)?this._balanceNamespaceList(j,y):(this.newHostElements.set(y,j),this.collectEnterElement(y)),this._namespaceLookup[_]=j}_balanceNamespaceList(_,y){const j=this._namespaceList,De=this.namespacesByHostElement;if(j.length-1>=0){let Ct=!1,Ot=this.driver.getParentElement(y);for(;Ot;){const Vt=De.get(Ot);if(Vt){const sn=j.indexOf(Vt);j.splice(sn+1,0,_),Ct=!0;break}Ot=this.driver.getParentElement(Ot)}Ct||j.unshift(_)}else j.push(_);return De.set(y,_),_}register(_,y){let j=this._namespaceLookup[_];return j||(j=this.createNamespace(_,y)),j}registerTrigger(_,y,j){let De=this._namespaceLookup[_];De&&De.register(y,j)&&this.totalAnimations++}destroy(_,y){if(!_)return;const j=this._fetchNamespace(_);this.afterFlush(()=>{this.namespacesByHostElement.delete(j.hostElement),delete this._namespaceLookup[_];const De=this._namespaceList.indexOf(j);De>=0&&this._namespaceList.splice(De,1)}),this.afterFlushAnimationsDone(()=>j.destroy(y))}_fetchNamespace(_){return this._namespaceLookup[_]}fetchNamespacesByElement(_){const y=new Set,j=this.statesByElement.get(_);if(j)for(let De of j.values())if(De.namespaceId){const Ye=this._fetchNamespace(De.namespaceId);Ye&&y.add(Ye)}return y}trigger(_,y,j,De){if(Ir(y)){const Ye=this._fetchNamespace(_);if(Ye)return Ye.trigger(y,j,De),!0}return!1}insertNode(_,y,j,De){if(!Ir(y))return;const Ye=y[To];if(Ye&&Ye.setForRemoval){Ye.setForRemoval=!1,Ye.setForMove=!0;const Ct=this.collectedLeaveElements.indexOf(y);Ct>=0&&this.collectedLeaveElements.splice(Ct,1)}if(_){const Ct=this._fetchNamespace(_);Ct&&Ct.insertNode(y,j)}De&&this.collectEnterElement(y)}collectEnterElement(_){this.collectedEnterElements.push(_)}markElementAsDisabled(_,y){y?this.disabledNodes.has(_)||(this.disabledNodes.add(_),Hi(_,So)):this.disabledNodes.has(_)&&(this.disabledNodes.delete(_),Ko(_,So))}removeNode(_,y,j,De){if(Ir(y)){const Ye=_?this._fetchNamespace(_):null;if(Ye?Ye.removeNode(y,De):this.markElementAsRemoved(_,y,!1,De),j){const Ct=this.namespacesByHostElement.get(y);Ct&&Ct.id!==_&&Ct.removeNode(y,De)}}else this._onRemovalComplete(y,De)}markElementAsRemoved(_,y,j,De,Ye){this.collectedLeaveElements.push(y),y[To]={namespaceId:_,setForRemoval:De,hasAnimation:j,removedBeforeQueried:!1,previousTriggersValues:Ye}}listen(_,y,j,De,Ye){return Ir(y)?this._fetchNamespace(_).listen(y,j,De,Ye):()=>{}}_buildInstruction(_,y,j,De,Ye){return _.transition.build(this.driver,_.element,_.fromState.value,_.toState.value,j,De,_.fromState.options,_.toState.options,y,Ye)}destroyInnerAnimations(_){let y=this.driver.query(_,an,!0);y.forEach(j=>this.destroyActiveAnimationsForElement(j)),0!=this.playersByQueriedElement.size&&(y=this.driver.query(_,Ke,!0),y.forEach(j=>this.finishActiveQueriedAnimationOnElement(j)))}destroyActiveAnimationsForElement(_){const y=this.playersByElement.get(_);y&&y.forEach(j=>{j.queued?j.markedForDestroy=!0:j.destroy()})}finishActiveQueriedAnimationOnElement(_){const y=this.playersByQueriedElement.get(_);y&&y.forEach(j=>j.finish())}whenRenderingDone(){return new Promise(_=>{if(this.players.length)return wt(this.players).onDone(()=>_());_()})}processLeaveNode(_){var y;const j=_[To];if(j&&j.setForRemoval){if(_[To]=er,j.namespaceId){this.destroyInnerAnimations(_);const De=this._fetchNamespace(j.namespaceId);De&&De.clearElementCache(_)}this._onRemovalComplete(_,j.setForRemoval)}null!==(y=_.classList)&&void 0!==y&&y.contains(So)&&this.markElementAsDisabled(_,!1),this.driver.query(_,".ng-animate-disabled",!0).forEach(De=>{this.markElementAsDisabled(De,!1)})}flush(_=-1){let y=[];if(this.newHostElements.size&&(this.newHostElements.forEach((j,De)=>this._balanceNamespaceList(j,De)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let j=0;jj()),this._flushFns=[],this._whenQuietFns.length){const j=this._whenQuietFns;this._whenQuietFns=[],y.length?wt(y).onDone(()=>{j.forEach(De=>De())}):j.forEach(De=>De())}}reportError(_){throw function q(Ee){return new s.vHH(3402,!1)}()}_flushAnimations(_,y){const j=new to,De=[],Ye=new Map,Ct=[],Ot=new Map,Vt=new Map,sn=new Map,kn=new Set;this.disabledNodes.forEach(Hn=>{kn.add(Hn);const Vn=this.driver.query(Hn,".ng-animate-queued",!0);for(let jn=0;jn{const jn=xt+ft++;ae.set(Vn,jn),Hn.forEach(si=>Hi(si,jn))});const Dn=[],zn=new Set,ii=new Set;for(let Hn=0;Hnzn.add(si)):ii.add(Vn))}const Di=new Map,mi=mo(E,Array.from(zn));mi.forEach((Hn,Vn)=>{const jn=Wt+ft++;Di.set(Vn,jn),Hn.forEach(si=>Hi(si,jn))}),_.push(()=>{M.forEach((Hn,Vn)=>{const jn=ae.get(Vn);Hn.forEach(si=>Ko(si,jn))}),mi.forEach((Hn,Vn)=>{const jn=Di.get(Vn);Hn.forEach(si=>Ko(si,jn))}),Dn.forEach(Hn=>{this.processLeaveNode(Hn)})});const _o=[],Ro=[];for(let Hn=this._namespaceList.length-1;Hn>=0;Hn--)this._namespaceList[Hn].drainQueuedTransitions(y).forEach(jn=>{const si=jn.player,wi=jn.element;if(_o.push(si),this.collectedEnterElements.length){const ho=wi[To];if(ho&&ho.setForMove){if(ho.previousTriggersValues&&ho.previousTriggersValues.has(jn.triggerName)){const No=ho.previousTriggersValues.get(jn.triggerName),Vi=this.statesByElement.get(jn.element);if(Vi&&Vi.has(jn.triggerName)){const kr=Vi.get(jn.triggerName);kr.value=No,Vi.set(jn.triggerName,kr)}}return void si.destroy()}}const $o=!T||!this.driver.containsElement(T,wi),lo=Di.get(wi),Lo=ae.get(wi),Oi=this._buildInstruction(jn,j,Lo,lo,$o);if(Oi.errors&&Oi.errors.length)return void Ro.push(Oi);if($o)return si.onStart(()=>Nn(wi,Oi.fromStyles)),si.onDestroy(()=>Jt(wi,Oi.toStyles)),void De.push(si);if(jn.isFallbackTransition)return si.onStart(()=>Nn(wi,Oi.fromStyles)),si.onDestroy(()=>Jt(wi,Oi.toStyles)),void De.push(si);const $r=[];Oi.timelines.forEach(ho=>{ho.stretchStartingKeyframe=!0,this.disabledNodes.has(ho.element)||$r.push(ho)}),Oi.timelines=$r,j.append(wi,Oi.timelines),Ct.push({instruction:Oi,player:si,element:wi}),Oi.queriedElements.forEach(ho=>Rt(Ot,ho,[]).push(si)),Oi.preStyleProps.forEach((ho,No)=>{if(ho.size){let Vi=Vt.get(No);Vi||Vt.set(No,Vi=new Set),ho.forEach((kr,Ni)=>Vi.add(Ni))}}),Oi.postStyleProps.forEach((ho,No)=>{let Vi=sn.get(No);Vi||sn.set(No,Vi=new Set),ho.forEach((kr,Ni)=>Vi.add(Ni))})});if(Ro.length){const Hn=[];Ro.forEach(Vn=>{Hn.push(function N(Ee,_){return new s.vHH(3505,!1)}())}),_o.forEach(Vn=>Vn.destroy()),this.reportError(Hn)}const qi=new Map,yi=new Map;Ct.forEach(Hn=>{const Vn=Hn.element;j.has(Vn)&&(yi.set(Vn,Vn),this._beforeAnimationBuild(Hn.player.namespaceId,Hn.instruction,qi))}),De.forEach(Hn=>{const Vn=Hn.element;this._getPreviousPlayers(Vn,!1,Hn.namespaceId,Hn.triggerName,null).forEach(si=>{Rt(qi,Vn,[]).push(si),si.destroy()})});const eo=Dn.filter(Hn=>jr(Hn,Vt,sn)),Zi=new Map;Io(Zi,this.driver,ii,sn,e.l3).forEach(Hn=>{jr(Hn,Vt,sn)&&eo.push(Hn)});const fo=new Map;M.forEach((Hn,Vn)=>{Io(fo,this.driver,new Set(Hn),Vt,e.k1)}),eo.forEach(Hn=>{var Vn,jn;const si=Zi.get(Hn),wi=fo.get(Hn);Zi.set(Hn,new Map([...Array.from(null!==(Vn=null==si?void 0:si.entries())&&void 0!==Vn?Vn:[]),...Array.from(null!==(jn=null==wi?void 0:wi.entries())&&void 0!==jn?jn:[])]))});const Zo=[],cr=[],qr={};Ct.forEach(Hn=>{const{element:Vn,player:jn,instruction:si}=Hn;if(j.has(Vn)){if(kn.has(Vn))return jn.onDestroy(()=>Jt(Vn,si.toStyles)),jn.disabled=!0,jn.overrideTotalTime(si.totalTime),void De.push(jn);let wi=qr;if(yi.size>1){let lo=Vn;const Lo=[];for(;lo=lo.parentNode;){const Oi=yi.get(lo);if(Oi){wi=Oi;break}Lo.push(lo)}Lo.forEach(Oi=>yi.set(Oi,wi))}const $o=this._buildAnimation(jn.namespaceId,si,qi,Ye,fo,Zi);if(jn.setRealPlayer($o),wi===qr)Zo.push(jn);else{const lo=this.playersByElement.get(wi);lo&&lo.length&&(jn.parentPlayer=wt(lo)),De.push(jn)}}else Nn(Vn,si.fromStyles),jn.onDestroy(()=>Jt(Vn,si.toStyles)),cr.push(jn),kn.has(Vn)&&De.push(jn)}),cr.forEach(Hn=>{const Vn=Ye.get(Hn.element);if(Vn&&Vn.length){const jn=wt(Vn);Hn.setRealPlayer(jn)}}),De.forEach(Hn=>{Hn.parentPlayer?Hn.syncPlayerEvents(Hn.parentPlayer):Hn.destroy()});for(let Hn=0;Hn!$o.destroyed);wi.length?Ei(this,Vn,wi):this.processLeaveNode(Vn)}return Dn.length=0,Zo.forEach(Hn=>{this.players.push(Hn),Hn.onDone(()=>{Hn.destroy();const Vn=this.players.indexOf(Hn);this.players.splice(Vn,1)}),Hn.play()}),Zo}elementContainsData(_,y){let j=!1;const De=y[To];return De&&De.setForRemoval&&(j=!0),this.playersByElement.has(y)&&(j=!0),this.playersByQueriedElement.has(y)&&(j=!0),this.statesByElement.has(y)&&(j=!0),this._fetchNamespace(_).elementContainsData(y)||j}afterFlush(_){this._flushFns.push(_)}afterFlushAnimationsDone(_){this._whenQuietFns.push(_)}_getPreviousPlayers(_,y,j,De,Ye){let Ct=[];if(y){const Ot=this.playersByQueriedElement.get(_);Ot&&(Ct=Ot)}else{const Ot=this.playersByElement.get(_);if(Ot){const Vt=!Ye||Ye==co;Ot.forEach(sn=>{sn.queued||!Vt&&sn.triggerName!=De||Ct.push(sn)})}}return(j||De)&&(Ct=Ct.filter(Ot=>!(j&&j!=Ot.namespaceId||De&&De!=Ot.triggerName))),Ct}_beforeAnimationBuild(_,y,j){const Ye=y.element,Ct=y.isRemovalTransition?void 0:_,Ot=y.isRemovalTransition?void 0:y.triggerName;for(const Vt of y.timelines){const sn=Vt.element,kn=sn!==Ye,T=Rt(j,sn,[]);this._getPreviousPlayers(sn,kn,Ct,Ot,y.toState).forEach(M=>{const ae=M.getRealPlayer();ae.beforeDestroy&&ae.beforeDestroy(),M.destroy(),T.push(M)})}Nn(Ye,y.fromStyles)}_buildAnimation(_,y,j,De,Ye,Ct){const Ot=y.triggerName,Vt=y.element,sn=[],kn=new Set,T=new Set,E=y.timelines.map(ae=>{const ft=ae.element;kn.add(ft);const Dn=ft[To];if(Dn&&Dn.removedBeforeQueried)return new e.ZN(ae.duration,ae.delay);const zn=ft!==Vt,ii=function ao(Ee){const _=[];return ir(Ee,_),_}((j.get(ft)||zr).map(qi=>qi.getRealPlayer())).filter(qi=>!!qi.element&&qi.element===ft),Di=Ye.get(ft),mi=Ct.get(ft),_o=Cn(0,this._normalizer,0,ae.keyframes,Di,mi),Ro=this._buildPlayer(ae,_o,ii);if(ae.subTimeline&&De&&T.add(ft),zn){const qi=new Ui(_,Ot,ft);qi.setRealPlayer(Ro),sn.push(qi)}return Ro});sn.forEach(ae=>{Rt(this.playersByQueriedElement,ae.element,[]).push(ae),ae.onDone(()=>function _r(Ee,_,y){let j=Ee.get(_);if(j){if(j.length){const De=j.indexOf(y);j.splice(De,1)}0==j.length&&Ee.delete(_)}return j}(this.playersByQueriedElement,ae.element,ae))}),kn.forEach(ae=>Hi(ae,fn));const M=wt(E);return M.onDestroy(()=>{kn.forEach(ae=>Ko(ae,fn)),Jt(Vt,y.toStyles)}),T.forEach(ae=>{Rt(De,ae,[]).push(M)}),M}_buildPlayer(_,y,j){return y.length>0?this.driver.animate(_.element,y,_.duration,_.delay,_.easing,j):new e.ZN(_.duration,_.delay)}}class Ui{constructor(_,y,j){this.namespaceId=_,this.triggerName=y,this.element=j,this._player=new e.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(_){this._containsRealPlayer||(this._player=_,this._queuedCallbacks.forEach((y,j)=>{y.forEach(De=>St(_,j,void 0,De))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(_.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(_){this.totalTime=_}syncPlayerEvents(_){const y=this._player;y.triggerCallback&&_.onStart(()=>y.triggerCallback("start")),_.onDone(()=>this.finish()),_.onDestroy(()=>this.destroy())}_queueEvent(_,y){Rt(this._queuedCallbacks,_,[]).push(y)}onDone(_){this.queued&&this._queueEvent("done",_),this._player.onDone(_)}onStart(_){this.queued&&this._queueEvent("start",_),this._player.onStart(_)}onDestroy(_){this.queued&&this._queueEvent("destroy",_),this._player.onDestroy(_)}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(_){this.queued||this._player.setPosition(_)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(_){const y=this._player;y.triggerCallback&&y.triggerCallback(_)}}function Ir(Ee){return Ee&&1===Ee.nodeType}function Mr(Ee,_){const y=Ee.style.display;return Ee.style.display=null!=_?_:"none",y}function Io(Ee,_,y,j,De){const Ye=[];y.forEach(Vt=>Ye.push(Mr(Vt)));const Ct=[];j.forEach((Vt,sn)=>{const kn=new Map;Vt.forEach(T=>{const E=_.computeStyle(sn,T,De);kn.set(T,E),(!E||0==E.length)&&(sn[To]=Vr,Ct.push(sn))}),Ee.set(sn,kn)});let Ot=0;return y.forEach(Vt=>Mr(Vt,Ye[Ot++])),Ct}function mo(Ee,_){const y=new Map;if(Ee.forEach(Ot=>y.set(Ot,[])),0==_.length)return y;const j=1,De=new Set(_),Ye=new Map;function Ct(Ot){if(!Ot)return j;let Vt=Ye.get(Ot);if(Vt)return Vt;const sn=Ot.parentNode;return Vt=y.has(sn)?sn:De.has(sn)?j:Ct(sn),Ye.set(Ot,Vt),Vt}return _.forEach(Ot=>{const Vt=Ct(Ot);Vt!==j&&y.get(Vt).push(Ot)}),y}function Hi(Ee,_){var y;null===(y=Ee.classList)||void 0===y||y.add(_)}function Ko(Ee,_){var y;null===(y=Ee.classList)||void 0===y||y.remove(_)}function Ei(Ee,_,y){wt(y).onDone(()=>Ee.processLeaveNode(_))}function ir(Ee,_){for(let y=0;yDe.add(Ye)):_.set(Ee,j),y.delete(Ee),!0}class Er{constructor(_,y,j){this.bodyNode=_,this._driver=y,this._normalizer=j,this._triggerCache={},this.onRemovalComplete=(De,Ye)=>{},this._transitionEngine=new tr(_,y,j),this._timelineEngine=new Ki(_,y,j),this._transitionEngine.onRemovalComplete=(De,Ye)=>this.onRemovalComplete(De,Ye)}registerTrigger(_,y,j,De,Ye){const Ct=_+"-"+De;let Ot=this._triggerCache[Ct];if(!Ot){const Vt=[],sn=[],kn=ci(this._driver,Ye,Vt,sn);if(Vt.length)throw function tt(Ee,_){return new s.vHH(3404,!1)}();Ot=function Ii(Ee,_,y){return new Bi(Ee,_,y)}(De,kn,this._normalizer),this._triggerCache[Ct]=Ot}this._transitionEngine.registerTrigger(y,De,Ot)}register(_,y){this._transitionEngine.register(_,y)}destroy(_,y){this._transitionEngine.destroy(_,y)}onInsert(_,y,j,De){this._transitionEngine.insertNode(_,y,j,De)}onRemove(_,y,j,De){this._transitionEngine.removeNode(_,y,De||!1,j)}disableAnimations(_,y){this._transitionEngine.markElementAsDisabled(_,y)}process(_,y,j,De){if("@"==j.charAt(0)){const[Ye,Ct]=Zt(j);this._timelineEngine.command(Ye,y,Ct,De)}else this._transitionEngine.trigger(_,y,j,De)}listen(_,y,j,De,Ye){if("@"==j.charAt(0)){const[Ct,Ot]=Zt(j);return this._timelineEngine.listen(Ct,y,Ot,Ye)}return this._transitionEngine.listen(_,y,j,De,Ye)}flush(_=-1){this._transitionEngine.flush(_)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let $i=(()=>{class Ee{constructor(y,j,De){this._element=y,this._startStyles=j,this._endStyles=De,this._state=0;let Ye=Ee.initialStylesByElement.get(y);Ye||Ee.initialStylesByElement.set(y,Ye=new Map),this._initialStyles=Ye}start(){this._state<1&&(this._startStyles&&Jt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Jt(this._element,this._initialStyles),this._endStyles&&(Jt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ee.initialStylesByElement.delete(this._element),this._startStyles&&(Nn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Nn(this._element,this._endStyles),this._endStyles=null),Jt(this._element,this._initialStyles),this._state=3)}}return Ee.initialStylesByElement=new WeakMap,Ee})();function ko(Ee){let _=null;return Ee.forEach((y,j)=>{(function Or(Ee){return"display"===Ee||"position"===Ee})(j)&&(_=_||new Map,_.set(j,y))}),_}class vr{constructor(_,y,j,De){this.element=_,this.keyframes=y,this.options=j,this._specialStyles=De,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=j.duration,this._delay=j.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(_=>_()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const _=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,_,this.options),this._finalKeyframe=_.length?_[_.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(_){const y=[];return _.forEach(j=>{y.push(Object.fromEntries(j))}),y}_triggerWebAnimation(_,y,j){return _.animate(this._convertKeyframesToObject(y),j)}onStart(_){this._originalOnStartFns.push(_),this._onStartFns.push(_)}onDone(_){this._originalOnDoneFns.push(_),this._onDoneFns.push(_)}onDestroy(_){this._onDestroyFns.push(_)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(_=>_()),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(_=>_()),this._onDestroyFns=[])}setPosition(_){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=_*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const _=new Map;this.hasStarted()&&this._finalKeyframe.forEach((j,De)=>{"offset"!==De&&_.set(De,this._finished?j:I(this.element,De))}),this.currentSnapshot=_}triggerCallback(_){const y="start"===_?this._onStartFns:this._onDoneFns;y.forEach(j=>j()),y.length=0}}class Mo{validateStyleProperty(_){return!0}validateAnimatableStyleProperty(_){return!0}matchesElement(_,y){return!1}containsElement(_,y){return Le(_,y)}getParentElement(_){return Qt(_)}query(_,y,j){return fe(_,y,j)}computeStyle(_,y,j){return window.getComputedStyle(_)[y]}animate(_,y,j,De,Ye,Ct=[]){const Vt={duration:j,delay:De,fill:0==De?"both":"forwards"};Ye&&(Vt.easing=Ye);const sn=new Map,kn=Ct.filter(M=>M instanceof vr);(function He(Ee,_){return 0===Ee||0===_})(j,De)&&kn.forEach(M=>{M.currentSnapshot.forEach((ae,ft)=>sn.set(ft,ae))});let T=function bt(Ee){return Ee.length?Ee[0]instanceof Map?Ee:Ee.map(_=>Pe(_)):[]}(y).map(M=>on(M));T=function Ne(Ee,_,y){if(y.size&&_.length){let j=_[0],De=[];if(y.forEach((Ye,Ct)=>{j.has(Ct)||De.push(Ct),j.set(Ct,Ye)}),De.length)for(let Ye=1;Ye<_.length;Ye++){let Ct=_[Ye];De.forEach(Ot=>Ct.set(Ot,I(Ee,Ot)))}}return _}(_,T,sn);const E=function uo(Ee,_){let y=null,j=null;return Array.isArray(_)&&_.length?(y=ko(_[0]),_.length>1&&(j=ko(_[_.length-1]))):_ instanceof Map&&(y=ko(_)),y||j?new $i(Ee,y,j):null}(_,T);return new vr(_,T,Vt,E)}}},8692:(Ht,Fe,c)=>{"use strict";c.d(Fe,{$G:()=>$n,Do:()=>Ve,EM:()=>tr,Gx:()=>yn,HT:()=>z,JF:()=>Zr,K0:()=>ne,Mx:()=>In,NF:()=>To,O5:()=>Ji,Ov:()=>bo,PM:()=>jo,RF:()=>Mi,S$:()=>Ue,Ts:()=>vi,V_:()=>pe,Ye:()=>je,b0:()=>Ae,bD:()=>mr,ez:()=>Hr,n9:()=>to,q:()=>k,sg:()=>Yn,tP:()=>lr,w_:()=>F});var e=c(4537);let s=null;function k(){return s}function z(O){s||(s=O)}class F{}const ne=new e.OlP("DocumentToken");let W=(()=>{class O{historyGo(P){throw new Error("Not implemented")}}return O.\u0275fac=function(P){return new(P||O)},O.\u0275prov=e.Yz7({token:O,factory:function(){return function te(){return(0,e.LFG)(ce)}()},providedIn:"platform"}),O})();const pe=new e.OlP("Location Initialized");let ce=(()=>{class O extends W{constructor(P){super(),this._doc=P,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return k().getBaseHref(this._doc)}onPopState(P){const ge=k().getGlobalEventTarget(this._doc,"window");return ge.addEventListener("popstate",P,!1),()=>ge.removeEventListener("popstate",P)}onHashChange(P){const ge=k().getGlobalEventTarget(this._doc,"window");return ge.addEventListener("hashchange",P,!1),()=>ge.removeEventListener("hashchange",P)}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(P){this._location.pathname=P}pushState(P,ge,Je){de()?this._history.pushState(P,ge,Je):this._location.hash=Je}replaceState(P,ge,Je){de()?this._history.replaceState(P,ge,Je):this._location.hash=Je}forward(){this._history.forward()}back(){this._history.back()}historyGo(P=0){this._history.go(P)}getState(){return this._history.state}}return O.\u0275fac=function(P){return new(P||O)(e.LFG(ne))},O.\u0275prov=e.Yz7({token:O,factory:function(){return function Y(){return new ce((0,e.LFG)(ne))}()},providedIn:"platform"}),O})();function de(){return!!window.history.pushState}function _e(O,J){if(0==O.length)return J;if(0==J.length)return O;let P=0;return O.endsWith("/")&&P++,J.startsWith("/")&&P++,2==P?O+J.substring(1):1==P?O+J:O+"/"+J}function ue(O){const J=O.match(/#|\?|$/),P=J&&J.index||O.length;return O.slice(0,P-("/"===O[P-1]?1:0))+O.slice(P)}function ie(O){return O&&"?"!==O[0]?"?"+O:O}let Ue=(()=>{class O{historyGo(P){throw new Error("Not implemented")}}return O.\u0275fac=function(P){return new(P||O)},O.\u0275prov=e.Yz7({token:O,factory:function(){return(0,e.f3M)(Ae)},providedIn:"root"}),O})();const ve=new e.OlP("appBaseHref");let Ae=(()=>{class O extends Ue{constructor(P,ge){var Je,Gt,tn;super(),this._platformLocation=P,this._removeListenerFns=[],this._baseHref=null!==(Je=null!==(Gt=null!=ge?ge:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Gt?Gt:null===(tn=(0,e.f3M)(ne).location)||void 0===tn?void 0:tn.origin)&&void 0!==Je?Je:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(P){this._removeListenerFns.push(this._platformLocation.onPopState(P),this._platformLocation.onHashChange(P))}getBaseHref(){return this._baseHref}prepareExternalUrl(P){return _e(this._baseHref,P)}path(P=!1){const ge=this._platformLocation.pathname+ie(this._platformLocation.search),Je=this._platformLocation.hash;return Je&&P?`${ge}${Je}`:ge}pushState(P,ge,Je,Gt){const tn=this.prepareExternalUrl(Je+ie(Gt));this._platformLocation.pushState(P,ge,tn)}replaceState(P,ge,Je,Gt){const tn=this.prepareExternalUrl(Je+ie(Gt));this._platformLocation.replaceState(P,ge,tn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(P=0){var ge,Je;null===(ge=(Je=this._platformLocation).historyGo)||void 0===ge||ge.call(Je,P)}}return O.\u0275fac=function(P){return new(P||O)(e.LFG(W),e.LFG(ve,8))},O.\u0275prov=e.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),Ve=(()=>{class O extends Ue{constructor(P,ge){super(),this._platformLocation=P,this._baseHref="",this._removeListenerFns=[],null!=ge&&(this._baseHref=ge)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(P){this._removeListenerFns.push(this._platformLocation.onPopState(P),this._platformLocation.onHashChange(P))}getBaseHref(){return this._baseHref}path(P=!1){let ge=this._platformLocation.hash;return null==ge&&(ge="#"),ge.length>0?ge.substring(1):ge}prepareExternalUrl(P){const ge=_e(this._baseHref,P);return ge.length>0?"#"+ge:ge}pushState(P,ge,Je,Gt){let tn=this.prepareExternalUrl(Je+ie(Gt));0==tn.length&&(tn=this._platformLocation.pathname),this._platformLocation.pushState(P,ge,tn)}replaceState(P,ge,Je,Gt){let tn=this.prepareExternalUrl(Je+ie(Gt));0==tn.length&&(tn=this._platformLocation.pathname),this._platformLocation.replaceState(P,ge,tn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(P=0){var ge,Je;null===(ge=(Je=this._platformLocation).historyGo)||void 0===ge||ge.call(Je,P)}}return O.\u0275fac=function(P){return new(P||O)(e.LFG(W),e.LFG(ve,8))},O.\u0275prov=e.Yz7({token:O,factory:O.\u0275fac}),O})(),je=(()=>{class O{constructor(P){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=P;const ge=this._locationStrategy.getBaseHref();this._basePath=function Oe(O){if(new RegExp("^(https?:)?//").test(O)){const[,P]=O.split(/\/\/[^\/]+/);return P}return O}(ue($e(ge))),this._locationStrategy.onPopState(Je=>{this._subject.emit({url:this.path(!0),pop:!0,state:Je.state,type:Je.type})})}ngOnDestroy(){var P;null===(P=this._urlChangeSubscription)||void 0===P||P.unsubscribe(),this._urlChangeListeners=[]}path(P=!1){return this.normalize(this._locationStrategy.path(P))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(P,ge=""){return this.path()==this.normalize(P+ie(ge))}normalize(P){return O.stripTrailingSlash(function ee(O,J){if(!O||!J.startsWith(O))return J;const P=J.substring(O.length);return""===P||["/",";","?","#"].includes(P[0])?P:J}(this._basePath,$e(P)))}prepareExternalUrl(P){return P&&"/"!==P[0]&&(P="/"+P),this._locationStrategy.prepareExternalUrl(P)}go(P,ge="",Je=null){this._locationStrategy.pushState(Je,"",P,ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(P+ie(ge)),Je)}replaceState(P,ge="",Je=null){this._locationStrategy.replaceState(Je,"",P,ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(P+ie(ge)),Je)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(P=0){var ge,Je;null===(ge=(Je=this._locationStrategy).historyGo)||void 0===ge||ge.call(Je,P)}onUrlChange(P){return this._urlChangeListeners.push(P),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ge=>{this._notifyUrlChangeListeners(ge.url,ge.state)})),()=>{const ge=this._urlChangeListeners.indexOf(P);var Je;this._urlChangeListeners.splice(ge,1),0===this._urlChangeListeners.length&&(null===(Je=this._urlChangeSubscription)||void 0===Je||Je.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(P="",ge){this._urlChangeListeners.forEach(Je=>Je(P,ge))}subscribe(P,ge,Je){return this._subject.subscribe({next:P,error:ge,complete:Je})}}return O.normalizeQueryParams=ie,O.joinWithSlash=_e,O.stripTrailingSlash=ue,O.\u0275fac=function(P){return new(P||O)(e.LFG(Ue))},O.\u0275prov=e.Yz7({token:O,factory:function(){return function se(){return new je((0,e.LFG)(Ue))}()},providedIn:"root"}),O})();function $e(O){return O.replace(/\/index.html$/,"")}var tt=(()=>((tt=tt||{})[tt.Zero=0]="Zero",tt[tt.One=1]="One",tt[tt.Two=2]="Two",tt[tt.Few=3]="Few",tt[tt.Many=4]="Many",tt[tt.Other=5]="Other",tt))();const Zt=e.kL8;let rn=(()=>{class O{}return O.\u0275fac=function(P){return new(P||O)},O.\u0275prov=e.Yz7({token:O,factory:function(P){let ge=null;return P?ge=new P:(Je=e.LFG(e.soG),ge=new gn(Je)),ge;var Je},providedIn:"root"}),O})();let gn=(()=>{class O extends rn{constructor(P){super(),this.locale=P}getPluralCategory(P,ge){switch(Zt(ge||this.locale)(P)){case tt.Zero:return"zero";case tt.One:return"one";case tt.Two:return"two";case tt.Few:return"few";case tt.Many:return"many";default:return"other"}}}return O.\u0275fac=function(P){return new(P||O)(e.LFG(e.soG))},O.\u0275prov=e.Yz7({token:O,factory:O.\u0275fac}),O})();function In(O,J){J=encodeURIComponent(J);for(const P of O.split(";")){const ge=P.indexOf("="),[Je,Gt]=-1==ge?[P,""]:[P.slice(0,ge),P.slice(ge+1)];if(Je.trim()===J)return decodeURIComponent(Gt)}return null}let $n=(()=>{class O{constructor(P){this._viewContainerRef=P,this.ngComponentOutlet=null}ngOnChanges(P){const{_viewContainerRef:ge,ngComponentOutletNgModule:Je,ngComponentOutletNgModuleFactory:Gt}=this;if(ge.clear(),this._componentRef=void 0,this.ngComponentOutlet){const tn=this.ngComponentOutletInjector||ge.parentInjector;(P.ngComponentOutletNgModule||P.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=Je?(0,e.Lck)(Je,ci(tn)):Gt?Gt.create(ci(tn)):void 0),this._componentRef=ge.createComponent(this.ngComponentOutlet,{index:ge.length,injector:tn,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.s_b))},O.\u0275dir=e.lG2({type:O,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[e.TTD]}),O})();function ci(O){return O.get(e.h0i).injector}class Xn{constructor(J,P,ge,Je){this.$implicit=J,this.ngForOf=P,this.index=ge,this.count=Je}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 Yn=(()=>{class O{set ngForOf(P){this._ngForOf=P,this._ngForOfDirty=!0}set ngForTrackBy(P){this._trackByFn=P}get ngForTrackBy(){return this._trackByFn}constructor(P,ge,Je){this._viewContainer=P,this._template=ge,this._differs=Je,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(P){P&&(this._template=P)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const P=this._ngForOf;!this._differ&&P&&(this._differ=this._differs.find(P).create(this.ngForTrackBy))}if(this._differ){const P=this._differ.diff(this._ngForOf);P&&this._applyChanges(P)}}_applyChanges(P){const ge=this._viewContainer;P.forEachOperation((Je,Gt,tn)=>{if(null==Je.previousIndex)ge.createEmbeddedView(this._template,new Xn(Je.item,this._ngForOf,-1,-1),null===tn?void 0:tn);else if(null==tn)ge.remove(null===Gt?void 0:Gt);else if(null!==Gt){const An=ge.get(Gt);ge.move(An,tn),Qn(An,Je)}});for(let Je=0,Gt=ge.length;Je{Qn(ge.get(Je.currentIndex),Je)})}static ngTemplateContextGuard(P,ge){return!0}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},O.\u0275dir=e.lG2({type:O,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),O})();function Qn(O,J){O.context.$implicit=J.item}let Ji=(()=>{class O{constructor(P,ge){this._viewContainer=P,this._context=new Wn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ge}set ngIf(P){this._context.$implicit=this._context.ngIf=P,this._updateView()}set ngIfThen(P){Ti("ngIfThen",P),this._thenTemplateRef=P,this._thenViewRef=null,this._updateView()}set ngIfElse(P){Ti("ngIfElse",P),this._elseTemplateRef=P,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(P,ge){return!0}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.s_b),e.Y36(e.Rgc))},O.\u0275dir=e.lG2({type:O,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),O})();class Wn{constructor(){this.$implicit=null,this.ngIf=null}}function Ti(O,J){if(J&&!J.createEmbeddedView)throw new Error(`${O} must be a TemplateRef, but received '${(0,e.AaK)(J)}'.`)}class ti{constructor(J,P){this._viewContainerRef=J,this._templateRef=P,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(J){J&&!this._created?this.create():!J&&this._created&&this.destroy()}}let Mi=(()=>{class O{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(P){this._ngSwitch=P,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(P){this._defaultViews.push(P)}_matchCase(P){const ge=P==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ge,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ge}_updateDefaultCases(P){if(this._defaultViews.length>0&&P!==this._defaultUsed){this._defaultUsed=P;for(const ge of this._defaultViews)ge.enforceState(P)}}}return O.\u0275fac=function(P){return new(P||O)},O.\u0275dir=e.lG2({type:O,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),O})(),to=(()=>{class O{constructor(P,ge,Je){this.ngSwitch=Je,Je._addCase(),this._view=new ti(P,ge)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Mi,9))},O.\u0275dir=e.lG2({type:O,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),O})(),lr=(()=>{class O{constructor(P){this._viewContainerRef=P,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(P){if(P.ngTemplateOutlet||P.ngTemplateOutletInjector){const ge=this._viewContainerRef;if(this._viewRef&&ge.remove(ge.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Je,ngTemplateOutletContext:Gt,ngTemplateOutletInjector:tn}=this;this._viewRef=ge.createEmbeddedView(Je,Gt,tn?{injector:tn}:void 0)}else this._viewRef=null}else this._viewRef&&P.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.s_b))},O.\u0275dir=e.lG2({type:O,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]}),O})();function Wi(O,J){return new e.vHH(2100,!1)}class Qi{createSubscription(J,P){return J.subscribe({next:P,error:ge=>{throw ge}})}dispose(J){J.unsubscribe()}}class yo{createSubscription(J,P){return J.then(P,ge=>{throw ge})}dispose(J){}}const Po=new yo,Vo=new Qi;let bo=(()=>{class O{constructor(P){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=P}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(P){return this._obj?P!==this._obj?(this._dispose(),this.transform(P)):this._latestValue:(P&&this._subscribe(P),this._latestValue)}_subscribe(P){this._obj=P,this._strategy=this._selectStrategy(P),this._subscription=this._strategy.createSubscription(P,ge=>this._updateLatestValue(P,ge))}_selectStrategy(P){if((0,e.QGY)(P))return Po;if((0,e.F4k)(P))return Vo;throw Wi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(P,ge){P===this._obj&&(this._latestValue=ge,this._ref.markForCheck())}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(e.sBO,16))},O.\u0275pipe=e.Yjl({name:"async",type:O,pure:!1,standalone:!0}),O})();const Nt=/#/g;let yn=(()=>{class O{constructor(P){this._localization=P}transform(P,ge,Je){if(null==P)return"";if("object"!=typeof ge||null===ge)throw Wi();return ge[function en(O,J,P,ge){let Je=`=${O}`;if(J.indexOf(Je)>-1||(Je=P.getPluralCategory(O,ge),J.indexOf(Je)>-1))return Je;if(J.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${O}"`)}(P,Object.keys(ge),this._localization,Je)].replace(Nt,P.toString())}}return O.\u0275fac=function(P){return new(P||O)(e.Y36(rn,16))},O.\u0275pipe=e.Yjl({name:"i18nPlural",type:O,pure:!0,standalone:!0}),O})(),vi=(()=>{class O{transform(P){return JSON.stringify(P,null,2)}}return O.\u0275fac=function(P){return new(P||O)},O.\u0275pipe=e.Yjl({name:"json",type:O,pure:!1,standalone:!0}),O})(),Hr=(()=>{class O{}return O.\u0275fac=function(P){return new(P||O)},O.\u0275mod=e.oAB({type:O}),O.\u0275inj=e.cJS({}),O})();const mr="browser",zr="server";function To(O){return O===mr}function jo(O){return O===zr}let tr=(()=>{class O{}return O.\u0275prov=(0,e.Yz7)({token:O,providedIn:"root",factory:()=>new Ui((0,e.LFG)(ne),window)}),O})();class Ui{constructor(J,P){this.document=J,this.window=P,this.offset=()=>[0,0]}setOffset(J){this.offset=Array.isArray(J)?()=>J:J}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(J){this.supportsScrolling()&&this.window.scrollTo(J[0],J[1])}scrollToAnchor(J){if(!this.supportsScrolling())return;const P=function nr(O,J){const P=O.getElementById(J)||O.getElementsByName(J)[0];if(P)return P;if("function"==typeof O.createTreeWalker&&O.body&&(O.body.createShadowRoot||O.body.attachShadow)){const ge=O.createTreeWalker(O.body,NodeFilter.SHOW_ELEMENT);let Je=ge.currentNode;for(;Je;){const Gt=Je.shadowRoot;if(Gt){const tn=Gt.getElementById(J)||Gt.querySelector(`[name="${J}"]`);if(tn)return tn}Je=ge.nextNode()}}return null}(this.document,J);P&&(this.scrollToElement(P),P.focus())}setHistoryScrollRestoration(J){if(this.supportScrollRestoration()){const P=this.window.history;P&&P.scrollRestoration&&(P.scrollRestoration=J)}}scrollToElement(J){const P=J.getBoundingClientRect(),ge=P.left+this.window.pageXOffset,Je=P.top+this.window.pageYOffset,Gt=this.offset();this.window.scrollTo(ge-Gt[0],Je-Gt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const J=_r(this.window.history)||_r(Object.getPrototypeOf(this.window.history));return!(!J||!J.writable&&!J.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function _r(O){return Object.getOwnPropertyDescriptor(O,"scrollRestoration")}class Zr{}},5732:(Ht,Fe,c)=>{"use strict";c.d(Fe,{JF:()=>ot,eN:()=>Ge});var e=c(8692),s=c(4537),k=c(4945),z=c(7241),F=c(4551),ne=c(4970),W=c(7969);class te{}class pe{}class ce{constructor(V){this.normalizedNames=new Map,this.lazyUpdate=null,V?this.lazyInit="string"==typeof V?()=>{this.headers=new Map,V.split("\n").forEach(Pe=>{const bt=Pe.indexOf(":");if(bt>0){const gt=Pe.slice(0,bt),on=gt.toLowerCase(),$t=Pe.slice(bt+1).trim();this.maybeSetNormalizedName(gt,on),this.headers.has(on)?this.headers.get(on).push($t):this.headers.set(on,[$t])}})}:()=>{this.headers=new Map,Object.entries(V).forEach(([Pe,bt])=>{let gt;if(gt="string"==typeof bt?[bt]:"number"==typeof bt?[bt.toString()]:bt.map(on=>on.toString()),gt.length>0){const on=Pe.toLowerCase();this.headers.set(on,gt),this.maybeSetNormalizedName(Pe,on)}})}:this.headers=new Map}has(V){return this.init(),this.headers.has(V.toLowerCase())}get(V){this.init();const Pe=this.headers.get(V.toLowerCase());return Pe&&Pe.length>0?Pe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(V){return this.init(),this.headers.get(V.toLowerCase())||null}append(V,Pe){return this.clone({name:V,value:Pe,op:"a"})}set(V,Pe){return this.clone({name:V,value:Pe,op:"s"})}delete(V,Pe){return this.clone({name:V,value:Pe,op:"d"})}maybeSetNormalizedName(V,Pe){this.normalizedNames.has(Pe)||this.normalizedNames.set(Pe,V)}init(){this.lazyInit&&(this.lazyInit instanceof ce?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(V=>this.applyUpdate(V)),this.lazyUpdate=null))}copyFrom(V){V.init(),Array.from(V.headers.keys()).forEach(Pe=>{this.headers.set(Pe,V.headers.get(Pe)),this.normalizedNames.set(Pe,V.normalizedNames.get(Pe))})}clone(V){const Pe=new ce;return Pe.lazyInit=this.lazyInit&&this.lazyInit instanceof ce?this.lazyInit:this,Pe.lazyUpdate=(this.lazyUpdate||[]).concat([V]),Pe}applyUpdate(V){const Pe=V.name.toLowerCase();switch(V.op){case"a":case"s":let bt=V.value;if("string"==typeof bt&&(bt=[bt]),0===bt.length)return;this.maybeSetNormalizedName(V.name,Pe);const gt=("a"===V.op?this.headers.get(Pe):void 0)||[];gt.push(...bt),this.headers.set(Pe,gt);break;case"d":const on=V.value;if(on){let $t=this.headers.get(Pe);if(!$t)return;$t=$t.filter(vn=>-1===on.indexOf(vn)),0===$t.length?(this.headers.delete(Pe),this.normalizedNames.delete(Pe)):this.headers.set(Pe,$t)}else this.headers.delete(Pe),this.normalizedNames.delete(Pe)}}forEach(V){this.init(),Array.from(this.normalizedNames.keys()).forEach(Pe=>V(this.normalizedNames.get(Pe),this.headers.get(Pe)))}}class Y{encodeKey(V){return Ue(V)}encodeValue(V){return Ue(V)}decodeKey(V){return decodeURIComponent(V)}decodeValue(V){return decodeURIComponent(V)}}const ue=/%(\d[a-f0-9])/gi,ie={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ue(st){return encodeURIComponent(st).replace(ue,(V,Pe)=>{var bt;return null!==(bt=ie[Pe])&&void 0!==bt?bt:V})}function ve(st){return`${st}`}class Ae{constructor(V={}){if(this.updates=null,this.cloneFrom=null,this.encoder=V.encoder||new Y,V.fromString){if(V.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function _e(st,V){const Pe=new Map;return st.length>0&&st.replace(/^\?/,"").split("&").forEach(gt=>{const on=gt.indexOf("="),[$t,vn]=-1==on?[V.decodeKey(gt),""]:[V.decodeKey(gt.slice(0,on)),V.decodeValue(gt.slice(on+1))],Jt=Pe.get($t)||[];Jt.push(vn),Pe.set($t,Jt)}),Pe}(V.fromString,this.encoder)}else V.fromObject?(this.map=new Map,Object.keys(V.fromObject).forEach(Pe=>{const bt=V.fromObject[Pe],gt=Array.isArray(bt)?bt.map(ve):[ve(bt)];this.map.set(Pe,gt)})):this.map=null}has(V){return this.init(),this.map.has(V)}get(V){this.init();const Pe=this.map.get(V);return Pe?Pe[0]:null}getAll(V){return this.init(),this.map.get(V)||null}keys(){return this.init(),Array.from(this.map.keys())}append(V,Pe){return this.clone({param:V,value:Pe,op:"a"})}appendAll(V){const Pe=[];return Object.keys(V).forEach(bt=>{const gt=V[bt];Array.isArray(gt)?gt.forEach(on=>{Pe.push({param:bt,value:on,op:"a"})}):Pe.push({param:bt,value:gt,op:"a"})}),this.clone(Pe)}set(V,Pe){return this.clone({param:V,value:Pe,op:"s"})}delete(V,Pe){return this.clone({param:V,value:Pe,op:"d"})}toString(){return this.init(),this.keys().map(V=>{const Pe=this.encoder.encodeKey(V);return this.map.get(V).map(bt=>Pe+"="+this.encoder.encodeValue(bt)).join("&")}).filter(V=>""!==V).join("&")}clone(V){const Pe=new Ae({encoder:this.encoder});return Pe.cloneFrom=this.cloneFrom||this,Pe.updates=(this.updates||[]).concat(V),Pe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(V=>this.map.set(V,this.cloneFrom.map.get(V))),this.updates.forEach(V=>{switch(V.op){case"a":case"s":const Pe=("a"===V.op?this.map.get(V.param):void 0)||[];Pe.push(ve(V.value)),this.map.set(V.param,Pe);break;case"d":if(void 0===V.value){this.map.delete(V.param);break}{let bt=this.map.get(V.param)||[];const gt=bt.indexOf(ve(V.value));-1!==gt&&bt.splice(gt,1),bt.length>0?this.map.set(V.param,bt):this.map.delete(V.param)}}}),this.cloneFrom=this.updates=null)}}class je{constructor(){this.map=new Map}set(V,Pe){return this.map.set(V,Pe),this}get(V){return this.map.has(V)||this.map.set(V,V.defaultValue()),this.map.get(V)}delete(V){return this.map.delete(V),this}has(V){return this.map.has(V)}keys(){return this.map.keys()}}function ee(st){return typeof ArrayBuffer<"u"&&st instanceof ArrayBuffer}function $e(st){return typeof Blob<"u"&&st instanceof Blob}function Oe(st){return typeof FormData<"u"&&st instanceof FormData}class vt{constructor(V,Pe,bt,gt){let on;if(this.url=Pe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=V.toUpperCase(),function se(st){switch(st){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||gt?(this.body=void 0!==bt?bt:null,on=gt):on=bt,on&&(this.reportProgress=!!on.reportProgress,this.withCredentials=!!on.withCredentials,on.responseType&&(this.responseType=on.responseType),on.headers&&(this.headers=on.headers),on.context&&(this.context=on.context),on.params&&(this.params=on.params)),this.headers||(this.headers=new ce),this.context||(this.context=new je),this.params){const $t=this.params.toString();if(0===$t.length)this.urlWithParams=Pe;else{const vn=Pe.indexOf("?");this.urlWithParams=Pe+(-1===vn?"?":vnQ.set(H,V.setHeaders[H]),Nn)),V.setParams&&(Mn=Object.keys(V.setParams).reduce((Q,H)=>Q.set(H,V.setParams[H]),Mn)),new vt(bt,gt,$t,{params:Mn,headers:Nn,context:oe,reportProgress:Jt,responseType:on,withCredentials:vn})}}var tt=(()=>((tt=tt||{})[tt.Sent=0]="Sent",tt[tt.UploadProgress=1]="UploadProgress",tt[tt.ResponseHeader=2]="ResponseHeader",tt[tt.DownloadProgress=3]="DownloadProgress",tt[tt.Response=4]="Response",tt[tt.User=5]="User",tt))();class we{constructor(V,Pe=200,bt="OK"){this.headers=V.headers||new ce,this.status=void 0!==V.status?V.status:Pe,this.statusText=V.statusText||bt,this.url=V.url||null,this.ok=this.status>=200&&this.status<300}}class mt extends we{constructor(V={}){super(V),this.type=tt.ResponseHeader}clone(V={}){return new mt({headers:V.headers||this.headers,status:void 0!==V.status?V.status:this.status,statusText:V.statusText||this.statusText,url:V.url||this.url||void 0})}}class At extends we{constructor(V={}){super(V),this.type=tt.Response,this.body=void 0!==V.body?V.body:null}clone(V={}){return new At({body:void 0!==V.body?V.body:this.body,headers:V.headers||this.headers,status:void 0!==V.status?V.status:this.status,statusText:V.statusText||this.statusText,url:V.url||this.url||void 0})}}class Qe extends we{constructor(V){super(V,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${V.url||"(unknown url)"}`:`Http failure response for ${V.url||"(unknown url)"}: ${V.status} ${V.statusText}`,this.error=V.error||null}}function qe(st,V){return{body:V,headers:st.headers,context:st.context,observe:st.observe,params:st.params,reportProgress:st.reportProgress,responseType:st.responseType,withCredentials:st.withCredentials}}let Ge=(()=>{class st{constructor(Pe){this.handler=Pe}request(Pe,bt,gt={}){let on;if(Pe instanceof vt)on=Pe;else{let Jt,Nn;Jt=gt.headers instanceof ce?gt.headers:new ce(gt.headers),gt.params&&(Nn=gt.params instanceof Ae?gt.params:new Ae({fromObject:gt.params})),on=new vt(Pe,bt,void 0!==gt.body?gt.body:null,{headers:Jt,context:gt.context,params:Nn,reportProgress:gt.reportProgress,responseType:gt.responseType||"json",withCredentials:gt.withCredentials})}const $t=(0,k.of)(on).pipe((0,F.b)(Jt=>this.handler.handle(Jt)));if(Pe instanceof vt||"events"===gt.observe)return $t;const vn=$t.pipe((0,ne.h)(Jt=>Jt instanceof At));switch(gt.observe||"body"){case"body":switch(on.responseType){case"arraybuffer":return vn.pipe((0,W.U)(Jt=>{if(null!==Jt.body&&!(Jt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Jt.body}));case"blob":return vn.pipe((0,W.U)(Jt=>{if(null!==Jt.body&&!(Jt.body instanceof Blob))throw new Error("Response is not a Blob.");return Jt.body}));case"text":return vn.pipe((0,W.U)(Jt=>{if(null!==Jt.body&&"string"!=typeof Jt.body)throw new Error("Response is not a string.");return Jt.body}));default:return vn.pipe((0,W.U)(Jt=>Jt.body))}case"response":return vn;default:throw new Error(`Unreachable: unhandled observe type ${gt.observe}}`)}}delete(Pe,bt={}){return this.request("DELETE",Pe,bt)}get(Pe,bt={}){return this.request("GET",Pe,bt)}head(Pe,bt={}){return this.request("HEAD",Pe,bt)}jsonp(Pe,bt){return this.request("JSONP",Pe,{params:(new Ae).append(bt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Pe,bt={}){return this.request("OPTIONS",Pe,bt)}patch(Pe,bt,gt={}){return this.request("PATCH",Pe,qe(gt,bt))}post(Pe,bt,gt={}){return this.request("POST",Pe,qe(gt,bt))}put(Pe,bt,gt={}){return this.request("PUT",Pe,qe(gt,bt))}}return st.\u0275fac=function(Pe){return new(Pe||st)(s.LFG(te))},st.\u0275prov=s.Yz7({token:st,factory:st.\u0275fac}),st})();function R(st,V){return V(st)}function be(st,V){return(Pe,bt)=>V.intercept(Pe,{handle:gt=>st(gt,bt)})}const q=new s.OlP("HTTP_INTERCEPTORS"),ze=new s.OlP("HTTP_INTERCEPTOR_FNS");function N(){let st=null;return(V,Pe)=>{var bt;return null===st&&(st=(null!==(bt=(0,s.f3M)(q,{optional:!0}))&&void 0!==bt?bt:[]).reduceRight(be,R)),st(V,Pe)}}let Se=(()=>{class st extends te{constructor(Pe,bt){super(),this.backend=Pe,this.injector=bt,this.chain=null}handle(Pe){if(null===this.chain){const bt=Array.from(new Set(this.injector.get(ze)));this.chain=bt.reduceRight((gt,on)=>function S(st,V,Pe){return(bt,gt)=>Pe.runInContext(()=>V(bt,on=>st(on,gt)))}(gt,on,this.injector),R)}return this.chain(Pe,bt=>this.backend.handle(bt))}}return st.\u0275fac=function(Pe){return new(Pe||st)(s.LFG(pe),s.LFG(s.lqb))},st.\u0275prov=s.Yz7({token:st,factory:st.\u0275fac}),st})();const Xt=/^\)\]\}',?\n/;let hn=(()=>{class st{constructor(Pe){this.xhrFactory=Pe}handle(Pe){if("JSONP"===Pe.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new z.y(bt=>{const gt=this.xhrFactory.build();if(gt.open(Pe.method,Pe.urlWithParams),Pe.withCredentials&&(gt.withCredentials=!0),Pe.headers.forEach((H,le)=>gt.setRequestHeader(H,le.join(","))),Pe.headers.has("Accept")||gt.setRequestHeader("Accept","application/json, text/plain, */*"),!Pe.headers.has("Content-Type")){const H=Pe.detectContentTypeHeader();null!==H&>.setRequestHeader("Content-Type",H)}if(Pe.responseType){const H=Pe.responseType.toLowerCase();gt.responseType="json"!==H?H:"text"}const on=Pe.serializeBody();let $t=null;const vn=()=>{if(null!==$t)return $t;const H=gt.statusText||"OK",le=new ce(gt.getAllResponseHeaders()),Ie=function Qt(st){return"responseURL"in st&&st.responseURL?st.responseURL:/^X-Request-URL:/m.test(st.getAllResponseHeaders())?st.getResponseHeader("X-Request-URL"):null}(gt)||Pe.url;return $t=new mt({headers:le,status:gt.status,statusText:H,url:Ie}),$t},Jt=()=>{let{headers:H,status:le,statusText:Ie,url:rt}=vn(),nt=null;204!==le&&(nt=typeof gt.response>"u"?gt.responseText:gt.response),0===le&&(le=nt?200:0);let ut=le>=200&&le<300;if("json"===Pe.responseType&&"string"==typeof nt){const He=nt;nt=nt.replace(Xt,"");try{nt=""!==nt?JSON.parse(nt):null}catch(Ne){nt=He,ut&&(ut=!1,nt={error:Ne,text:nt})}}ut?(bt.next(new At({body:nt,headers:H,status:le,statusText:Ie,url:rt||void 0})),bt.complete()):bt.error(new Qe({error:nt,headers:H,status:le,statusText:Ie,url:rt||void 0}))},Nn=H=>{const{url:le}=vn(),Ie=new Qe({error:H,status:gt.status||0,statusText:gt.statusText||"Unknown Error",url:le||void 0});bt.error(Ie)};let Mn=!1;const oe=H=>{Mn||(bt.next(vn()),Mn=!0);let le={type:tt.DownloadProgress,loaded:H.loaded};H.lengthComputable&&(le.total=H.total),"text"===Pe.responseType&>.responseText&&(le.partialText=gt.responseText),bt.next(le)},Q=H=>{let le={type:tt.UploadProgress,loaded:H.loaded};H.lengthComputable&&(le.total=H.total),bt.next(le)};return gt.addEventListener("load",Jt),gt.addEventListener("error",Nn),gt.addEventListener("timeout",Nn),gt.addEventListener("abort",Nn),Pe.reportProgress&&(gt.addEventListener("progress",oe),null!==on&>.upload&>.upload.addEventListener("progress",Q)),gt.send(on),bt.next({type:tt.Sent}),()=>{gt.removeEventListener("error",Nn),gt.removeEventListener("abort",Nn),gt.removeEventListener("load",Jt),gt.removeEventListener("timeout",Nn),Pe.reportProgress&&(gt.removeEventListener("progress",oe),null!==on&>.upload&>.upload.removeEventListener("progress",Q)),gt.readyState!==gt.DONE&>.abort()}})}}return st.\u0275fac=function(Pe){return new(Pe||st)(s.LFG(e.JF))},st.\u0275prov=s.Yz7({token:st,factory:st.\u0275fac}),st})();const cn=new s.OlP("XSRF_ENABLED"),Re=new s.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),re=new s.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Xe{}let Le=(()=>{class st{constructor(Pe,bt,gt){this.doc=Pe,this.platform=bt,this.cookieName=gt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Pe=this.doc.cookie||"";return Pe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(Pe,this.cookieName),this.lastCookieString=Pe),this.lastToken}}return st.\u0275fac=function(Pe){return new(Pe||st)(s.LFG(e.K0),s.LFG(s.Lbi),s.LFG(Re))},st.\u0275prov=s.Yz7({token:st,factory:st.\u0275fac}),st})();function fe(st,V){const Pe=st.url.toLowerCase();if(!(0,s.f3M)(cn)||"GET"===st.method||"HEAD"===st.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return V(st);const bt=(0,s.f3M)(Xe).getToken(),gt=(0,s.f3M)(re);return null!=bt&&!st.headers.has(gt)&&(st=st.clone({headers:st.headers.set(gt,bt)})),V(st)}var ye=(()=>((ye=ye||{})[ye.Interceptors=0]="Interceptors",ye[ye.LegacyInterceptors=1]="LegacyInterceptors",ye[ye.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ye[ye.NoXsrfProtection=3]="NoXsrfProtection",ye[ye.JsonpSupport=4]="JsonpSupport",ye[ye.RequestsMadeViaParent=5]="RequestsMadeViaParent",ye))();function at(st,V){return{\u0275kind:st,\u0275providers:V}}function kt(...st){const V=[Ge,hn,Se,{provide:te,useExisting:Se},{provide:pe,useExisting:hn},{provide:ze,useValue:fe,multi:!0},{provide:cn,useValue:!0},{provide:Xe,useClass:Le}];for(const Pe of st)V.push(...Pe.\u0275providers);return(0,s.MR2)(V)}const Lt=new s.OlP("LEGACY_INTERCEPTOR_FN");let ot=(()=>{class st{}return st.\u0275fac=function(Pe){return new(Pe||st)},st.\u0275mod=s.oAB({type:st}),st.\u0275inj=s.cJS({providers:[kt(at(ye.LegacyInterceptors,[{provide:Lt,useFactory:N},{provide:ze,useExisting:Lt,multi:!0}]))]}),st})()},4537:(Ht,Fe,c)=>{"use strict";c.d(Fe,{$8M:()=>G,$WT:()=>rn,$Z:()=>qh,AFp:()=>qm,ALo:()=>vm,AaK:()=>te,AsE:()=>Pf,BQk:()=>ac,CHM:()=>M,CRH:()=>Am,CZH:()=>bc,CqO:()=>Ip,D6c:()=>qb,DdM:()=>cm,Dn7:()=>Cm,EJc:()=>gb,EiD:()=>Fl,EpF:()=>Ap,F$t:()=>Bp,F4k:()=>Sp,FYo:()=>Ah,FiY:()=>Jo,Gf:()=>wm,GfV:()=>Sh,GkF:()=>vf,Gpc:()=>de,Hsn:()=>Up,Ikx:()=>Af,JOm:()=>Yr,JVY:()=>Md,JZr:()=>Ue,Jf7:()=>Ih,KtG:()=>ae,L6k:()=>Ed,LAX:()=>xd,LFG:()=>ot,LSH:()=>wu,Lbi:()=>db,Lck:()=>f1,MAs:()=>Pp,MMx:()=>Hf,MR2:()=>Vl,NdJ:()=>bf,O4$:()=>gs,OlP:()=>_n,Oqu:()=>wf,P3R:()=>Hl,PXZ:()=>Ab,PiD:()=>Ks,Q6J:()=>gf,QGY:()=>yf,QbO:()=>fb,Qsj:()=>N0,R0b:()=>rs,RDi:()=>vd,Rgc:()=>Ju,SBq:()=>Fu,Sil:()=>_b,Suo:()=>Pm,TTD:()=>Tr,TgZ:()=>oc,Tol:()=>ng,Udp:()=>Ef,VKq:()=>dm,W1O:()=>Rm,WLB:()=>fm,X6Q:()=>Lb,XFs:()=>cn,Xpm:()=>ut,Xts:()=>xa,Y36:()=>Ia,YKP:()=>tm,YNc:()=>wp,Yjl:()=>ct,Yz7:()=>wt,Z0I:()=>It,ZZ4:()=>dh,_Bn:()=>em,_UZ:()=>_f,_Vd:()=>Nu,_c5:()=>Jb,_uU:()=>lg,aQg:()=>fh,c2e:()=>hb,cJS:()=>St,cg1:()=>If,d8E:()=>Sf,dDg:()=>Ob,dqk:()=>Le,eBb:()=>Od,eFA:()=>h0,eJc:()=>Zf,ekj:()=>Of,eoX:()=>l0,evT:()=>kh,f3M:()=>it,g9A:()=>t0,gxx:()=>Au,h0i:()=>Wa,hGG:()=>Qb,hij:()=>cc,iGM:()=>xm,ifc:()=>Jt,ip1:()=>Qm,jDz:()=>im,kL8:()=>Og,kcU:()=>ms,lG2:()=>xe,lcZ:()=>ym,lqb:()=>f,lri:()=>a0,mCW:()=>Ea,n5z:()=>Ys,n_E:()=>gc,oAB:()=>I,oJD:()=>Bl,oxw:()=>Fp,pB0:()=>wd,q3G:()=>Oo,qLn:()=>Bu,qOj:()=>df,qZA:()=>rc,qzn:()=>Xs,rWj:()=>u0,sBO:()=>Nb,s_b:()=>_c,soG:()=>Cc,tb:()=>d0,tp0:()=>Ss,uIk:()=>pf,vHH:()=>ve,vpe:()=>Ms,wAp:()=>ei,xi3:()=>bm,xp6:()=>Hh,ynx:()=>sc,z2F:()=>Dc,z3N:()=>ls,zSh:()=>Lu,zs3:()=>la});var e=c(8023),s=c(4813),k=c(7241),z=c(1860),F=c(815);function ne(t){for(let n in t)if(t[n]===ne)return n;throw Error("Could not find renamed property on target object.")}function W(t,n){for(const i in n)n.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=n[i])}function te(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(te).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const i=n.indexOf("\n");return-1===i?n:n.substring(0,i)}function pe(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const ce=ne({__forward_ref__:ne});function de(t){return t.__forward_ref__=de,t.toString=function(){return te(this())},t}function Y(t){return _e(t)?t():t}function _e(t){return"function"==typeof t&&t.hasOwnProperty(ce)&&t.__forward_ref__===de}function ue(t){return t&&!!t.\u0275providers}const Ue="https://g.co/ng/security#xss";class ve extends Error{constructor(n,i){super(Ae(n,i)),this.code=n}}function Ae(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}function Ve(t){return"string"==typeof t?t:null==t?"":String(t)}function Oe(t,n){throw new ve(-201,!1)}function ze(t,n){null==t&&function N(t,n,i,o){throw new Error(`ASSERTION ERROR: ${t}`+(null==o?"":` [Expected=> ${i} ${o} ${n} <=Actual]`))}(n,t,null,"!=")}function wt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function St(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ft(t){return Rt(t,Dt)||Rt(t,Qt)}function It(t){return null!==Ft(t)}function Rt(t,n){return t.hasOwnProperty(n)?t[n]:null}function Ut(t){return t&&(t.hasOwnProperty(Xt)||t.hasOwnProperty(hn))?t[Xt]:null}const Dt=ne({\u0275prov:ne}),Xt=ne({\u0275inj:ne}),Qt=ne({ngInjectableDef:ne}),hn=ne({ngInjectorDef:ne});var cn=(()=>((cn=cn||{})[cn.Default=0]="Default",cn[cn.Host=1]="Host",cn[cn.Self=2]="Self",cn[cn.SkipSelf=4]="SkipSelf",cn[cn.Optional=8]="Optional",cn))();let yt;function he(t){const n=yt;return yt=t,n}function re(t,n,i){const o=Ft(t);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&cn.Optional?null:void 0!==n?n:void Oe(te(t))}const Le=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),at={},kt="__NG_DI_FLAG__",qt="ngTempTokenPath",Lt="ngTokenPath",xt=/\n/gm,Wt="\u0275",Pt="__source";let an;function fn(t){const n=an;return an=t,n}function Ke(t,n=cn.Default){if(void 0===an)throw new ve(-203,!1);return null===an?re(t,void 0,n):an.get(t,n&cn.Optional?null:void 0,n)}function ot(t,n=cn.Default){return(function Re(){return yt}()||Ke)(Y(t),n)}function it(t,n=cn.Default){return ot(t,st(n))}function st(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function V(t){const n=[];for(let i=0;i((vn=vn||{})[vn.OnPush=0]="OnPush",vn[vn.Default=1]="Default",vn))(),Jt=(()=>{return(t=Jt||(Jt={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",Jt;var t})();const Nn={},Mn=[],oe=ne({\u0275cmp:ne}),Q=ne({\u0275dir:ne}),H=ne({\u0275pipe:ne}),le=ne({\u0275mod:ne}),Ie=ne({\u0275fac:ne}),rt=ne({__NG_ELEMENT_ID__:ne});let nt=0;function ut(t){return $t(()=>{const n=gn(t),i={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===vn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,data:t.data||{},encapsulation:t.encapsulation||Jt.Emulated,id:"c"+nt++,styles:t.styles||Mn,_:null,schemas:t.schemas||null,tView:null};pn(i);const o=t.dependencies;return i.directiveDefs=In(o,!1),i.pipeDefs=In(o,!0),i})}function Ne(t){return dt(t)||Bt(t)}function U(t){return null!==t}function I(t){return $t(()=>({type:t.type,bootstrap:t.bootstrap||Mn,declarations:t.declarations||Mn,imports:t.imports||Mn,exports:t.exports||Mn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function $(t,n){if(null==t)return Nn;const i={};for(const o in t)if(t.hasOwnProperty(o)){let a=t[o],d=a;Array.isArray(a)&&(d=a[1],a=a[0]),i[a]=o,n&&(n[a]=d)}return i}function xe(t){return $t(()=>{const n=gn(t);return pn(n),n})}function ct(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function dt(t){return t[oe]||null}function Bt(t){return t[Q]||null}function Yt(t){return t[H]||null}function rn(t){const n=dt(t)||Bt(t)||Yt(t);return null!==n&&n.standalone}function en(t,n){const i=t[le]||null;if(!i&&!0===n)throw new Error(`Type ${te(t)} does not have '\u0275mod' property.`);return i}function gn(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,exportAs:t.exportAs||null,standalone:!0===t.standalone,selectors:t.selectors||Mn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:$(t.inputs,n),outputs:$(t.outputs)}}function pn(t){var n;null===(n=t.features)||void 0===n||n.forEach(i=>i(t))}function In(t,n){if(!t)return null;const i=n?Yt:Ne;return()=>("function"==typeof t?t():t).map(o=>i(o)).filter(U)}const Kn=0,mn=1,xn=2,$n=3,ci=4,ri=5,Xn=6,Yn=7,Qn=8,Ai=9,Ji=10,Wn=11,Ti=12,ti=13,Mi=14,to=15,Ri=16,Wo=17,wo=18,no=19,qo=20,lr=21,ui=22,Qi=1,yo=2,Po=7,Vo=8,bo=9,ji=10;function Li(t){return Array.isArray(t)&&"object"==typeof t[Qi]}function Yi(t){return Array.isArray(t)&&!0===t[Qi]}function Si(t){return 0!=(4&t.flags)}function oo(t){return t.componentOffset>-1}function go(t){return 1==(1&t.flags)}function Pn(t){return!!t.template}function Nt(t){return 0!=(256&t[xn])}function co(t,n){return t.hasOwnProperty(Ie)?t[Ie]:null}class Sr{constructor(n,i,o){this.previousValue=n,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function Tr(){return tr}function tr(t){return t.type.prototype.ngOnChanges&&(t.setInput=_r),Ui}function Ui(){const t=Ir(this),n=null==t?void 0:t.current;if(n){const i=t.previous;if(i===Nn)t.previous=n;else for(let o in n)i[o]=n[o];t.current=null,this.ngOnChanges(n)}}function _r(t,n,i,o){const a=this.declaredInputs[i],d=Ir(t)||function Zr(t,n){return t[nr]=n}(t,{previous:Nn,current:null}),p=d.current||(d.current={}),C=d.previous,w=C[a];p[a]=new Sr(w&&w.currentValue,n,C===Nn),t[o]=n}Tr.ngInherit=!0;const nr="__ngSimpleChanges__";function Ir(t){return t[nr]||null}const mo=function(t,n,i){},Hi="svg";function Ei(t){for(;Array.isArray(t);)t=t[Kn];return t}function ir(t,n){return Ei(n[t])}function zi(t,n){return Ei(n[t.index])}function Er(t,n){return t.data[n]}function uo(t,n){return t[n]}function $i(t,n){const i=n[t];return Li(i)?i:i[Kn]}function Or(t){return 64==(64&t[xn])}function Mo(t,n){return null==n?null:t[n]}function Ee(t){t[wo]=0}function _(t,n){t[ri]+=n;let i=t,o=t[$n];for(;null!==o&&(1===n&&1===i[ri]||-1===n&&0===i[ri]);)o[ri]+=n,i=o,o=o[$n]}const y={lFrame:$r(null),bindingsEnabled:!0};function Vt(){return y.bindingsEnabled}function T(){return y.lFrame.lView}function E(){return y.lFrame.tView}function M(t){return y.lFrame.contextLView=t,t[Qn]}function ae(t){return y.lFrame.contextLView=null,t}function ft(){let t=Dn();for(;null!==t&&64===t.type;)t=t.parent;return t}function Dn(){return y.lFrame.currentTNode}function ii(t,n){const i=y.lFrame;i.currentTNode=t,i.isParent=n}function Di(){return y.lFrame.isParent}function mi(){y.lFrame.isParent=!1}function yi(){const t=y.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function or(){return y.lFrame.bindingIndex++}function fo(t){const n=y.lFrame,i=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,i}function qr(t,n){const i=y.lFrame;i.bindingIndex=i.bindingRootIndex=t,Vn(n)}function Vn(t){y.lFrame.currentDirectiveIndex=t}function jn(t){const n=y.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function si(){return y.lFrame.currentQueryIndex}function wi(t){y.lFrame.currentQueryIndex=t}function $o(t){const n=t[mn];return 2===n.type?n.declTNode:1===n.type?t[Xn]:null}function lo(t,n,i){if(i&cn.SkipSelf){let a=n,d=t;for(;!(a=a.parent,null!==a||i&cn.Host||(a=$o(d),null===a||(d=d[to],10&a.type))););if(null===a)return!1;n=a,t=d}const o=y.lFrame=Oi();return o.currentTNode=n,o.lView=t,!0}function Lo(t){const n=Oi(),i=t[mn];y.lFrame=n,n.currentTNode=i.firstChild,n.lView=t,n.tView=i,n.contextLView=t,n.bindingIndex=i.bindingStartIndex,n.inI18n=!1}function Oi(){const t=y.lFrame,n=null===t?null:t.child;return null===n?$r(t):n}function $r(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function Eo(){const t=y.lFrame;return y.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ho=Eo;function No(){const t=Eo();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ni(){return y.lFrame.selectedIndex}function Rr(t){y.lFrame.selectedIndex=t}function Gi(){const t=y.lFrame;return Er(t.tView,t.selectedIndex)}function gs(){y.lFrame.currentNamespace=Hi}function ms(){!function Vs(){y.lFrame.currentNamespace=null}()}function _s(t,n){for(let X=n.directiveStart,Me=n.directiveEnd;X=o)break}else n[w]<0&&(t[wo]+=65536),(C>11>16&&(3&t[xn])===n){t[xn]+=2048,mo(4,C,d);try{d.call(C)}finally{mo(5,C,d)}}}else{mo(4,C,d);try{d.call(C)}finally{mo(5,C,d)}}}const ge=-1;class Je{constructor(n,i,o){this.factory=n,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function bi(t,n,i){let o=0;for(;on){p=d-1;break}}}for(;d>16}(t),o=n;for(;i>0;)o=o[to],i--;return o}let ss=!0;function Gr(t){const n=ss;return ss=t,n}const Bo=255,Gs=5;let ea=0;const dr={};function vs(t,n){const i=xs(t,n);if(-1!==i)return i;const o=n[mn];o.firstCreatePass&&(t.injectorIndex=n.length,Os(o.data,t),Os(n,null),Os(o.blueprint,null));const a=Uo(t,n),d=t.injectorIndex;if(Go(a)){const p=rr(a),C=br(a,n),w=C[mn].data;for(let X=0;X<8;X++)n[d+X]=C[p+X]|w[p+X]}return n[d+8]=a,d}function Os(t,n){t.push(0,0,0,0,0,0,0,0,n)}function xs(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Uo(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,o=null,a=n;for(;null!==a;){if(o=x(a),null===o)return ge;if(i++,a=a[to],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return ge}function ws(t,n,i){!function ta(t,n,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(rt)&&(o=i[rt]),null==o&&(o=i[rt]=ea++);const a=o&Bo;n.data[t+(a>>Gs)]|=1<=0?n&Bo:_a:n}(i);if("function"==typeof d){if(!lo(n,t,o))return o&cn.Host?Ps(a,0,o):As(n,i,o,a);try{const p=d(o);if(null!=p||o&cn.Optional)return p;Oe()}finally{ho()}}else if("number"==typeof d){let p=null,C=xs(t,n),w=ge,X=o&cn.Host?n[Ri][Xn]:null;for((-1===C||o&cn.SkipSelf)&&(w=-1===C?Uo(t,n):n[C+8],w!==ge&&Ws(o,!1)?(p=n[mn],C=rr(w),n=br(w,n)):C=-1);-1!==C;){const Me=n[mn];if(fr(d,C,Me.data)){const Ze=ma(C,n,i,p,o,X);if(Ze!==dr)return Ze}w=n[C+8],w!==ge&&Ws(o,n[mn].data[C+8]===X)&&fr(d,C,n)?(p=Me,C=rr(w),n=br(w,n)):C=-1}}return a}function ma(t,n,i,o,a,d){const p=n[mn],C=p.data[t+8],Me=us(C,p,i,null==o?oo(C)&&ss:o!=p&&0!=(3&C.type),a&cn.Host&&d===C);return null!==Me?sr(n,p,Me,C):dr}function us(t,n,i,o,a){const d=t.providerIndexes,p=n.data,C=1048575&d,w=t.directiveStart,Me=d>>20,Mt=a?C+Me:t.directiveEnd;for(let zt=o?C:C+Me;zt=w&&dn.type===i)return zt}if(a){const zt=p[w];if(zt&&Pn(zt)&&zt.type===i)return w}return null}function sr(t,n,i,o){let a=t[i];const d=n.data;if(function Gt(t){return t instanceof Je}(a)){const p=a;p.resolving&&function se(t,n){const i=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new ve(-200,`Circular dependency in DI detected for ${t}${i}`)}(function je(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Ve(t)}(d[i]));const C=Gr(p.canSeeViewProviders);p.resolving=!0;const w=p.injectImpl?he(p.injectImpl):null;lo(t,o,cn.Default);try{a=t[i]=p.factory(void 0,d,t,o),n.firstCreatePass&&i>=o.directiveStart&&function $s(t,n,i){const{ngOnChanges:o,ngOnInit:a,ngDoCheck:d}=n.type.prototype;if(o){var p,C;const Ze=tr(n);(null!==(p=i.preOrderHooks)&&void 0!==p?p:i.preOrderHooks=[]).push(t,Ze),(null!==(C=i.preOrderCheckHooks)&&void 0!==C?C:i.preOrderCheckHooks=[]).push(t,Ze)}var w,X,Me;a&&(null!==(w=i.preOrderHooks)&&void 0!==w?w:i.preOrderHooks=[]).push(0-t,a),d&&((null!==(X=i.preOrderHooks)&&void 0!==X?X:i.preOrderHooks=[]).push(t,d),(null!==(Me=i.preOrderCheckHooks)&&void 0!==Me?Me:i.preOrderCheckHooks=[]).push(t,d))}(i,d[i],n)}finally{null!==w&&he(w),Gr(C),p.resolving=!1,ho()}}return a}function fr(t,n,i){return!!(i[n+(t>>Gs)]&1<{const n=t.prototype.constructor,i=n[Ie]||l(n),o=Object.prototype;let a=Object.getPrototypeOf(t.prototype).constructor;for(;a&&a!==o;){const d=a[Ie]||l(a);if(d&&d!==i)return d;a=Object.getPrototypeOf(a)}return d=>new d})}function l(t){return _e(t)?()=>{const n=l(Y(t));return n&&n()}:co(t)}function x(t){const n=t[mn],i=n.type;return 2===i?n.declTNode:1===i?t[Xn]:null}function G(t){return function as(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const i=t.attrs;if(i){const o=i.length;let a=0;for(;a{const o=function ht(t){return function(...i){if(t){const o=t(...i);for(const a in o)this[a]=o[a]}}}(n);function a(...d){if(this instanceof a)return o.apply(this,d),this;const p=new a(...d);return C.annotation=p,C;function C(w,X,Me){const Ze=w.hasOwnProperty(K)?w[K]:Object.defineProperty(w,K,{value:[]})[K];for(;Ze.length<=Me;)Ze.push(null);return(Ze[Me]=Ze[Me]||[]).push(p),w}}return i&&(a.prototype=Object.create(i.prototype)),a.prototype.ngMetadataName=t,a.annotationCls=a,a})}class _n{constructor(n,i){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=wt({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Wr(t,n){t.forEach(i=>Array.isArray(i)?Wr(i,n):n(i))}function ia(t,n,i){n>=t.length?t.push(i):t.splice(n,0,i)}function m(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function v(t,n){const i=[];for(let o=0;o=0?t[1|o]=i:(o=~o,function B(t,n,i,o){let a=t.length;if(a==n)t.push(i,o);else if(1===a)t.push(o,t[0]),t[0]=i;else{for(a--,t.push(t[a-1],t[a]);a>n;)t[a]=t[a-2],a--;t[n]=i,t[n+1]=o}}(t,o,n,i)),o}function Tt(t,n){const i=Kt(t,n);if(i>=0)return t[1|i]}function Kt(t,n){return function Un(t,n,i){let o=0,a=t.length>>i;for(;a!==o;){const d=o+(a-o>>1),p=t[d<n?a=d:o=d+1}return~(a<((Yr=Yr||{})[Yr.Important=1]="Important",Yr[Yr.DashCase=2]="DashCase",Yr))();const ul=new Map;let Dh=0;const iu="__ngContext__";function gr(t,n){Li(n)?(t[iu]=n[qo],function ll(t){ul.set(t[qo],t)}(n)):t[iu]=n}let ou;function ru(t,n){return ou(t,n)}function sa(t){const n=t[$n];return Yi(n)?n[$n]:n}function su(t){return gl(t[ti])}function au(t){return gl(t[ci])}function gl(t){for(;null!==t&&!Yi(t);)t=t[ci];return t}function Zs(t,n,i,o,a){if(null!=o){let d,p=!1;Yi(o)?d=o:Li(o)&&(p=!0,o=o[Kn]);const C=Ei(o);0===t&&null!==i?null==a?Cl(n,i,C):Rs(n,i,C,a||null,!0):1===t&&null!==i?Rs(n,i,C,a||null,!0):2===t?function gu(t,n,i){const o=ba(t,n);o&&function ld(t,n,i,o){t.removeChild(n,i,o)}(t,o,n,i)}(n,C,p):3===t&&n.destroyNode(C),null!=d&&function fd(t,n,i,o,a){const d=i[Po];d!==Ei(i)&&Zs(n,t,o,d,a);for(let C=ji;C0&&(t[i-1][ci]=o[ci]);const d=m(t,ji+n);!function td(t,n){aa(t,n,n[Wn],2,null,null),n[Kn]=null,n[Xn]=null}(o[mn],o);const p=d[no];null!==p&&p.detachView(d[mn]),o[$n]=null,o[ci]=null,o[xn]&=-65}return o}function vl(t,n){if(!(128&n[xn])){const i=n[Wn];i.destroyNode&&aa(t,n,i,3,null,null),function od(t){let n=t[ti];if(!n)return du(t[mn],t);for(;n;){let i=null;if(Li(n))i=n[ti];else{const o=n[ji];o&&(i=o)}if(!i){for(;n&&!n[ci]&&n!==t;)Li(n)&&du(n[mn],n),n=n[$n];null===n&&(n=t),Li(n)&&du(n[mn],n),i=n&&n[ci]}n=i}}(n)}}function du(t,n){if(!(128&n[xn])){n[xn]&=-65,n[xn]|=128,function ud(t,n){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let o=0;o=0?o[a=p]():o[a=-p].unsubscribe(),d+=2}else{const p=o[a=i[d+1]];i[d].call(p)}if(null!==o){for(let d=a+1;d-1){const{encapsulation:d}=t.data[o.directiveStart+a];if(d===Jt.None||d===Jt.Emulated)return null}return zi(o,i)}}(t,n.parent,i)}function Rs(t,n,i,o,a){t.insertBefore(n,i,o,a)}function Cl(t,n,i){t.appendChild(n,i)}function Dl(t,n,i,o,a){null!==o?Rs(t,n,i,o,a):Cl(t,n,i)}function ba(t,n){return t.parentNode(n)}function Tl(t,n,i){return El(t,n,i)}let fu,Ta,vu,Ma,El=function Ml(t,n,i){return 40&t.type?zi(t,i):null};function Ca(t,n,i,o){const a=yl(t,o,n),d=n[Wn],C=Tl(o.parent||n[Xn],o,n);if(null!=a)if(Array.isArray(i))for(let w=0;wt,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ta}())||void 0===n?void 0:n.createHTML(t))||t}function vd(t){vu=t}function yu(){if(void 0===Ma&&(Ma=null,Le.trustedTypes))try{Ma=Le.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ma}function Sl(t){var n;return(null===(n=yu())||void 0===n?void 0:n.createHTML(t))||t}function kl(t){var n;return(null===(n=yu())||void 0===n?void 0:n.createScriptURL(t))||t}class Ns{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ue})`}}class yd extends Ns{getTypeName(){return"HTML"}}class bd extends Ns{getTypeName(){return"Style"}}class Cd extends Ns{getTypeName(){return"Script"}}class Dd extends Ns{getTypeName(){return"URL"}}class Td extends Ns{getTypeName(){return"ResourceURL"}}function ls(t){return t instanceof Ns?t.changingThisBreaksApplicationSecurity:t}function Xs(t,n){const i=function Eh(t){return t instanceof Ns&&t.getTypeName()||null}(t);if(null!=i&&i!==n){if("ResourceURL"===i&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${i} (see ${Ue})`)}return i===n}function Md(t){return new yd(t)}function Ed(t){return new bd(t)}function Od(t){return new Cd(t)}function xd(t){return new Dd(t)}function wd(t){return new Td(t)}class Pd{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const i=(new window.DOMParser).parseFromString(Ls(n),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(n):(i.removeChild(i.firstChild),i)}catch{return null}}}class Ad{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const i=this.inertDocument.createElement("template");return i.innerHTML=Ls(n),i}}const Id=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ea(t){return(t=String(t)).match(Id)?t:"unsafe:"+t}function cs(t){const n={};for(const i of t.split(","))n[i]=!0;return n}function ua(...t){const n={};for(const i of t)for(const o in i)i.hasOwnProperty(o)&&(n[o]=!0);return n}const bu=cs("area,br,col,hr,img,wbr"),Cu=cs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kd=cs("rp,rt"),Du=ua(bu,ua(Cu,cs("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")),ua(kd,cs("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")),ua(kd,Cu)),Tu=cs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Mu=ua(Tu,cs("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"),cs("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")),Ll=cs("script,style,template");class Eu{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let i=n.firstChild,o=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?o=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,o&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let a=this.checkClobberedElement(i,i.nextSibling);if(a){i=a;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(n){const i=n.nodeName.toLowerCase();if(!Du.hasOwnProperty(i))return this.sanitizedSomething=!0,!Ll.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=n.attributes;for(let a=0;a"),!0}endElement(n){const i=n.nodeName.toLowerCase();Du.hasOwnProperty(i)&&!bu.hasOwnProperty(i)&&(this.buf.push(""))}chars(n){this.buf.push(Nl(n))}checkClobberedElement(n,i){if(i&&(n.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return i}}const Ou=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Rd=/([^\#-~ |!])/g;function Nl(t){return t.replace(/&/g,"&").replace(Ou,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Rd,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Oa;function Fl(t,n){let i=null;try{Oa=Oa||function Rl(t){const n=new Ad(t);return function Sd(){try{return!!(new window.DOMParser).parseFromString(Ls(""),"text/html")}catch{return!1}}()?new Pd(n):n}(t);let o=n?String(n):"";i=Oa.getInertBodyElement(o);let a=5,d=o;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,o=d,d=i.innerHTML,i=Oa.getInertBodyElement(o)}while(o!==d);return Ls((new Eu).sanitizeChildren(xu(i)||i))}finally{if(i){const o=xu(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function xu(t){return"content"in t&&function Ld(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Oo=(()=>((Oo=Oo||{})[Oo.NONE=0]="NONE",Oo[Oo.HTML=1]="HTML",Oo[Oo.STYLE=2]="STYLE",Oo[Oo.SCRIPT=3]="SCRIPT",Oo[Oo.URL=4]="URL",Oo[Oo.RESOURCE_URL=5]="RESOURCE_URL",Oo))();function Bl(t){const n=Js();return n?Sl(n.sanitize(Oo.HTML,t)||""):Xs(t,"HTML")?Sl(ls(t)):Fl(function Al(){return void 0!==vu?vu:typeof document<"u"?document:void 0}(),Ve(t))}function wu(t){const n=Js();return n?n.sanitize(Oo.URL,t)||"":Xs(t,"URL")?ls(t):Ea(Ve(t))}function Pu(t){const n=Js();if(n)return kl(n.sanitize(Oo.RESOURCE_URL,t)||"");if(Xs(t,"ResourceURL"))return kl(ls(t));throw new ve(904,!1)}function Hl(t,n,i){return function Ud(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?Pu:wu}(n,i)(t)}function Js(){const t=T();return t&&t[Ti]}const xa=new _n("ENVIRONMENT_INITIALIZER"),Au=new _n("INJECTOR",-1),Su=new _n("INJECTOR_DEF_TYPES");class zl{get(n,i=at){if(i===at){const o=new Error(`NullInjectorError: No provider for ${te(n)}!`);throw o.name="NullInjectorError",o}return i}}function Vl(t){return{\u0275providers:t}}function Vd(...t){return{\u0275providers:jl(0,t),\u0275fromNgModule:!0}}function jl(t,...n){const i=[],o=new Set;let a;return Wr(n,d=>{const p=d;Iu(p,i,[],o)&&(a||(a=[]),a.push(p))}),void 0!==a&&$l(a,i),i}function $l(t,n){for(let i=0;i{n.push(d)})}}function Iu(t,n,i,o){if(!(t=Y(t)))return!1;let a=null,d=Ut(t);const p=!d&&dt(t);if(d||p){if(p&&!p.standalone)return!1;a=t}else{const w=t.ngModule;if(d=Ut(w),!d)return!1;a=w}const C=o.has(a);if(p){if(C)return!1;if(o.add(a),p.dependencies){const w="function"==typeof p.dependencies?p.dependencies():p.dependencies;for(const X of w)Iu(X,n,i,o)}}else{if(!d)return!1;{if(null!=d.imports&&!C){let X;o.add(a);try{Wr(d.imports,Me=>{Iu(Me,n,i,o)&&(X||(X=[]),X.push(Me))})}finally{}void 0!==X&&$l(X,n)}if(!C){const X=co(a)||(()=>new a);n.push({provide:a,useFactory:X,deps:Mn},{provide:Su,useValue:a,multi:!0},{provide:xa,useValue:()=>ot(a),multi:!0})}const w=d.providers;null==w||C||Gl(w,Me=>{n.push(Me)})}}return a!==t&&void 0!==t.providers}function Gl(t,n){for(let i of t)ue(i)&&(i=i.\u0275providers),Array.isArray(i)?Gl(i,n):n(i)}const Ph=ne({provide:String,useValue:ne});function ku(t){return null!==t&&"object"==typeof t&&Ph in t}function Fs(t){return"function"==typeof t}const Lu=new _n("Set Injector scope."),wa={},u={};let b;function r(){return void 0===b&&(b=new zl),b}class f{}class L extends f{get destroyed(){return this._destroyed}constructor(n,i,o,a){super(),this.parent=i,this.source=o,this.scopes=a,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Qo(n,p=>this.processProvider(p)),this.records.set(Au,qn(void 0,this)),a.has("environment")&&this.records.set(f,qn(void 0,this));const d=this.records.get(Lu);null!=d&&"string"==typeof d.value&&this.scopes.add(d.value),this.injectorDefTypes=new Set(this.get(Su.multi,Mn,cn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const i=fn(this),o=he(void 0);try{return n()}finally{fn(i),he(o)}}get(n,i=at,o=cn.Default){this.assertNotDestroyed(),o=st(o);const a=fn(this),d=he(void 0);try{if(!(o&cn.SkipSelf)){let C=this.records.get(n);if(void 0===C){const w=function Dr(t){return"function"==typeof t||"object"==typeof t&&t instanceof _n}(n)&&Ft(n);C=w&&this.injectableDefInScope(w)?qn(me(n),wa):null,this.records.set(n,C)}if(null!=C)return this.hydrate(n,C)}return(o&cn.Self?r():this.parent).get(n,i=o&cn.Optional&&i===at?null:i)}catch(p){if("NullInjectorError"===p.name){if((p[qt]=p[qt]||[]).unshift(te(n)),a)throw p;return function gt(t,n,i,o){const a=t[qt];throw n[Pt]&&a.unshift(n[Pt]),t.message=function on(t,n,i,o=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==Wt?t.slice(2):t;let a=te(n);if(Array.isArray(n))a=n.map(te).join(" -> ");else if("object"==typeof n){let d=[];for(let p in n)if(n.hasOwnProperty(p)){let C=n[p];d.push(p+":"+("string"==typeof C?JSON.stringify(C):te(C)))}a=`{${d.join(", ")}}`}return`${i}${o?"("+o+")":""}[${a}]: ${t.replace(xt,"\n ")}`}("\n"+t.message,a,i,o),t[Lt]=a,t[qt]=null,t}(p,n,"R3InjectorError",this.source)}throw p}finally{he(d),fn(a)}}resolveInjectorInitializers(){const n=fn(this),i=he(void 0);try{const o=this.get(xa.multi,Mn,cn.Self);for(const a of o)a()}finally{fn(n),he(i)}}toString(){const n=[],i=this.records;for(const o of i.keys())n.push(te(o));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ve(205,!1)}processProvider(n){let i=Fs(n=Y(n))?n:Y(n&&n.provide);const o=function Fn(t){return ku(t)?qn(void 0,t.useValue):qn(Zn(t),wa)}(n);if(Fs(n)||!0!==n.multi)this.records.get(i);else{let a=this.records.get(i);a||(a=qn(void 0,wa,!0),a.factory=()=>V(a.multi),this.records.set(i,a)),i=n,a.multi.push(n)}this.records.set(i,o)}hydrate(n,i){return i.value===wa&&(i.value=u,i.value=i.factory()),"object"==typeof i.value&&i.value&&function Cr(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(n){if(!n.providedIn)return!1;const i=Y(n.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}}function me(t){const n=Ft(t),i=null!==n?n.factory:co(t);if(null!==i)return i;if(t instanceof _n)throw new ve(204,!1);if(t instanceof Function)return function jt(t){const n=t.length;if(n>0)throw v(n,"?"),new ve(204,!1);const i=function Zt(t){return t&&(t[Dt]||t[Qt])||null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new ve(204,!1)}function Zn(t,n,i){let o;if(Fs(t)){const a=Y(t);return co(a)||me(a)}if(ku(t))o=()=>Y(t.useValue);else if(function Ru(t){return!(!t||!t.useFactory)}(t))o=()=>t.useFactory(...V(t.deps||[]));else if(function Wl(t){return!(!t||!t.useExisting)}(t))o=()=>ot(Y(t.useExisting));else{const a=Y(t&&(t.useClass||t.provide));if(!function po(t){return!!t.deps}(t))return co(a)||me(a);o=()=>new a(...V(t.deps))}return o}function qn(t,n,i=!1){return{factory:t,value:n,multi:i?[]:void 0}}function Qo(t,n){for(const i of t)Array.isArray(i)?Qo(i,n):i&&ue(i)?Qo(i.\u0275providers,n):n(i)}class Bs{}class is{}class k0{resolveComponentFactory(n){throw function jd(t){const n=Error(`No component factory found for ${te(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let Nu=(()=>{class t{}return t.NULL=new k0,t})();function R0(){return Pa(ft(),T())}function Pa(t,n){return new Fu(zi(t,n))}let Fu=(()=>{class t{constructor(i){this.nativeElement=i}}return t.__NG_ELEMENT_ID__=R0,t})();function L0(t){return t instanceof Fu?t.nativeElement:t}class Ah{}let N0=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function F0(){const t=T(),i=$i(ft().index,t);return(Li(i)?i:t)[Wn]}(),t})(),B0=(()=>{class t{}return t.\u0275prov=wt({token:t,providedIn:"root",factory:()=>null}),t})();class Sh{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const U0=new Sh("15.2.10"),$d={},Gd="ngOriginalError";function Wd(t){return t[Gd]}class Bu{constructor(){this._console=console}handleError(n){const i=this._findOriginalError(n);this._console.error("ERROR",n),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(n){let i=n&&Wd(n);for(;i&&Wd(i);)i=Wd(i);return i||null}}function Ih(t){return t.ownerDocument.defaultView}function kh(t){return t.ownerDocument}function Us(t){return t instanceof Function?t():t}function Lh(t,n,i){let o=t.length;for(;;){const a=t.indexOf(n,i);if(-1===a)return a;if(0===a||t.charCodeAt(a-1)<=32){const d=n.length;if(a+d===o||t.charCodeAt(a+d)<=32)return a}i=a+1}}const Nh="ng-template";function K0(t,n,i){let o=0,a=!0;for(;od?"":a[Ze+1].toLowerCase();const zt=8&o?Mt:null;if(zt&&-1!==Lh(zt,X,0)||2&o&&X!==Mt){if(ds(o))return!1;p=!0}}}}else{if(!p&&!ds(o)&&!ds(w))return!1;if(p&&ds(w))continue;p=!1,o=w|1&o}}return ds(o)||p}function ds(t){return 0==(1&t)}function J0(t,n,i,o){if(null===n)return-1;let a=0;if(o||!i){let d=!1;for(;a-1)for(i++;i0?'="'+C+'"':"")+"]"}else 8&o?a+="."+p:4&o&&(a+=" "+p);else""!==a&&!ds(p)&&(n+=Uh(d,a),a=""),o=p,d=d||!ds(o);i++}return""!==a&&(n+=Uh(d,a)),n}const gi={};function Hh(t){zh(E(),T(),Ni()+t,!1)}function zh(t,n,i,o){if(!o)if(3==(3&n[xn])){const d=t.preOrderCheckHooks;null!==d&&Lr(n,d,i)}else{const d=t.preOrderHooks;null!==d&&Fo(n,d,0,i)}Rr(i)}function Gh(t,n=null,i=null,o){const a=Wh(t,n,i,o);return a.resolveInjectorInitializers(),a}function Wh(t,n=null,i=null,o,a=new Set){const d=[i||Mn,Vd(t)];return o=o||("object"==typeof t?void 0:te(t)),new L(d,n||r(),o||null,a)}let la=(()=>{class t{static create(i,o){if(Array.isArray(i))return Gh({name:""},o,i,"");{var a;const d=null!==(a=i.name)&&void 0!==a?a:"";return Gh({name:d},i.parent,i.providers,d)}}}return t.THROW_IF_NOT_FOUND=at,t.NULL=new zl,t.\u0275prov=wt({token:t,providedIn:"any",factory:()=>ot(Au)}),t.__NG_ELEMENT_ID__=-1,t})();function Ia(t,n=cn.Default){const i=T();return null===i?ot(t,n):es(ft(),i,Y(t),n)}function qh(){throw new Error("invalid")}function ep(t,n){const i=t.contentQueries;if(null!==i)for(let o=0;oui&&zh(t,n,ui,!1),mo(p?2:0,a),i(o,a)}finally{Rr(d),mo(p?3:1,a)}}function qd(t,n,i){if(Si(n)){const a=n.directiveEnd;for(let d=n.directiveStart;d0;){const i=t[--n];if("number"==typeof i&&i<0)return i}return 0})(p)!=C&&p.push(C),p.push(i,o,d)}}(t,n,o,Uu(t,i,a.hostVars,gi),a)}function bs(t,n,i,o,a,d){const p=zi(t,n);!function af(t,n,i,o,a,d,p){if(null==d)t.removeAttribute(n,a,i);else{const C=null==p?Ve(d):p(d,o||"",a);t.setAttribute(n,a,C,i)}}(n[Wn],p,d,t.value,i,o,a)}function j_(t,n,i,o,a,d){const p=d[n];if(null!==p){const C=o.setInput;for(let w=0;w0&&uf(i)}}function uf(t){for(let o=su(t);null!==o;o=au(o))for(let a=ji;a0&&uf(d)}const i=t[mn].components;if(null!==i)for(let o=0;o0&&uf(a)}}function K_(t,n){const i=$i(n,t),o=i[mn];(function Z_(t,n){for(let i=n.length;i-1&&(cu(n,o),m(i,o))}this._attachedToViewContainer=!1}vl(this._lView[mn],this._lView)}onDestroy(n){ip(this._lView[mn],this._lView,null,n)}markForCheck(){Ql(this._cdRefInjectingView||this._lView)}detach(){this._lView[xn]&=-65}reattach(){this._lView[xn]|=64}detectChanges(){ql(this._lView[mn],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ve(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function id(t,n){aa(t,n,n[Wn],2,null,null)}(this._lView[mn],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ve(902,!1);this._appRef=n}}class X_ extends Hu{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;ql(n[mn],n,n[Qn],!1)}checkNoChanges(){}get context(){return null}}class hp extends Nu{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const i=dt(n);return new zu(i,this.ngModule)}}function pp(t){const n=[];for(let i in t)t.hasOwnProperty(i)&&n.push({propName:t[i],templateName:i});return n}class Q_{constructor(n,i){this.injector=n,this.parentInjector=i}get(n,i,o){o=st(o);const a=this.injector.get(n,$d,o);return a!==$d||i===$d?a:this.parentInjector.get(n,i,o)}}class zu extends is{get inputs(){return pp(this.componentDef.inputs)}get outputs(){return pp(this.componentDef.outputs)}constructor(n,i){super(),this.componentDef=n,this.ngModule=i,this.componentType=n.type,this.selector=function i_(t){return t.map(n_).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!i}create(n,i,o,a){var d;let p=(a=a||this.ngModule)instanceof f?a:null===(d=a)||void 0===d?void 0:d.injector;p&&null!==this.componentDef.getStandaloneInjector&&(p=this.componentDef.getStandaloneInjector(p)||p);const C=p?new Q_(n,p):n,w=C.get(Ah,null);if(null===w)throw new ve(407,!1);const X=C.get(B0,null),Me=w.createRenderer(null,this.componentDef),Ze=this.componentDef.selectors[0][0]||"div",Mt=o?function x_(t,n,i){return t.selectRootElement(n,i===Jt.ShadowDom)}(Me,o,this.componentDef.encapsulation):lu(Me,Ze,function J_(t){const n=t.toLowerCase();return"svg"===n?Hi:"math"===n?"math":null}(Ze)),zt=this.componentDef.onPush?288:272,dn=nf(0,null,null,1,0,null,null,null,null,null),Tn=Zl(null,dn,null,zt,null,null,w,Me,X,C,null);let Sn,Gn;Lo(Tn);try{const Jn=this.componentDef;let bn,li=null;Jn.findHostDirectiveDefs?(bn=[],li=new Map,Jn.findHostDirectiveDefs(Jn,bn,li),bn.push(Jn)):bn=[Jn];const so=function ev(t,n){const i=t[mn],o=ui;return t[o]=n,ka(i,o,2,"#host",null)}(Tn,Mt),xo=function tv(t,n,i,o,a,d,p,C){const w=a[mn];!function nv(t,n,i,o){for(const a of t)n.mergedAttrs=vo(n.mergedAttrs,a.hostAttrs);null!==n.mergedAttrs&&(ec(n,n.mergedAttrs,!0),null!==i&&Pl(o,i,n))}(o,t,n,p);const X=d.createRenderer(n,i),Me=Zl(a,np(i),null,i.onPush?32:16,a[t.index],t,d,X,C||null,null,null);return w.firstCreatePass&&sf(w,t,o.length-1),Jl(a,Me),a[t.index]=Me}(so,Mt,Jn,bn,Tn,w,Me);Gn=Er(dn,ui),Mt&&function ov(t,n,i,o){if(o)bi(t,i,["ng-version",U0.full]);else{const{attrs:a,classes:d}=function o_(t){const n=[],i=[];let o=1,a=2;for(;o0&&wl(t,i,d.join(" "))}}(Me,Jn,Mt,o),void 0!==i&&function rv(t,n,i){const o=t.projection=[];for(let a=0;a=0;o--){const a=t[o];a.hostVars=n+=a.hostVars,a.hostAttrs=vo(a.hostAttrs,i=vo(i,a.hostAttrs))}}(o)}function ff(t){return t===Nn?{}:t===Mn?[]:t}function uv(t,n){const i=t.viewQuery;t.viewQuery=i?(o,a)=>{n(o,a),i(o,a)}:n}function lv(t,n){const i=t.contentQueries;t.contentQueries=i?(o,a,d)=>{n(o,a,d),i(o,a,d)}:n}function cv(t,n){const i=t.hostBindings;t.hostBindings=i?(o,a)=>{n(o,a),i(o,a)}:n}function nc(t){return!!hf(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function hf(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Cs(t,n,i){return t[n]=i}function Ar(t,n,i){return!Object.is(t[n],i)&&(t[n]=i,!0)}function ca(t,n,i,o){const a=Ar(t,n,i);return Ar(t,n+1,o)||a}function pf(t,n,i,o){const a=T();return Ar(a,or(),n)&&(E(),bs(Gi(),a,t,n,i,o)),pf}function Na(t,n,i,o,a,d){const C=ca(t,function eo(){return y.lFrame.bindingIndex}(),i,a);return fo(2),C?n+Ve(i)+o+Ve(a)+d:gi}function wp(t,n,i,o,a,d,p,C){const w=T(),X=E(),Me=t+ui,Ze=X.firstCreatePass?function bv(t,n,i,o,a,d,p,C,w){const X=n.consts,Me=ka(n,t,4,p||null,Mo(X,C));rf(n,i,Me,Mo(X,w)),_s(n,Me);const Ze=Me.tView=nf(2,Me,o,a,d,n.directiveRegistry,n.pipeRegistry,null,n.schemas,X);return null!==n.queries&&(n.queries.template(n,Me),Ze.queries=n.queries.embeddedTView(Me)),Me}(Me,X,w,n,i,o,a,d,p):X.data[Me];ii(Ze,!1);const Mt=w[Wn].createComment("");Ca(X,w,Mt,Ze),gr(Mt,w),Jl(w,w[Me]=up(Mt,w,Mt,Ze)),go(Ze)&&ef(X,w,Ze),null!=p&&tf(w,Ze,C)}function Pp(t){return uo(function _o(){return y.lFrame.contextLView}(),ui+t)}function gf(t,n,i){const o=T();return Ar(o,or(),n)&&Qr(E(),Gi(),o,t,n,o[Wn],i,!1),gf}function mf(t,n,i,o,a){const p=a?"class":"style";cf(t,i,n.inputs[p],p,o)}function oc(t,n,i,o){const a=T(),d=E(),p=ui+t,C=a[Wn],w=d.firstCreatePass?function Dv(t,n,i,o,a,d){const p=n.consts,w=ka(n,t,2,o,Mo(p,a));return rf(n,i,w,Mo(p,d)),null!==w.attrs&&ec(w,w.attrs,!1),null!==w.mergedAttrs&&ec(w,w.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,w),w}(p,d,a,n,i,o):d.data[p],X=a[p]=lu(C,n,function js(){return y.lFrame.currentNamespace}()),Me=go(w);return ii(w,!0),Pl(C,X,w),32!=(32&w.flags)&&Ca(d,a,X,w),0===function Ye(){return y.lFrame.elementDepthCount}()&&gr(X,a),function Ct(){y.lFrame.elementDepthCount++}(),Me&&(ef(d,a,w),qd(d,w,a)),null!==o&&tf(a,w),oc}function rc(){let t=ft();Di()?mi():(t=t.parent,ii(t,!1));const n=t;!function Ot(){y.lFrame.elementDepthCount--}();const i=E();return i.firstCreatePass&&(_s(i,t),Si(t)&&i.queries.elementEnd(t)),null!=n.classesWithoutHost&&function _i(t){return 0!=(8&t.flags)}(n)&&mf(i,n,T(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function fi(t){return 0!=(16&t.flags)}(n)&&mf(i,n,T(),n.stylesWithoutHost,!1),rc}function _f(t,n,i,o){return oc(t,n,i,o),rc(),_f}function sc(t,n,i){const o=T(),a=E(),d=t+ui,p=a.firstCreatePass?function Tv(t,n,i,o,a){const d=n.consts,p=Mo(d,o),C=ka(n,t,8,"ng-container",p);return null!==p&&ec(C,p,!0),rf(n,i,C,Mo(d,a)),null!==n.queries&&n.queries.elementStart(n,C),C}(d,a,o,n,i):a.data[d];ii(p,!0);const C=o[d]=o[Wn].createComment("");return Ca(a,o,C,p),gr(C,o),go(p)&&(ef(a,o,p),qd(a,p,o)),null!=i&&tf(o,p),sc}function ac(){let t=ft();const n=E();return Di()?mi():(t=t.parent,ii(t,!1)),n.firstCreatePass&&(_s(n,t),Si(t)&&n.queries.elementEnd(t)),ac}function vf(t,n,i){return sc(t,n,i),ac(),vf}function Ap(){return T()}function yf(t){return!!t&&"function"==typeof t.then}function Sp(t){return!!t&&"function"==typeof t.subscribe}const Ip=Sp;function bf(t,n,i,o){const a=T(),d=E(),p=ft();return function Rp(t,n,i,o,a,d,p){const C=go(o),X=t.firstCreatePass&&cp(t),Me=n[Qn],Ze=lp(n);let Mt=!0;if(3&o.type||p){const Tn=zi(o,n),Sn=p?p(Tn):Tn,Gn=Ze.length,Jn=p?li=>p(Ei(li[o.index])):o.index;let bn=null;if(!p&&C&&(bn=function Mv(t,n,i,o){const a=t.cleanup;if(null!=a)for(let d=0;dw?C[w]:null}"string"==typeof p&&(d+=2)}return null}(t,n,a,o.index)),null!==bn)(bn.__ngLastListenerFn__||bn).__ngNextListenerFn__=d,bn.__ngLastListenerFn__=d,Mt=!1;else{d=Np(o,n,Me,d,!1);const li=i.listen(Sn,a,d);Ze.push(d,li),X&&X.push(a,Jn,Gn,Gn+1)}}else d=Np(o,n,Me,d,!1);const zt=o.outputs;let dn;if(Mt&&null!==zt&&(dn=zt[a])){const Tn=dn.length;if(Tn)for(let Sn=0;Sn-1?$i(t.index,n):n);let w=Lp(n,i,o,p),X=d.__ngNextListenerFn__;for(;X;)w=Lp(n,i,X,p)&&w,X=X.__ngNextListenerFn__;return a&&!1===w&&(p.preventDefault(),p.returnValue=!1),w}}function Fp(t=1){return function Vi(t){return(y.lFrame.contextLView=function kr(t,n){for(;t>0;)n=n[to],t--;return n}(t,y.lFrame.contextLView))[Qn]}(t)}function Ev(t,n){let i=null;const o=function Q0(t){const n=t.attrs;if(null!=n){const i=n.indexOf(5);if(!(1&i))return n[i+1]}return null}(t);for(let a=0;a>17&32767}function Df(t){return 2|t}function da(t){return(131068&t)>>2}function Tf(t,n){return-131069&t|n<<2}function Mf(t){return 1|t}function Zp(t,n,i,o,a){const d=t[i+1],p=null===n;let C=o?Qs(d):da(d),w=!1;for(;0!==C&&(!1===w||p);){const Me=t[C+1];Sv(t[C],n)&&(w=!0,t[C+1]=o?Mf(Me):Df(Me)),C=o?Qs(Me):da(Me)}w&&(t[i+1]=o?Df(d):Mf(d))}function Sv(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&Kt(t,n)>=0}const ur={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Xp(t){return t.substring(ur.key,ur.keyEnd)}function Jp(t,n){const i=ur.textEnd;return i===n?-1:(n=ur.keyEnd=function Lv(t,n,i){for(;n32;)n++;return n}(t,ur.key=n,i),ja(t,n,i))}function ja(t,n,i){for(;n=0;i=Jp(n,i))Te(t,Xp(n),!0)}function fs(t,n,i,o){const a=T(),d=E(),p=fo(2);d.firstUpdatePass&&og(d,t,p,o),n!==gi&&Ar(a,p,n)&&sg(d,d.data[Ni()],a,a[Wn],t,a[p+1]=function Wv(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=te(ls(t)))),t}(n,i),o,p)}function ig(t,n){return n>=t.expandoStartIndex}function og(t,n,i,o){const a=t.data;if(null===a[i+1]){const d=a[Ni()],p=ig(t,i);ug(d,o)&&null===n&&!p&&(n=!1),n=function Uv(t,n,i,o){const a=jn(t);let d=o?n.residualClasses:n.residualStyles;if(null===a)0===(o?n.classBindings:n.styleBindings)&&(i=ju(i=xf(null,t,n,i,o),n.attrs,o),d=null);else{const p=n.directiveStylingLast;if(-1===p||t[p]!==a)if(i=xf(a,t,n,i,o),null===d){let w=function Hv(t,n,i){const o=i?n.classBindings:n.styleBindings;if(0!==da(o))return t[Qs(o)]}(t,n,o);void 0!==w&&Array.isArray(w)&&(w=xf(null,t,n,w[1],o),w=ju(w,n.attrs,o),function zv(t,n,i,o){t[Qs(i?n.classBindings:n.styleBindings)]=o}(t,n,o,w))}else d=function Vv(t,n,i){let o;const a=n.directiveEnd;for(let d=1+n.directiveStylingLast;d0)&&(X=!0)):Me=i,a)if(0!==w){const Mt=Qs(t[C+1]);t[o+1]=uc(Mt,C),0!==Mt&&(t[Mt+1]=Tf(t[Mt+1],o)),t[C+1]=function xv(t,n){return 131071&t|n<<17}(t[C+1],o)}else t[o+1]=uc(C,0),0!==C&&(t[C+1]=Tf(t[C+1],o)),C=o;else t[o+1]=uc(w,0),0===C?C=o:t[w+1]=Tf(t[w+1],o),w=o;X&&(t[o+1]=Df(t[o+1])),Zp(t,Me,o,!0),Zp(t,Me,o,!1),function Av(t,n,i,o,a){const d=a?t.residualClasses:t.residualStyles;null!=d&&"string"==typeof n&&Kt(d,n)>=0&&(i[o+1]=Mf(i[o+1]))}(n,Me,t,o,d),p=uc(C,w),d?n.classBindings=p:n.styleBindings=p}(a,d,n,i,p,o)}}function xf(t,n,i,o,a){let d=null;const p=i.directiveEnd;let C=i.directiveStylingLast;for(-1===C?C=i.directiveStart:C++;C0;){const w=t[a],X=Array.isArray(w),Me=X?w[1]:w,Ze=null===Me;let Mt=i[a+1];Mt===gi&&(Mt=Ze?Mn:void 0);let zt=Ze?Tt(Mt,o):Me===o?Mt:void 0;if(X&&!lc(zt)&&(zt=Tt(w,o)),lc(zt)&&(C=zt,p))return C;const dn=t[a+1];a=p?Qs(dn):da(dn)}if(null!==n){let w=d?n.residualClasses:n.residualStyles;null!=w&&(C=Tt(w,o))}return C}function lc(t){return void 0!==t}function ug(t,n){return 0!=(t.flags&(n?8:16))}function lg(t,n=""){const i=T(),o=E(),a=t+ui,d=o.firstCreatePass?ka(o,a,1,n,null):o.data[a],p=i[a]=function uu(t,n){return t.createText(n)}(i[Wn],n);Ca(o,i,p,d),ii(d,!1)}function wf(t){return cc("",t,""),wf}function cc(t,n,i){const o=T(),a=function La(t,n,i,o){return Ar(t,or(),i)?n+Ve(i)+o:gi}(o,t,n,i);return a!==gi&&Hs(o,Ni(),a),cc}function Pf(t,n,i,o,a){const d=T(),p=Na(d,t,n,i,o,a);return p!==gi&&Hs(d,Ni(),p),Pf}function Af(t,n,i){const o=T();return Ar(o,or(),n)&&Qr(E(),Gi(),o,t,n,o[Wn],i,!0),Af}function Sf(t,n,i){const o=T();if(Ar(o,or(),n)){const d=E(),p=Gi();Qr(d,p,o,t,n,function dp(t,n,i){return(null===t||Pn(t))&&(i=function ao(t){for(;Array.isArray(t);){if("object"==typeof t[Qi])return t;t=t[Kn]}return null}(i[n.index])),i[Wn]}(jn(d.data),p,o),i,!0)}return Sf}const fa=void 0;var fy=["en",[["a","p"],["AM","PM"],fa],[["AM","PM"],fa,fa],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],fa,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],fa,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",fa,"{1} 'at' {0}",fa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function dy(t){const i=Math.floor(Math.abs(t)),o=t.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let $a={};function If(t){const n=function hy(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=xg(n);if(i)return i;const o=n.split("-")[0];if(i=xg(o),i)return i;if("en"===o)return fy;throw new ve(701,!1)}function Og(t){return If(t)[ei.PluralCase]}function xg(t){return t in $a||($a[t]=Le.ng&&Le.ng.common&&Le.ng.common.locales&&Le.ng.common.locales[t]),$a[t]}var ei=(()=>((ei=ei||{})[ei.LocaleId=0]="LocaleId",ei[ei.DayPeriodsFormat=1]="DayPeriodsFormat",ei[ei.DayPeriodsStandalone=2]="DayPeriodsStandalone",ei[ei.DaysFormat=3]="DaysFormat",ei[ei.DaysStandalone=4]="DaysStandalone",ei[ei.MonthsFormat=5]="MonthsFormat",ei[ei.MonthsStandalone=6]="MonthsStandalone",ei[ei.Eras=7]="Eras",ei[ei.FirstDayOfWeek=8]="FirstDayOfWeek",ei[ei.WeekendRange=9]="WeekendRange",ei[ei.DateFormat=10]="DateFormat",ei[ei.TimeFormat=11]="TimeFormat",ei[ei.DateTimeFormat=12]="DateTimeFormat",ei[ei.NumberSymbols=13]="NumberSymbols",ei[ei.NumberFormats=14]="NumberFormats",ei[ei.CurrencyCode=15]="CurrencyCode",ei[ei.CurrencySymbol=16]="CurrencySymbol",ei[ei.CurrencyName=17]="CurrencyName",ei[ei.Currencies=18]="Currencies",ei[ei.Directionality=19]="Directionality",ei[ei.PluralCase=20]="PluralCase",ei[ei.ExtraData=21]="ExtraData",ei))();const Ga="en-US";let wg=Ga;function Lf(t,n,i,o,a){if(t=Y(t),Array.isArray(t))for(let d=0;d>20;if(Fs(t)||!t.multi){const zt=new Je(w,a,Ia),dn=Ff(C,n,a?Me:Me+Mt,Ze);-1===dn?(ws(vs(X,p),d,C),Nf(d,t,n.length),n.push(C),X.directiveStart++,X.directiveEnd++,a&&(X.providerIndexes+=1048576),i.push(zt),p.push(zt)):(i[dn]=zt,p[dn]=zt)}else{const zt=Ff(C,n,Me+Mt,Ze),dn=Ff(C,n,Me,Me+Mt),Sn=dn>=0&&i[dn];if(a&&!Sn||!a&&!(zt>=0&&i[zt])){ws(vs(X,p),d,C);const Gn=function d1(t,n,i,o,a){const d=new Je(t,i,Ia);return d.multi=[],d.index=n,d.componentProviders=0,qg(d,a,o&&!i),d}(a?c1:l1,i.length,a,o,w);!a&&Sn&&(i[dn].providerFactory=Gn),Nf(d,t,n.length,0),n.push(C),X.directiveStart++,X.directiveEnd++,a&&(X.providerIndexes+=1048576),i.push(Gn),p.push(Gn)}else Nf(d,t,zt>-1?zt:dn,qg(i[a?dn:zt],w,!a&&o));!a&&o&&Sn&&i[dn].componentProviders++}}}function Nf(t,n,i,o){const a=Fs(n),d=function Yl(t){return!!t.useClass}(n);if(a||d){const w=(d?Y(n.useClass):n).prototype.ngOnDestroy;if(w){const X=t.destroyHooks||(t.destroyHooks=[]);if(!a&&n.multi){const Me=X.indexOf(i);-1===Me?X.push(i,[o,w]):X[Me+1].push(o,w)}else X.push(i,w)}}}function qg(t,n,i){return i&&t.componentProviders++,t.multi.push(n)-1}function Ff(t,n,i,o){for(let a=i;a{i.providersResolver=(o,a)=>function u1(t,n,i){const o=E();if(o.firstCreatePass){const a=Pn(t);Lf(i,o.data,o.blueprint,a,!0),Lf(n,o.data,o.blueprint,a,!1)}}(o,a?a(t):t,n)}}class Wa{}class tm{}function f1(t,n){return new nm(t,null!=n?n:null)}class nm extends Wa{constructor(n,i){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new hp(this);const o=en(n);this._bootstrapComponents=Us(o.bootstrap),this._r3Injector=Wh(n,i,[{provide:Wa,useValue:this},{provide:Nu,useValue:this.componentFactoryResolver}],te(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Uf extends tm{constructor(n){super(),this.moduleType=n}create(n){return new nm(this.moduleType,n)}}class h1 extends Wa{constructor(n,i,o){super(),this.componentFactoryResolver=new hp(this),this.instance=null;const a=new L([...n,{provide:Wa,useValue:this},{provide:Nu,useValue:this.componentFactoryResolver}],i||r(),o,new Set(["environment"]));this.injector=a,a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Hf(t,n,i=null){return new h1(t,n,i).injector}let p1=(()=>{class t{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i.id)){const o=jl(0,i.type),a=o.length>0?Hf([o],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i.id,a)}return this.cachedInjectors.get(i.id)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=wt({token:t,providedIn:"environment",factory:()=>new t(ot(f))}),t})();function im(t){t.getStandaloneInjector=n=>n.get(p1).getOrCreateStandaloneInjector(t)}function cm(t,n,i){const o=yi()+t,a=T();return a[o]===gi?Cs(a,o,i?n.call(i):n()):function Vu(t,n){return t[n]}(a,o)}function dm(t,n,i,o){return hm(T(),yi(),t,n,i,o)}function fm(t,n,i,o,a){return pm(T(),yi(),t,n,i,o,a)}function Zu(t,n){const i=t[n];return i===gi?void 0:i}function hm(t,n,i,o,a,d){const p=n+i;return Ar(t,p,a)?Cs(t,p+1,d?o.call(d,a):o(a)):Zu(t,p+1)}function pm(t,n,i,o,a,d,p){const C=n+i;return ca(t,C,a,d)?Cs(t,C+2,p?o.call(p,a,d):o(a,d)):Zu(t,C+2)}function gm(t,n,i,o,a,d,p,C){const w=n+i;return function ic(t,n,i,o,a){const d=ca(t,n,i,o);return Ar(t,n+2,a)||d}(t,w,a,d,p)?Cs(t,w+3,C?o.call(C,a,d,p):o(a,d,p)):Zu(t,w+3)}function vm(t,n){const i=E();let o;const a=t+ui;var d;i.firstCreatePass?(o=function A1(t,n){if(n)for(let i=n.length-1;i>=0;i--){const o=n[i];if(t===o.name)return o}}(n,i.pipeRegistry),i.data[a]=o,o.onDestroy&&(null!==(d=i.destroyHooks)&&void 0!==d?d:i.destroyHooks=[]).push(a,o.onDestroy)):o=i.data[a];const p=o.factory||(o.factory=co(o.type)),C=he(Ia);try{const w=Gr(!1),X=p();return Gr(w),function Cv(t,n,i,o){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),n[i]=o}(i,T(),a,X),X}finally{he(C)}}function ym(t,n,i){const o=t+ui,a=T(),d=uo(a,o);return Xu(a,o)?hm(a,yi(),n,d.transform,i,d):d.transform(i)}function bm(t,n,i,o){const a=t+ui,d=T(),p=uo(d,a);return Xu(d,a)?pm(d,yi(),n,p.transform,i,o,p):p.transform(i,o)}function Cm(t,n,i,o,a){const d=t+ui,p=T(),C=uo(p,d);return Xu(p,d)?gm(p,yi(),n,C.transform,i,o,a,C):C.transform(i,o,a)}function Xu(t,n){return t[mn].data[n].pure}function Vf(t){return n=>{setTimeout(t,void 0,n)}}const Ms=class k1 extends e.x{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,i,o){let a=n,d=i||(()=>null),p=o;if(n&&"object"==typeof n){var C,w,X;const Ze=n;a=null===(C=Ze.next)||void 0===C?void 0:C.bind(Ze),d=null===(w=Ze.error)||void 0===w?void 0:w.bind(Ze),p=null===(X=Ze.complete)||void 0===X?void 0:X.bind(Ze)}this.__isAsync&&(d=Vf(d),a&&(a=Vf(a)),p&&(p=Vf(p)));const Me=super.subscribe({next:a,error:d,complete:p});return n instanceof s.w0&&n.add(Me),Me}};function R1(){return this._results[Symbol.iterator]()}class gc{get changes(){return this._changes||(this._changes=new Ms)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=gc.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=R1)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,i){return this._results.reduce(n,i)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,i){const o=this;o.dirty=!1;const a=function Xo(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function va(t,n,i){if(t.length!==n.length)return!1;for(let o=0;o{class t{}return t.__NG_ELEMENT_ID__=F1,t})();const L1=Ju,N1=class extends L1{constructor(n,i,o){super(),this._declarationLView=n,this._declarationTContainer=i,this.elementRef=o}createEmbeddedView(n,i){const o=this._declarationTContainer.tView,a=Zl(this._declarationLView,o,n,16,null,o.declTNode,null,null,null,null,i||null);a[Wo]=this._declarationLView[this._declarationTContainer.index];const p=this._declarationLView[no];return null!==p&&(a[no]=p.createEmbeddedView(o)),Qd(o,a,n),new Hu(a)}};function F1(){return mc(ft(),T())}function mc(t,n){return 4&t.type?new N1(n,t,Pa(t,n)):null}let _c=(()=>{class t{}return t.__NG_ELEMENT_ID__=B1,t})();function B1(){return Mm(ft(),T())}const U1=_c,Dm=class extends U1{constructor(n,i,o){super(),this._lContainer=n,this._hostTNode=i,this._hostLView=o}get element(){return Pa(this._hostTNode,this._hostLView)}get injector(){return new ar(this._hostTNode,this._hostLView)}get parentInjector(){const n=Uo(this._hostTNode,this._hostLView);if(Go(n)){const i=br(n,this._hostLView),o=rr(n);return new ar(i[mn].data[o+8],i)}return new ar(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const i=Tm(this._lContainer);return null!==i&&i[n]||null}get length(){return this._lContainer.length-ji}createEmbeddedView(n,i,o){let a,d;"number"==typeof o?a=o:null!=o&&(a=o.index,d=o.injector);const p=n.createEmbeddedView(i||{},d);return this.insert(p,a),p}createComponent(n,i,o,a,d){const p=n&&!function hr(t){return"function"==typeof t}(n);let C;if(p)C=i;else{const Ze=i||{};C=Ze.index,o=Ze.injector,a=Ze.projectableNodes,d=Ze.environmentInjector||Ze.ngModuleRef}const w=p?n:new zu(dt(n)),X=o||this.parentInjector;if(!d&&null==w.ngModule){const Mt=(p?X:this.parentInjector).get(f,null);Mt&&(d=Mt)}const Me=w.create(X,a,void 0,d);return this.insert(Me.hostView,C),Me}insert(n,i){const o=n._lView,a=o[mn];if(function vr(t){return Yi(t[$n])}(o)){const Me=this.indexOf(n);if(-1!==Me)this.detach(Me);else{const Ze=o[$n],Mt=new Dm(Ze,Ze[Xn],Ze[$n]);Mt.detach(Mt.indexOf(n))}}const d=this._adjustIndex(i),p=this._lContainer;!function rd(t,n,i,o){const a=ji+o,d=i.length;o>0&&(i[a-1][ci]=n),o0)o.push(p[C/2]);else{const X=d[C+1],Me=n[-w];for(let Ze=ji;Ze{class t{constructor(i){this.appInits=i,this.resolve=yc,this.reject=yc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,a)=>{this.resolve=o,this.reject=a})}runInitializers(){if(this.initialized)return;const i=[],o=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let a=0;a{d.subscribe({complete:C,error:w})});i.push(p)}}Promise.all(i).then(()=>{o()}).catch(a=>{this.reject(a)}),0===i.length&&o(),this.initialized=!0}}return t.\u0275fac=function(i){return new(i||t)(ot(Qm,8))},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const qm=new _n("AppId",{providedIn:"root",factory:function e0(){return`${eh()}${eh()}${eh()}`}});function eh(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const t0=new _n("Platform Initializer"),db=new _n("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),fb=new _n("AnimationModuleType");let hb=(()=>{class t{log(i){console.log(i)}warn(i){console.warn(i)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Cc=new _n("LocaleId",{providedIn:"root",factory:()=>it(Cc,cn.Optional|cn.SkipSelf)||function pb(){return typeof $localize<"u"&&$localize.locale||Ga}()}),gb=new _n("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class mb{constructor(n,i){this.ngModuleFactory=n,this.componentFactories=i}}let _b=(()=>{class t{compileModuleSync(i){return new Uf(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),d=Us(en(i).declarations).reduce((p,C)=>{const w=dt(C);return w&&p.push(new zu(w)),p},[]);return new mb(o,d)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const bb=(()=>Promise.resolve(0))();function th(t){typeof Zone>"u"?bb.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class rs{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ms(!1),this.onMicrotaskEmpty=new Ms(!1),this.onStable=new Ms(!1),this.onError=new Ms(!1),typeof Zone>"u")throw new ve(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&i,a.shouldCoalesceRunChangeDetection=o,a.lastRequestAnimationFrameId=-1,a.nativeRequestAnimationFrame=function Cb(){let t=Le.requestAnimationFrame,n=Le.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Mb(t){const n=()=>{!function Tb(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Le,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,ih(t),t.isCheckStableRunning=!0,nh(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),ih(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,a,d,p,C)=>{try{return r0(t),i.invokeTask(a,d,p,C)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===d.type||t.shouldCoalesceRunChangeDetection)&&n(),s0(t)}},onInvoke:(i,o,a,d,p,C,w)=>{try{return r0(t),i.invoke(a,d,p,C,w)}finally{t.shouldCoalesceRunChangeDetection&&n(),s0(t)}},onHasTask:(i,o,a,d)=>{i.hasTask(a,d),o===a&&("microTask"==d.change?(t._hasPendingMicrotasks=d.microTask,ih(t),nh(t)):"macroTask"==d.change&&(t.hasPendingMacrotasks=d.macroTask))},onHandleError:(i,o,a,d)=>(i.handleError(a,d),t.runOutsideAngular(()=>t.onError.emit(d)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!rs.isInAngularZone())throw new ve(909,!1)}static assertNotInAngularZone(){if(rs.isInAngularZone())throw new ve(909,!1)}run(n,i,o){return this._inner.run(n,i,o)}runTask(n,i,o,a){const d=this._inner,p=d.scheduleEventTask("NgZoneEvent: "+a,n,Db,yc,yc);try{return d.runTask(p,i,o)}finally{d.cancelTask(p)}}runGuarded(n,i,o){return this._inner.runGuarded(n,i,o)}runOutsideAngular(n){return this._outer.run(n)}}const Db={};function nh(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ih(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function r0(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function s0(t){t._nesting--,nh(t)}class Eb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ms,this.onMicrotaskEmpty=new Ms,this.onStable=new Ms,this.onError=new Ms}run(n,i,o){return n.apply(i,o)}runGuarded(n,i,o){return n.apply(i,o)}runOutsideAngular(n){return n()}runTask(n,i,o,a){return n.apply(i,o)}}const a0=new _n(""),u0=new _n("");let oh,Ob=(()=>{class t{constructor(i,o,a){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,oh||(function xb(t){oh=t}(a),a.addToWindow(o)),this._watchAngularEvents(),i.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:()=>{rs.assertNotInAngularZone(),th(()=>{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())th(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,a){let d=-1;o&&o>0&&(d=setTimeout(()=>{this._callbacks=this._callbacks.filter(p=>p.timeoutId!==d),i(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:i,timeoutId:d,updateCb:a})}whenStable(i,o,a){if(a&&!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(i,o,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,a){return[]}}return t.\u0275fac=function(i){return new(i||t)(ot(rs),ot(l0),ot(u0))},t.\u0275prov=wt({token:t,factory:t.\u0275fac}),t})(),l0=(()=>{class t{constructor(){this._applications=new Map}registerApplication(i,o){this._applications.set(i,o)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,o=!0){var a,d;return null!==(a=null===(d=oh)||void 0===d?void 0:d.findTestabilityInTree(this,i,o))&&void 0!==a?a:null}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const zs=!1;let qs=null;const c0=new _n("AllowMultipleToken"),rh=new _n("PlatformDestroyListeners"),d0=new _n("appBootstrapListener");class Ab{constructor(n,i){this.name=n,this.token=i}}function h0(t,n,i=[]){const o=`Platform: ${n}`,a=new _n(o);return(d=[])=>{let p=sh();if(!p||p.injector.get(c0,!1)){const C=[...i,...d,{provide:a,useValue:!0}];t?t(C):function Sb(t){if(qs&&!qs.get(c0,!1))throw new ve(400,!1);qs=t;const n=t.get(g0);(function f0(t){const n=t.get(t0,null);n&&n.forEach(i=>i())})(t)}(function p0(t=[],n){return la.create({name:n,providers:[{provide:Lu,useValue:"platform"},{provide:rh,useValue:new Set([()=>qs=null])},...t]})}(C,o))}return function kb(t){const n=sh();if(!n)throw new ve(401,!1);return n}()}}function sh(){var t,n;return null!==(t=null===(n=qs)||void 0===n?void 0:n.get(g0))&&void 0!==t?t:null}let g0=(()=>{class t{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,o){const a=function _0(t,n){let i;return i="noop"===t?new Eb:("zone.js"===t?void 0:t)||new rs(n),i}(null==o?void 0:o.ngZone,function m0(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(o)),d=[{provide:rs,useValue:a}];return a.run(()=>{const p=la.create({providers:d,parent:this.injector,name:i.moduleType.name}),C=i.create(p),w=C.injector.get(Bu,null);if(!w)throw new ve(402,!1);return a.runOutsideAngular(()=>{const X=a.onError.subscribe({next:Me=>{w.handleError(Me)}});C.onDestroy(()=>{Tc(this._modules,C),X.unsubscribe()})}),function v0(t,n,i){try{const o=i();return yf(o)?o.catch(a=>{throw n.runOutsideAngular(()=>t.handleError(a)),a}):o}catch(o){throw n.runOutsideAngular(()=>t.handleError(o)),o}}(w,a,()=>{const X=C.injector.get(bc);return X.runInitializers(),X.donePromise.then(()=>(function Pg(t){ze(t,"Expected localeId to be defined"),"string"==typeof t&&(wg=t.toLowerCase().replace(/_/g,"-"))}(C.injector.get(Cc,Ga)||Ga),this._moduleDoBootstrap(C),C))})})}bootstrapModule(i,o=[]){const a=y0({},o);return function wb(t,n,i){const o=new Uf(i);return Promise.resolve(o)}(0,0,i).then(d=>this.bootstrapModuleFactory(d,a))}_moduleDoBootstrap(i){const o=i.injector.get(Dc);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(a=>o.bootstrap(a));else{if(!i.instance.ngDoBootstrap)throw new ve(-403,!1);i.instance.ngDoBootstrap(o)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ve(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const i=this._injector.get(rh,null);i&&(i.forEach(o=>o()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(i){return new(i||t)(ot(la))},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function y0(t,n){return Array.isArray(n)?n.reduce(y0,t):{...t,...n}}let Dc=(()=>{class t{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(i,o,a){this._zone=i,this._injector=o,this._exceptionHandler=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const d=new k.y(C=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{C.next(this._stable),C.complete()})}),p=new k.y(C=>{let w;this._zone.runOutsideAngular(()=>{w=this._zone.onStable.subscribe(()=>{rs.assertNotInAngularZone(),th(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,C.next(!0))})})});const X=this._zone.onUnstable.subscribe(()=>{rs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{C.next(!1)}))});return()=>{w.unsubscribe(),X.unsubscribe()}});this.isStable=(0,z.T)(d,p.pipe((0,F.B)()))}bootstrap(i,o){const a=i instanceof is;if(!this._injector.get(bc).done){!a&&rn(i);throw new ve(405,zs)}let p;p=a?i:this._injector.get(Nu).resolveComponentFactory(i),this.componentTypes.push(p.componentType);const C=function Pb(t){return t.isBoundToModule}(p)?void 0:this._injector.get(Wa),X=p.create(la.NULL,[],o||p.selector,C),Me=X.location.nativeElement,Ze=X.injector.get(a0,null);return null==Ze||Ze.registerApplication(Me),X.onDestroy(()=>{this.detachView(X.hostView),Tc(this.components,X),null==Ze||Ze.unregisterApplication(Me)}),this._loadComponent(X),X}tick(){if(this._runningTick)throw new ve(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(i))}finally{this._runningTick=!1}}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;Tc(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(d0,[]);o.push(...this._bootstrapListeners),o.forEach(a=>a(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Tc(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new ve(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(i){return new(i||t)(ot(rs),ot(f),ot(Bu))},t.\u0275prov=wt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Tc(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}function Lb(){return!1}let Nb=(()=>{class t{}return t.__NG_ELEMENT_ID__=Fb,t})();function Fb(t){return function Bb(t,n,i){if(oo(t)&&!i){const o=$i(t.index,n);return new Hu(o,o)}return 47&t.type?new Hu(n[Ri],n):null}(ft(),T(),16==(16&t))}class M0{constructor(){}supports(n){return nc(n)}create(n){return new $b(n)}}const jb=(t,n)=>n;class $b{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||jb}forEachItem(n){let i;for(i=this._itHead;null!==i;i=i._next)n(i)}forEachOperation(n){let i=this._itHead,o=this._removalsHead,a=0,d=null;for(;i||o;){const p=!o||i&&i.currentIndex{p=this._trackByFn(a,C),null!==i&&Object.is(i.trackById,p)?(o&&(i=this._verifyReinsertion(i,C,p,a)),Object.is(i.item,C)||this._addIdentityChange(i,C)):(i=this._mismatch(i,C,p,a),o=!0),i=i._next,a++}),this.length=a;return this._truncate(i),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,i,o,a){let d;return null===n?d=this._itTail:(d=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._reinsertAfter(n,d,a)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(o,a))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._moveAfter(n,d,a)):n=this._addAfter(new Gb(i,o),d,a),n}_verifyReinsertion(n,i,o,a){let d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==d?n=this._reinsertAfter(d,n._prev,a):n.currentIndex!=a&&(n.currentIndex=a,this._addToMoves(n,a)),n}_truncate(n){for(;null!==n;){const i=n._next;this._addToRemovals(this._unlink(n)),n=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const a=n._prevRemoved,d=n._nextRemoved;return null===a?this._removalsHead=d:a._nextRemoved=d,null===d?this._removalsTail=a:d._prevRemoved=a,this._insertAfter(n,i,o),this._addToMoves(n,o),n}_moveAfter(n,i,o){return this._unlink(n),this._insertAfter(n,i,o),this._addToMoves(n,o),n}_addAfter(n,i,o){return this._insertAfter(n,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,i,o){const a=null===i?this._itHead:i._next;return n._next=a,n._prev=i,null===a?this._itTail=n:a._prev=n,null===i?this._itHead=n:i._next=n,null===this._linkedRecords&&(this._linkedRecords=new E0),this._linkedRecords.put(n),n.currentIndex=o,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const i=n._prev,o=n._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,n}_addToMoves(n,i){return n.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new E0),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,i){return n.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Gb{constructor(n,i){this.item=n,this.trackById=i,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 Wb{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,n))return o;return null}remove(n){const i=n._prevDup,o=n._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class E0{constructor(){this.map=new Map}put(n){const i=n.trackById;let o=this.map.get(i);o||(o=new Wb,this.map.set(i,o)),o.add(n)}get(n,i){const a=this.map.get(n);return a?a.get(n,i):null}remove(n){const i=n.trackById;return this.map.get(i).remove(n)&&this.map.delete(i),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function O0(t,n,i){const o=t.previousIndex;if(null===o)return o;let a=0;return i&&o{if(i&&i.key===a)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const d=this._getOrCreateRecordForKey(a,o);i=this._insertBeforeOrAppend(i,d)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let o=i;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,i){if(n){const o=n._prev;return i._next=n,i._prev=o,n._prev=i,o&&(o._next=i),n===this._mapHead&&(this._mapHead=i),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(n,i){if(this._records.has(n)){const a=this._records.get(n);this._maybeAddToChanges(a,i);const d=a._prev,p=a._next;return d&&(d._next=p),p&&(p._prev=d),a._next=null,a._prev=null,a}const o=new Kb(n);return this._records.set(n,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,i){Object.is(i,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=i,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,i){n instanceof Map?n.forEach(i):Object.keys(n).forEach(o=>i(n[o],o))}}class Kb{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function w0(){return new dh([new M0])}let dh=(()=>{class t{constructor(i){this.factories=i}static create(i,o){if(null!=o){const a=o.factories.slice();i=i.concat(a)}return new t(i)}static extend(i){return{provide:t,useFactory:o=>t.create(i,o||w0()),deps:[[t,new Ss,new Jo]]}}find(i){const o=this.factories.find(a=>a.supports(i));if(null!=o)return o;throw new ve(901,!1)}}return t.\u0275prov=wt({token:t,providedIn:"root",factory:w0}),t})();function P0(){return new fh([new x0])}let fh=(()=>{class t{constructor(i){this.factories=i}static create(i,o){if(o){const a=o.factories.slice();i=i.concat(a)}return new t(i)}static extend(i){return{provide:t,useFactory:o=>t.create(i,o||P0()),deps:[[t,new Ss,new Jo]]}}find(i){const o=this.factories.find(a=>a.supports(i));if(o)return o;throw new ve(901,!1)}}return t.\u0275prov=wt({token:t,providedIn:"root",factory:P0}),t})();const Jb=h0(null,"core",[]);let Qb=(()=>{class t{constructor(i){}}return t.\u0275fac=function(i){return new(i||t)(ot(Dc))},t.\u0275mod=I({type:t}),t.\u0275inj=St({}),t})();function qb(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}},9900:(Ht,Fe,c)=>{"use strict";c.d(Fe,{gN:()=>yt,Fj:()=>se,NI:()=>Ri,oH:()=>Ii,u:()=>Ur,cw:()=>Ie,sg:()=>xi,u5:()=>sn,JU:()=>ie,a5:()=>Re,JJ:()=>Le,JL:()=>fe,On:()=>bo,UX:()=>kn,_Y:()=>ji});var e=c(4537),s=c(8692),k=c(985),z=c(7241),F=c(447),ne=c(5955),W=c(6651),te=c(8499),pe=c(2692),ce=c(9299),Y=c(7969);let _e=(()=>{class T{constructor(M,ae){this._renderer=M,this._elementRef=ae,this.onChange=ft=>{},this.onTouched=()=>{}}setProperty(M,ae){this._renderer.setProperty(this._elementRef.nativeElement,M,ae)}registerOnTouched(M){this.onTouched=M}registerOnChange(M){this.onChange=M}setDisabledState(M){this.setProperty("disabled",M)}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(e.Qsj),e.Y36(e.SBq))},T.\u0275dir=e.lG2({type:T}),T})(),ue=(()=>{class T extends _e{}return T.\u0275fac=function(){let E;return function(ae){return(E||(E=e.n5z(T)))(ae||T)}}(),T.\u0275dir=e.lG2({type:T,features:[e.qOj]}),T})();const ie=new e.OlP("NgValueAccessor"),Ae={provide:ie,useExisting:(0,e.Gpc)(()=>se),multi:!0},je=new e.OlP("CompositionEventMode");let se=(()=>{class T extends _e{constructor(M,ae,ft){super(M,ae),this._compositionMode=ft,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Ve(){const T=(0,s.q)()?(0,s.q)().getUserAgent():"";return/android (\d+)/.test(T.toLowerCase())}())}writeValue(M){this.setProperty("value",null==M?"":M)}_handleInput(M){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(M)}_compositionStart(){this._composing=!0}_compositionEnd(M){this._composing=!1,this._compositionMode&&this.onChange(M)}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(je,8))},T.\u0275dir=e.lG2({type:T,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(M,ae){1&M&&e.NdJ("input",function(Dn){return ae._handleInput(Dn.target.value)})("blur",function(){return ae.onTouched()})("compositionstart",function(){return ae._compositionStart()})("compositionend",function(Dn){return ae._compositionEnd(Dn.target.value)})},features:[e._Bn([Ae]),e.qOj]}),T})();const ee=!1,_t=new e.OlP("NgValidators"),vt=new e.OlP("NgAsyncValidators");function ze(T){return null!=T}function N(T){const E=(0,e.QGY)(T)?(0,k.D)(T):T;if(ee&&!(0,e.CqO)(E)){let M="Expected async validator to return Promise or Observable.";throw"object"==typeof T&&(M+=" Are you using a synchronous validator where an async validator is expected?"),new e.vHH(-1101,M)}return E}function Se(T){let E={};return T.forEach(M=>{E=null!=M?{...E,...M}:E}),0===Object.keys(E).length?null:E}function et(T,E){return E.map(M=>M(T))}function wt(T){return T.map(E=>function pt(T){return!T.validate}(E)?E:M=>E.validate(M))}function St(T){return null!=T?function Cn(T){if(!T)return null;const E=T.filter(ze);return 0==E.length?null:function(M){return Se(et(M,E))}}(wt(T)):null}function It(T){return null!=T?function Ft(T){if(!T)return null;const E=T.filter(ze);return 0==E.length?null:function(M){return function de(...T){const E=(0,W.jO)(T),{args:M,keys:ae}=(0,F.D)(T),ft=new z.y(Dn=>{const{length:zn}=M;if(!zn)return void Dn.complete();const ii=new Array(zn);let Di=zn,mi=zn;for(let _o=0;_o{Ro||(Ro=!0,mi--),ii[_o]=qi},()=>Di--,void 0,()=>{(!Di||!Ro)&&(mi||Dn.next(ae?(0,ce.n)(ae,ii):ii),Dn.complete())}))}});return E?ft.pipe((0,pe.Z)(E)):ft}(et(M,E).map(N)).pipe((0,Y.U)(Se))}}(wt(T)):null}function Rt(T,E){return null===T?[E]:Array.isArray(T)?[...T,E]:[T,E]}function Zt(T){return T._rawValidators}function Ut(T){return T._rawAsyncValidators}function Dt(T){return T?Array.isArray(T)?T:[T]:[]}function Xt(T,E){return Array.isArray(T)?T.includes(E):T===E}function Qt(T,E){const M=Dt(E);return Dt(T).forEach(ft=>{Xt(M,ft)||M.push(ft)}),M}function hn(T,E){return Dt(E).filter(M=>!Xt(T,M))}class cn{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(E){this._rawValidators=E||[],this._composedValidatorFn=St(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=It(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E){this.control&&this.control.reset(E)}hasError(E,M){return!!this.control&&this.control.hasError(E,M)}getError(E,M){return this.control?this.control.getError(E,M):null}}class yt extends cn{get formDirective(){return null}get path(){return null}}class Re extends cn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class he{constructor(E){this._cd=E}get isTouched(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.touched)}get isUntouched(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.untouched)}get isPristine(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.pristine)}get isDirty(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.dirty)}get isValid(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.valid)}get isInvalid(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.invalid)}get isPending(){var E,M;return!(null===(E=this._cd)||void 0===E||null===(M=E.control)||void 0===M||!M.pending)}get isSubmitted(){var E;return!(null===(E=this._cd)||void 0===E||!E.submitted)}}let Le=(()=>{class T extends he{constructor(M){super(M)}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(Re,2))},T.\u0275dir=e.lG2({type:T,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(M,ae){2&M&&e.ekj("ng-untouched",ae.isUntouched)("ng-touched",ae.isTouched)("ng-pristine",ae.isPristine)("ng-dirty",ae.isDirty)("ng-valid",ae.isValid)("ng-invalid",ae.isInvalid)("ng-pending",ae.isPending)},features:[e.qOj]}),T})(),fe=(()=>{class T extends he{constructor(M){super(M)}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(yt,10))},T.\u0275dir=e.lG2({type:T,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(M,ae){2&M&&e.ekj("ng-untouched",ae.isUntouched)("ng-touched",ae.isTouched)("ng-pristine",ae.isPristine)("ng-dirty",ae.isDirty)("ng-valid",ae.isValid)("ng-invalid",ae.isInvalid)("ng-pending",ae.isPending)("ng-submitted",ae.isSubmitted)},features:[e.qOj]}),T})();function lt(T,E){return T?`with name: '${E}'`:`at index: ${E}`}const Pe=!1,bt="VALID",gt="INVALID",on="PENDING",$t="DISABLED";function vn(T){return(oe(T)?T.validators:T)||null}function Nn(T,E){return(oe(E)?E.asyncValidators:T)||null}function oe(T){return null!=T&&!Array.isArray(T)&&"object"==typeof T}class le{constructor(E,M){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(E),this._assignAsyncValidators(M)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get valid(){return this.status===bt}get invalid(){return this.status===gt}get pending(){return this.status==on}get disabled(){return this.status===$t}get enabled(){return this.status!==$t}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._assignValidators(E)}setAsyncValidators(E){this._assignAsyncValidators(E)}addValidators(E){this.setValidators(Qt(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(Qt(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(hn(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(hn(E,this._rawAsyncValidators))}hasValidator(E){return Xt(this._rawValidators,E)}hasAsyncValidator(E){return Xt(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){this.touched=!0,this._parent&&!E.onlySelf&&this._parent.markAsTouched(E)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(E=>E.markAllAsTouched())}markAsUntouched(E={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(M=>{M.markAsUntouched({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}markAsDirty(E={}){this.pristine=!1,this._parent&&!E.onlySelf&&this._parent.markAsDirty(E)}markAsPristine(E={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(M=>{M.markAsPristine({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}markAsPending(E={}){this.status=on,!1!==E.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!E.onlySelf&&this._parent.markAsPending(E)}disable(E={}){const M=this._parentMarkedDirty(E.onlySelf);this.status=$t,this.errors=null,this._forEachChild(ae=>{ae.disable({...E,onlySelf:!0})}),this._updateValue(),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...E,skipPristineCheck:M}),this._onDisabledChange.forEach(ae=>ae(!0))}enable(E={}){const M=this._parentMarkedDirty(E.onlySelf);this.status=bt,this._forEachChild(ae=>{ae.enable({...E,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors({...E,skipPristineCheck:M}),this._onDisabledChange.forEach(ae=>ae(!1))}_updateAncestors(E){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(E){this._parent=E}getRawValue(){return this.value}updateValueAndValidity(E={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bt||this.status===on)&&this._runAsyncValidator(E.emitEvent)),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity(E)}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(M=>M._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$t:bt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E){if(this.asyncValidator){this.status=on,this._hasOwnPendingAsyncValidator=!0;const M=N(this.asyncValidator(this));this._asyncValidationSubscription=M.subscribe(ae=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ae,{emitEvent:E})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(E,M={}){this.errors=E,this._updateControlsErrors(!1!==M.emitEvent)}get(E){let M=E;return null==M||(Array.isArray(M)||(M=M.split(".")),0===M.length)?null:M.reduce((ae,ft)=>ae&&ae._find(ft),this)}getError(E,M){const ae=M?this.get(M):this;return ae&&ae.errors?ae.errors[E]:null}hasError(E,M){return!!this.getError(E,M)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(E)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?$t:this.errors?gt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(on)?on:this._anyControlsHaveStatus(gt)?gt:bt}_anyControlsHaveStatus(E){return this._anyControls(M=>M.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E={}){this.pristine=!this._anyControlsDirty(),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}_updateTouched(E={}){this.touched=this._anyControlsTouched(),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){oe(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(E){return null}_assignValidators(E){this._rawValidators=Array.isArray(E)?E.slice():E,this._composedValidatorFn=function Jt(T){return Array.isArray(T)?St(T):T||null}(this._rawValidators)}_assignAsyncValidators(E){this._rawAsyncValidators=Array.isArray(E)?E.slice():E,this._composedAsyncValidatorFn=function Mn(T){return Array.isArray(T)?It(T):T||null}(this._rawAsyncValidators)}}class Ie extends le{constructor(E,M,ae){super(vn(M),Nn(ae,M)),this.controls=E,this._initObservables(),this._setUpdateStrategy(M),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(E,M){return this.controls[E]?this.controls[E]:(this.controls[E]=M,M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange),M)}addControl(E,M,ae={}){this.registerControl(E,M),this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}removeControl(E,M={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],this.updateValueAndValidity({emitEvent:M.emitEvent}),this._onCollectionChange()}setControl(E,M,ae={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],M&&this.registerControl(E,M),this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}contains(E){return this.controls.hasOwnProperty(E)&&this.controls[E].enabled}setValue(E,M={}){(function H(T,E,M){T._forEachChild((ae,ft)=>{if(void 0===M[ft])throw new e.vHH(1002,Pe?function V(T,E){return`Must supply a value for form control ${lt(T,E)}`}(E,ft):"")})})(this,!0,E),Object.keys(E).forEach(ae=>{(function Q(T,E,M){const ae=T.controls;if(!(E?Object.keys(ae):ae).length)throw new e.vHH(1e3,Pe?function it(T){return`\n There are no form controls registered with this ${T?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(E):"");if(!ae[M])throw new e.vHH(1001,Pe?function st(T,E){return`Cannot find form control ${lt(T,E)}`}(E,M):"")})(this,!0,ae),this.controls[ae].setValue(E[ae],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M)}patchValue(E,M={}){null!=E&&(Object.keys(E).forEach(ae=>{const ft=this.controls[ae];ft&&ft.patchValue(E[ae],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M))}reset(E={},M={}){this._forEachChild((ae,ft)=>{ae.reset(E[ft],{onlySelf:!0,emitEvent:M.emitEvent})}),this._updatePristine(M),this._updateTouched(M),this.updateValueAndValidity(M)}getRawValue(){return this._reduceChildren({},(E,M,ae)=>(E[ae]=M.getRawValue(),E))}_syncPendingControls(){let E=this._reduceChildren(!1,(M,ae)=>!!ae._syncPendingControls()||M);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_forEachChild(E){Object.keys(this.controls).forEach(M=>{const ae=this.controls[M];ae&&E(ae,M)})}_setUpControls(){this._forEachChild(E=>{E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(E){for(const[M,ae]of Object.entries(this.controls))if(this.contains(M)&&E(ae))return!0;return!1}_reduceValue(){return this._reduceChildren({},(M,ae,ft)=>((ae.enabled||this.disabled)&&(M[ft]=ae.value),M))}_reduceChildren(E,M){let ae=E;return this._forEachChild((ft,Dn)=>{ae=M(ae,ft,Dn)}),ae}_allControlsDisabled(){for(const E of Object.keys(this.controls))if(this.controls[E].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(E){return this.controls.hasOwnProperty(E)?this.controls[E]:null}}const Ne=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>U}),U="always";function I(T,E){return[...E.path,T]}function A(T,E,M=U){var ae,ft;dt(T,E),E.valueAccessor.writeValue(T.value),(T.disabled||"always"===M)&&(null===(ae=(ft=E.valueAccessor).setDisabledState)||void 0===ae||ae.call(ft,T.disabled)),function Yt(T,E){E.valueAccessor.registerOnChange(M=>{T._pendingValue=M,T._pendingChange=!0,T._pendingDirty=!0,"change"===T.updateOn&&en(T,E)})}(T,E),function gn(T,E){const M=(ae,ft)=>{E.valueAccessor.writeValue(ae),ft&&E.viewToModelUpdate(ae)};T.registerOnChange(M),E._registerOnDestroy(()=>{T._unregisterOnChange(M)})}(T,E),function rn(T,E){E.valueAccessor.registerOnTouched(()=>{T._pendingTouched=!0,"blur"===T.updateOn&&T._pendingChange&&en(T,E),"submit"!==T.updateOn&&T.markAsTouched()})}(T,E),function ct(T,E){if(E.valueAccessor.setDisabledState){const M=ae=>{E.valueAccessor.setDisabledState(ae)};T.registerOnDisabledChange(M),E._registerOnDestroy(()=>{T._unregisterOnDisabledChange(M)})}}(T,E)}function $(T,E,M=!0){const ae=()=>{};E.valueAccessor&&(E.valueAccessor.registerOnChange(ae),E.valueAccessor.registerOnTouched(ae)),Bt(T,E),T&&(E._invokeOnDestroyCallbacks(),T._registerOnCollectionChange(()=>{}))}function xe(T,E){T.forEach(M=>{M.registerOnValidatorChange&&M.registerOnValidatorChange(E)})}function dt(T,E){const M=Zt(T);null!==E.validator?T.setValidators(Rt(M,E.validator)):"function"==typeof M&&T.setValidators([M]);const ae=Ut(T);null!==E.asyncValidator?T.setAsyncValidators(Rt(ae,E.asyncValidator)):"function"==typeof ae&&T.setAsyncValidators([ae]);const ft=()=>T.updateValueAndValidity();xe(E._rawValidators,ft),xe(E._rawAsyncValidators,ft)}function Bt(T,E){let M=!1;if(null!==T){if(null!==E.validator){const ft=Zt(T);if(Array.isArray(ft)&&ft.length>0){const Dn=ft.filter(zn=>zn!==E.validator);Dn.length!==ft.length&&(M=!0,T.setValidators(Dn))}}if(null!==E.asyncValidator){const ft=Ut(T);if(Array.isArray(ft)&&ft.length>0){const Dn=ft.filter(zn=>zn!==E.asyncValidator);Dn.length!==ft.length&&(M=!0,T.setAsyncValidators(Dn))}}}const ae=()=>{};return xe(E._rawValidators,ae),xe(E._rawAsyncValidators,ae),M}function en(T,E){T._pendingDirty&&T.markAsDirty(),T.setValue(T._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(T._pendingValue),T._pendingChange=!1}function ri(T,E){if(!T.hasOwnProperty("model"))return!1;const M=T.model;return!!M.isFirstChange()||!Object.is(E,M.currentValue)}function Qn(T,E){if(!E)return null;let M,ae,ft;return Array.isArray(E),E.forEach(Dn=>{Dn.constructor===se?M=Dn:function Xn(T){return Object.getPrototypeOf(T.constructor)===ue}(Dn)?ae=Dn:ft=Dn}),ft||ae||M||null}function Mi(T,E){const M=T.indexOf(E);M>-1&&T.splice(M,1)}function to(T){return"object"==typeof T&&null!==T&&2===Object.keys(T).length&&"value"in T&&"disabled"in T}const Ri=class extends le{constructor(E=null,M,ae){super(vn(M),Nn(ae,M)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(M),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),oe(M)&&(M.nonNullable||M.initialValueIsDefault)&&(this.defaultValue=to(E)?E.value:E)}setValue(E,M={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==M.emitModelToViewChange&&this._onChange.forEach(ae=>ae(this.value,!1!==M.emitViewToModelChange)),this.updateValueAndValidity(M)}patchValue(E,M={}){this.setValue(E,M)}reset(E=this.defaultValue,M={}){this._applyFormState(E),this.markAsPristine(M),this.markAsUntouched(M),this.setValue(this.value,M),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){Mi(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){Mi(this._onDisabledChange,E)}_forEachChild(E){}_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(E){to(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}},Po={provide:Re,useExisting:(0,e.Gpc)(()=>bo)},Vo=(()=>Promise.resolve())();let bo=(()=>{class T extends Re{constructor(M,ae,ft,Dn,zn,ii){super(),this._changeDetectorRef=zn,this.callSetDisabledState=ii,this.control=new Ri,this._registered=!1,this.update=new e.vpe,this._parent=M,this._setValidators(ae),this._setAsyncValidators(ft),this.valueAccessor=Qn(0,Dn)}ngOnChanges(M){if(this._checkForErrors(),!this._registered||"name"in M){if(this._registered&&(this._checkName(),this.formDirective)){const ae=M.name.previousValue;this.formDirective.removeControl({name:ae,path:this._getPath(ae)})}this._setUpControl()}"isDisabled"in M&&this._updateDisabled(M),ri(M,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(M){this.viewModel=M,this.update.emit(M)}_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(){A(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(M){Vo.then(()=>{var ae;this.control.setValue(M,{emitViewToModelChange:!1}),null===(ae=this._changeDetectorRef)||void 0===ae||ae.markForCheck()})}_updateDisabled(M){const ae=M.isDisabled.currentValue,ft=0!==ae&&(0,e.D6c)(ae);Vo.then(()=>{var Dn;ft&&!this.control.disabled?this.control.disable():!ft&&this.control.disabled&&this.control.enable(),null===(Dn=this._changeDetectorRef)||void 0===Dn||Dn.markForCheck()})}_getPath(M){return this._parent?I(M,this._parent):[M]}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(yt,9),e.Y36(_t,10),e.Y36(vt,10),e.Y36(ie,10),e.Y36(e.sBO,8),e.Y36(Ne,8))},T.\u0275dir=e.lG2({type:T,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([Po]),e.qOj,e.TTD]}),T})(),ji=(()=>{class T{}return T.\u0275fac=function(M){return new(M||T)},T.\u0275dir=e.lG2({type:T,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),T})(),oo=(()=>{class T{}return T.\u0275fac=function(M){return new(M||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({}),T})();const Rn=new e.OlP("NgModelWithFormControlWarning"),vi={provide:Re,useExisting:(0,e.Gpc)(()=>Ii)};let Ii=(()=>{class T extends Re{set isDisabled(M){}constructor(M,ae,ft,Dn,zn){super(),this._ngModelWarningConfig=Dn,this.callSetDisabledState=zn,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(M),this._setAsyncValidators(ae),this.valueAccessor=Qn(0,ft)}ngOnChanges(M){if(this._isControlChanged(M)){const ae=M.form.previousValue;ae&&$(ae,this,!1),A(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ri(M,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&$(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(M){this.viewModel=M,this.update.emit(M)}_isControlChanged(M){return M.hasOwnProperty("form")}}return T._ngModelWarningSentOnce=!1,T.\u0275fac=function(M){return new(M||T)(e.Y36(_t,10),e.Y36(vt,10),e.Y36(ie,10),e.Y36(Rn,8),e.Y36(Ne,8))},T.\u0275dir=e.lG2({type:T,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([vi]),e.qOj,e.TTD]}),T})();const Bi={provide:yt,useExisting:(0,e.Gpc)(()=>xi)};let xi=(()=>{class T extends yt{constructor(M,ae,ft){super(),this.callSetDisabledState=ft,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(M),this._setAsyncValidators(ae)}ngOnChanges(M){this._checkFormPresent(),M.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Bt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(M){const ae=this.form.get(M.path);return A(ae,M,this.callSetDisabledState),ae.updateValueAndValidity({emitEvent:!1}),this.directives.push(M),ae}getControl(M){return this.form.get(M.path)}removeControl(M){$(M.control||null,M,!1),function Ai(T,E){const M=T.indexOf(E);M>-1&&T.splice(M,1)}(this.directives,M)}addFormGroup(M){this._setUpFormContainer(M)}removeFormGroup(M){this._cleanUpFormContainer(M)}getFormGroup(M){return this.form.get(M.path)}addFormArray(M){this._setUpFormContainer(M)}removeFormArray(M){this._cleanUpFormContainer(M)}getFormArray(M){return this.form.get(M.path)}updateModel(M,ae){this.form.get(M.path).setValue(ae)}onSubmit(M){var ae;return this.submitted=!0,function Yn(T,E){T._syncPendingControls(),E.forEach(M=>{const ae=M.control;"submit"===ae.updateOn&&ae._pendingChange&&(M.viewToModelUpdate(ae._pendingValue),ae._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(M),"dialog"===(null==M||null===(ae=M.target)||void 0===ae?void 0:ae.method)}onReset(){this.resetForm()}resetForm(M){this.form.reset(M),this.submitted=!1}_updateDomValue(){this.directives.forEach(M=>{const ae=M.control,ft=this.form.get(M.path);ae!==ft&&($(ae||null,M),(T=>T instanceof Ri)(ft)&&(A(ft,M,this.callSetDisabledState),M.control=ft))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(M){const ae=this.form.get(M.path);(function pn(T,E){dt(T,E)})(ae,M),ae.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(M){if(this.form){const ae=this.form.get(M.path);ae&&function In(T,E){return Bt(T,E)}(ae,M)&&ae.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){dt(this.form,this),this._oldForm&&Bt(this._oldForm,this)}_checkFormPresent(){}}return T.\u0275fac=function(M){return new(M||T)(e.Y36(_t,10),e.Y36(vt,10),e.Y36(Ne,8))},T.\u0275dir=e.lG2({type:T,selectors:[["","formGroup",""]],hostBindings:function(M,ae){1&M&&e.NdJ("submit",function(Dn){return ae.onSubmit(Dn)})("reset",function(){return ae.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Bi]),e.qOj,e.TTD]}),T})();const So={provide:Re,useExisting:(0,e.Gpc)(()=>Ur)};let Ur=(()=>{class T extends Re{set isDisabled(M){}constructor(M,ae,ft,Dn,zn){super(),this._ngModelWarningConfig=zn,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=M,this._setValidators(ae),this._setAsyncValidators(ft),this.valueAccessor=Qn(0,Dn)}ngOnChanges(M){this._added||this._setUpControl(),ri(M,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(M){this.viewModel=M,this.update.emit(M)}get path(){return I(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return T._ngModelWarningSentOnce=!1,T.\u0275fac=function(M){return new(M||T)(e.Y36(yt,13),e.Y36(_t,10),e.Y36(vt,10),e.Y36(ie,10),e.Y36(Rn,8))},T.\u0275dir=e.lG2({type:T,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([So]),e.qOj,e.TTD]}),T})(),Ee=(()=>{class T{}return T.\u0275fac=function(M){return new(M||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({imports:[oo]}),T})(),sn=(()=>{class T{static withConfig(M){var ae;return{ngModule:T,providers:[{provide:Ne,useValue:null!==(ae=M.callSetDisabledState)&&void 0!==ae?ae:U}]}}}return T.\u0275fac=function(M){return new(M||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({imports:[Ee]}),T})(),kn=(()=>{class T{static withConfig(M){var ae,ft;return{ngModule:T,providers:[{provide:Rn,useValue:null!==(ae=M.warnOnNgModelWithFormControl)&&void 0!==ae?ae:"always"},{provide:Ne,useValue:null!==(ft=M.callSetDisabledState)&&void 0!==ft?ft:U}]}}}return T.\u0275fac=function(M){return new(M||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({imports:[Ee]}),T})()},5998:(Ht,Fe,c)=>{"use strict";c.d(Fe,{Dx:()=>fe,H7:()=>vn,b2:()=>Re,q6:()=>Qt,s3:()=>ue,se:()=>Qe});var e=c(8692),s=c(4537);class k extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class z extends k{static makeCurrent(){(0,e.HT)(new z)}onAndCancel(Q,H,le){return Q.addEventListener(H,le,!1),()=>{Q.removeEventListener(H,le,!1)}}dispatchEvent(Q,H){Q.dispatchEvent(H)}remove(Q){Q.parentNode&&Q.parentNode.removeChild(Q)}createElement(Q,H){return(H=H||this.getDefaultDocument()).createElement(Q)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Q){return Q.nodeType===Node.ELEMENT_NODE}isShadowRoot(Q){return Q instanceof DocumentFragment}getGlobalEventTarget(Q,H){return"window"===H?window:"document"===H?Q:"body"===H?Q.body:null}getBaseHref(Q){const H=function ne(){return F=F||document.querySelector("base"),F?F.getAttribute("href"):null}();return null==H?null:function te(oe){W=W||document.createElement("a"),W.setAttribute("href",oe);const Q=W.pathname;return"/"===Q.charAt(0)?Q:`/${Q}`}(H)}resetBaseElement(){F=null}getUserAgent(){return window.navigator.userAgent}getCookie(Q){return(0,e.Mx)(document.cookie,Q)}}let W,F=null;const pe=new s.OlP("TRANSITION_ID"),de=[{provide:s.ip1,useFactory:function ce(oe,Q,H){return()=>{H.get(s.CZH).donePromise.then(()=>{const le=(0,e.q)(),Ie=Q.querySelectorAll(`style[ng-transition="${oe}"]`);for(let rt=0;rt{class oe{build(){return new XMLHttpRequest}}return oe.\u0275fac=function(H){return new(H||oe)},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const ue=new s.OlP("EventManagerPlugins");let ie=(()=>{class oe{constructor(H,le){this._zone=le,this._eventNameToPlugin=new Map,H.forEach(Ie=>{Ie.manager=this}),this._plugins=H.slice().reverse()}addEventListener(H,le,Ie){return this._findPluginFor(le).addEventListener(H,le,Ie)}addGlobalEventListener(H,le,Ie){return this._findPluginFor(le).addGlobalEventListener(H,le,Ie)}getZone(){return this._zone}_findPluginFor(H){const le=this._eventNameToPlugin.get(H);if(le)return le;const Ie=this._plugins;for(let rt=0;rt{class oe{constructor(){this.usageCount=new Map}addStyles(H){for(const le of H)1===this.changeUsageCount(le,1)&&this.onStyleAdded(le)}removeStyles(H){for(const le of H)0===this.changeUsageCount(le,-1)&&this.onStyleRemoved(le)}onStyleRemoved(H){}onStyleAdded(H){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(H,le){var Ie;const rt=this.usageCount;let nt=null!==(Ie=rt.get(H))&&void 0!==Ie?Ie:0;return nt+=le,nt>0?rt.set(H,nt):rt.delete(H),nt}ngOnDestroy(){for(const H of this.getAllStyles())this.onStyleRemoved(H);this.usageCount.clear()}}return oe.\u0275fac=function(H){return new(H||oe)},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})(),Ae=(()=>{class oe extends ve{constructor(H){super(),this.doc=H,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(H){for(const le of this.hostNodes)this.addStyleToHost(le,H)}onStyleRemoved(H){const le=this.styleRef,Ie=le.get(H);null==Ie||Ie.forEach(rt=>rt.remove()),le.delete(H)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(H){this.hostNodes.add(H);for(const le of this.getAllStyles())this.addStyleToHost(H,le)}removeHost(H){this.hostNodes.delete(H)}addStyleToHost(H,le){const Ie=this.doc.createElement("style");Ie.textContent=le,H.appendChild(Ie);const rt=this.styleRef.get(le);rt?rt.push(Ie):this.styleRef.set(le,[Ie])}resetHostNodes(){const H=this.hostNodes;H.clear(),H.add(this.doc.head)}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(e.K0))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const Ve={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/"},je=/%COMP%/g,vt=new s.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function mt(oe,Q){return Q.flat(100).map(H=>H.replace(je,oe))}function At(oe){return Q=>{if("__ngUnwrap__"===Q)return oe;!1===oe(Q)&&(Q.preventDefault(),Q.returnValue=!1)}}let Qe=(()=>{class oe{constructor(H,le,Ie,rt){this.eventManager=H,this.sharedStylesHost=le,this.appId=Ie,this.removeStylesOnCompDestory=rt,this.rendererByCompId=new Map,this.defaultRenderer=new qe(H)}createRenderer(H,le){if(!H||!le)return this.defaultRenderer;const Ie=this.getOrCreateRenderer(H,le);return Ie instanceof ze?Ie.applyToHost(H):Ie instanceof q&&Ie.applyStyles(),Ie}getOrCreateRenderer(H,le){const Ie=this.rendererByCompId;let rt=Ie.get(le.id);if(!rt){const nt=this.eventManager,ut=this.sharedStylesHost,He=this.removeStylesOnCompDestory;switch(le.encapsulation){case s.ifc.Emulated:rt=new ze(nt,ut,le,this.appId,He);break;case s.ifc.ShadowDom:return new S(nt,ut,H,le);default:rt=new q(nt,ut,le,He)}rt.onDestroy=()=>Ie.delete(le.id),Ie.set(le.id,rt)}return rt}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(ie),s.LFG(Ae),s.LFG(s.AFp),s.LFG(vt))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})();class qe{constructor(Q){this.eventManager=Q,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Q,H){return H?document.createElementNS(Ve[H]||H,Q):document.createElement(Q)}createComment(Q){return document.createComment(Q)}createText(Q){return document.createTextNode(Q)}appendChild(Q,H){(be(Q)?Q.content:Q).appendChild(H)}insertBefore(Q,H,le){Q&&(be(Q)?Q.content:Q).insertBefore(H,le)}removeChild(Q,H){Q&&Q.removeChild(H)}selectRootElement(Q,H){let le="string"==typeof Q?document.querySelector(Q):Q;if(!le)throw new Error(`The selector "${Q}" did not match any elements`);return H||(le.textContent=""),le}parentNode(Q){return Q.parentNode}nextSibling(Q){return Q.nextSibling}setAttribute(Q,H,le,Ie){if(Ie){H=Ie+":"+H;const rt=Ve[Ie];rt?Q.setAttributeNS(rt,H,le):Q.setAttribute(H,le)}else Q.setAttribute(H,le)}removeAttribute(Q,H,le){if(le){const Ie=Ve[le];Ie?Q.removeAttributeNS(Ie,H):Q.removeAttribute(`${le}:${H}`)}else Q.removeAttribute(H)}addClass(Q,H){Q.classList.add(H)}removeClass(Q,H){Q.classList.remove(H)}setStyle(Q,H,le,Ie){Ie&(s.JOm.DashCase|s.JOm.Important)?Q.style.setProperty(H,le,Ie&s.JOm.Important?"important":""):Q.style[H]=le}removeStyle(Q,H,le){le&s.JOm.DashCase?Q.style.removeProperty(H):Q.style[H]=""}setProperty(Q,H,le){Q[H]=le}setValue(Q,H){Q.nodeValue=H}listen(Q,H,le){return"string"==typeof Q?this.eventManager.addGlobalEventListener(Q,H,At(le)):this.eventManager.addEventListener(Q,H,At(le))}}function be(oe){return"TEMPLATE"===oe.tagName&&void 0!==oe.content}class S extends qe{constructor(Q,H,le,Ie){super(Q),this.sharedStylesHost=H,this.hostEl=le,this.shadowRoot=le.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const rt=mt(Ie.id,Ie.styles);for(const nt of rt){const ut=document.createElement("style");ut.textContent=nt,this.shadowRoot.appendChild(ut)}}nodeOrShadowRoot(Q){return Q===this.hostEl?this.shadowRoot:Q}appendChild(Q,H){return super.appendChild(this.nodeOrShadowRoot(Q),H)}insertBefore(Q,H,le){return super.insertBefore(this.nodeOrShadowRoot(Q),H,le)}removeChild(Q,H){return super.removeChild(this.nodeOrShadowRoot(Q),H)}parentNode(Q){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Q)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class q extends qe{constructor(Q,H,le,Ie,rt=le.id){super(Q),this.sharedStylesHost=H,this.removeStylesOnCompDestory=Ie,this.rendererUsageCount=0,this.styles=mt(rt,le.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){var Q;this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount)&&(null===(Q=this.onDestroy)||void 0===Q||Q.call(this))}}class ze extends q{constructor(Q,H,le,Ie,rt){const nt=Ie+"-"+le.id;super(Q,H,le,rt,nt),this.contentAttr=function tt(oe){return"_ngcontent-%COMP%".replace(je,oe)}(nt),this.hostAttr=function we(oe){return"_nghost-%COMP%".replace(je,oe)}(nt)}applyToHost(Q){this.applyStyles(),this.setAttribute(Q,this.hostAttr,"")}createElement(Q,H){const le=super.createElement(Q,H);return super.setAttribute(le,this.contentAttr,""),le}}let N=(()=>{class oe extends Ue{constructor(H){super(H)}supports(H){return!0}addEventListener(H,le,Ie){return H.addEventListener(le,Ie,!1),()=>this.removeEventListener(H,le,Ie)}removeEventListener(H,le,Ie){return H.removeEventListener(le,Ie)}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(e.K0))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const Se=["alt","control","meta","shift"],et={"\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"},pt={alt:oe=>oe.altKey,control:oe=>oe.ctrlKey,meta:oe=>oe.metaKey,shift:oe=>oe.shiftKey};let wt=(()=>{class oe extends Ue{constructor(H){super(H)}supports(H){return null!=oe.parseEventName(H)}addEventListener(H,le,Ie){const rt=oe.parseEventName(le),nt=oe.eventCallback(rt.fullKey,Ie,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(H,rt.domEventName,nt))}static parseEventName(H){const le=H.toLowerCase().split("."),Ie=le.shift();if(0===le.length||"keydown"!==Ie&&"keyup"!==Ie)return null;const rt=oe._normalizeKey(le.pop());let nt="",ut=le.indexOf("code");if(ut>-1&&(le.splice(ut,1),nt="code."),Se.forEach(Ne=>{const U=le.indexOf(Ne);U>-1&&(le.splice(U,1),nt+=Ne+".")}),nt+=rt,0!=le.length||0===rt.length)return null;const He={};return He.domEventName=Ie,He.fullKey=nt,He}static matchEventFullKeyCode(H,le){let Ie=et[H.key]||H.key,rt="";return le.indexOf("code.")>-1&&(Ie=H.code,rt="code."),!(null==Ie||!Ie)&&(Ie=Ie.toLowerCase()," "===Ie?Ie="space":"."===Ie&&(Ie="dot"),Se.forEach(nt=>{nt!==Ie&&(0,pt[nt])(H)&&(rt+=nt+".")}),rt+=Ie,rt===le)}static eventCallback(H,le,Ie){return rt=>{oe.matchEventFullKeyCode(rt,H)&&Ie.runGuarded(()=>le(rt))}}static _normalizeKey(H){return"esc"===H?"escape":H}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(e.K0))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const Qt=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:e.bD},{provide:s.g9A,useValue:function Zt(){z.makeCurrent()},multi:!0},{provide:e.K0,useFactory:function Dt(){return(0,s.RDi)(document),document},deps:[]}]),hn=new s.OlP(""),cn=[{provide:s.rWj,useClass:class Y{addToWindow(Q){s.dqk.getAngularTestability=(le,Ie=!0)=>{const rt=Q.findTestabilityInTree(le,Ie);if(null==rt)throw new Error("Could not find testability for element.");return rt},s.dqk.getAllAngularTestabilities=()=>Q.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>Q.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(le=>{const Ie=s.dqk.getAllAngularTestabilities();let rt=Ie.length,nt=!1;const ut=function(He){nt=nt||He,rt--,0==rt&&le(nt)};Ie.forEach(function(He){He.whenStable(ut)})})}findTestabilityInTree(Q,H,le){if(null==H)return null;const Ie=Q.getTestability(H);return null!=Ie?Ie:le?(0,e.q)().isShadowRoot(H)?this.findTestabilityInTree(Q,H.host,!0):this.findTestabilityInTree(Q,H.parentElement,!0):null}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],yt=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function Ut(){return new s.qLn},deps:[]},{provide:ue,useClass:N,multi:!0,deps:[e.K0,s.R0b,s.Lbi]},{provide:ue,useClass:wt,multi:!0,deps:[e.K0]},{provide:Qe,useClass:Qe,deps:[ie,Ae,s.AFp,vt]},{provide:s.FYo,useExisting:Qe},{provide:ve,useExisting:Ae},{provide:Ae,useClass:Ae,deps:[e.K0]},{provide:ie,useClass:ie,deps:[ue,s.R0b]},{provide:e.JF,useClass:_e,deps:[]},[]];let Re=(()=>{class oe{constructor(H){}static withServerTransition(H){return{ngModule:oe,providers:[{provide:s.AFp,useValue:H.appId},{provide:pe,useExisting:s.AFp},de]}}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(hn,12))},oe.\u0275mod=s.oAB({type:oe}),oe.\u0275inj=s.cJS({providers:[...yt,...cn],imports:[e.ez,s.hGG]}),oe})(),fe=(()=>{class oe{constructor(H){this._doc=H}getTitle(){return this._doc.title}setTitle(H){this._doc.title=H||""}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(e.K0))},oe.\u0275prov=s.Yz7({token:oe,factory:function(H){let le=null;return le=H?new H:function Le(){return new fe((0,s.LFG)(e.K0))}(),le},providedIn:"root"}),oe})();typeof window<"u"&&window;let vn=(()=>{class oe{}return oe.\u0275fac=function(H){return new(H||oe)},oe.\u0275prov=s.Yz7({token:oe,factory:function(H){let le=null;return le=H?new(H||oe):s.LFG(Nn),le},providedIn:"root"}),oe})(),Nn=(()=>{class oe extends vn{constructor(H){super(),this._doc=H}sanitize(H,le){if(null==le)return null;switch(H){case s.q3G.NONE:return le;case s.q3G.HTML:return(0,s.qzn)(le,"HTML")?(0,s.z3N)(le):(0,s.EiD)(this._doc,String(le)).toString();case s.q3G.STYLE:return(0,s.qzn)(le,"Style")?(0,s.z3N)(le):le;case s.q3G.SCRIPT:if((0,s.qzn)(le,"Script"))return(0,s.z3N)(le);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.qzn)(le,"URL")?(0,s.z3N)(le):(0,s.mCW)(String(le));case s.q3G.RESOURCE_URL:if((0,s.qzn)(le,"ResourceURL"))return(0,s.z3N)(le);throw new Error(`unsafe value used in a resource URL context (see ${s.JZr})`);default:throw new Error(`Unexpected SecurityContext ${H} (see ${s.JZr})`)}}bypassSecurityTrustHtml(H){return(0,s.JVY)(H)}bypassSecurityTrustStyle(H){return(0,s.L6k)(H)}bypassSecurityTrustScript(H){return(0,s.eBb)(H)}bypassSecurityTrustUrl(H){return(0,s.LAX)(H)}bypassSecurityTrustResourceUrl(H){return(0,s.pB0)(H)}}return oe.\u0275fac=function(H){return new(H||oe)(s.LFG(e.K0))},oe.\u0275prov=s.Yz7({token:oe,factory:function(H){let le=null;return le=H?new H:function Jt(oe){return new Nn(oe.get(e.K0))}(s.LFG(s.zs3)),le},providedIn:"root"}),oe})()},3178:(Ht,Fe,c)=>{"use strict";c.d(Fe,{gz:()=>yn,m2:()=>Ai,F0:()=>Uo,rH:()=>as,Od:()=>Ps,yS:()=>as,Bz:()=>Bn,lC:()=>Sr,Xs:()=>Qi,Hx:()=>Pt});var e=c(4537),s=c(985),k=c(4945),z=c(4121),F=c(7472),ne=c(5696),W=c(3729),te=c(3072),pe=c(7824),ce=c(3787),de=c(7241),Y=c(9018),_e=c(4813),ue=c(2085),ie=c(8499);function Ue(){return(0,ue.e)((m,v)=>{let h=null;m._refCount++;const D=(0,ie.x)(v,void 0,void 0,void 0,()=>{if(!m||m._refCount<=0||0<--m._refCount)return void(h=null);const B=m._connection,Ce=h;h=null,B&&(!Ce||B===Ce)&&B.unsubscribe(),v.unsubscribe()});m.subscribe(D),D.closed||(h=m.connect())})}class ve extends de.y{constructor(v,h){super(),this.source=v,this.subjectFactory=h,this._subject=null,this._refCount=0,this._connection=null,(0,ue.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,null==v||v.unsubscribe()}connect(){let v=this._connection;if(!v){v=this._connection=new _e.w0;const h=this.getSubject();v.add(this.source.subscribe((0,ie.x)(h,void 0,()=>{this._teardown(),h.complete()},D=>{this._teardown(),h.error(D)},()=>this._teardown()))),v.closed&&(this._connection=null,v=_e.w0.EMPTY)}return v}refCount(){return Ue()(this)}}var Ae=c(8023),Ve=c(8692),je=c(7969),se=c(1528),ee=c(5598),$e=c(3674),Oe=c(4970),_t=c(4882),vt=c(9676),tt=c(4551),we=c(8168),mt=c(3568);function Qe(m,v){return(0,ue.e)(function At(m,v,h,D,B){return(Ce,Te)=>{let Tt=h,Kt=v,On=0;Ce.subscribe((0,ie.x)(Te,Un=>{const Ln=On++;Kt=Tt?m(Kt,Un,Ln):(Tt=!0,Un),D&&Te.next(Kt)},B&&(()=>{Tt&&Te.next(Kt),Te.complete()})))}}(m,v,arguments.length>=2,!0))}function qe(m){return m<=0?()=>Y.E:(0,ue.e)((v,h)=>{let D=[];v.subscribe((0,ie.x)(h,B=>{D.push(B),m{for(const B of D)h.next(B);h.complete()},void 0,()=>{D=null}))})}var Ge=c(8623),R=c(2686),be=c(8330);function S(m,v){const h=arguments.length>=2;return D=>D.pipe(m?(0,Oe.h)((B,Ce)=>m(B,Ce,D)):be.y,qe(1),h?(0,R.d)(v):(0,Ge.T)(()=>new F.K))}var q=c(5857),ze=c(116),N=c(5490),Se=c(549),et=c(5998);const pt="primary",wt=Symbol("RouteTitle");class Cn{constructor(v){this.params=v||{}}has(v){return Object.prototype.hasOwnProperty.call(this.params,v)}get(v){if(this.has(v)){const h=this.params[v];return Array.isArray(h)?h[0]:h}return null}getAll(v){if(this.has(v)){const h=this.params[v];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function St(m){return new Cn(m)}function Ft(m,v,h){const D=h.path.split("/");if(D.length>m.length||"full"===h.pathMatch&&(v.hasChildren()||D.lengthD[Ce]===B)}return m===v}function Ut(m){return Array.prototype.concat.apply([],m)}function Dt(m){return m.length>0?m[m.length-1]:null}function Qt(m,v){for(const h in m)m.hasOwnProperty(h)&&v(m[h],h)}function hn(m){return(0,e.CqO)(m)?m:(0,e.QGY)(m)?(0,s.D)(Promise.resolve(m)):(0,k.of)(m)}const cn=!1,yt={exact:function Xe(m,v,h){if(!xt(m.segments,v.segments)||!ye(m.segments,v.segments,h)||m.numberOfChildren!==v.numberOfChildren)return!1;for(const D in v.children)if(!m.children[D]||!Xe(m.children[D],v.children[D],h))return!1;return!0},subset:fe},Re={exact:function re(m,v){return Rt(m,v)},subset:function Le(m,v){return Object.keys(v).length<=Object.keys(m).length&&Object.keys(v).every(h=>Zt(m[h],v[h]))},ignored:()=>!0};function he(m,v,h){return yt[h.paths](m.root,v.root,h.matrixParams)&&Re[h.queryParams](m.queryParams,v.queryParams)&&!("exact"===h.fragment&&m.fragment!==v.fragment)}function fe(m,v,h){return We(m,v,v.segments,h)}function We(m,v,h,D){if(m.segments.length>h.length){const B=m.segments.slice(0,h.length);return!(!xt(B,h)||v.hasChildren()||!ye(B,h,D))}if(m.segments.length===h.length){if(!xt(m.segments,h)||!ye(m.segments,h,D))return!1;for(const B in v.children)if(!m.children[B]||!fe(m.children[B],v.children[B],D))return!1;return!0}{const B=h.slice(0,m.segments.length),Ce=h.slice(m.segments.length);return!!(xt(m.segments,B)&&ye(m.segments,B,D)&&m.children[pt])&&We(m.children[pt],v,Ce,D)}}function ye(m,v,h){return v.every((D,B)=>Re[h](m[B].parameters,D.parameters))}class at{constructor(v=new kt([],{}),h={},D=null){this.root=v,this.queryParams=h,this.fragment=D}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=St(this.queryParams)),this._queryParamMap}toString(){return fn.serialize(this)}}class kt{constructor(v,h){this.segments=v,this.children=h,this.parent=null,Qt(h,(D,B)=>D.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ke(this)}}class qt{constructor(v,h){this.path=v,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=St(this.parameters)),this._parameterMap}toString(){return gt(this)}}function xt(m,v){return m.length===v.length&&m.every((h,D)=>h.path===v[D].path)}let Pt=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:function(){return new an},providedIn:"root"}),m})();class an{parse(v){const h=new H(v);return new at(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(v){const h=`/${ot(v.root,!0)}`,D=function $t(m){const v=Object.keys(m).map(h=>{const D=m[h];return Array.isArray(D)?D.map(B=>`${it(h)}=${it(B)}`).join("&"):`${it(h)}=${it(D)}`}).filter(h=>!!h);return v.length?`?${v.join("&")}`:""}(v.queryParams);return`${h}${D}${"string"==typeof v.fragment?`#${function st(m){return encodeURI(m)}(v.fragment)}`:""}`}}const fn=new an;function Ke(m){return m.segments.map(v=>gt(v)).join("/")}function ot(m,v){if(!m.hasChildren())return Ke(m);if(v){const h=m.children[pt]?ot(m.children[pt],!1):"",D=[];return Qt(m.children,(B,Ce)=>{Ce!==pt&&D.push(`${Ce}:${ot(B,!1)}`)}),D.length>0?`${h}(${D.join("//")})`:h}{const h=function Wt(m,v){let h=[];return Qt(m.children,(D,B)=>{B===pt&&(h=h.concat(v(D,B)))}),Qt(m.children,(D,B)=>{B!==pt&&(h=h.concat(v(D,B)))}),h}(m,(D,B)=>B===pt?[ot(m.children[pt],!1)]:[`${B}:${ot(D,!1)}`]);return 1===Object.keys(m.children).length&&null!=m.children[pt]?`${Ke(m)}/${h[0]}`:`${Ke(m)}/(${h.join("//")})`}}function lt(m){return encodeURIComponent(m).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function it(m){return lt(m).replace(/%3B/gi,";")}function V(m){return lt(m).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pe(m){return decodeURIComponent(m)}function bt(m){return Pe(m.replace(/\+/g,"%20"))}function gt(m){return`${V(m.path)}${function on(m){return Object.keys(m).map(v=>`;${V(v)}=${V(m[v])}`).join("")}(m.parameters)}`}const vn=/^[^\/()?;=#]+/;function Jt(m){const v=m.match(vn);return v?v[0]:""}const Nn=/^[^=?&#]+/,oe=/^[^&#]+/;class H{constructor(v){this.url=v,this.remaining=v}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new kt([],{}):new kt([],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 h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let D={};return this.peekStartsWith("(")&&(D=this.parseParens(!1)),(v.length>0||Object.keys(h).length>0)&&(D[pt]=new kt(v,h)),D}parseSegment(){const v=Jt(this.remaining);if(""===v&&this.peekStartsWith(";"))throw new e.vHH(4009,cn);return this.capture(v),new qt(Pe(v),this.parseMatrixParams())}parseMatrixParams(){const v={};for(;this.consumeOptional(";");)this.parseParam(v);return v}parseParam(v){const h=Jt(this.remaining);if(!h)return;this.capture(h);let D="";if(this.consumeOptional("=")){const B=Jt(this.remaining);B&&(D=B,this.capture(D))}v[Pe(h)]=Pe(D)}parseQueryParam(v){const h=function Mn(m){const v=m.match(Nn);return v?v[0]:""}(this.remaining);if(!h)return;this.capture(h);let D="";if(this.consumeOptional("=")){const Te=function Q(m){const v=m.match(oe);return v?v[0]:""}(this.remaining);Te&&(D=Te,this.capture(D))}const B=bt(h),Ce=bt(D);if(v.hasOwnProperty(B)){let Te=v[B];Array.isArray(Te)||(Te=[Te],v[B]=Te),Te.push(Ce)}else v[B]=Ce}parseParens(v){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const D=Jt(this.remaining),B=this.remaining[D.length];if("/"!==B&&")"!==B&&";"!==B)throw new e.vHH(4010,cn);let Ce;D.indexOf(":")>-1?(Ce=D.slice(0,D.indexOf(":")),this.capture(Ce),this.capture(":")):v&&(Ce=pt);const Te=this.parseChildren();h[Ce]=1===Object.keys(Te).length?Te[pt]:new kt([],Te),this.consumeOptional("//")}return h}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 e.vHH(4011,cn)}}function le(m){return m.segments.length>0?new kt([],{[pt]:m}):m}function Ie(m){const v={};for(const D of Object.keys(m.children)){const Ce=Ie(m.children[D]);(Ce.segments.length>0||Ce.hasChildren())&&(v[D]=Ce)}return function rt(m){if(1===m.numberOfChildren&&m.children[pt]){const v=m.children[pt];return new kt(m.segments.concat(v.segments),v.children)}return m}(new kt(m.segments,v))}function nt(m){return m instanceof at}const ut=!1;function I(m,v,h,D,B){var Ce;if(0===h.length)return xe(v.root,v.root,v.root,D,B);const Te=function Bt(m){if("string"==typeof m[0]&&1===m.length&&"/"===m[0])return new dt(!0,0,m);let v=0,h=!1;const D=m.reduce((B,Ce,Te)=>{if("object"==typeof Ce&&null!=Ce){if(Ce.outlets){const Tt={};return Qt(Ce.outlets,(Kt,On)=>{Tt[On]="string"==typeof Kt?Kt.split("/"):Kt}),[...B,{outlets:Tt}]}if(Ce.segmentPath)return[...B,Ce.segmentPath]}return"string"!=typeof Ce?[...B,Ce]:0===Te?(Ce.split("/").forEach((Tt,Kt)=>{0==Kt&&"."===Tt||(0==Kt&&""===Tt?h=!0:".."===Tt?v++:""!=Tt&&B.push(Tt))}),B):[...B,Ce]},[]);return new dt(h,v,D)}(h);return Te.toRoot()?xe(v.root,v.root,new kt([],{}),D,B):function Tt(On){var Un;const Ln=function en(m,v,h,D){if(m.isAbsolute)return new Yt(v.root,!0,0);if(-1===D)return new Yt(h,h===v.root,0);return function gn(m,v,h){let D=m,B=v,Ce=h;for(;Ce>B;){if(Ce-=B,D=D.parent,!D)throw new e.vHH(4005,ut&&"Invalid number of '../'");B=D.segments.length}return new Yt(D,!1,B-Ce)}(h,D+(A(m.commands[0])?0:1),m.numberOfDoubleDots)}(Te,v,null===(Un=m.snapshot)||void 0===Un?void 0:Un._urlSegment,On),ki=Ln.processChildren?Kn(Ln.segmentGroup,Ln.index,Te.commands):In(Ln.segmentGroup,Ln.index,Te.commands);return xe(v.root,Ln.segmentGroup,ki,D,B)}(null===(Ce=m.snapshot)||void 0===Ce?void 0:Ce._lastPathIndex)}function A(m){return"object"==typeof m&&null!=m&&!m.outlets&&!m.segmentPath}function $(m){return"object"==typeof m&&null!=m&&m.outlets}function xe(m,v,h,D,B){let Te,Ce={};D&&Qt(D,(Kt,On)=>{Ce[On]=Array.isArray(Kt)?Kt.map(Un=>`${Un}`):`${Kt}`}),Te=m===v?h:ct(m,v,h);const Tt=le(Ie(Te));return new at(Tt,Ce,B)}function ct(m,v,h){const D={};return Qt(m.children,(B,Ce)=>{D[Ce]=B===v?h:ct(B,v,h)}),new kt(m.segments,D)}class dt{constructor(v,h,D){if(this.isAbsolute=v,this.numberOfDoubleDots=h,this.commands=D,v&&D.length>0&&A(D[0]))throw new e.vHH(4003,ut&&"Root segment cannot have matrix parameters");const B=D.find($);if(B&&B!==Dt(D))throw new e.vHH(4004,ut&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Yt{constructor(v,h,D){this.segmentGroup=v,this.processChildren=h,this.index=D}}function In(m,v,h){if(m||(m=new kt([],{})),0===m.segments.length&&m.hasChildren())return Kn(m,v,h);const D=function mn(m,v,h){let D=0,B=v;const Ce={match:!1,pathIndex:0,commandIndex:0};for(;B=h.length)return Ce;const Te=m.segments[B],Tt=h[D];if($(Tt))break;const Kt=`${Tt}`,On=D0&&void 0===Kt)break;if(Kt&&On&&"object"==typeof On&&void 0===On.outlets){if(!ri(Kt,On,Te))return Ce;D+=2}else{if(!ri(Kt,{},Te))return Ce;D++}B++}return{match:!0,pathIndex:B,commandIndex:D}}(m,v,h),B=h.slice(D.commandIndex);if(D.match&&D.pathIndex{"string"==typeof Ce&&(Ce=[Ce]),null!==Ce&&(B[Te]=In(m.children[Te],v,Ce))}),Qt(m.children,(Ce,Te)=>{void 0===D[Te]&&(B[Te]=Ce)}),new kt(m.segments,B)}}function xn(m,v,h){const D=m.segments.slice(0,v);let B=0;for(;B{"string"==typeof h&&(h=[h]),null!==h&&(v[D]=xn(new kt([],{}),0,h))}),v}function ci(m){const v={};return Qt(m,(h,D)=>v[D]=`${h}`),v}function ri(m,v,h){return m==h.path&&Rt(v,h.parameters)}const Xn="imperative";class Yn{constructor(v,h){this.id=v,this.url=h}}class Qn extends Yn{constructor(v,h,D="imperative",B=null){super(v,h),this.type=0,this.navigationTrigger=D,this.restoredState=B}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ai extends Yn{constructor(v,h,D){super(v,h),this.urlAfterRedirects=D,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ji extends Yn{constructor(v,h,D,B){super(v,h),this.reason=D,this.code=B,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Wn extends Yn{constructor(v,h,D,B){super(v,h),this.reason=D,this.code=B,this.type=16}}class Ti extends Yn{constructor(v,h,D,B){super(v,h),this.error=D,this.target=B,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ti extends Yn{constructor(v,h,D,B){super(v,h),this.urlAfterRedirects=D,this.state=B,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mi extends Yn{constructor(v,h,D,B){super(v,h),this.urlAfterRedirects=D,this.state=B,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class to extends Yn{constructor(v,h,D,B,Ce){super(v,h),this.urlAfterRedirects=D,this.state=B,this.shouldActivate=Ce,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ri extends Yn{constructor(v,h,D,B){super(v,h),this.urlAfterRedirects=D,this.state=B,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wo extends Yn{constructor(v,h,D,B){super(v,h),this.urlAfterRedirects=D,this.state=B,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wo{constructor(v){this.route=v,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class no{constructor(v){this.route=v,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class qo{constructor(v){this.snapshot=v,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lr{constructor(v){this.snapshot=v,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ui{constructor(v){this.snapshot=v,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wi{constructor(v){this.snapshot=v,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qi{constructor(v,h,D){this.routerEvent=v,this.position=h,this.anchor=D,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Vo=(()=>{class m{createUrlTree(h,D,B,Ce,Te,Tt){return I(h||D.root,B,Ce,Te,Tt)}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac}),m})(),ji=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:function(v){return Vo.\u0275fac(v)},providedIn:"root"}),m})();class io{constructor(v){this._root=v}get root(){return this._root.value}parent(v){const h=this.pathFromRoot(v);return h.length>1?h[h.length-2]:null}children(v){const h=Li(v,this._root);return h?h.children.map(D=>D.value):[]}firstChild(v){const h=Li(v,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(v){const h=Yi(v,this._root);return h.length<2?[]:h[h.length-2].children.map(B=>B.value).filter(B=>B!==v)}pathFromRoot(v){return Yi(v,this._root).map(h=>h.value)}}function Li(m,v){if(m===v.value)return v;for(const h of v.children){const D=Li(m,h);if(D)return D}return null}function Yi(m,v){if(m===v.value)return[v];for(const h of v.children){const D=Yi(m,h);if(D.length)return D.unshift(v),D}return[]}class Si{constructor(v,h){this.value=v,this.children=h}toString(){return`TreeNode(${this.value})`}}function oo(m){const v={};return m&&m.children.forEach(h=>v[h.value.outlet]=h),v}class go extends io{constructor(v,h){super(v),this.snapshot=h,xi(this,v)}toString(){return this.snapshot.toString()}}function Pn(m,v){const h=function Nt(m,v){const Te=new Ii([],{},{},"",{},pt,v,null,m.root,-1,{});return new Bi("",new Si(Te,[]))}(m,v),D=new z.X([new qt("",{})]),B=new z.X({}),Ce=new z.X({}),Te=new z.X({}),Tt=new z.X(""),Kt=new yn(D,B,Te,Tt,Ce,pt,v,h.root);return Kt.snapshot=h.root,new go(new Si(Kt,[]),h)}class yn{constructor(v,h,D,B,Ce,Te,Tt,Kt){var On,Un;this.url=v,this.params=h,this.queryParams=D,this.fragment=B,this.data=Ce,this.outlet=Te,this.component=Tt,this.title=null!==(On=null===(Un=this.data)||void 0===Un?void 0:Un.pipe((0,je.U)(Ln=>Ln[wt])))&&void 0!==On?On:(0,k.of)(void 0),this._futureSnapshot=Kt}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=>St(v)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,je.U)(v=>St(v)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Rn(m,v="emptyOnly"){const h=m.pathFromRoot;let D=0;if("always"!==v)for(D=h.length-1;D>=1;){const B=h[D],Ce=h[D-1];if(B.routeConfig&&""===B.routeConfig.path)D--;else{if(Ce.component)break;D--}}return function vi(m){return m.reduce((v,h)=>{var D;return{params:{...v.params,...h.params},data:{...v.data,...h.data},resolve:{...h.data,...v.resolve,...null===(D=h.routeConfig)||void 0===D?void 0:D.data,...h._resolvedData}}},{params:{},data:{},resolve:{}})}(h.slice(D))}class Ii{get title(){var v;return null===(v=this.data)||void 0===v?void 0:v[wt]}constructor(v,h,D,B,Ce,Te,Tt,Kt,On,Un,Ln){this.url=v,this.params=h,this.queryParams=D,this.fragment=B,this.data=Ce,this.outlet=Te,this.component=Tt,this.routeConfig=Kt,this._urlSegment=On,this._lastPathIndex=Un,this._resolve=Ln}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=St(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=St(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(D=>D.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bi extends io{constructor(v,h){super(h),this.url=v,xi(this,h)}toString(){return Ao(this._root)}}function xi(m,v){v.value._routerState=m,v.children.forEach(h=>xi(m,h))}function Ao(m){const v=m.children.length>0?` { ${m.children.map(Ao).join(", ")} } `:"";return`${m.value}${v}`}function Co(m){if(m.snapshot){const v=m.snapshot,h=m._futureSnapshot;m.snapshot=h,Rt(v.queryParams,h.queryParams)||m.queryParams.next(h.queryParams),v.fragment!==h.fragment&&m.fragment.next(h.fragment),Rt(v.params,h.params)||m.params.next(h.params),function It(m,v){if(m.length!==v.length)return!1;for(let h=0;hRt(h.parameters,v[D].parameters))}(m.url,v.url);return h&&!(!m.parent!=!v.parent)&&(!m.parent||Ki(m.parent,v.parent))}function Do(m,v,h){if(h&&m.shouldReuseRoute(v.value,h.value.snapshot)){const D=h.value;D._futureSnapshot=v.value;const B=function So(m,v,h){return v.children.map(D=>{for(const B of h.children)if(m.shouldReuseRoute(D.value,B.value.snapshot))return Do(m,D,B);return Do(m,D)})}(m,v,h);return new Si(D,B)}{if(m.shouldAttach(v.value)){const Ce=m.retrieve(v.value);if(null!==Ce){const Te=Ce.route;return Te.value._futureSnapshot=v.value,Te.children=v.children.map(Tt=>Do(m,Tt)),Te}}const D=function Ur(m){return new yn(new z.X(m.url),new z.X(m.params),new z.X(m.queryParams),new z.X(m.fragment),new z.X(m.data),m.outlet,m.component,m)}(v.value),B=v.children.map(Ce=>Do(m,Ce));return new Si(D,B)}}const Hr="ngNavigationCancelingError";function mr(m,v){const{redirectTo:h,navigationBehaviorOptions:D}=nt(v)?{redirectTo:v,navigationBehaviorOptions:void 0}:v,B=zr(!1,0,v);return B.url=h,B.navigationBehaviorOptions=D,B}function zr(m,v,h){const D=new Error("NavigationCancelingError: "+(m||""));return D[Hr]=!0,D.cancellationCode=v,h&&(D.url=h),D}function er(m){return Vr(m)&&nt(m.url)}function Vr(m){return m&&m[Hr]}class To{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new jo,this.attachRef=null}}let jo=(()=>{class m{constructor(){this.contexts=new Map}onChildOutletCreated(h,D){const B=this.getOrCreateContext(h);B.outlet=D,this.contexts.set(h,B)}onChildOutletDestroyed(h){const D=this.getContext(h);D&&(D.outlet=null,D.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let D=this.getContext(h);return D||(D=new To,this.contexts.set(h,D)),D}getContext(h){return this.contexts.get(h)||null}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const co=!1;let Sr=(()=>{class m{constructor(){this.activated=null,this._activatedRoute=null,this.name=pt,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.parentContexts=(0,e.f3M)(jo),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb)}ngOnChanges(h){if(h.name){const{firstChange:D,previousValue:B}=h.name;if(D)return;this.isTrackedInParentContexts(B)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(B)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(h){var D;return(null===(D=this.parentContexts.getContext(h))||void 0===D?void 0:D.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const h=this.parentContexts.getContext(this.name);null!=h&&h.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,co);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,co);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,co);this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,D){this.activated=h,this._activatedRoute=D,this.location.insert(h.hostView),this.attachEvents.emit(h.instance)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,D){if(this.isActivated)throw new e.vHH(4013,co);this._activatedRoute=h;const B=this.location,Te=h.snapshot.component,Tt=this.parentContexts.getOrCreateContext(this.name).children,Kt=new Tr(h,Tt,B.injector);if(D&&function tr(m){return!!m.resolveComponentFactory}(D)){const On=D.resolveComponentFactory(Te);this.activated=B.createComponent(On,B.length,Kt)}else this.activated=B.createComponent(Te,{index:B.length,injector:Kt,environmentInjector:null!=D?D:this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275dir=e.lG2({type:m,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]}),m})();class Tr{constructor(v,h,D){this.route=v,this.childContexts=h,this.parent=D}get(v,h){return v===yn?this.route:v===jo?this.childContexts:this.parent.get(v,h)}}let Ui=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275cmp=e.Xpm({type:m,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(h,D){1&h&&e._UZ(0,"router-outlet")},dependencies:[Sr],encapsulation:2}),m})();function _r(m,v){var h;return m.providers&&!m._injector&&(m._injector=(0,e.MMx)(m.providers,v,`Route: ${m.path}`)),null!==(h=m._injector)&&void 0!==h?h:v}function Ei(m){const v=m.children&&m.children.map(Ei),h=v?{...m,children:v}:{...m};return!h.component&&!h.loadComponent&&(v||h.loadChildren)&&h.outlet&&h.outlet!==pt&&(h.component=Ui),h}function ao(m){return m.outlet||pt}function ir(m,v){const h=m.filter(D=>ao(D)===v);return h.push(...m.filter(D=>ao(D)!==v)),h}function zi(m){var v;if(!m)return null;if(null!==(v=m.routeConfig)&&void 0!==v&&v._injector)return m.routeConfig._injector;for(let h=m.parent;h;h=h.parent){const D=h.routeConfig;if(null!=D&&D._loadedInjector)return D._loadedInjector;if(null!=D&&D._injector)return D._injector}return null}class Er{constructor(v,h,D,B){this.routeReuseStrategy=v,this.futureState=h,this.currState=D,this.forwardEvent=B}activate(v){const h=this.futureState._root,D=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,D,v),Co(this.futureState.root),this.activateChildRoutes(h,D,v)}deactivateChildRoutes(v,h,D){const B=oo(h);v.children.forEach(Ce=>{const Te=Ce.value.outlet;this.deactivateRoutes(Ce,B[Te],D),delete B[Te]}),Qt(B,(Ce,Te)=>{this.deactivateRouteAndItsChildren(Ce,D)})}deactivateRoutes(v,h,D){const B=v.value,Ce=h?h.value:null;if(B===Ce)if(B.component){const Te=D.getContext(B.outlet);Te&&this.deactivateChildRoutes(v,h,Te.children)}else this.deactivateChildRoutes(v,h,D);else Ce&&this.deactivateRouteAndItsChildren(h,D)}deactivateRouteAndItsChildren(v,h){v.value.component&&this.routeReuseStrategy.shouldDetach(v.value.snapshot)?this.detachAndStoreRouteSubtree(v,h):this.deactivateRouteAndOutlet(v,h)}detachAndStoreRouteSubtree(v,h){const D=h.getContext(v.value.outlet),B=D&&v.value.component?D.children:h,Ce=oo(v);for(const Te of Object.keys(Ce))this.deactivateRouteAndItsChildren(Ce[Te],B);if(D&&D.outlet){const Te=D.outlet.detach(),Tt=D.children.onOutletDeactivated();this.routeReuseStrategy.store(v.value.snapshot,{componentRef:Te,route:v,contexts:Tt})}}deactivateRouteAndOutlet(v,h){const D=h.getContext(v.value.outlet),B=D&&v.value.component?D.children:h,Ce=oo(v);for(const Te of Object.keys(Ce))this.deactivateRouteAndItsChildren(Ce[Te],B);D&&(D.outlet&&(D.outlet.deactivate(),D.children.onOutletDeactivated()),D.attachRef=null,D.resolver=null,D.route=null)}activateChildRoutes(v,h,D){const B=oo(h);v.children.forEach(Ce=>{this.activateRoutes(Ce,B[Ce.value.outlet],D),this.forwardEvent(new Wi(Ce.value.snapshot))}),v.children.length&&this.forwardEvent(new lr(v.value.snapshot))}activateRoutes(v,h,D){const B=v.value,Ce=h?h.value:null;if(Co(B),B===Ce)if(B.component){const Tt=D.getOrCreateContext(B.outlet);this.activateChildRoutes(v,h,Tt.children)}else this.activateChildRoutes(v,h,D);else if(B.component){const Tt=D.getOrCreateContext(B.outlet);if(this.routeReuseStrategy.shouldAttach(B.snapshot)){const Kt=this.routeReuseStrategy.retrieve(B.snapshot);this.routeReuseStrategy.store(B.snapshot,null),Tt.children.onOutletReAttached(Kt.contexts),Tt.attachRef=Kt.componentRef,Tt.route=Kt.route.value,Tt.outlet&&Tt.outlet.attach(Kt.componentRef,Kt.route.value),Co(Kt.route.value),this.activateChildRoutes(v,null,Tt.children)}else{var Te;const Kt=zi(B.snapshot),On=null!==(Te=null==Kt?void 0:Kt.get(e._Vd))&&void 0!==Te?Te:null;Tt.attachRef=null,Tt.route=B,Tt.resolver=On,Tt.injector=Kt,Tt.outlet&&Tt.outlet.activateWith(B,Tt.injector),this.activateChildRoutes(v,null,Tt.children)}}else this.activateChildRoutes(v,null,D)}}class uo{constructor(v){this.path=v,this.route=this.path[this.path.length-1]}}class $i{constructor(v,h){this.component=v,this.route=h}}function ko(m,v,h){const D=m._root;return Mo(D,v?v._root:null,h,[D.value])}function vr(m,v){const h=Symbol(),D=v.get(m,h);return D===h?"function"!=typeof m||(0,e.Z0I)(m)?v.get(m):m:D}function Mo(m,v,h,D,B={canDeactivateChecks:[],canActivateChecks:[]}){const Ce=oo(v);return m.children.forEach(Te=>{(function Ee(m,v,h,D,B={canDeactivateChecks:[],canActivateChecks:[]}){const Ce=m.value,Te=v?v.value:null,Tt=h?h.getContext(m.value.outlet):null;if(Te&&Ce.routeConfig===Te.routeConfig){const Kt=function _(m,v,h){if("function"==typeof h)return h(m,v);switch(h){case"pathParamsChange":return!xt(m.url,v.url);case"pathParamsOrQueryParamsChange":return!xt(m.url,v.url)||!Rt(m.queryParams,v.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ki(m,v)||!Rt(m.queryParams,v.queryParams);default:return!Ki(m,v)}}(Te,Ce,Ce.routeConfig.runGuardsAndResolvers);Kt?B.canActivateChecks.push(new uo(D)):(Ce.data=Te.data,Ce._resolvedData=Te._resolvedData),Mo(m,v,Ce.component?Tt?Tt.children:null:h,D,B),Kt&&Tt&&Tt.outlet&&Tt.outlet.isActivated&&B.canDeactivateChecks.push(new $i(Tt.outlet.component,Te))}else Te&&y(v,Tt,B),B.canActivateChecks.push(new uo(D)),Mo(m,null,Ce.component?Tt?Tt.children:null:h,D,B)})(Te,Ce[Te.value.outlet],h,D.concat([Te.value]),B),delete Ce[Te.value.outlet]}),Qt(Ce,(Te,Tt)=>y(Te,h.getContext(Tt),B)),B}function y(m,v,h){const D=oo(m),B=m.value;Qt(D,(Ce,Te)=>{y(Ce,B.component?v?v.children.getContext(Te):null:v,h)}),h.canDeactivateChecks.push(new $i(B.component&&v&&v.outlet&&v.outlet.isActivated?v.outlet.component:null,B))}function j(m){return"function"==typeof m}function E(m){return m instanceof F.K||"EmptyError"===(null==m?void 0:m.name)}const M=Symbol("INITIAL_VALUE");function ae(){return(0,se.w)(m=>(0,ne.a)(m.map(v=>v.pipe((0,ee.q)(1),(0,$e.O)(M)))).pipe((0,je.U)(v=>{for(const h of v)if(!0!==h){if(h===M)return M;if(!1===h||h instanceof at)return h}return!0}),(0,Oe.h)(v=>v!==M),(0,ee.q)(1)))}function yi(m){return(0,pe.z)((0,we.b)(v=>{if(nt(v))throw mr(0,v)}),(0,je.U)(v=>!0===v))}const Zi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function or(m,v,h,D,B){const Ce=fo(m,v,h);return Ce.matched?function eo(m,v,h,D){const B=v.canMatch;if(!B||0===B.length)return(0,k.of)(!0);const Ce=B.map(Te=>{const Tt=vr(Te,m);return hn(function sn(m){return m&&j(m.canMatch)}(Tt)?Tt.canMatch(v,h):m.runInContext(()=>Tt(v,h)))});return(0,k.of)(Ce).pipe(ae(),yi())}(D=_r(v,D),v,h).pipe((0,je.U)(Te=>!0===Te?Ce:{...Zi})):(0,k.of)(Ce)}function fo(m,v,h){var D;if(""===v.path)return"full"===v.pathMatch&&(m.hasChildren()||h.length>0)?{...Zi}:{matched:!0,consumedSegments:[],remainingSegments:h,parameters:{},positionalParamSegments:{}};const Ce=(v.matcher||Ft)(h,m,v);if(!Ce)return{...Zi};const Te={};Qt(Ce.posParams,(Kt,On)=>{Te[On]=Kt.path});const Tt=Ce.consumed.length>0?{...Te,...Ce.consumed[Ce.consumed.length-1].parameters}:Te;return{matched:!0,consumedSegments:Ce.consumed,remainingSegments:h.slice(Ce.consumed.length),parameters:Tt,positionalParamSegments:null!==(D=Ce.posParams)&&void 0!==D?D:{}}}function Zo(m,v,h,D){if(h.length>0&&function Hn(m,v,h){return h.some(D=>jn(m,v,D)&&ao(D)!==pt)}(m,h,D)){const Ce=new kt(v,function qr(m,v,h,D){const B={};B[pt]=D,D._sourceSegment=m,D._segmentIndexShift=v.length;for(const Ce of h)if(""===Ce.path&&ao(Ce)!==pt){const Te=new kt([],{});Te._sourceSegment=m,Te._segmentIndexShift=v.length,B[ao(Ce)]=Te}return B}(m,v,D,new kt(h,m.children)));return Ce._sourceSegment=m,Ce._segmentIndexShift=v.length,{segmentGroup:Ce,slicedSegments:[]}}if(0===h.length&&function Vn(m,v,h){return h.some(D=>jn(m,v,D))}(m,h,D)){const Ce=new kt(m.segments,function cr(m,v,h,D,B){const Ce={};for(const Te of D)if(jn(m,h,Te)&&!B[ao(Te)]){const Tt=new kt([],{});Tt._sourceSegment=m,Tt._segmentIndexShift=v.length,Ce[ao(Te)]=Tt}return{...B,...Ce}}(m,v,h,D,m.children));return Ce._sourceSegment=m,Ce._segmentIndexShift=v.length,{segmentGroup:Ce,slicedSegments:h}}const B=new kt(m.segments,m.children);return B._sourceSegment=m,B._segmentIndexShift=v.length,{segmentGroup:B,slicedSegments:h}}function jn(m,v,h){return(!(m.hasChildren()||v.length>0)||"full"!==h.pathMatch)&&""===h.path}function si(m,v,h,D){return!!(ao(m)===D||D!==pt&&jn(v,h,m))&&("**"===m.path||fo(v,m,h).matched)}function wi(m,v,h){return 0===v.length&&!m.children[h]}const $o=!1;class lo{constructor(v){this.segmentGroup=v||null}}class Lo{constructor(v){this.urlTree=v}}function Oi(m){return(0,ce._)(new lo(m))}function $r(m){return(0,ce._)(new Lo(m))}class Vi{constructor(v,h,D,B,Ce){this.injector=v,this.configLoader=h,this.urlSerializer=D,this.urlTree=B,this.config=Ce,this.allowRedirects=!0}apply(){const v=Zo(this.urlTree.root,[],[],this.config).segmentGroup,h=new kt(v.segments,v.children);return this.expandSegmentGroup(this.injector,this.config,h,pt).pipe((0,je.U)(Ce=>this.createUrlTree(Ie(Ce),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,mt.K)(Ce=>{if(Ce instanceof Lo)return this.allowRedirects=!1,this.match(Ce.urlTree);throw Ce instanceof lo?this.noMatchError(Ce):Ce}))}match(v){return this.expandSegmentGroup(this.injector,this.config,v.root,pt).pipe((0,je.U)(B=>this.createUrlTree(Ie(B),v.queryParams,v.fragment))).pipe((0,mt.K)(B=>{throw B instanceof lo?this.noMatchError(B):B}))}noMatchError(v){return new e.vHH(4002,$o)}createUrlTree(v,h,D){const B=le(v);return new at(B,h,D)}expandSegmentGroup(v,h,D,B){return 0===D.segments.length&&D.hasChildren()?this.expandChildren(v,h,D).pipe((0,je.U)(Ce=>new kt([],Ce))):this.expandSegment(v,D,h,D.segments,B,!0)}expandChildren(v,h,D){const B=[];for(const Ce of Object.keys(D.children))"primary"===Ce?B.unshift(Ce):B.push(Ce);return(0,s.D)(B).pipe((0,tt.b)(Ce=>{const Te=D.children[Ce],Tt=ir(h,Ce);return this.expandSegmentGroup(v,Tt,Te,Ce).pipe((0,je.U)(Kt=>({segment:Kt,outlet:Ce})))}),Qe((Ce,Te)=>(Ce[Te.outlet]=Te.segment,Ce),{}),S())}expandSegment(v,h,D,B,Ce,Te){return(0,s.D)(D).pipe((0,tt.b)(Tt=>this.expandSegmentAgainstRoute(v,h,D,Tt,B,Ce,Te).pipe((0,mt.K)(On=>{if(On instanceof lo)return(0,k.of)(null);throw On}))),(0,vt.P)(Tt=>!!Tt),(0,mt.K)((Tt,Kt)=>{if(E(Tt))return wi(h,B,Ce)?(0,k.of)(new kt([],{})):Oi(h);throw Tt}))}expandSegmentAgainstRoute(v,h,D,B,Ce,Te,Tt){return si(B,h,Ce,Te)?void 0===B.redirectTo?this.matchSegmentAgainstRoute(v,h,B,Ce,Te):Tt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(v,h,D,B,Ce,Te):Oi(h):Oi(h)}expandSegmentAgainstRouteUsingRedirect(v,h,D,B,Ce,Te){return"**"===B.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(v,D,B,Te):this.expandRegularSegmentAgainstRouteUsingRedirect(v,h,D,B,Ce,Te)}expandWildCardWithParamsAgainstRouteUsingRedirect(v,h,D,B){const Ce=this.applyRedirectCommands([],D.redirectTo,{});return D.redirectTo.startsWith("/")?$r(Ce):this.lineralizeSegments(D,Ce).pipe((0,_t.z)(Te=>{const Tt=new kt(Te,{});return this.expandSegment(v,Tt,h,Te,B,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(v,h,D,B,Ce,Te){const{matched:Tt,consumedSegments:Kt,remainingSegments:On,positionalParamSegments:Un}=fo(h,B,Ce);if(!Tt)return Oi(h);const Ln=this.applyRedirectCommands(Kt,B.redirectTo,Un);return B.redirectTo.startsWith("/")?$r(Ln):this.lineralizeSegments(B,Ln).pipe((0,_t.z)(ki=>this.expandSegment(v,h,D,ki.concat(On),Te,!1)))}matchSegmentAgainstRoute(v,h,D,B,Ce){return"**"===D.path?(v=_r(D,v),D.loadChildren?(D._loadedRoutes?(0,k.of)({routes:D._loadedRoutes,injector:D._loadedInjector}):this.configLoader.loadChildren(v,D)).pipe((0,je.U)(Tt=>(D._loadedRoutes=Tt.routes,D._loadedInjector=Tt.injector,new kt(B,{})))):(0,k.of)(new kt(B,{}))):or(h,D,B,v).pipe((0,se.w)(({matched:Te,consumedSegments:Tt,remainingSegments:Kt})=>{var On;return Te?(v=null!==(On=D._injector)&&void 0!==On?On:v,this.getChildConfig(v,D,B).pipe((0,_t.z)(Ln=>{var ki;const Ho=null!==(ki=Ln.injector)&&void 0!==ki?ki:v,pr=Ln.routes,{segmentGroup:Jr,slicedSegments:wr}=Zo(h,Tt,Kt,pr),Fr=new kt(Jr.segments,Jr.children);if(0===wr.length&&Fr.hasChildren())return this.expandChildren(Ho,pr,Fr).pipe((0,je.U)(Ks=>new kt(Tt,Ks)));if(0===pr.length&&0===wr.length)return(0,k.of)(new kt(Tt,{}));const ts=ao(D)===Ce;return this.expandSegment(Ho,Fr,pr,wr,ts?pt:Ce,!0).pipe((0,je.U)(Jo=>new kt(Tt.concat(Jo.segments),Jo.children)))}))):Oi(h)}))}getChildConfig(v,h,D){return h.children?(0,k.of)({routes:h.children,injector:v}):h.loadChildren?void 0!==h._loadedRoutes?(0,k.of)({routes:h._loadedRoutes,injector:h._loadedInjector}):function qi(m,v,h,D){const B=v.canLoad;if(void 0===B||0===B.length)return(0,k.of)(!0);const Ce=B.map(Te=>{const Tt=vr(Te,m);return hn(function Ye(m){return m&&j(m.canLoad)}(Tt)?Tt.canLoad(v,h):m.runInContext(()=>Tt(v,h)))});return(0,k.of)(Ce).pipe(ae(),yi())}(v,h,D).pipe((0,_t.z)(B=>B?this.configLoader.loadChildren(v,h).pipe((0,we.b)(Ce=>{h._loadedRoutes=Ce.routes,h._loadedInjector=Ce.injector})):function ho(m){return(0,ce._)(zr($o,3))}())):(0,k.of)({routes:[],injector:v})}lineralizeSegments(v,h){let D=[],B=h.root;for(;;){if(D=D.concat(B.segments),0===B.numberOfChildren)return(0,k.of)(D);if(B.numberOfChildren>1||!B.children[pt])return v.redirectTo,(0,ce._)(new e.vHH(4e3,$o));B=B.children[pt]}}applyRedirectCommands(v,h,D){return this.applyRedirectCreateUrlTree(h,this.urlSerializer.parse(h),v,D)}applyRedirectCreateUrlTree(v,h,D,B){const Ce=this.createSegmentGroup(v,h.root,D,B);return new at(Ce,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(v,h){const D={};return Qt(v,(B,Ce)=>{if("string"==typeof B&&B.startsWith(":")){const Tt=B.substring(1);D[Ce]=h[Tt]}else D[Ce]=B}),D}createSegmentGroup(v,h,D,B){const Ce=this.createSegments(v,h.segments,D,B);let Te={};return Qt(h.children,(Tt,Kt)=>{Te[Kt]=this.createSegmentGroup(v,Tt,D,B)}),new kt(Ce,Te)}createSegments(v,h,D,B){return h.map(Ce=>Ce.path.startsWith(":")?this.findPosParam(v,Ce,B):this.findOrReturn(Ce,D))}findPosParam(v,h,D){const B=D[h.path.substring(1)];if(!B)throw new e.vHH(4001,$o);return B}findOrReturn(v,h){let D=0;for(const B of h){if(B.path===v.path)return h.splice(D),B;D++}return v}}class Rr{}class Es{constructor(v,h,D,B,Ce,Te,Tt){this.injector=v,this.rootComponentType=h,this.config=D,this.urlTree=B,this.url=Ce,this.paramsInheritanceStrategy=Te,this.urlSerializer=Tt}recognize(){const v=Zo(this.urlTree.root,[],[],this.config.filter(h=>void 0===h.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,v,pt).pipe((0,je.U)(h=>{if(null===h)return null;const D=new Ii([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},pt,this.rootComponentType,null,this.urlTree.root,-1,{}),B=new Si(D,h),Ce=new Bi(this.url,B);return this.inheritParamsAndData(Ce._root),Ce}))}inheritParamsAndData(v){const h=v.value,D=Rn(h,this.paramsInheritanceStrategy);h.params=Object.freeze(D.params),h.data=Object.freeze(D.data),v.children.forEach(B=>this.inheritParamsAndData(B))}processSegmentGroup(v,h,D,B){return 0===D.segments.length&&D.hasChildren()?this.processChildren(v,h,D):this.processSegment(v,h,D,D.segments,B)}processChildren(v,h,D){return(0,s.D)(Object.keys(D.children)).pipe((0,tt.b)(B=>{const Ce=D.children[B],Te=ir(h,B);return this.processSegmentGroup(v,Te,Ce,B)}),Qe((B,Ce)=>B&&Ce?(B.push(...Ce),B):null),(0,q.o)(B=>null!==B),(0,R.d)(null),S(),(0,je.U)(B=>{if(null===B)return null;const Ce=$s(B);return function ms(m){m.sort((v,h)=>v.value.outlet===pt?-1:h.value.outlet===pt?1:v.value.outlet.localeCompare(h.value.outlet))}(Ce),Ce}))}processSegment(v,h,D,B,Ce){return(0,s.D)(h).pipe((0,tt.b)(Te=>{var Tt;return this.processSegmentAgainstRoute(null!==(Tt=Te._injector)&&void 0!==Tt?Tt:v,Te,D,B,Ce)}),(0,vt.P)(Te=>!!Te),(0,mt.K)(Te=>{if(E(Te))return wi(D,B,Ce)?(0,k.of)([]):(0,k.of)(null);throw Te}))}processSegmentAgainstRoute(v,h,D,B,Ce){if(h.redirectTo||!si(h,D,B,Ce))return(0,k.of)(null);let Te;if("**"===h.path){var Tt,Kt;const On=B.length>0?Dt(B).parameters:{},Un=Fo(D)+B.length,Ln=new Ii(B,On,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,J(h),ao(h),null!==(Tt=null!==(Kt=h.component)&&void 0!==Kt?Kt:h._loadedComponent)&&void 0!==Tt?Tt:null,h,Lr(D),Un,P(h));Te=(0,k.of)({snapshot:Ln,consumedSegments:[],remainingSegments:[]})}else Te=or(D,h,B,v).pipe((0,je.U)(({matched:On,consumedSegments:Un,remainingSegments:Ln,parameters:ki})=>{var Ho,pr;if(!On)return null;const Jr=Fo(D)+Un.length;return{snapshot:new Ii(Un,ki,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,J(h),ao(h),null!==(Ho=null!==(pr=h.component)&&void 0!==pr?pr:h._loadedComponent)&&void 0!==Ho?Ho:null,h,Lr(D),Jr,P(h)),consumedSegments:Un,remainingSegments:Ln}}));return Te.pipe((0,se.w)(On=>{var Un,Ln;if(null===On)return(0,k.of)(null);const{snapshot:ki,consumedSegments:Ho,remainingSegments:pr}=On;v=null!==(Un=h._injector)&&void 0!==Un?Un:v;const Jr=null!==(Ln=h._loadedInjector)&&void 0!==Ln?Ln:v,wr=function Vs(m){return m.children?m.children:m.loadChildren?m._loadedRoutes:[]}(h),{segmentGroup:Fr,slicedSegments:ts}=Zo(D,Ho,pr,wr.filter(Jo=>void 0===Jo.redirectTo));if(0===ts.length&&Fr.hasChildren())return this.processChildren(Jr,wr,Fr).pipe((0,je.U)(Jo=>null===Jo?null:[new Si(ki,Jo)]));if(0===wr.length&&0===ts.length)return(0,k.of)([new Si(ki,[])]);const ns=ao(h)===Ce;return this.processSegment(Jr,wr,Fr,ts,ns?pt:Ce).pipe((0,je.U)(Jo=>null===Jo?null:[new Si(ki,Jo)]))}))}}function js(m){const v=m.value.routeConfig;return v&&""===v.path&&void 0===v.redirectTo}function $s(m){const v=[],h=new Set;for(const D of m){if(!js(D)){v.push(D);continue}const B=v.find(Ce=>D.value.routeConfig===Ce.value.routeConfig);void 0!==B?(B.children.push(...D.children),h.add(B)):v.push(D)}for(const D of h){const B=$s(D.children);v.push(new Si(D.value,B))}return v.filter(D=>!h.has(D))}function Lr(m){let v=m;for(;v._sourceSegment;)v=v._sourceSegment;return v}function Fo(m){var v;let h=m,D=null!==(v=h._segmentIndexShift)&&void 0!==v?v:0;for(;h._sourceSegment;){var B;h=h._sourceSegment,D+=null!==(B=h._segmentIndexShift)&&void 0!==B?B:0}return D-1}function J(m){return m.data||{}}function P(m){return m.resolve||{}}function _i(m){return"string"==typeof m.title||null===m.title}function fi(m){return(0,se.w)(v=>{const h=m(v);return h?(0,s.D)(h).pipe((0,je.U)(()=>v)):(0,k.of)(v)})}const Pi=new e.OlP("ROUTES");let bi=(()=>{class m{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.f3M)(e.Sil)}loadComponent(h){if(this.componentLoaders.get(h))return this.componentLoaders.get(h);if(h._loadedComponent)return(0,k.of)(h._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(h);const D=hn(h.loadComponent()).pipe((0,je.U)(xr),(0,we.b)(Ce=>{this.onLoadEndListener&&this.onLoadEndListener(h),h._loadedComponent=Ce}),(0,N.x)(()=>{this.componentLoaders.delete(h)})),B=new ve(D,()=>new Ae.x).pipe(Ue());return this.componentLoaders.set(h,B),B}loadChildren(h,D){if(this.childrenLoaders.get(D))return this.childrenLoaders.get(D);if(D._loadedRoutes)return(0,k.of)({routes:D._loadedRoutes,injector:D._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(D);const Ce=this.loadModuleFactoryOrRoutes(D.loadChildren).pipe((0,je.U)(Tt=>{this.onLoadEndListener&&this.onLoadEndListener(D);let Kt,On,Un=!1;Array.isArray(Tt)?On=Tt:(Kt=Tt.create(h).injector,On=Ut(Kt.get(Pi,[],e.XFs.Self|e.XFs.Optional)));return{routes:On.map(Ei),injector:Kt}}),(0,N.x)(()=>{this.childrenLoaders.delete(D)})),Te=new ve(Ce,()=>new Ae.x).pipe(Ue());return this.childrenLoaders.set(D,Te),Te}loadModuleFactoryOrRoutes(h){return hn(h()).pipe((0,je.U)(xr),(0,_t.z)(D=>D instanceof e.YKP||Array.isArray(D)?(0,k.of)(D):(0,s.D)(this.compiler.compileModuleAsync(D))))}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function xr(m){return function Xi(m){return m&&"object"==typeof m&&"default"in m}(m)?m.default:m}let yr=(()=>{class m{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Ae.x,this.configLoader=(0,e.f3M)(bi),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(Pt),this.rootContexts=(0,e.f3M)(jo),this.navigationId=0,this.afterPreactivation=()=>(0,k.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=B=>this.events.next(new no(B)),this.configLoader.onLoadStartListener=B=>this.events.next(new wo(B))}complete(){var h;null===(h=this.transitions)||void 0===h||h.complete()}handleNavigationRequest(h){var D;const B=++this.navigationId;null===(D=this.transitions)||void 0===D||D.next({...this.transitions.value,...h,id:B})}setupNavigations(h){return this.transitions=new z.X({id:0,targetPageId:0,currentUrlTree:h.currentUrlTree,currentRawUrl:h.currentUrlTree,extractedUrl:h.urlHandlingStrategy.extract(h.currentUrlTree),urlAfterRedirects:h.urlHandlingStrategy.extract(h.currentUrlTree),rawUrl:h.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Xn,restoredState:null,currentSnapshot:h.routerState.snapshot,targetSnapshot:null,currentRouterState:h.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Oe.h)(D=>0!==D.id),(0,je.U)(D=>({...D,extractedUrl:h.urlHandlingStrategy.extract(D.rawUrl)})),(0,se.w)(D=>{let B=!1,Ce=!1;return(0,k.of)(D).pipe((0,we.b)(Te=>{this.currentNavigation={id:Te.id,initialUrl:Te.rawUrl,extractedUrl:Te.extractedUrl,trigger:Te.source,extras:Te.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,se.w)(Te=>{var Tt;const Kt=h.browserUrlTree.toString(),On=!h.navigated||Te.extractedUrl.toString()!==Kt||Kt!==h.currentUrlTree.toString(),Un=null!==(Tt=Te.extras.onSameUrlNavigation)&&void 0!==Tt?Tt:h.onSameUrlNavigation;if(!On&&"reload"!==Un){const Ln="";return this.events.next(new Wn(Te.id,h.serializeUrl(D.rawUrl),Ln,0)),h.rawUrlTree=Te.rawUrl,Te.resolve(null),Y.E}if(h.urlHandlingStrategy.shouldProcessUrl(Te.rawUrl))return Go(Te.source)&&(h.browserUrlTree=Te.extractedUrl),(0,k.of)(Te).pipe((0,se.w)(Ln=>{var ki,Ho;const pr=null===(ki=this.transitions)||void 0===ki?void 0:ki.getValue();return this.events.next(new Qn(Ln.id,this.urlSerializer.serialize(Ln.extractedUrl),Ln.source,Ln.restoredState)),pr!==(null===(Ho=this.transitions)||void 0===Ho?void 0:Ho.getValue())?Y.E:Promise.resolve(Ln)}),function kr(m,v,h,D){return(0,se.w)(B=>function No(m,v,h,D,B){return new Vi(m,v,h,D,B).apply()}(m,v,h,B.extractedUrl,D).pipe((0,je.U)(Ce=>({...B,urlAfterRedirects:Ce}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,h.config),(0,we.b)(Ln=>{this.currentNavigation={...this.currentNavigation,finalUrl:Ln.urlAfterRedirects},D.urlAfterRedirects=Ln.urlAfterRedirects}),function ge(m,v,h,D,B){return(0,_t.z)(Ce=>function gs(m,v,h,D,B,Ce,Te="emptyOnly"){return new Es(m,v,h,D,B,Te,Ce).recognize().pipe((0,se.w)(Tt=>null===Tt?function Gi(m){return new de.y(v=>v.error(m))}(new Rr):(0,k.of)(Tt)))}(m,v,h,Ce.urlAfterRedirects,D.serialize(Ce.urlAfterRedirects),D,B).pipe((0,je.U)(Te=>({...Ce,targetSnapshot:Te}))))}(this.environmentInjector,this.rootComponentType,h.config,this.urlSerializer,h.paramsInheritanceStrategy),(0,we.b)(Ln=>{if(D.targetSnapshot=Ln.targetSnapshot,"eager"===h.urlUpdateStrategy){if(!Ln.extras.skipLocationChange){const Ho=h.urlHandlingStrategy.merge(Ln.urlAfterRedirects,Ln.rawUrl);h.setBrowserUrl(Ho,Ln)}h.browserUrlTree=Ln.urlAfterRedirects}const ki=new ti(Ln.id,this.urlSerializer.serialize(Ln.extractedUrl),this.urlSerializer.serialize(Ln.urlAfterRedirects),Ln.targetSnapshot);this.events.next(ki)}));if(On&&h.urlHandlingStrategy.shouldProcessUrl(h.rawUrlTree)){const{id:Ln,extractedUrl:ki,source:Ho,restoredState:pr,extras:Jr}=Te,wr=new Qn(Ln,this.urlSerializer.serialize(ki),Ho,pr);this.events.next(wr);const Fr=Pn(ki,this.rootComponentType).snapshot;return D={...Te,targetSnapshot:Fr,urlAfterRedirects:ki,extras:{...Jr,skipLocationChange:!1,replaceUrl:!1}},(0,k.of)(D)}{const Ln="";return this.events.next(new Wn(Te.id,h.serializeUrl(D.extractedUrl),Ln,1)),h.rawUrlTree=Te.rawUrl,Te.resolve(null),Y.E}}),(0,we.b)(Te=>{const Tt=new Mi(Te.id,this.urlSerializer.serialize(Te.extractedUrl),this.urlSerializer.serialize(Te.urlAfterRedirects),Te.targetSnapshot);this.events.next(Tt)}),(0,je.U)(Te=>D={...Te,guards:ko(Te.targetSnapshot,Te.currentSnapshot,this.rootContexts)}),function ft(m,v){return(0,_t.z)(h=>{const{targetSnapshot:D,currentSnapshot:B,guards:{canActivateChecks:Ce,canDeactivateChecks:Te}}=h;return 0===Te.length&&0===Ce.length?(0,k.of)({...h,guardsResult:!0}):function Dn(m,v,h,D){return(0,s.D)(m).pipe((0,_t.z)(B=>function Ro(m,v,h,D,B){const Ce=v&&v.routeConfig?v.routeConfig.canDeactivate:null;if(!Ce||0===Ce.length)return(0,k.of)(!0);const Te=Ce.map(Tt=>{var Kt;const On=null!==(Kt=zi(v))&&void 0!==Kt?Kt:B,Un=vr(Tt,On);return hn(function Vt(m){return m&&j(m.canDeactivate)}(Un)?Un.canDeactivate(m,v,h,D):On.runInContext(()=>Un(m,v,h,D))).pipe((0,vt.P)())});return(0,k.of)(Te).pipe(ae())}(B.component,B.route,h,v,D)),(0,vt.P)(B=>!0!==B,!0))}(Te,D,B,m).pipe((0,_t.z)(Tt=>Tt&&function De(m){return"boolean"==typeof m}(Tt)?function zn(m,v,h,D){return(0,s.D)(v).pipe((0,tt.b)(B=>(0,W.z)(function Di(m,v){return null!==m&&v&&v(new qo(m)),(0,k.of)(!0)}(B.route.parent,D),function ii(m,v){return null!==m&&v&&v(new ui(m)),(0,k.of)(!0)}(B.route,D),function _o(m,v,h){const D=v[v.length-1],Ce=v.slice(0,v.length-1).reverse().map(Te=>function Or(m){const v=m.routeConfig?m.routeConfig.canActivateChild:null;return v&&0!==v.length?{node:m,guards:v}:null}(Te)).filter(Te=>null!==Te).map(Te=>(0,te.P)(()=>{const Tt=Te.guards.map(Kt=>{var On;const Un=null!==(On=zi(Te.node))&&void 0!==On?On:h,Ln=vr(Kt,Un);return hn(function Ot(m){return m&&j(m.canActivateChild)}(Ln)?Ln.canActivateChild(D,m):Un.runInContext(()=>Ln(D,m))).pipe((0,vt.P)())});return(0,k.of)(Tt).pipe(ae())}));return(0,k.of)(Ce).pipe(ae())}(m,B.path,h),function mi(m,v,h){const D=v.routeConfig?v.routeConfig.canActivate:null;if(!D||0===D.length)return(0,k.of)(!0);const B=D.map(Ce=>(0,te.P)(()=>{var Te;const Tt=null!==(Te=zi(v))&&void 0!==Te?Te:h,Kt=vr(Ce,Tt);return hn(function Ct(m){return m&&j(m.canActivate)}(Kt)?Kt.canActivate(v,m):Tt.runInContext(()=>Kt(v,m))).pipe((0,vt.P)())}));return(0,k.of)(B).pipe(ae())}(m,B.route,h))),(0,vt.P)(B=>!0!==B,!0))}(D,Ce,m,v):(0,k.of)(Tt)),(0,je.U)(Tt=>({...h,guardsResult:Tt})))})}(this.environmentInjector,Te=>this.events.next(Te)),(0,we.b)(Te=>{if(D.guardsResult=Te.guardsResult,nt(Te.guardsResult))throw mr(0,Te.guardsResult);const Tt=new to(Te.id,this.urlSerializer.serialize(Te.extractedUrl),this.urlSerializer.serialize(Te.urlAfterRedirects),Te.targetSnapshot,!!Te.guardsResult);this.events.next(Tt)}),(0,Oe.h)(Te=>!!Te.guardsResult||(h.restoreHistory(Te),this.cancelNavigationTransition(Te,"",3),!1)),fi(Te=>{if(Te.guards.canActivateChecks.length)return(0,k.of)(Te).pipe((0,we.b)(Tt=>{const Kt=new Ri(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),this.urlSerializer.serialize(Tt.urlAfterRedirects),Tt.targetSnapshot);this.events.next(Kt)}),(0,se.w)(Tt=>{let Kt=!1;return(0,k.of)(Tt).pipe(function Je(m,v){return(0,_t.z)(h=>{const{targetSnapshot:D,guards:{canActivateChecks:B}}=h;if(!B.length)return(0,k.of)(h);let Ce=0;return(0,s.D)(B).pipe((0,tt.b)(Te=>function Gt(m,v,h,D){const B=m.routeConfig,Ce=m._resolve;return void 0!==(null==B?void 0:B.title)&&!_i(B)&&(Ce[wt]=B.title),function tn(m,v,h,D){const B=function An(m){return[...Object.keys(m),...Object.getOwnPropertySymbols(m)]}(m);if(0===B.length)return(0,k.of)({});const Ce={};return(0,s.D)(B).pipe((0,_t.z)(Te=>function di(m,v,h,D){var B;const Ce=null!==(B=zi(v))&&void 0!==B?B:D,Te=vr(m,Ce);return hn(Te.resolve?Te.resolve(v,h):Ce.runInContext(()=>Te(v,h)))}(m[Te],v,h,D).pipe((0,vt.P)(),(0,we.b)(Tt=>{Ce[Te]=Tt}))),qe(1),(0,ze.h)(Ce),(0,mt.K)(Te=>E(Te)?Y.E:(0,ce._)(Te)))}(Ce,m,v,D).pipe((0,je.U)(Te=>(m._resolvedData=Te,m.data=Rn(m,h).resolve,B&&_i(B)&&(m.data[wt]=B.title),null)))}(Te.route,D,m,v)),(0,we.b)(()=>Ce++),qe(1),(0,_t.z)(Te=>Ce===B.length?(0,k.of)(h):Y.E))})}(h.paramsInheritanceStrategy,this.environmentInjector),(0,we.b)({next:()=>Kt=!0,complete:()=>{Kt||(h.restoreHistory(Tt),this.cancelNavigationTransition(Tt,"",2))}}))}),(0,we.b)(Tt=>{const Kt=new Wo(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),this.urlSerializer.serialize(Tt.urlAfterRedirects),Tt.targetSnapshot);this.events.next(Kt)}))}),fi(Te=>{const Tt=Kt=>{var On;const Un=[];null!==(On=Kt.routeConfig)&&void 0!==On&&On.loadComponent&&!Kt.routeConfig._loadedComponent&&Un.push(this.configLoader.loadComponent(Kt.routeConfig).pipe((0,we.b)(Ln=>{Kt.component=Ln}),(0,je.U)(()=>{})));for(const Ln of Kt.children)Un.push(...Tt(Ln));return Un};return(0,ne.a)(Tt(Te.targetSnapshot.root)).pipe((0,R.d)(),(0,ee.q)(1))}),fi(()=>this.afterPreactivation()),(0,je.U)(Te=>{const Tt=function Yo(m,v,h){const D=Do(m,v._root,h?h._root:void 0);return new go(D,v)}(h.routeReuseStrategy,Te.targetSnapshot,Te.currentRouterState);return D={...Te,targetRouterState:Tt}}),(0,we.b)(Te=>{h.currentUrlTree=Te.urlAfterRedirects,h.rawUrlTree=h.urlHandlingStrategy.merge(Te.urlAfterRedirects,Te.rawUrl),h.routerState=Te.targetRouterState,"deferred"===h.urlUpdateStrategy&&(Te.extras.skipLocationChange||h.setBrowserUrl(h.rawUrlTree,Te),h.browserUrlTree=Te.urlAfterRedirects)}),((m,v,h)=>(0,je.U)(D=>(new Er(v,D.targetRouterState,D.currentRouterState,h).activate(m),D)))(this.rootContexts,h.routeReuseStrategy,Te=>this.events.next(Te)),(0,ee.q)(1),(0,we.b)({next:Te=>{var Tt;B=!0,this.lastSuccessfulNavigation=this.currentNavigation,h.navigated=!0,this.events.next(new Ai(Te.id,this.urlSerializer.serialize(Te.extractedUrl),this.urlSerializer.serialize(h.currentUrlTree))),null===(Tt=h.titleStrategy)||void 0===Tt||Tt.updateTitle(Te.targetRouterState.snapshot),Te.resolve(!0)},complete:()=>{B=!0}}),(0,N.x)(()=>{var Te;B||Ce||this.cancelNavigationTransition(D,"",1),(null===(Te=this.currentNavigation)||void 0===Te?void 0:Te.id)===D.id&&(this.currentNavigation=null)}),(0,mt.K)(Te=>{if(Ce=!0,Vr(Te)){er(Te)||(h.navigated=!0,h.restoreHistory(D,!0));const Kt=new Ji(D.id,this.urlSerializer.serialize(D.extractedUrl),Te.message,Te.cancellationCode);if(this.events.next(Kt),er(Te)){const On=h.urlHandlingStrategy.merge(Te.url,h.rawUrlTree),Un={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===h.urlUpdateStrategy||Go(D.source)};h.scheduleNavigation(On,Xn,null,Un,{resolve:D.resolve,reject:D.reject,promise:D.promise})}else D.resolve(!1)}else{var Tt;h.restoreHistory(D,!0);const Kt=new Ti(D.id,this.urlSerializer.serialize(D.extractedUrl),Te,null!==(Tt=D.targetSnapshot)&&void 0!==Tt?Tt:void 0);this.events.next(Kt);try{D.resolve(h.errorHandler(Te))}catch(On){D.reject(On)}}return Y.E}))}))}cancelNavigationTransition(h,D,B){const Ce=new Ji(h.id,this.urlSerializer.serialize(h.extractedUrl),D,B);this.events.next(Ce),h.resolve(!1)}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function Go(m){return m!==Xn}let rr=(()=>{class m{buildTitle(h){let D,B=h.root;for(;void 0!==B;){var Ce;D=null!==(Ce=this.getResolvedTitleForRoute(B))&&void 0!==Ce?Ce:D,B=B.children.find(Te=>Te.outlet===pt)}return D}getResolvedTitleForRoute(h){return h.data[wt]}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:function(){return(0,e.f3M)(Nr)},providedIn:"root"}),m})(),Nr=(()=>{class m extends rr{constructor(h){super(),this.title=h}updateTitle(h){const D=this.buildTitle(h);void 0!==D&&this.title.setTitle(D)}}return m.\u0275fac=function(h){return new(h||m)(e.LFG(et.Dx))},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),br=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:function(){return(0,e.f3M)(Gr)},providedIn:"root"}),m})();class ss{shouldDetach(v){return!1}store(v,h){}shouldAttach(v){return!1}retrieve(v){return null}shouldReuseRoute(v,h){return v.routeConfig===h.routeConfig}}let Gr=(()=>{class m extends ss{}return m.\u0275fac=function(){let v;return function(D){return(v||(v=e.n5z(m)))(D||m)}}(),m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const Bo=new e.OlP("",{providedIn:"root",factory:()=>({})});let Gs=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:function(){return(0,e.f3M)(ea)},providedIn:"root"}),m})(),ea=(()=>{class m{shouldProcessUrl(h){return!0}extract(h){return h}merge(h,D){return h}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function ta(m){throw m}function vs(m,v,h){return v.parse("/")}const Os={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Uo=(()=>{class m{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){var h;if("computed"===this.canceledNavigationResolution)return null===(h=this.location.getState())||void 0===h?void 0:h.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){var h;this.disposed=!1,this.currentPageId=0,this.console=(0,e.f3M)(e.c2e),this.isNgZoneEnabled=!1,this.options=(0,e.f3M)(Bo,{optional:!0})||{},this.errorHandler=this.options.errorHandler||ta,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||vs,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,e.f3M)(Gs),this.routeReuseStrategy=(0,e.f3M)(br),this.urlCreationStrategy=(0,e.f3M)(ji),this.titleStrategy=(0,e.f3M)(rr),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=Ut(null!==(h=(0,e.f3M)(Pi,{optional:!0}))&&void 0!==h?h:[]),this.navigationTransitions=(0,e.f3M)(yr),this.urlSerializer=(0,e.f3M)(Pt),this.location=(0,e.f3M)(Ve.Ye),this.isNgZoneEnabled=(0,e.f3M)(e.R0b)instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new at,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Pn(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(D=>{var B;this.lastSuccessfulId=D.id,this.currentPageId=null!==(B=this.browserPageId)&&void 0!==B?B:0},D=>{this.console.warn(`Unhandled Navigation Error: ${D}`)})}resetRootComponentType(h){this.routerState.root.component=h,this.navigationTransitions.rootComponentType=h}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const h=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Xn,h)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(h=>{const D="popstate"===h.type?"popstate":"hashchange";"popstate"===D&&setTimeout(()=>{this.navigateToSyncWithBrowser(h.url,D,h.state)},0)}))}navigateToSyncWithBrowser(h,D,B){const Ce={replaceUrl:!0},Te=null!=B&&B.navigationId?B:null;if(B){const Kt={...B};delete Kt.navigationId,delete Kt.\u0275routerPageId,0!==Object.keys(Kt).length&&(Ce.state=Kt)}const Tt=this.parseUrl(h);this.scheduleNavigation(Tt,D,Te,Ce)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(h){this.config=h.map(Ei),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}createUrlTree(h,D={}){const{relativeTo:B,queryParams:Ce,fragment:Te,queryParamsHandling:Tt,preserveFragment:Kt}=D,On=Kt?this.currentUrlTree.fragment:Te;let Un=null;switch(Tt){case"merge":Un={...this.currentUrlTree.queryParams,...Ce};break;case"preserve":Un=this.currentUrlTree.queryParams;break;default:Un=Ce||null}return null!==Un&&(Un=this.removeEmptyProps(Un)),this.urlCreationStrategy.createUrlTree(B,this.routerState,this.currentUrlTree,h,Un,null!=On?On:null)}navigateByUrl(h,D={skipLocationChange:!1}){const B=nt(h)?h:this.parseUrl(h),Ce=this.urlHandlingStrategy.merge(B,this.rawUrlTree);return this.scheduleNavigation(Ce,Xn,null,D)}navigate(h,D={skipLocationChange:!1}){return function ws(m){for(let v=0;v{const Ce=h[B];return null!=Ce&&(D[B]=Ce),D},{})}scheduleNavigation(h,D,B,Ce,Te){if(this.disposed)return Promise.resolve(!1);let Tt,Kt,On,Un;if(Te?(Tt=Te.resolve,Kt=Te.reject,On=Te.promise):On=new Promise((ki,Ho)=>{Tt=ki,Kt=Ho}),"computed"===this.canceledNavigationResolution)if(B&&B.\u0275routerPageId)Un=B.\u0275routerPageId;else{var Ln;Un=(null!==(Ln=this.browserPageId)&&void 0!==Ln?Ln:0)+1}else Un=0;return this.navigationTransitions.handleNavigationRequest({targetPageId:Un,source:D,restoredState:B,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:h,extras:Ce,resolve:Tt,reject:Kt,promise:On,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),On.catch(ki=>Promise.reject(ki))}setBrowserUrl(h,D){const B=this.urlSerializer.serialize(h);if(this.location.isCurrentPathEqualTo(B)||D.extras.replaceUrl){const Te={...D.extras.state,...this.generateNgRouterState(D.id,this.browserPageId)};this.location.replaceState(B,"",Te)}else{const Ce={...D.extras.state,...this.generateNgRouterState(D.id,D.targetPageId)};this.location.go(B,"",Ce)}}restoreHistory(h,D=!1){if("computed"===this.canceledNavigationResolution){var B,Ce;const Te=null!==(B=this.browserPageId)&&void 0!==B?B:this.currentPageId,Tt=this.currentPageId-Te;0!==Tt?this.location.historyGo(Tt):this.currentUrlTree===(null===(Ce=this.getCurrentNavigation())||void 0===Ce?void 0:Ce.finalUrl)&&0===Tt&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(D&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){this.routerState=h.currentRouterState,this.currentUrlTree=h.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,h.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(h,D){return"computed"===this.canceledNavigationResolution?{navigationId:h,\u0275routerPageId:D}:{navigationId:h}}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),as=(()=>{class m{constructor(h,D,B,Ce,Te,Tt){var Kt;this.router=h,this.route=D,this.tabIndexAttribute=B,this.renderer=Ce,this.el=Te,this.locationStrategy=Tt,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Ae.x;const On=null===(Kt=Te.nativeElement.tagName)||void 0===Kt?void 0:Kt.toLowerCase();this.isAnchorElement="a"===On||"area"===On,this.isAnchorElement?this.subscription=h.events.subscribe(Un=>{Un instanceof Ai&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(h){this._preserveFragment=(0,e.D6c)(h)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(h){this._skipLocationChange=(0,e.D6c)(h)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(h){this._replaceUrl=(0,e.D6c)(h)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(h){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",h)}ngOnChanges(h){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(h){null!=h?(this.commands=Array.isArray(h)?h:[h],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(h,D,B,Ce,Te){return!!(null===this.urlTree||this.isAnchorElement&&(0!==h||D||B||Ce||Te||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){var h;null===(h=this.subscription)||void 0===h||h.unsubscribe()}updateHref(){var h;this.href=null!==this.urlTree&&this.locationStrategy?null===(h=this.locationStrategy)||void 0===h?void 0:h.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const D=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",D)}applyAttributeValue(h,D){const B=this.renderer,Ce=this.el.nativeElement;null!==D?B.setAttribute(Ce,h,D):B.removeAttribute(Ce,h)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return m.\u0275fac=function(h){return new(h||m)(e.Y36(Uo),e.Y36(yn),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(Ve.S$))},m.\u0275dir=e.lG2({type:m,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(h,D){1&h&&e.NdJ("click",function(Ce){return D.onClick(Ce.button,Ce.ctrlKey,Ce.shiftKey,Ce.altKey,Ce.metaKey)}),2&h&&e.uIk("target",D.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[e.TTD]}),m})(),Ps=(()=>{class m{get isActive(){return this._isActive}constructor(h,D,B,Ce,Te){this.router=h,this.element=D,this.renderer=B,this.cdr=Ce,this.link=Te,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=h.events.subscribe(Tt=>{Tt instanceof Ai&&this.update()})}ngAfterContentInit(){(0,k.of)(this.links.changes,(0,k.of)(null)).pipe((0,Se.J)()).subscribe(h=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var h;null===(h=this.linkInputChangesSubscription)||void 0===h||h.unsubscribe();const D=[...this.links.toArray(),this.link].filter(B=>!!B).map(B=>B.onChanges);this.linkInputChangesSubscription=(0,s.D)(D).pipe((0,Se.J)()).subscribe(B=>{this._isActive!==this.isLinkActive(this.router)(B)&&this.update()})}set routerLinkActive(h){const D=Array.isArray(h)?h:h.split(" ");this.classes=D.filter(B=>!!B)}ngOnChanges(h){this.update()}ngOnDestroy(){var h;this.routerEventsSubscription.unsubscribe(),null===(h=this.linkInputChangesSubscription)||void 0===h||h.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const h=this.hasActiveLinks();this._isActive!==h&&(this._isActive=h,this.cdr.markForCheck(),this.classes.forEach(D=>{h?this.renderer.addClass(this.element.nativeElement,D):this.renderer.removeClass(this.element.nativeElement,D)}),h&&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(h))})}isLinkActive(h){const D=function As(m){return!!m.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return B=>!!B.urlTree&&h.isActive(B.urlTree,D)}hasActiveLinks(){const h=this.isLinkActive(this.router);return this.link&&h(this.link)||this.links.some(h)}}return m.\u0275fac=function(h){return new(h||m)(e.Y36(Uo),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(as,8))},m.\u0275dir=e.lG2({type:m,selectors:[["","routerLinkActive",""]],contentQueries:function(h,D,B){if(1&h&&e.Suo(B,as,5),2&h){let Ce;e.iGM(Ce=e.CRH())&&(D.links=Ce)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.TTD]}),m})();class es{}let us=(()=>{class m{constructor(h,D,B,Ce,Te){this.router=h,this.injector=B,this.preloadingStrategy=Ce,this.loader=Te}setUpPreloading(){this.subscription=this.router.events.pipe((0,Oe.h)(h=>h instanceof Ai),(0,tt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,D){const B=[];for(const Kt of D){var Ce,Te;Kt.providers&&!Kt._injector&&(Kt._injector=(0,e.MMx)(Kt.providers,h,`Route: ${Kt.path}`));const On=null!==(Ce=Kt._injector)&&void 0!==Ce?Ce:h,Un=null!==(Te=Kt._loadedInjector)&&void 0!==Te?Te:On;var Tt;(Kt.loadChildren&&!Kt._loadedRoutes&&void 0===Kt.canLoad||Kt.loadComponent&&!Kt._loadedComponent)&&B.push(this.preloadConfig(On,Kt)),(Kt.children||Kt._loadedRoutes)&&B.push(this.processRoutes(Un,null!==(Tt=Kt.children)&&void 0!==Tt?Tt:Kt._loadedRoutes))}return(0,s.D)(B).pipe((0,Se.J)())}preloadConfig(h,D){return this.preloadingStrategy.preload(D,()=>{let B;B=D.loadChildren&&void 0===D.canLoad?this.loader.loadChildren(h,D):(0,k.of)(null);const Ce=B.pipe((0,_t.z)(Te=>{var Tt;return null===Te?(0,k.of)(void 0):(D._loadedRoutes=Te.routes,D._loadedInjector=Te.injector,this.processRoutes(null!==(Tt=Te.injector)&&void 0!==Tt?Tt:h,Te.routes))}));if(D.loadComponent&&!D._loadedComponent){const Te=this.loader.loadComponent(D);return(0,s.D)([Ce,Te]).pipe((0,Se.J)())}return Ce})}}return m.\u0275fac=function(h){return new(h||m)(e.LFG(Uo),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(es),e.LFG(bi))},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const sr=new e.OlP("");let na=(()=>{class m{constructor(h,D,B,Ce,Te={}){this.urlSerializer=h,this.transitions=D,this.viewportScroller=B,this.zone=Ce,this.options=Te,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Te.scrollPositionRestoration=Te.scrollPositionRestoration||"disabled",Te.anchorScrolling=Te.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(h=>{h instanceof Qn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof Ai&&(this.lastId=h.id,this.scheduleScrollEvent(h,this.urlSerializer.parse(h.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(h=>{h instanceof Qi&&(h.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(h.position):h.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(h.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(h,D){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Qi(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,D))})},0)})}ngOnDestroy(){var h,D;null===(h=this.routerEventsSubscription)||void 0===h||h.unsubscribe(),null===(D=this.scrollEventsSubscription)||void 0===D||D.unsubscribe()}}return m.\u0275fac=function(h){e.$Z()},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac}),m})();var fr=(()=>((fr=fr||{})[fr.COMPLETE=0]="COMPLETE",fr[fr.FAILED=1]="FAILED",fr[fr.REDIRECTING=2]="REDIRECTING",fr))();const ar=!1;function l(m,v){return{\u0275kind:m,\u0275providers:v}}const g=new e.OlP("",{providedIn:"root",factory:()=>!1});function K(){const m=(0,e.f3M)(e.zs3);return v=>{var h,D;const B=m.get(e.z2F);if(v!==B.components[0])return;const Ce=m.get(Uo),Te=m.get(Be);1===m.get(ke)&&Ce.initialNavigation(),null===(h=m.get(nn,null,e.XFs.Optional))||void 0===h||h.setUpPreloading(),null===(D=m.get(sr,null,e.XFs.Optional))||void 0===D||D.init(),Ce.resetRootComponentType(B.componentTypes[0]),Te.closed||(Te.next(),Te.complete(),Te.unsubscribe())}}const Be=new e.OlP(ar?"bootstrap done indicator":"",{factory:()=>new Ae.x}),ke=new e.OlP(ar?"initial navigation":"",{providedIn:"root",factory:()=>1});function ln(){let m=[];return m=ar?[{provide:e.Xts,multi:!0,useFactory:()=>{const v=(0,e.f3M)(Uo);return()=>v.events.subscribe(h=>{var D,B,Ce,Te;null===(D=(B=console).group)||void 0===D||D.call(B,`Router Event: ${h.constructor.name}`),console.log(function yo(m){var v,h,D,B;if(!("type"in m))return`Unknown Router Event: ${m.constructor.name}`;switch(m.type){case 14:return`ActivationEnd(path: '${(null===(v=m.snapshot.routeConfig)||void 0===v?void 0:v.path)||""}')`;case 13:return`ActivationStart(path: '${(null===(h=m.snapshot.routeConfig)||void 0===h?void 0:h.path)||""}')`;case 12:return`ChildActivationEnd(path: '${(null===(D=m.snapshot.routeConfig)||void 0===D?void 0:D.path)||""}')`;case 11:return`ChildActivationStart(path: '${(null===(B=m.snapshot.routeConfig)||void 0===B?void 0:B.path)||""}')`;case 8:return`GuardsCheckEnd(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state}, shouldActivate: ${m.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case 2:return`NavigationCancel(id: ${m.id}, url: '${m.url}')`;case 16:return`NavigationSkipped(id: ${m.id}, url: '${m.url}')`;case 1:return`NavigationEnd(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${m.id}, url: '${m.url}', error: ${m.error})`;case 0:return`NavigationStart(id: ${m.id}, url: '${m.url}')`;case 6:return`ResolveEnd(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case 5:return`ResolveStart(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case 10:return`RouteConfigLoadEnd(path: ${m.route.path})`;case 9:return`RouteConfigLoadStart(path: ${m.route.path})`;case 4:return`RoutesRecognized(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case 15:return`Scroll(anchor: '${m.anchor}', position: '${m.position?`${m.position[0]}, ${m.position[1]}`:null}')`}}(h)),console.log(h),null===(Ce=(Te=console).groupEnd)||void 0===Ce||Ce.call(Te)})}}]:[],l(1,m)}const nn=new e.OlP(ar?"router preloader":"");function _n(m){return l(0,[{provide:nn,useExisting:us},{provide:es,useExisting:m}])}const hi=!1,Fi=new e.OlP(hi?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),wn=[Ve.Ye,{provide:Pt,useClass:an},Uo,jo,{provide:yn,useFactory:function Ys(m){return m.routerState.root},deps:[Uo]},bi,hi?{provide:g,useValue:!0}:[]];function ni(){return new e.PXZ("Router",Uo)}let Bn=(()=>{class m{constructor(h){}static forRoot(h,D){return{ngModule:m,providers:[wn,hi&&null!=D&&D.enableTracing?ln().\u0275providers:[],{provide:Pi,multi:!0,useValue:h},{provide:Fi,useFactory:hr,deps:[[Uo,new e.FiY,new e.tp0]]},{provide:Bo,useValue:D||{}},null!=D&&D.useHash?{provide:Ve.S$,useClass:Ve.Do}:{provide:Ve.S$,useClass:Ve.b0},{provide:sr,useFactory:()=>{const m=(0,e.f3M)(Ve.EM),v=(0,e.f3M)(e.R0b),h=(0,e.f3M)(Bo),D=(0,e.f3M)(yr),B=(0,e.f3M)(Pt);return h.scrollOffset&&m.setOffset(h.scrollOffset),new na(B,D,m,v,h)}},null!=D&&D.preloadingStrategy?_n(D.preloadingStrategy).\u0275providers:[],{provide:e.PXZ,multi:!0,useFactory:ni},null!=D&&D.initialNavigation?va(D):[],[{provide:Xo,useFactory:K},{provide:e.tb,multi:!0,useExisting:Xo}]]}}static forChild(h){return{ngModule:m,providers:[{provide:Pi,multi:!0,useValue:h}]}}}return m.\u0275fac=function(h){return new(h||m)(e.LFG(Fi,8))},m.\u0275mod=e.oAB({type:m}),m.\u0275inj=e.cJS({imports:[Ui]}),m})();function hr(m){if(hi&&m)throw new e.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function va(m){return["disabled"===m.initialNavigation?l(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const v=(0,e.f3M)(Uo);return()=>{v.setUpLocationChangeListener()}}},{provide:ke,useValue:2}]).\u0275providers:[],"enabledBlocking"===m.initialNavigation?l(2,[{provide:ke,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:v=>{const h=v.get(Ve.V_,Promise.resolve());return()=>h.then(()=>new Promise(D=>{const B=v.get(Uo),Ce=v.get(Be);(function Ws(m,v){m.events.pipe((0,Oe.h)(h=>h instanceof Ai||h instanceof Ji||h instanceof Ti||h instanceof Wn),(0,je.U)(h=>h instanceof Ai||h instanceof Wn?fr.COMPLETE:h instanceof Ji&&(0===h.code||1===h.code)?fr.REDIRECTING:fr.FAILED),(0,Oe.h)(h=>h!==fr.REDIRECTING),(0,ee.q)(1)).subscribe(()=>{v()})})(B,()=>{D(!0)}),v.get(yr).afterPreactivation=()=>(D(!0),Ce.closed?(0,k.of)(void 0):Ce),B.initialNavigation()}))}}]).\u0275providers:[]]}const Xo=new e.OlP(hi?"Router Initializer":"")},5432:(Ht,Fe,c)=>{"use strict";c.d(Fe,{rN:()=>we,y$:()=>qe,_l:()=>Ge});var e=c(4537),s=c(4121),k=c(9018),z=c(3787),F=c(7241),ne=c(5955),W=c(697),te=c(8499),pe=c(6651),de=c(985),Y=c(3466),_e=c(4813);const ue={schedule(R){let be=requestAnimationFrame,S=cancelAnimationFrame;const{delegate:q}=ue;q&&(be=q.requestAnimationFrame,S=q.cancelAnimationFrame);const ze=be(N=>{S=void 0,R(N)});return new _e.w0(()=>null==S?void 0:S(ze))},requestAnimationFrame(...R){const{delegate:be}=ue;return((null==be?void 0:be.requestAnimationFrame)||requestAnimationFrame)(...R)},cancelAnimationFrame(...R){const{delegate:be}=ue;return((null==be?void 0:be.cancelAnimationFrame)||cancelAnimationFrame)(...R)},delegate:void 0};var Ue=c(474);const Ae=new class ve extends Ue.v{flush(be){this._active=!0;const S=this._scheduled;this._scheduled=void 0;const{actions:q}=this;let ze;be=be||q.shift();do{if(ze=be.execute(be.state,be.delay))break}while((be=q[0])&&be.id===S&&q.shift());if(this._active=!1,ze){for(;(be=q[0])&&be.id===S&&q.shift();)be.unsubscribe();throw ze}}}(class ie extends Y.o{constructor(be,S){super(be,S),this.scheduler=be,this.work=S}requestAsyncId(be,S,q=0){return null!==q&&q>0?super.requestAsyncId(be,S,q):(be.actions.push(this),be._scheduled||(be._scheduled=ue.requestAnimationFrame(()=>be.flush(void 0))))}recycleAsyncId(be,S,q=0){var ze;if(null!=q?q>0:this.delay>0)return super.recycleAsyncId(be,S,q);const{actions:N}=be;null!=S&&(null===(ze=N[N.length-1])||void 0===ze?void 0:ze.id)!==S&&(ue.cancelAnimationFrame(S),be._scheduled=void 0)}});var je=c(4970),se=c(7969),ee=c(5598),$e=c(1528),Oe=c(8168),_t=c(3568),vt=c(8692),tt=c(5998);const we=new e.OlP("HIGHLIGHT_OPTIONS");let mt=(()=>{class R{constructor(S,q,ze){var N;this.doc=S,this._options=ze,this._ready=new s.X(null),this.ready=this._ready.asObservable().pipe((0,je.h)(Se=>!!Se),(0,se.U)(Se=>Se),(0,ee.q)(1)),(0,vt.NF)(q)&&(S.defaultView.hljs?this._ready.next(S.defaultView.hljs):this._loadLibrary().pipe((0,$e.w)(Se=>this._options&&this._options.lineNumbersLoader?(S.defaultView.hljs=Se,this.loadLineNumbers().pipe((0,Oe.b)(()=>this._ready.next(Se)))):(this._ready.next(Se),k.E)),(0,_t.K)(Se=>(console.error("[HLJS] ",Se),k.E))).subscribe(),null!==(N=this._options)&&void 0!==N&&N.themePath&&this.loadTheme(this._options.themePath))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,z._)(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,z._)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,z._)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,z._)(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,$e.w)(S=>this._loadLanguages(S)))}return(0,z._)(()=>"Highlight.js library was not imported!")}_loadLanguages(S){return function ce(...R){const be=(0,pe.jO)(R),S=(0,W.k)(R);return S.length?new F.y(q=>{let ze=S.map(()=>[]),N=S.map(()=>!1);q.add(()=>{ze=N=null});for(let Se=0;!q.closed&&Se{if(ze[Se].push(et),ze.every(pt=>pt.length)){const pt=ze.map(wt=>wt.shift());q.next(be?be(...pt):pt),ze.some((wt,Cn)=>!wt.length&&N[Cn])&&q.complete()}},()=>{N[Se]=!0,!ze[Se].length&&q.complete()}));return()=>{ze=N=null}}):k.E}(...Object.entries(this._options.languages).map(([ze,N])=>At(N()).pipe((0,Oe.b)(Se=>S.registerLanguage(ze,Se))))).pipe((0,se.U)(()=>S))}loadCoreLibrary(){return At(this._options.coreLibraryLoader())}loadFullLibrary(){return At(this._options.fullLibraryLoader())}loadLineNumbers(){return At(this._options.lineNumbersLoader())}setTheme(S){this._themeLinkElement.href=S}loadTheme(S){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=S,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return R.\u0275fac=function(S){return new(S||R)(e.LFG(vt.K0),e.LFG(e.Lbi),e.LFG(we,8))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const At=R=>(0,de.D)(R).pipe((0,je.h)(be=>!!be&&!!be.default),(0,se.U)(be=>be.default));let Qe=(()=>{class R{constructor(S,q){this._loader=S,this._hljs=null,S.ready.subscribe(ze=>{this._hljs=ze,q&&q.config&&(ze.configure(q.config),ze.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}get hljs(){return this._hljs}highlight(S,{language:q,ignoreIllegals:ze}){return this._loader.ready.pipe((0,se.U)(N=>N.highlight(S,{language:q,ignoreIllegals:ze})))}highlightAuto(S,q){return this._loader.ready.pipe((0,se.U)(ze=>ze.highlightAuto(S,q)))}highlightElement(S){return this._loader.ready.pipe((0,se.U)(q=>q.highlightElement(S)))}highlightAll(){return this._loader.ready.pipe((0,se.U)(S=>S.highlightAll()))}configure(S){return this._loader.ready.pipe((0,se.U)(q=>q.configure(S)))}registerLanguage(S,q){return this._loader.ready.pipe((0,Oe.b)(ze=>ze.registerLanguage(S,q)))}unregisterLanguage(S){return this._loader.ready.pipe((0,Oe.b)(q=>q.unregisterLanguage(S)))}registerAliases(S,{languageName:q}){return this._loader.ready.pipe((0,Oe.b)(ze=>ze.registerAliases(S,{languageName:q})))}listLanguages(){return this._loader.ready.pipe((0,se.U)(S=>S.listLanguages()))}getLanguage(S){return this._loader.ready.pipe((0,se.U)(q=>q.getLanguage(S)))}safeMode(){return this._loader.ready.pipe((0,se.U)(S=>S.safeMode()))}debugMode(){return this._loader.ready.pipe((0,se.U)(S=>S.debugMode()))}lineNumbersBlock(S){return this._loader.ready.pipe((0,je.h)(q=>!!q.lineNumbersBlock),(0,Oe.b)(q=>q.lineNumbersBlock(S)))}}return R.\u0275fac=function(S){return new(S||R)(e.LFG(mt),e.LFG(we,8))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),qe=(()=>{class R{constructor(S,q,ze,N){this._hljs=q,this._sanitizer=ze,this._options=N,this.highlighted=new e.vpe,this._nativeElement=S.nativeElement}ngOnChanges(S){var q;null!==(null==S||null===(q=S.code)||void 0===q?void 0:q.currentValue)&&S.code.currentValue!==S.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(S,q){this.setTextContent(S),this._hljs.highlightAuto(S,q).subscribe(ze=>{this.setInnerHTML(null==ze?void 0:ze.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(ze)})}addLineNumbers(){this.destroyLineNumbersObserver(),Ae.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(S){Ae.schedule(()=>this._nativeElement.textContent=S)}setInnerHTML(S){Ae.schedule(()=>this._nativeElement.innerHTML=this._sanitizer.sanitize(e.q3G.HTML,S)||"")}}return R.\u0275fac=function(S){return new(S||R)(e.Y36(e.SBq),e.Y36(Qe),e.Y36(tt.H7),e.Y36(we,8))},R.\u0275dir=e.lG2({type:R,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(S,q){2&S&&e.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[e.TTD]}),R})(),Ge=(()=>{class R{}return R.\u0275fac=function(S){return new(S||R)},R.\u0275mod=e.oAB({type:R}),R.\u0275inj=e.cJS({}),R})()},5551:(Ht,Fe,c)=>{"use strict";c.d(Fe,{lF:()=>le,JP:()=>ut});var e=c(4537),s=c(8023),k=c(1860),z=c(4945),F=c(1995),ne=c(1528),W=c(116),te=c(2147),pe=c(6466),ce=c(3674),de=c(7969),Y=c(3528),ue=(c(9676),c(8692));function ie(Ne){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(U){return typeof U}:function(U){return U&&"function"==typeof Symbol&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U})(Ne)}let je={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 ee=/[&<>"']/,$e=new RegExp(ee.source,"g"),Oe=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,_t=new RegExp(Oe.source,"g"),vt={"&":"&","<":"<",">":">",'"':""","'":"'"},tt=Ne=>vt[Ne];function we(Ne,U){if(U){if(ee.test(Ne))return Ne.replace($e,tt)}else if(Oe.test(Ne))return Ne.replace(_t,tt);return Ne}const mt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function At(Ne){return Ne.replace(mt,(U,I)=>"colon"===(I=I.toLowerCase())?":":"#"===I.charAt(0)?"x"===I.charAt(1)?String.fromCharCode(parseInt(I.substring(2),16)):String.fromCharCode(+I.substring(1)):"")}const Qe=/(^|[^\[])\^/g;function qe(Ne,U){Ne="string"==typeof Ne?Ne:Ne.source,U=U||"";const I={replace:(A,$)=>($=($=$.source||$).replace(Qe,"$1"),Ne=Ne.replace(A,$),I),getRegex:()=>new RegExp(Ne,U)};return I}const Ge=/[^\w:]/g,R=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function be(Ne,U,I){if(Ne){let A;try{A=decodeURIComponent(At(I)).replace(Ge,"").toLowerCase()}catch{return null}if(0===A.indexOf("javascript:")||0===A.indexOf("vbscript:")||0===A.indexOf("data:"))return null}U&&!R.test(I)&&(I=function Se(Ne,U){S[" "+Ne]||(S[" "+Ne]=q.test(Ne)?Ne+"/":wt(Ne,"/",!0));const I=-1===(Ne=S[" "+Ne]).indexOf(":");return"//"===U.substring(0,2)?I?U:Ne.replace(ze,"$1")+U:"/"===U.charAt(0)?I?U:Ne.replace(N,"$1")+U:Ne+U}(U,I));try{I=encodeURI(I).replace(/%25/g,"%")}catch{return null}return I}const S={},q=/^[^:]+:\/*[^/]*$/,ze=/^([^:]+:)[\s\S]*$/,N=/^([^:]+:\/*[^/]*)[\s\S]*$/,et={exec:function(){}};function pt(Ne,U){const A=Ne.replace(/\|/g,(xe,ct,dt)=>{let Bt=!1,Yt=ct;for(;--Yt>=0&&"\\"===dt[Yt];)Bt=!Bt;return Bt?"|":" |"}).split(/ \|/);let $=0;if(A[0].trim()||A.shift(),A.length>0&&!A[A.length-1].trim()&&A.pop(),A.length>U)A.splice(U);else for(;A.length1;)1&U&&(I+=Ne),U>>=1,Ne+=Ne;return I+Ne}function It(Ne,U,I,A){const $=U.href,xe=U.title?we(U.title):null,ct=Ne[1].replace(/\\([\[\]])/g,"$1");if("!"!==Ne[0].charAt(0)){A.state.inLink=!0;const dt={type:"link",raw:I,href:$,title:xe,text:ct,tokens:A.inlineTokens(ct)};return A.state.inLink=!1,dt}return{type:"image",raw:I,href:$,title:xe,text:we(ct)}}class Zt{constructor(U){this.options=U||je}space(U){const I=this.rules.block.newline.exec(U);if(I&&I[0].length>0)return{type:"space",raw:I[0]}}code(U){const I=this.rules.block.code.exec(U);if(I){const A=I[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:I[0],codeBlockStyle:"indented",text:this.options.pedantic?A:wt(A,"\n")}}}fences(U){const I=this.rules.block.fences.exec(U);if(I){const A=I[0],$=function Rt(Ne,U){const I=Ne.match(/^(\s+)(?:```)/);if(null===I)return U;const A=I[1];return U.split("\n").map($=>{const xe=$.match(/^\s+/);if(null===xe)return $;const[ct]=xe;return ct.length>=A.length?$.slice(A.length):$}).join("\n")}(A,I[3]||"");return{type:"code",raw:A,lang:I[2]?I[2].trim().replace(this.rules.inline._escapes,"$1"):I[2],text:$}}}heading(U){const I=this.rules.block.heading.exec(U);if(I){let A=I[2].trim();if(/#$/.test(A)){const $=wt(A,"#");(this.options.pedantic||!$||/ $/.test($))&&(A=$.trim())}return{type:"heading",raw:I[0],depth:I[1].length,text:A,tokens:this.lexer.inline(A)}}}hr(U){const I=this.rules.block.hr.exec(U);if(I)return{type:"hr",raw:I[0]}}blockquote(U){const I=this.rules.block.blockquote.exec(U);if(I){const A=I[0].replace(/^ *>[ \t]?/gm,""),$=this.lexer.state.top;this.lexer.state.top=!0;const xe=this.lexer.blockTokens(A);return this.lexer.state.top=$,{type:"blockquote",raw:I[0],tokens:xe,text:A}}}list(U){let I=this.rules.block.list.exec(U);if(I){let A,$,xe,ct,dt,Bt,Yt,rn,en,gn,pn,In,Kn=I[1].trim();const mn=Kn.length>1,xn={type:"list",raw:"",ordered:mn,start:mn?+Kn.slice(0,-1):"",loose:!1,items:[]};Kn=mn?`\\d{1,9}\\${Kn.slice(-1)}`:`\\${Kn}`,this.options.pedantic&&(Kn=mn?Kn:"[*+-]");const $n=new RegExp(`^( {0,3}${Kn})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;U&&(In=!1,(I=$n.exec(U))&&!this.rules.block.hr.test(U));){if(A=I[0],U=U.substring(A.length),rn=I[2].split("\n",1)[0].replace(/^\t+/,ri=>" ".repeat(3*ri.length)),en=U.split("\n",1)[0],this.options.pedantic?(ct=2,pn=rn.trimLeft()):(ct=I[2].search(/[^ ]/),ct=ct>4?1:ct,pn=rn.slice(ct),ct+=I[1].length),Bt=!1,!rn&&/^ *$/.test(en)&&(A+=en+"\n",U=U.substring(en.length+1),In=!0),!In){const ri=new RegExp(`^ {0,${Math.min(3,ct-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),Xn=new RegExp(`^ {0,${Math.min(3,ct-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Yn=new RegExp(`^ {0,${Math.min(3,ct-1)}}(?:\`\`\`|~~~)`),Qn=new RegExp(`^ {0,${Math.min(3,ct-1)}}#`);for(;U&&(gn=U.split("\n",1)[0],en=gn,this.options.pedantic&&(en=en.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(Yn.test(en)||Qn.test(en)||ri.test(en)||Xn.test(U)));){if(en.search(/[^ ]/)>=ct||!en.trim())pn+="\n"+en.slice(ct);else{if(Bt||rn.search(/[^ ]/)>=4||Yn.test(rn)||Qn.test(rn)||Xn.test(rn))break;pn+="\n"+en}!Bt&&!en.trim()&&(Bt=!0),A+=gn+"\n",U=U.substring(gn.length+1),rn=en.slice(ct)}}xn.loose||(Yt?xn.loose=!0:/\n *\n *$/.test(A)&&(Yt=!0)),this.options.gfm&&($=/^\[[ xX]\] /.exec(pn),$&&(xe="[ ] "!==$[0],pn=pn.replace(/^\[[ xX]\] +/,""))),xn.items.push({type:"list_item",raw:A,task:!!$,checked:xe,loose:!1,text:pn}),xn.raw+=A}xn.items[xn.items.length-1].raw=A.trimRight(),xn.items[xn.items.length-1].text=pn.trimRight(),xn.raw=xn.raw.trimRight();const ci=xn.items.length;for(dt=0;dt"space"===Yn.type),Xn=ri.length>0&&ri.some(Yn=>/\n.*\n/.test(Yn.raw));xn.loose=Xn}if(xn.loose)for(dt=0;dt$/,"$1").replace(this.rules.inline._escapes,"$1"):"",xe=I[3]?I[3].substring(1,I[3].length-1).replace(this.rules.inline._escapes,"$1"):I[3];return{type:"def",tag:A,raw:I[0],href:$,title:xe}}}table(U){const I=this.rules.block.table.exec(U);if(I){const A={type:"table",header:pt(I[1]).map($=>({text:$})),align:I[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:I[3]&&I[3].trim()?I[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(A.header.length===A.align.length){A.raw=I[0];let xe,ct,dt,Bt,$=A.align.length;for(xe=0;xe<$;xe++)A.align[xe]=/^ *-+: *$/.test(A.align[xe])?"right":/^ *:-+: *$/.test(A.align[xe])?"center":/^ *:-+ *$/.test(A.align[xe])?"left":null;for($=A.rows.length,xe=0;xe<$;xe++)A.rows[xe]=pt(A.rows[xe],A.header.length).map(Yt=>({text:Yt}));for($=A.header.length,ct=0;ct<$;ct++)A.header[ct].tokens=this.lexer.inline(A.header[ct].text);for($=A.rows.length,ct=0;ct<$;ct++)for(Bt=A.rows[ct],dt=0;dt/i.test(I[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(I[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(I[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:I[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(I[0]):we(I[0]):I[0]}}link(U){const I=this.rules.inline.link.exec(U);if(I){const A=I[2].trim();if(!this.options.pedantic&&/^$/.test(A))return;const ct=wt(A.slice(0,-1),"\\");if((A.length-ct.length)%2==0)return}else{const ct=function Cn(Ne,U){if(-1===Ne.indexOf(U[1]))return-1;const I=Ne.length;let A=0,$=0;for(;$-1){const Bt=(0===I[0].indexOf("!")?5:4)+I[1].length+ct;I[2]=I[2].substring(0,ct),I[0]=I[0].substring(0,Bt).trim(),I[3]=""}}let $=I[2],xe="";if(this.options.pedantic){const ct=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec($);ct&&($=ct[1],xe=ct[3])}else xe=I[3]?I[3].slice(1,-1):"";return $=$.trim(),/^$/.test(A)?$.slice(1):$.slice(1,-1)),It(I,{href:$&&$.replace(this.rules.inline._escapes,"$1"),title:xe&&xe.replace(this.rules.inline._escapes,"$1")},I[0],this.lexer)}}reflink(U,I){let A;if((A=this.rules.inline.reflink.exec(U))||(A=this.rules.inline.nolink.exec(U))){let $=(A[2]||A[1]).replace(/\s+/g," ");if($=I[$.toLowerCase()],!$){const xe=A[0].charAt(0);return{type:"text",raw:xe,text:xe}}return It(A,$,A[0],this.lexer)}}emStrong(U,I,A=""){let $=this.rules.inline.emStrong.lDelim.exec(U);if(!$||$[3]&&A.match(/[\p{L}\p{N}]/u))return;const xe=$[1]||$[2]||"";if(!xe||xe&&(""===A||this.rules.inline.punctuation.exec(A))){const ct=$[0].length-1;let dt,Bt,Yt=ct,rn=0;const en="*"===$[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(en.lastIndex=0,I=I.slice(-1*U.length+ct);null!=($=en.exec(I));){if(dt=$[1]||$[2]||$[3]||$[4]||$[5]||$[6],!dt)continue;if(Bt=dt.length,$[3]||$[4]){Yt+=Bt;continue}if(($[5]||$[6])&&ct%3&&!((ct+Bt)%3)){rn+=Bt;continue}if(Yt-=Bt,Yt>0)continue;Bt=Math.min(Bt,Bt+Yt+rn);const gn=U.slice(0,ct+$.index+($[0].length-dt.length)+Bt);if(Math.min(ct,Bt)%2){const In=gn.slice(1,-1);return{type:"em",raw:gn,text:In,tokens:this.lexer.inlineTokens(In)}}const pn=gn.slice(2,-2);return{type:"strong",raw:gn,text:pn,tokens:this.lexer.inlineTokens(pn)}}}}codespan(U){const I=this.rules.inline.code.exec(U);if(I){let A=I[2].replace(/\n/g," ");const $=/[^ ]/.test(A),xe=/^ /.test(A)&&/ $/.test(A);return $&&xe&&(A=A.substring(1,A.length-1)),A=we(A,!0),{type:"codespan",raw:I[0],text:A}}}br(U){const I=this.rules.inline.br.exec(U);if(I)return{type:"br",raw:I[0]}}del(U){const I=this.rules.inline.del.exec(U);if(I)return{type:"del",raw:I[0],text:I[2],tokens:this.lexer.inlineTokens(I[2])}}autolink(U,I){const A=this.rules.inline.autolink.exec(U);if(A){let $,xe;return"@"===A[2]?($=we(this.options.mangle?I(A[1]):A[1]),xe="mailto:"+$):($=we(A[1]),xe=$),{type:"link",raw:A[0],text:$,href:xe,tokens:[{type:"text",raw:$,text:$}]}}}url(U,I){let A;if(A=this.rules.inline.url.exec(U)){let $,xe;if("@"===A[2])$=we(this.options.mangle?I(A[0]):A[0]),xe="mailto:"+$;else{let ct;do{ct=A[0],A[0]=this.rules.inline._backpedal.exec(A[0])[0]}while(ct!==A[0]);$=we(A[0]),xe="www."===A[1]?"http://"+A[0]:A[0]}return{type:"link",raw:A[0],text:$,href:xe,tokens:[{type:"text",raw:$,text:$}]}}}inlineText(U,I){const A=this.rules.inline.text.exec(U);if(A){let $;return $=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(A[0]):we(A[0]):A[0]:we(this.options.smartypants?I(A[0]):A[0]),{type:"text",raw:A[0],text:$}}}}const Ut={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:et,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?'|\([^()]*\))/};Ut.def=qe(Ut.def).replace("label",Ut._label).replace("title",Ut._title).getRegex(),Ut.bullet=/(?:[*+-]|\d{1,9}[.)])/,Ut.listItemStart=qe(/^( *)(bull) */).replace("bull",Ut.bullet).getRegex(),Ut.list=qe(Ut.list).replace(/bull/g,Ut.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ut.def.source+")").getRegex(),Ut._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",Ut._comment=/|$)/,Ut.html=qe(Ut.html,"i").replace("comment",Ut._comment).replace("tag",Ut._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ut.paragraph=qe(Ut._paragraph).replace("hr",Ut.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",Ut._tag).getRegex(),Ut.blockquote=qe(Ut.blockquote).replace("paragraph",Ut.paragraph).getRegex(),Ut.normal={...Ut},Ut.gfm={...Ut.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},Ut.gfm.table=qe(Ut.gfm.table).replace("hr",Ut.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",Ut._tag).getRegex(),Ut.gfm.paragraph=qe(Ut._paragraph).replace("hr",Ut.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Ut.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",Ut._tag).getRegex(),Ut.pedantic={...Ut.normal,html:qe("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Ut._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:et,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:qe(Ut.normal._paragraph).replace("hr",Ut.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Ut.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const Dt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:et,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:et,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(A="x"+A.toString(16)),U+="&#"+A+";";return U}Dt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Dt.punctuation=qe(Dt.punctuation).replace(/punctuation/g,Dt._punctuation).getRegex(),Dt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Dt.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,Dt._comment=qe(Ut._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Dt.emStrong.lDelim=qe(Dt.emStrong.lDelim).replace(/punct/g,Dt._punctuation).getRegex(),Dt.emStrong.rDelimAst=qe(Dt.emStrong.rDelimAst,"g").replace(/punct/g,Dt._punctuation).getRegex(),Dt.emStrong.rDelimUnd=qe(Dt.emStrong.rDelimUnd,"g").replace(/punct/g,Dt._punctuation).getRegex(),Dt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Dt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Dt._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])?)+(?![-_])/,Dt.autolink=qe(Dt.autolink).replace("scheme",Dt._scheme).replace("email",Dt._email).getRegex(),Dt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Dt.tag=qe(Dt.tag).replace("comment",Dt._comment).replace("attribute",Dt._attribute).getRegex(),Dt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Dt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Dt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Dt.link=qe(Dt.link).replace("label",Dt._label).replace("href",Dt._href).replace("title",Dt._title).getRegex(),Dt.reflink=qe(Dt.reflink).replace("label",Dt._label).replace("ref",Ut._label).getRegex(),Dt.nolink=qe(Dt.nolink).replace("ref",Ut._label).getRegex(),Dt.reflinkSearch=qe(Dt.reflinkSearch,"g").replace("reflink",Dt.reflink).replace("nolink",Dt.nolink).getRegex(),Dt.normal={...Dt},Dt.pedantic={...Dt.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:qe(/^!?\[(label)\]\((.*?)\)/).replace("label",Dt._label).getRegex(),reflink:qe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Dt._label).getRegex()},Dt.gfm={...Dt.normal,escape:qe(Dt.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]*?(?:(?=[\\Bt+" ".repeat(Yt.length));U;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(dt=>!!(A=dt.call({lexer:this},U,I))&&(U=U.substring(A.raw.length),I.push(A),!0)))){if(A=this.tokenizer.space(U)){U=U.substring(A.raw.length),1===A.raw.length&&I.length>0?I[I.length-1].raw+="\n":I.push(A);continue}if(A=this.tokenizer.code(U)){U=U.substring(A.raw.length),$=I[I.length-1],!$||"paragraph"!==$.type&&"text"!==$.type?I.push(A):($.raw+="\n"+A.raw,$.text+="\n"+A.text,this.inlineQueue[this.inlineQueue.length-1].src=$.text);continue}if(A=this.tokenizer.fences(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.heading(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.hr(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.blockquote(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.list(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.html(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.def(U)){U=U.substring(A.raw.length),$=I[I.length-1],!$||"paragraph"!==$.type&&"text"!==$.type?this.tokens.links[A.tag]||(this.tokens.links[A.tag]={href:A.href,title:A.title}):($.raw+="\n"+A.raw,$.text+="\n"+A.raw,this.inlineQueue[this.inlineQueue.length-1].src=$.text);continue}if(A=this.tokenizer.table(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.lheading(U)){U=U.substring(A.raw.length),I.push(A);continue}if(xe=U,this.options.extensions&&this.options.extensions.startBlock){let dt=1/0;const Bt=U.slice(1);let Yt;this.options.extensions.startBlock.forEach(function(rn){Yt=rn.call({lexer:this},Bt),"number"==typeof Yt&&Yt>=0&&(dt=Math.min(dt,Yt))}),dt<1/0&&dt>=0&&(xe=U.substring(0,dt+1))}if(this.state.top&&(A=this.tokenizer.paragraph(xe))){$=I[I.length-1],ct&&"paragraph"===$.type?($.raw+="\n"+A.raw,$.text+="\n"+A.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=$.text):I.push(A),ct=xe.length!==U.length,U=U.substring(A.raw.length);continue}if(A=this.tokenizer.text(U)){U=U.substring(A.raw.length),$=I[I.length-1],$&&"text"===$.type?($.raw+="\n"+A.raw,$.text+="\n"+A.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=$.text):I.push(A);continue}if(U){const dt="Infinite loop on byte: "+U.charCodeAt(0);if(this.options.silent){console.error(dt);break}throw new Error(dt)}}return this.state.top=!0,I}inline(U,I=[]){return this.inlineQueue.push({src:U,tokens:I}),I}inlineTokens(U,I=[]){let A,$,xe,dt,Bt,Yt,ct=U;if(this.tokens.links){const rn=Object.keys(this.tokens.links);if(rn.length>0)for(;null!=(dt=this.tokenizer.rules.inline.reflinkSearch.exec(ct));)rn.includes(dt[0].slice(dt[0].lastIndexOf("[")+1,-1))&&(ct=ct.slice(0,dt.index)+"["+Ft("a",dt[0].length-2)+"]"+ct.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(dt=this.tokenizer.rules.inline.blockSkip.exec(ct));)ct=ct.slice(0,dt.index)+"["+Ft("a",dt[0].length-2)+"]"+ct.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(dt=this.tokenizer.rules.inline.escapedEmSt.exec(ct));)ct=ct.slice(0,dt.index+dt[0].length-2)+"++"+ct.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;U;)if(Bt||(Yt=""),Bt=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(rn=>!!(A=rn.call({lexer:this},U,I))&&(U=U.substring(A.raw.length),I.push(A),!0)))){if(A=this.tokenizer.escape(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.tag(U)){U=U.substring(A.raw.length),$=I[I.length-1],$&&"text"===A.type&&"text"===$.type?($.raw+=A.raw,$.text+=A.text):I.push(A);continue}if(A=this.tokenizer.link(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.reflink(U,this.tokens.links)){U=U.substring(A.raw.length),$=I[I.length-1],$&&"text"===A.type&&"text"===$.type?($.raw+=A.raw,$.text+=A.text):I.push(A);continue}if(A=this.tokenizer.emStrong(U,ct,Yt)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.codespan(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.br(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.del(U)){U=U.substring(A.raw.length),I.push(A);continue}if(A=this.tokenizer.autolink(U,Qt)){U=U.substring(A.raw.length),I.push(A);continue}if(!this.state.inLink&&(A=this.tokenizer.url(U,Qt))){U=U.substring(A.raw.length),I.push(A);continue}if(xe=U,this.options.extensions&&this.options.extensions.startInline){let rn=1/0;const en=U.slice(1);let gn;this.options.extensions.startInline.forEach(function(pn){gn=pn.call({lexer:this},en),"number"==typeof gn&&gn>=0&&(rn=Math.min(rn,gn))}),rn<1/0&&rn>=0&&(xe=U.substring(0,rn+1))}if(A=this.tokenizer.inlineText(xe,Xt)){U=U.substring(A.raw.length),"_"!==A.raw.slice(-1)&&(Yt=A.raw.slice(-1)),Bt=!0,$=I[I.length-1],$&&"text"===$.type?($.raw+=A.raw,$.text+=A.text):I.push(A);continue}if(U){const rn="Infinite loop on byte: "+U.charCodeAt(0);if(this.options.silent){console.error(rn);break}throw new Error(rn)}}return I}}class cn{constructor(U){this.options=U||je}code(U,I,A){const $=(I||"").match(/\S*/)[0];if(this.options.highlight){const xe=this.options.highlight(U,$);null!=xe&&xe!==U&&(A=!0,U=xe)}return U=U.replace(/\n$/,"")+"\n",$?'
    '+(A?U:we(U,!0))+"
    \n":"
    "+(A?U:we(U,!0))+"
    \n"}blockquote(U){return`
    \n${U}
    \n`}html(U){return U}heading(U,I,A,$){return this.options.headerIds?`${U}\n`:`${U}\n`}hr(){return this.options.xhtml?"
    \n":"
    \n"}list(U,I,A){const $=I?"ol":"ul";return"<"+$+(I&&1!==A?' start="'+A+'"':"")+">\n"+U+"\n"}listitem(U){return`
  • ${U}
  • \n`}checkbox(U){return" "}paragraph(U){return`

    ${U}

    \n`}table(U,I){return I&&(I=`${I}`),"\n\n"+U+"\n"+I+"
    \n"}tablerow(U){return`\n${U}\n`}tablecell(U,I){const A=I.header?"th":"td";return(I.align?`<${A} align="${I.align}">`:`<${A}>`)+U+`\n`}strong(U){return`${U}`}em(U){return`${U}`}codespan(U){return`${U}`}br(){return this.options.xhtml?"
    ":"
    "}del(U){return`${U}`}link(U,I,A){if(null===(U=be(this.options.sanitize,this.options.baseUrl,U)))return A;let $='
    ",$}image(U,I,A){if(null===(U=be(this.options.sanitize,this.options.baseUrl,U)))return A;let $=`${A}":">",$}text(U){return U}}class yt{strong(U){return U}em(U){return U}codespan(U){return U}del(U){return U}html(U){return U}text(U){return U}link(U,I,A){return""+A}image(U,I,A){return""+A}br(){return""}}class Re{constructor(){this.seen={}}serialize(U){return U.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(U,I){let A=U,$=0;if(this.seen.hasOwnProperty(A)){$=this.seen[U];do{$++,A=U+"-"+$}while(this.seen.hasOwnProperty(A))}return I||(this.seen[U]=$,this.seen[A]=0),A}slug(U,I={}){const A=this.serialize(U);return this.getNextSafeSlug(A,I.dryrun)}}class he{constructor(U){this.options=U||je,this.options.renderer=this.options.renderer||new cn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new yt,this.slugger=new Re}static parse(U,I){return new he(I).parse(U)}static parseInline(U,I){return new he(I).parseInline(U)}parse(U,I=!0){let $,xe,ct,dt,Bt,Yt,rn,en,gn,pn,In,Kn,mn,xn,$n,ci,ri,Xn,Yn,A="";const Qn=U.length;for($=0;$0&&"paragraph"===$n.tokens[0].type?($n.tokens[0].text=Xn+" "+$n.tokens[0].text,$n.tokens[0].tokens&&$n.tokens[0].tokens.length>0&&"text"===$n.tokens[0].tokens[0].type&&($n.tokens[0].tokens[0].text=Xn+" "+$n.tokens[0].tokens[0].text)):$n.tokens.unshift({type:"text",text:Xn}):xn+=Xn),xn+=this.parse($n.tokens,mn),gn+=this.renderer.listitem(xn,ri,ci);A+=this.renderer.list(gn,In,Kn);continue;case"html":A+=this.renderer.html(pn.text);continue;case"paragraph":A+=this.renderer.paragraph(this.parseInline(pn.tokens));continue;case"text":for(gn=pn.tokens?this.parseInline(pn.tokens):pn.text;$+1{"function"==typeof A&&($=A,A=null);const xe={...A},ct=function Xe(Ne,U,I){return A=>{if(A.message+="\nPlease report this to https://github.com/markedjs/marked.",Ne){const $="

    An error occurred:

    "+we(A.message+"",!0)+"
    ";return U?Promise.resolve($):I?void I(null,$):$}if(U)return Promise.reject(A);if(!I)throw A;I(A)}}((A={...fe.defaults,...xe}).silent,A.async,$);if(typeof I>"u"||null===I)return ct(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof I)return ct(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(I)+", string expected"));if(function St(Ne){Ne&&Ne.sanitize&&!Ne.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")}(A),A.hooks&&(A.hooks.options=A),$){const dt=A.highlight;let Bt;try{A.hooks&&(I=A.hooks.preprocess(I)),Bt=Ne(I,A)}catch(en){return ct(en)}const Yt=function(en){let gn;if(!en)try{A.walkTokens&&fe.walkTokens(Bt,A.walkTokens),gn=U(Bt,A),A.hooks&&(gn=A.hooks.postprocess(gn))}catch(pn){en=pn}return A.highlight=dt,en?ct(en):$(null,gn)};if(!dt||dt.length<3||(delete A.highlight,!Bt.length))return Yt();let rn=0;return fe.walkTokens(Bt,function(en){"code"===en.type&&(rn++,setTimeout(()=>{dt(en.text,en.lang,function(gn,pn){if(gn)return Yt(gn);null!=pn&&pn!==en.text&&(en.text=pn,en.escaped=!0),rn--,0===rn&&Yt()})},0))}),void(0===rn&&Yt())}if(A.async)return Promise.resolve(A.hooks?A.hooks.preprocess(I):I).then(dt=>Ne(dt,A)).then(dt=>A.walkTokens?Promise.all(fe.walkTokens(dt,A.walkTokens)).then(()=>dt):dt).then(dt=>U(dt,A)).then(dt=>A.hooks?A.hooks.postprocess(dt):dt).catch(ct);try{A.hooks&&(I=A.hooks.preprocess(I));const dt=Ne(I,A);A.walkTokens&&fe.walkTokens(dt,A.walkTokens);let Bt=U(dt,A);return A.hooks&&(Bt=A.hooks.postprocess(Bt)),Bt}catch(dt){return ct(dt)}}}function fe(Ne,U,I){return Le(hn.lex,he.parse)(Ne,U,I)}!function Ae(Ne,U,I){(U=function ve(Ne){var U=function Ue(Ne,U){if("object"!==ie(Ne)||null===Ne)return Ne;var I=Ne[Symbol.toPrimitive];if(void 0!==I){var A=I.call(Ne,U||"default");if("object"!==ie(A))return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===U?String:Number)(Ne)}(Ne,"string");return"symbol"===ie(U)?U:String(U)}(U))in Ne?Object.defineProperty(Ne,U,{value:I,enumerable:!0,configurable:!0,writable:!0}):Ne[U]=I}(re,"passThroughHooks",new Set(["preprocess","postprocess"])),fe.options=fe.setOptions=function(Ne){return function se(Ne){je=Ne}(fe.defaults={...fe.defaults,...Ne}),fe},fe.getDefaults=function Ve(){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}},fe.defaults=je,fe.use=function(...Ne){const U=fe.defaults.extensions||{renderers:{},childTokens:{}};Ne.forEach(I=>{const A={...I};if(A.async=fe.defaults.async||A.async||!1,I.extensions&&(I.extensions.forEach($=>{if(!$.name)throw new Error("extension name required");if($.renderer){const xe=U.renderers[$.name];U.renderers[$.name]=xe?function(...ct){let dt=$.renderer.apply(this,ct);return!1===dt&&(dt=xe.apply(this,ct)),dt}:$.renderer}if($.tokenizer){if(!$.level||"block"!==$.level&&"inline"!==$.level)throw new Error("extension level must be 'block' or 'inline'");U[$.level]?U[$.level].unshift($.tokenizer):U[$.level]=[$.tokenizer],$.start&&("block"===$.level?U.startBlock?U.startBlock.push($.start):U.startBlock=[$.start]:"inline"===$.level&&(U.startInline?U.startInline.push($.start):U.startInline=[$.start]))}$.childTokens&&(U.childTokens[$.name]=$.childTokens)}),A.extensions=U),I.renderer){const $=fe.defaults.renderer||new cn;for(const xe in I.renderer){const ct=$[xe];$[xe]=(...dt)=>{let Bt=I.renderer[xe].apply($,dt);return!1===Bt&&(Bt=ct.apply($,dt)),Bt}}A.renderer=$}if(I.tokenizer){const $=fe.defaults.tokenizer||new Zt;for(const xe in I.tokenizer){const ct=$[xe];$[xe]=(...dt)=>{let Bt=I.tokenizer[xe].apply($,dt);return!1===Bt&&(Bt=ct.apply($,dt)),Bt}}A.tokenizer=$}if(I.hooks){const $=fe.defaults.hooks||new re;for(const xe in I.hooks){const ct=$[xe];$[xe]=re.passThroughHooks.has(xe)?dt=>{if(fe.defaults.async)return Promise.resolve(I.hooks[xe].call($,dt)).then(Yt=>ct.call($,Yt));const Bt=I.hooks[xe].call($,dt);return ct.call($,Bt)}:(...dt)=>{let Bt=I.hooks[xe].apply($,dt);return!1===Bt&&(Bt=ct.apply($,dt)),Bt}}A.hooks=$}if(I.walkTokens){const $=fe.defaults.walkTokens;A.walkTokens=function(xe){let ct=[];return ct.push(I.walkTokens.call(this,xe)),$&&(ct=ct.concat($.call(this,xe))),ct}}fe.setOptions(A)})},fe.walkTokens=function(Ne,U){let I=[];for(const A of Ne)switch(I=I.concat(U.call(fe,A)),A.type){case"table":for(const $ of A.header)I=I.concat(fe.walkTokens($.tokens,U));for(const $ of A.rows)for(const xe of $)I=I.concat(fe.walkTokens(xe.tokens,U));break;case"list":I=I.concat(fe.walkTokens(A.items,U));break;default:fe.defaults.extensions&&fe.defaults.extensions.childTokens&&fe.defaults.extensions.childTokens[A.type]?fe.defaults.extensions.childTokens[A.type].forEach(function($){I=I.concat(fe.walkTokens(A[$],U))}):A.tokens&&(I=I.concat(fe.walkTokens(A.tokens,U)))}return I},fe.parseInline=Le(hn.lexInline,he.parseInline),fe.Parser=he,fe.parser=he.parse,fe.Renderer=cn,fe.TextRenderer=yt,fe.Lexer=hn,fe.lexer=hn.lex,fe.Tokenizer=Zt,fe.Slugger=Re,fe.Hooks=re,fe.parse=fe;var Pt=c(5732),an=c(5998);const fn=["*"];let lt=(()=>{class Ne{constructor(){this._buttonClick$=new s.x,this.copied$=this._buttonClick$.pipe((0,ne.w)(()=>(0,k.T)((0,z.of)(!0),(0,F.H)(3e3).pipe((0,W.h)(!1)))),(0,te.x)(),(0,pe.d)(1)),this.copiedText$=this.copied$.pipe((0,ce.O)(!1),(0,de.U)(I=>I?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}}return Ne.\u0275fac=function(I){return new(I||Ne)},Ne.\u0275cmp=e.Xpm({type:Ne,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(I,A){1&I&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return A.onCopyToClipboardClick()}),e.ALo(1,"async"),e._uU(2),e.ALo(3,"async"),e.qZA()),2&I&&(e.ekj("copied",e.lcZ(1,3,A.copied$)),e.xp6(2),e.Oqu(e.lcZ(3,5,A.copiedText$)))},dependencies:[ue.Ov],encapsulation:2,changeDetection:0}),Ne})();class it{}var bt=(()=>{return(Ne=bt||(bt={})).CommandLine="command-line",Ne.LineHighlight="line-highlight",Ne.LineNumbers="line-numbers",bt;var Ne})();class gt{}const oe=new e.OlP("SECURITY_CONTEXT");let H=(()=>{class Ne{constructor(I,A,$,xe,ct,dt){this.platform=I,this.securityContext=A,this.http=$,this.clipboardOptions=xe,this.sanitizer=dt,this.DEFAULT_MARKED_OPTIONS={renderer:new cn},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 s.x,this.reload$=this._reload$.asObservable(),this.options=ct}get options(){return this._options}set options(I){this._options={...this.DEFAULT_MARKED_OPTIONS,...I}}get renderer(){return this.options.renderer}set renderer(I){this.options.renderer=I}parse(I,A=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:$,inline:xe,emoji:ct,mermaid:dt,disableSanitizer:Bt}=A,Yt={...this.options,...A.markedOptions};dt&&(this.renderer=this.extendRenderer(Yt.renderer||new cn));const rn=this.trimIndentation(I),en=$?this.decodeHtml(rn):rn,gn=ct?this.parseEmoji(en):en,pn=this.parseMarked(gn,Yt,xe);return(Bt?pn:this.sanitizer.sanitize(this.securityContext,pn))||""}render(I,A=this.DEFAULT_RENDER_OPTIONS,$){const{clipboard:xe,clipboardOptions:ct,katex:dt,katexOptions:Bt,mermaid:Yt,mermaidOptions:rn}=A;xe&&this.renderClipboard(I,$,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...ct}),dt&&this.renderKatex(I,{...this.DEFAULT_KATEX_OPTIONS,...Bt}),Yt&&this.renderMermaid(I,{...this.DEFAULT_MERMAID_OPTIONS,...rn}),this.highlight(I)}reload(){this._reload$.next()}getSource(I){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(I,{responseType:"text"}).pipe((0,de.U)(A=>this.handleExtension(I,A)))}highlight(I){if(!(0,ue.NF)(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;I||(I=document);const A=I.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(A,$=>$.classList.add("language-none")),Prism.highlightAllUnder(I)}decodeHtml(I){if(!(0,ue.NF)(this.platform))return I;const A=document.createElement("textarea");return A.innerHTML=I,A.value}extendRenderer(I){const A=I;if(!0===A.\u0275NgxMarkdownRendererExtended)return I;const $=I.code;return I.code=function(xe,ct,dt){return"mermaid"===ct?`
    ${xe}
    `:$.call(this,xe,ct,dt)},A.\u0275NgxMarkdownRendererExtended=!0,I}handleExtension(I,A){const $=I.lastIndexOf("://"),xe=$>-1?I.substring($+4):I,ct=xe.lastIndexOf("/"),dt=ct>-1?xe.substring(ct+1).split("?")[0]:"",Bt=dt.lastIndexOf("."),Yt=Bt>-1?dt.substring(Bt+1):"";return Yt&&"md"!==Yt?"```"+Yt+"\n"+A+"\n```":A}parseMarked(I,A,$=!1){return $?fe.parseInline(I,A):fe.parse(I,A)}parseEmoji(I){if(!(0,ue.NF)(this.platform))return I;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(I)}renderKatex(I,A){if((0,ue.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(I,A)}}renderClipboard(I,A,$){if(!(0,ue.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(!A)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:xe,buttonTemplate:ct}=$,dt=I.querySelectorAll("pre");for(let Bt=0;Bten.style.opacity="1",Yt.onmouseout=()=>en.style.opacity="0",gn=xe?A.createComponent(xe).hostView:ct?A.createEmbeddedView(ct):A.createComponent(lt).hostView,gn.rootNodes.forEach(In=>{In.onmouseover=()=>en.style.opacity="1",en.appendChild(In),pn=new ClipboardJS(In,{text:()=>Yt.innerText})}),gn.onDestroy(()=>pn.destroy())}}renderMermaid(I,A=this.DEFAULT_MERMAID_OPTIONS){if(!(0,ue.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 $=I.querySelectorAll(".mermaid");0!==$.length&&(mermaid.initialize(A),mermaid.init($))}trimIndentation(I){if(!I)return"";let A;return I.split("\n").map($=>{let xe=A;return $.length>0&&(xe=isNaN(xe)?$.search(/\S|$/):Math.min($.search(/\S|$/),xe)),isNaN(A)&&(A=xe),xe?$.substring(xe):$}).join("\n")}}return Ne.\u0275fac=function(I){return new(I||Ne)(e.LFG(e.Lbi),e.LFG(oe),e.LFG(Pt.eN,8),e.LFG(it,8),e.LFG(gt,8),e.LFG(an.H7))},Ne.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),le=(()=>{class Ne{constructor(I,A,$){this.element=I,this.markdownService=A,this.viewContainerRef=$,this.error=new e.vpe,this.load=new e.vpe,this.ready=new e.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 s.x}get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(I){this._disableSanitizer=this.coerceBooleanProperty(I)}get inline(){return this._inline}set inline(I){this._inline=this.coerceBooleanProperty(I)}get srcRelativeLink(){return this._srcRelativeLink}set srcRelativeLink(I){this._srcRelativeLink=this.coerceBooleanProperty(I)}get clipboard(){return this._clipboard}set clipboard(I){this._clipboard=this.coerceBooleanProperty(I)}get emoji(){return this._emoji}set emoji(I){this._emoji=this.coerceBooleanProperty(I)}get katex(){return this._katex}set katex(I){this._katex=this.coerceBooleanProperty(I)}get mermaid(){return this._mermaid}set mermaid(I){this._mermaid=this.coerceBooleanProperty(I)}get lineHighlight(){return this._lineHighlight}set lineHighlight(I){this._lineHighlight=this.coerceBooleanProperty(I)}get lineNumbers(){return this._lineNumbers}set lineNumbers(I){this._lineNumbers=this.coerceBooleanProperty(I)}get commandLine(){return this._commandLine}set commandLine(I){this._commandLine=this.coerceBooleanProperty(I)}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,Y.R)(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(I,A=!1){let $;this.src&&this.srcRelativeLink&&($={baseUrl:new URL(this.src,location.origin).pathname});const ct={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},dt=this.markdownService.parse(I,{decodeHtml:A,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,markedOptions:$,disableSanitizer:this.disableSanitizer});this.element.nativeElement.innerHTML=dt,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,ct,this.viewContainerRef),this.ready.emit()}coerceBooleanProperty(I){return null!=I&&"false"!=`${String(I)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:I=>{this.render(I),this.load.emit(I)},error:I=>this.error.emit(I)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,bt.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,bt.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(I,A){const $=I.querySelectorAll("pre");for(let xe=0;xe<$.length;xe++){const ct=A instanceof Array?A:[A];$.item(xe).classList.add(...ct)}}setPluginOptions(I,A){const $=I.querySelectorAll("pre");for(let xe=0;xe<$.length;xe++)Object.keys(A).forEach(ct=>{const dt=A[ct];if(dt){const Bt=this.toLispCase(ct);$.item(xe).setAttribute(Bt,dt.toString())}})}toLispCase(I){const A=I.match(/([A-Z])/g);if(!A)return I;let $=I.toString();for(let xe=0,ct=A.length;xe{class Ne{static forRoot(I){return{ngModule:Ne,providers:[H,I&&I.loader||[],I&&I.clipboardOptions||[],I&&I.markedOptions||[],{provide:oe,useValue:I&&null!=I.sanitize?I.sanitize:e.q3G.HTML}]}}static forChild(){return{ngModule:Ne}}}return Ne.\u0275fac=function(I){return new(I||Ne)},Ne.\u0275mod=e.oAB({type:Ne}),Ne.\u0275inj=e.cJS({imports:[ue.ez]}),Ne})();var He;!function(Ne){let U;var $;let I,A;($=U=Ne.SecurityLevel||(Ne.SecurityLevel={})).Strict="strict",$.Loose="loose",$.Antiscript="antiscript",$.Sandbox="sandbox",function($){$.Base="base",$.Forest="forest",$.Dark="dark",$.Default="default",$.Neutral="neutral"}(I=Ne.Theme||(Ne.Theme={})),function($){$[$.Debug=1]="Debug",$[$.Info=2]="Info",$[$.Warn=3]="Warn",$[$.Error=4]="Error",$[$.Fatal=5]="Fatal"}(A=Ne.LogLevel||(Ne.LogLevel={}))}(He||(He={}))},8239:(Ht,Fe,c)=>{"use strict";function e(k,z,F,ne,W,te,pe){try{var ce=k[te](pe),de=ce.value}catch(Y){return void F(Y)}ce.done?z(de):Promise.resolve(de).then(ne,W)}function s(k){return function(){var z=this,F=arguments;return new Promise(function(ne,W){var te=k.apply(z,F);function pe(de){e(te,ne,W,pe,ce,"next",de)}function ce(de){e(te,ne,W,pe,ce,"throw",de)}pe(void 0)})}}c.d(Fe,{Z:()=>s})},4911:(Ht,Fe,c)=>{"use strict";function z(S,q){var ze={};for(var N in S)Object.prototype.hasOwnProperty.call(S,N)&&q.indexOf(N)<0&&(ze[N]=S[N]);if(null!=S&&"function"==typeof Object.getOwnPropertySymbols){var Se=0;for(N=Object.getOwnPropertySymbols(S);Se=0;wt--)(pt=S[wt])&&(et=(Se<3?pt(et):Se>3?pt(q,ze,et):pt(q,ze))||et);return Se>3&&et&&Object.defineProperty(q,ze,et),et}function Y(S,q,ze,N){return new(ze||(ze=Promise))(function(et,pt){function wt(Ft){try{St(N.next(Ft))}catch(It){pt(It)}}function Cn(Ft){try{St(N.throw(Ft))}catch(It){pt(It)}}function St(Ft){Ft.done?et(Ft.value):function Se(et){return et instanceof ze?et:new ze(function(pt){pt(et)})}(Ft.value).then(wt,Cn)}St((N=N.apply(S,q||[])).next())})}function se(S){return this instanceof se?(this.v=S,this):new se(S)}function ee(S,q,ze){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Se,N=ze.apply(S,q||[]),et=[];return Se={},pt("next"),pt("throw"),pt("return"),Se[Symbol.asyncIterator]=function(){return this},Se;function pt(Rt){N[Rt]&&(Se[Rt]=function(Zt){return new Promise(function(Ut,Dt){et.push([Rt,Zt,Ut,Dt])>1||wt(Rt,Zt)})})}function wt(Rt,Zt){try{!function Cn(Rt){Rt.value instanceof se?Promise.resolve(Rt.value.v).then(St,Ft):It(et[0][2],Rt)}(N[Rt](Zt))}catch(Ut){It(et[0][3],Ut)}}function St(Rt){wt("next",Rt)}function Ft(Rt){wt("throw",Rt)}function It(Rt,Zt){Rt(Zt),et.shift(),et.length&&wt(et[0][0],et[0][1])}}function Oe(S){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ze,q=S[Symbol.asyncIterator];return q?q.call(S):(S=function Ue(S){var q="function"==typeof Symbol&&Symbol.iterator,ze=q&&S[q],N=0;if(ze)return ze.call(S);if(S&&"number"==typeof S.length)return{next:function(){return S&&N>=S.length&&(S=void 0),{value:S&&S[N++],done:!S}}};throw new TypeError(q?"Object is not iterable.":"Symbol.iterator is not defined.")}(S),ze={},N("next"),N("throw"),N("return"),ze[Symbol.asyncIterator]=function(){return this},ze);function N(et){ze[et]=S[et]&&function(pt){return new Promise(function(wt,Cn){!function Se(et,pt,wt,Cn){Promise.resolve(Cn).then(function(St){et({value:St,done:wt})},pt)}(wt,Cn,(pt=S[et](pt)).done,pt.value)})}}}c.d(Fe,{FC:()=>ee,KL:()=>Oe,_T:()=>z,gn:()=>F,mG:()=>Y,qq:()=>se}),"function"==typeof SuppressedError&&SuppressedError}},Ht=>{Ht(Ht.s=8179)}]); \ No newline at end of file diff --git a/recipes/card/index.html b/recipes/card/index.html index 7ec91d973..366f95cf9 100644 --- a/recipes/card/index.html +++ b/recipes/card/index.html @@ -22,7 +22,7 @@ -

    Card
    Recipes

    Creating mask for credit card input requires basic understanding of the following topics:

        
    +        

    Card
    Recipes

    Creating mask for credit card input requires basic understanding of the following topics:

        
         
    @@ -35,6 +35,6 @@
    - + \ No newline at end of file diff --git a/recipes/phone/index.html b/recipes/phone/index.html index 73e1f30e4..ba1493861 100644 --- a/recipes/phone/index.html +++ b/recipes/phone/index.html @@ -22,7 +22,7 @@ -

    Phone
    Recipes

    Creating mask for a phone number is simple. The only required knowledge is the pattern mask expression with fixed characters . Read more about it in "Mask expression" section.

    This page demonstrates some examples for different countries.

    United States

    Flag of the United States
        
    +        

    Phone
    Recipes

    Creating mask for a phone number is simple. The only required knowledge is the pattern mask expression with fixed characters . Read more about it in "Mask expression" section.

    This page demonstrates some examples for different countries.

    United States

    Flag of the United States
        
         
    @@ -52,7 +52,7 @@
    -

    Kazakhstan

    The following example demonstrates a more complex mask. It shows how to make the country prefix non-removable. It is achieved by built-in postprocessor from @maskito/kit .

    Read more about it in "With prefix" section.

    Flag of Kazakhstan
        
    +

    Kazakhstan

    The following example demonstrates a more complex mask. It shows how to make the country prefix non-removable. It is achieved by built-in postprocessor from @maskito/kit .

    Read more about it in "With prefix" section.

    Flag of Kazakhstan
        
         
    @@ -83,6 +83,6 @@
    - + \ No newline at end of file diff --git a/recipes/placeholder/index.html b/recipes/placeholder/index.html index 4560851cc..396a966c9 100644 --- a/recipes/placeholder/index.html +++ b/recipes/placeholder/index.html @@ -22,7 +22,7 @@ -

    With placeholder
    Recipes

    maskitoWithPlaceholder helps to show placeholder mask characters. The placeholder character represents the fillable spot in the mask.

    Card Verification Code

    This example is the simplest demonstration how to create masked input with placeholder .

    The only required prerequisite is basic understanding of "Mask expression" concept.

        
    +        

    With placeholder
    Recipes

    maskitoWithPlaceholder helps to show placeholder mask characters. The placeholder character represents the fillable spot in the mask.

    Card Verification Code

    This example is the simplest demonstration how to create masked input with placeholder .

    The only required prerequisite is basic understanding of "Mask expression" concept.

        
         
    @@ -52,7 +52,7 @@
    -

    Phone

    The following example explains return type of maskitoWithPlaceholder utility — an object which partially implements MaskitoOptions interface. It contains its own processor and postprocessor and plugins to keep caret from getting into placeholder part of the value.

    Also, this complex example uses built-in postprocessor maskitoPrefixPostprocessorGenerator from @maskito/kit .

    Flag of the United States
        
    +

    Phone

    The following example explains return type of maskitoWithPlaceholder utility — an object which partially implements MaskitoOptions interface. It contains its own processor and postprocessor and plugins to keep caret from getting into placeholder part of the value.

    Also, this complex example uses built-in postprocessor maskitoPrefixPostprocessorGenerator from @maskito/kit .

    Flag of the United States
        
         
    @@ -64,7 +64,7 @@
    -

    Date

    This last example demonstrates how to integrate maskitoWithPlaceholder with any built-in mask from @maskito/kit .

        
    +

    Date

    This last example demonstrates how to integrate maskitoWithPlaceholder with any built-in mask from @maskito/kit .

        
         
    @@ -95,6 +95,6 @@
    - + \ No newline at end of file diff --git a/recipes/postfix/index.html b/recipes/postfix/index.html index 26cd4d772..4194ddf28 100644 --- a/recipes/postfix/index.html +++ b/recipes/postfix/index.html @@ -22,7 +22,7 @@ -

    With postfix
    Recipes

    There are two approaches to add postfix for masked input. Every approach has its own behaviour and requires basic understanding of different core concepts.

    By pattern mask expression

    This example demonstrates how to create postfix via dynamic pattern mask expression . Percent symbol is a trailing fixed character, which will be automatically added when user enters the first digit.

        
    +        

    With postfix
    Recipes

    There are two approaches to add postfix for masked input. Every approach has its own behaviour and requires basic understanding of different core concepts.

    By pattern mask expression

    This example demonstrates how to create postfix via dynamic pattern mask expression . Percent symbol is a trailing fixed character, which will be automatically added when user enters the first digit.

        
         
    @@ -52,7 +52,7 @@
    -

    By postprocessor

    This example demonstrates how to create postfix via postprocessor . It provides more flexibility, and you can configure any desired behaviour. You can use built-in maskitoPostfixPostprocessorGenerator or create your own.

    Don't forget that mask property should be compatible with a new prefix / postfix!

        
    +

    By postprocessor

    This example demonstrates how to create postfix via postprocessor . It provides more flexibility, and you can configure any desired behaviour. You can use built-in maskitoPostfixPostprocessorGenerator or create your own.

    Don't forget that mask property should be compatible with a new prefix / postfix!

        
         
    @@ -83,6 +83,6 @@
    - + \ No newline at end of file diff --git a/recipes/prefix/index.html b/recipes/prefix/index.html index 0ea0dd5f9..45836a0cb 100644 --- a/recipes/prefix/index.html +++ b/recipes/prefix/index.html @@ -22,7 +22,7 @@ -

    With prefix
    Recipes

    Use prefixes to indicate things like currencies, area / phone country codes and etc.

    There are two approaches to add prefix for masked input. Every approach has its own behaviour and requires basic understanding of different core concepts.

    By pattern mask expression

    This example demonstrates how to create prefix via dynamic pattern mask expression . Dollar symbol is a fixed character, which will be automatically added when user forgets to type it or deleted when user erase all digits.

        
    +        

    With prefix
    Recipes

    Use prefixes to indicate things like currencies, area / phone country codes and etc.

    There are two approaches to add prefix for masked input. Every approach has its own behaviour and requires basic understanding of different core concepts.

    By pattern mask expression

    This example demonstrates how to create prefix via dynamic pattern mask expression . Dollar symbol is a fixed character, which will be automatically added when user forgets to type it or deleted when user erase all digits.

        
         
    @@ -52,7 +52,7 @@
    -

    By postprocessor

    This example demonstrates how to create prefix via postprocessor . It provides more flexibility, and you can configure any desired behaviour. You can use built-in maskitoPrefixPostprocessorGenerator or create your own.

    Don't forget that mask property should be compatible with a new prefix!

        
    +

    By postprocessor

    This example demonstrates how to create prefix via postprocessor . It provides more flexibility, and you can configure any desired behaviour. You can use built-in maskitoPrefixPostprocessorGenerator or create your own.

    Don't forget that mask property should be compatible with a new prefix!

        
         
    @@ -83,6 +83,6 @@
    - + \ No newline at end of file diff --git a/recipes/textarea/index.html b/recipes/textarea/index.html index fb5b2b6c4..a93df6b7a 100644 --- a/recipes/textarea/index.html +++ b/recipes/textarea/index.html @@ -22,13 +22,13 @@ -

    Textarea
    Recipes

    You can use Maskito with HTMLTextAreaElement too. API is the same as for HTMLInputElement .

        
    +        

    Textarea
    Recipes

    You can use Maskito with HTMLTextAreaElement too. API is the same as for HTMLInputElement .

        
         
    -

    Learn more in the "Core Concepts" section.

    Latin letters and digits

        
    +

    Learn more in the "Core Concepts" section.

    Latin letters and digits

        
         
    @@ -59,6 +59,6 @@
    - + \ No newline at end of file diff --git a/stackblitz/index.html b/stackblitz/index.html index 365896fbe..f200fdd4e 100644 --- a/stackblitz/index.html +++ b/stackblitz/index.html @@ -22,7 +22,7 @@ -
    Stackblitz loading...
    - +
    Stackblitz loading...
    + \ No newline at end of file