@piserve-tech/octa-formbuilder-config-webcomponent 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +93 -0
- package/copy-assets.js +48 -0
- package/dist/bundle.css +0 -0
- package/dist/bundle.js +3 -0
- package/package.json +58 -0
package/README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Form Builder Configuration Library
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Getting started
|
|
6
|
+
|
|
7
|
+
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
|
|
8
|
+
|
|
9
|
+
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
|
|
10
|
+
|
|
11
|
+
## Add your files
|
|
12
|
+
|
|
13
|
+
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
|
|
14
|
+
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
cd existing_repo
|
|
18
|
+
git remote add origin https://penta.internal.piserve.com/form-builder/form-builder-configuration-library.git
|
|
19
|
+
git branch -M main
|
|
20
|
+
git push -uf origin main
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Integrate with your tools
|
|
24
|
+
|
|
25
|
+
- [ ] [Set up project integrations](https://penta.internal.piserve.com/form-builder/form-builder-configuration-library/-/settings/integrations)
|
|
26
|
+
|
|
27
|
+
## Collaborate with your team
|
|
28
|
+
|
|
29
|
+
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
|
|
30
|
+
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
|
|
31
|
+
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
|
|
32
|
+
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
|
|
33
|
+
- [ ] [Set auto-merge](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
|
|
34
|
+
|
|
35
|
+
## Test and Deploy
|
|
36
|
+
|
|
37
|
+
Use the built-in continuous integration in GitLab.
|
|
38
|
+
|
|
39
|
+
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
|
|
40
|
+
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
|
|
41
|
+
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
|
|
42
|
+
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
|
|
43
|
+
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
# Editing this README
|
|
48
|
+
|
|
49
|
+
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.
|
|
50
|
+
|
|
51
|
+
## Suggestions for a good README
|
|
52
|
+
|
|
53
|
+
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
|
|
54
|
+
|
|
55
|
+
## Name
|
|
56
|
+
Choose a self-explaining name for your project.
|
|
57
|
+
|
|
58
|
+
## Description
|
|
59
|
+
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
|
|
60
|
+
|
|
61
|
+
## Badges
|
|
62
|
+
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
|
|
63
|
+
|
|
64
|
+
## Visuals
|
|
65
|
+
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
|
|
66
|
+
|
|
67
|
+
## Installation
|
|
68
|
+
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
|
|
69
|
+
|
|
70
|
+
## Usage
|
|
71
|
+
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
|
|
72
|
+
|
|
73
|
+
## Support
|
|
74
|
+
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
|
|
75
|
+
|
|
76
|
+
## Roadmap
|
|
77
|
+
If you have ideas for releases in the future, it is a good idea to list them in the README.
|
|
78
|
+
|
|
79
|
+
## Contributing
|
|
80
|
+
State if you are open to contributions and what your requirements are for accepting them.
|
|
81
|
+
|
|
82
|
+
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
|
|
83
|
+
|
|
84
|
+
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
|
|
85
|
+
|
|
86
|
+
## Authors and acknowledgment
|
|
87
|
+
Show your appreciation to those who have contributed to the project.
|
|
88
|
+
|
|
89
|
+
## License
|
|
90
|
+
For open source projects, say how it is licensed.
|
|
91
|
+
|
|
92
|
+
## Project status
|
|
93
|
+
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
|
package/copy-assets.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// Script to copy assets for web component distribution
|
|
2
|
+
const fs = require('fs');
|
|
3
|
+
const path = require('path');
|
|
4
|
+
|
|
5
|
+
function copyRecursiveSync(src, dest) {
|
|
6
|
+
if (!fs.existsSync(src)) return;
|
|
7
|
+
const stats = fs.statSync(src);
|
|
8
|
+
if (stats.isDirectory()) {
|
|
9
|
+
if (!fs.existsSync(dest)) fs.mkdirSync(dest, { recursive: true });
|
|
10
|
+
fs.readdirSync(src).forEach(child => {
|
|
11
|
+
copyRecursiveSync(path.join(src, child), path.join(dest, child));
|
|
12
|
+
});
|
|
13
|
+
} else {
|
|
14
|
+
fs.copyFileSync(src, dest);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
// Determine source: local dist or node_modules
|
|
20
|
+
let srcAssets, srcBundleJs, srcBundleCss;
|
|
21
|
+
if (fs.existsSync(path.join(__dirname, 'dist', 'assets'))) {
|
|
22
|
+
srcAssets = path.join(__dirname, 'dist', 'octa-formbuilder-config-webcomponent', 'assets');
|
|
23
|
+
srcBundleJs = path.join(__dirname, 'dist', 'octa-formbuilder-config-webcomponent', 'bundle.js');
|
|
24
|
+
srcBundleCss = path.join(__dirname, 'dist', 'octa-formbuilder-config-webcomponent', 'bundle.css');
|
|
25
|
+
} else {
|
|
26
|
+
srcAssets = path.join(__dirname, 'node_modules', '@piserve-tech', 'octa-formbuilder-config-webcomponent', 'dist', 'assets');
|
|
27
|
+
srcBundleJs = path.join(__dirname, 'node_modules', '@piserve-tech', 'octa-formbuilder-config-webcomponent', 'dist', 'bundle.js');
|
|
28
|
+
srcBundleCss = path.join(__dirname, 'node_modules', '@piserve-tech', 'octa-formbuilder-config-webcomponent', 'dist', 'bundle.css');
|
|
29
|
+
}
|
|
30
|
+
const destAssets = path.join(process.cwd(), 'src', 'assets');
|
|
31
|
+
const destBundles = path.join(process.cwd(), 'src', 'assets', 'octa-formbuilder-config-webcomponent');
|
|
32
|
+
|
|
33
|
+
copyRecursiveSync(srcAssets, destAssets);
|
|
34
|
+
|
|
35
|
+
// Also copy bundle.js and bundle.css
|
|
36
|
+
const destBundleJs = path.join(destBundles, 'bundle.js');
|
|
37
|
+
const destBundleCss = path.join(destBundles, 'bundle.css');
|
|
38
|
+
|
|
39
|
+
if (fs.existsSync(srcBundleJs)) {
|
|
40
|
+
fs.copyFileSync(srcBundleJs, destBundleJs);
|
|
41
|
+
console.log('bundle.js copied to src/assets/octa-formbuilder-config-webcomponent', srcBundleJs, srcBundleCss);
|
|
42
|
+
}
|
|
43
|
+
if (fs.existsSync(srcBundleCss)) {
|
|
44
|
+
fs.copyFileSync(srcBundleCss, destBundleCss);
|
|
45
|
+
console.log('bundle.css copied to src/assets/octa-formbuilder-config-webcomponent');
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
console.log('Assets and bundles copied to src/assets/octa-formbuilder-config-webcomponent');
|
package/dist/bundle.css
ADDED
|
File without changes
|
package/dist/bundle.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";var e,_={},v={};function a(e){var f=v[e];if(void 0!==f)return f.exports;var r=v[e]={exports:{}};return _[e](r,r.exports,a),r.exports}a.m=_,e=[],a.O=(f,r,l,o)=>{if(!r){var t=1/0;for(n=0;n<e.length;n++){for(var[r,l,o]=e[n],i=!0,c=0;c<r.length;c++)(!1&o||t>=o)&&Object.keys(a.O).every(p=>a.O[p](r[c]))?r.splice(c--,1):(i=!1,o<t&&(t=o));if(i){e.splice(n--,1);var u=l();void 0!==u&&(f=u)}}return f}o=o||0;for(var n=e.length;n>0&&e[n-1][2]>o;n--)e[n]=e[n-1];e[n]=[r,l,o]},a.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={121:0};a.O.j=l=>0===e[l];var f=(l,o)=>{var c,u,[n,t,i]=o,s=0;if(n.some(d=>0!==e[d])){for(c in t)a.o(t,c)&&(a.m[c]=t[c]);if(i)var b=i(a)}for(l&&l(o);s<n.length;s++)a.o(e,u=n[s])&&e[u]&&e[u][0](),e[u]=0;return a.O(b)},r=self.webpackChunkocta_formbuilder_config_webcomponent=self.webpackChunkocta_formbuilder_config_webcomponent||[];r.forEach(f.bind(null,0)),r.push=f.bind(null,r.push.bind(r))})()})();
|
|
2
|
+
"use strict";(self.webpackChunkocta_formbuilder_config_webcomponent=self.webpackChunkocta_formbuilder_config_webcomponent||[]).push([[461],{935:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static{this.__symbol__=a}static assertZonePatched(){if(e.Promise!==oe.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 t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(t.type,r)}}return L})();const b={name:"",onHasTask:(L,T,t,r)=>L.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(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 M=a("setTimeout"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||e[O]&&(K=e[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;T<L.length;T++){const t=L[T];try{t.zone.runTask(t,null,null)}catch(r){z.onUnhandledError(r)}}}z.microtaskDrainDone(),H=!1}}const J={name:"NO ZONE"},x="notScheduled",X="scheduling",A="scheduled",E="running",G="canceling",h="unknown",I="microTask",w="macroTask",Q="eventTask",oe={},z={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ue=Object.getOwnPropertyDescriptor,pe=Object.defineProperty,ve=Object.getPrototypeOf,Se=Object.create,it=Array.prototype.slice,Ze="addEventListener",De="removeEventListener",Oe=Zone.__symbol__(Ze),Ne=Zone.__symbol__(De),ie="true",ce="false",me=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,be=typeof window<"u",_e=be?window:void 0,Y=be&&_e||"object"==typeof self&&self||global,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Ve(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!be||!_e.HTMLElement),Pe={},Ue=function(e){if(!(e=e||Y.event))return;let n=Pe[e.type];n||(n=Pe[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function We(e,n,i){let o=ue(e,n);if(!o&&i&&ue(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Pe[d];b||(b=Pe[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,Ue),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,Ue,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},pe(e,n,o),e[c]=!0}function qe(e,n,i){if(n)for(let o=0;o<n.length;o++)We(e,"on"+n[o],i);else{const o=[];for(const c in e)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)We(e,o[c],i)}}const ne=j("originalInstance");function ge(e){const n=Y[e];if(!n)return;Y[j(e)]=n,Y[e]=function(){const c=Le(arguments,e);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},le(Y[e],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===e&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:pe(Y[e].prototype,c,{set:function(a){"function"==typeof a?(this[ne][c]=Ie(a,e+"."+c),le(this[ne][c],a)):this[ne][c]=a},get:function(){return this[ne][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[e][o]=n[o])}function ae(e,n,i){let o=e;for(;o&&!o.hasOwnProperty(n);)o=ve(o);!o&&e[n]&&(o=e);const c=j(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Ve(o&&ue(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},le(o[n],a)}return a}function lt(e,n,i){let o=null;function c(a){const y=a.data;return y.args[y.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(y.target,y.args),a}o=ae(e,n,a=>function(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function le(e,n){e[j("OriginalDelegate")]=n}let Xe=!1,je=!1;function ft(){if(Xe)return je;Xe=!0;try{const e=_e.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const O=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[O];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function K(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(P){return f(()=>{z(l,!1,P)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(P){f(()=>{z(l,!1,P)})()}else{l[q]=u;const P=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[J]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m<P.length;)ee(l,P[m++],P[m++],P[m++],P[m++]);if(0==P.length&&u==G){l[q]=h;let m=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(S){m=S}b&&(m.throwOriginal=!0),m.rejection=s,m.promise=l,m.zone=n.current,m.task=n.currentTask,d.push(m),i.scheduleMicroTask()}}}return l}const U=y("rejectionHandledHandler");function re(l){if(l[q]===h){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch{}l[q]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ee(l,u,s,f,g){re(l);const P=l[q],m=P?"function"==typeof f?f:H:"function"==typeof g?g:K;u.scheduleMicroTask(X,()=>{try{const S=l[R],Z=!!s&&_===s[_];Z&&(s[J]=S,s[x]=P);const D=u.run(m,void 0,Z&&m!==K&&m!==H?[]:[S]);z(s,!0,D)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const P=[];return new t((m,S)=>{for(let Z=0;Z<s.length;Z++)s[Z].then(D=>{g||(g=!0,m(D))},D=>{P.push(D),f--,0===f&&(g=!0,S(new T(P,"All promises were rejected")))})})}static race(u){let s,f,g=new this((S,Z)=>{s=S,f=Z});function P(S){s(S)}function m(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.then(P,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,P=new this((D,V)=>{f=D,g=V}),m=2,S=0;const Z=[];for(let D of u){B(D)||(D=this.resolve(D));const V=S;try{D.then(F=>{Z[V]=s?s.thenCallback(F):F,m--,0===m&&f(Z)},F=>{s?(Z[V]=s.errorCallback(F),m--,0===m&&f(Z)):g(F)})}catch(F){g(F)}m++,S++}return m-=2,0===m&&f(Z),P}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=w();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),P=n.current;return this[q]==A?this[R].push(P,g,u,s):ee(this,P,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,P){return new t((S,Z)=>{f.call(this,S,Z)}).then(g,P)},l[k]=!0}return i.patchThen=C,r&&(C(r),ae(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let Ee=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+me+"(\\w+)(true|false)$"),$e=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ce,o=(n?n(e):e)+ie,c=me+i,a=me+o;te[e]={},te[e][ce]=c,te[e][ie]=a}function dt(e,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||De,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",O=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,J){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][J?ie:ce]];if(X){const A=[];if(1===X.length){const E=O(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G<E.length&&(!_||!0!==_[$e]);G++){const h=O(E[G],x,_);h&&A.push(h)}}if(1===A.length)throw A[0];for(let E=0;E<A.length;E++){const G=A[E];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=ve(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],w=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=J?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=J?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ie:ce]);const P=g&&s.target[g];if(P)for(let m=0;m<P.length;m++)if(P[m]===s){P.splice(m,1),s.isRemoved=!0,0===P.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return w.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return w.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},$=Zone[j("UNPATCHED_EVENTS")],l=e[j("PASSIVE_EVENTS")],u=function(s,f,g,P,m=!1,S=!1){return function(){const Z=this||e;let D=arguments[0];_&&_.transferEventName&&(D=_.transferEventName(D));let V=arguments[1];if(!V)return s.apply(this,arguments);if(we&&"uncaughtException"===D)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,Z,arguments))return;const fe=Ee&&!!l&&-1!==l.indexOf(D),se=function U(s,f){return!Ee&&"object"==typeof s&&s?!!s.capture:Ee&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],fe);if($)for(let de=0;de<$.length;de++)if(D===$[de])return fe?s.call(Z,D,V,se):s.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),tt=!(!se||"object"!=typeof se)&&se.once,kt=Zone.current;let Ge=te[D];Ge||(Je(D,G),Ge=te[D]);const nt=Ge[xe?ie:ce];let Ce,ye=Z[nt],rt=!1;if(ye){if(rt=!0,X)for(let de=0;de<ye.length;de++)if(C(ye[de],V))return}else ye=Z[nt]=[];const ot=Z.constructor.name,st=ze[ot];st&&(Ce=st[D]),Ce||(Ce=ot+f+(G?G(D):D)),h.options=se,tt&&(h.options.once=!1),h.target=Z,h.capture=xe,h.eventName=D,h.isExisting=rt;const ke=J?ht:void 0;ke&&(ke.taskData=h);const he=kt.scheduleEventTask(Ce,V,ke,g,P);return h.target=null,ke&&(ke.taskData=null),tt&&(se.once=!0),!Ee&&"boolean"==typeof he.options||(he.options=se),he.target=Z,he.capture=xe,he.eventName=D,F&&(he.originalDelegate=V),S?ye.unshift(he):ye.push(he),m?Z:void 0}};return E[c]=u(I,v,t,r,A),z&&(E[p]=u(z,M,function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,A,!0)),E[a]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],P=!!g&&("boolean"==typeof g||g.capture),m=arguments[1];if(!m)return w.apply(this,arguments);if(x&&!x(w,m,s,arguments))return;const S=te[f];let Z;S&&(Z=S[P?ie:ce]);const D=Z&&s[Z];if(D)for(let V=0;V<D.length;V++){const F=D[V];if(C(F,m))return D.splice(V,1),F.isRemoved=!0,0===D.length&&(F.allRemoved=!0,s[Z]=null,"string"==typeof f)&&(s[me+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),A?s:void 0}return w.apply(this,arguments)},E[y]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],P=Ke(s,G?G(f):f);for(let m=0;m<P.length;m++){const S=P[m];g.push(S.originalDelegate?S.originalDelegate:S.callback)}return g},E[d]=function(){const s=this||e;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=te[f];if(g){const S=s[g[ce]],Z=s[g[ie]];if(S){const D=S.slice();for(let V=0;V<D.length;V++){const F=D[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(Z){const D=Z.slice();for(let V=0;V<D.length;V++){const F=D[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const g=Object.keys(s);for(let P=0;P<g.length;P++){const S=Ye.exec(g[P]);let Z=S&&S[1];Z&&"removeListener"!==Z&&this[d].call(this,Z)}this[d].call(this,"removeListener")}if(A)return this},le(E[c],I),le(E[a],w),oe&&le(E[d],oe),Q&&le(E[y],Q),!0}let q=[];for(let R=0;R<i.length;R++)q[R]=K(i[R],o);return q}function Ke(e,n){if(!n){const a=[];for(let y in e){const d=Ye.exec(y);let b=d&&d[1];if(b&&(!n||b===n)){const v=e[y];if(v)for(let p=0;p<v.length;p++)a.push(v[p])}}return a}let i=te[n];i||(Je(n),i=te[n]);const o=e[i[ce]],c=e[i[ie]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function _t(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[$e]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,O=b.prototype;try{if(O.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(O,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}else O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function Qe(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function et(e,n,i,o){e&&qe(e,Qe(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=qe,i.patchMethod=ae,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=pe,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Se,i.ArraySlice=it,i.patchClass=ge,i.wrapWithCurrentZone=Ie,i.filterProperties=Qe,i.attachOriginToPatched=le,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Be,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:De})});const Re=j("zoneTask");function Te(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=ae(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const O={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Re]=null))}};const B=Me(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Re]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=ae(e,i,v=>function(p,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Re],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Re]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";Te(e,n,i,"Timeout"),Te(e,n,i,"Interval"),Te(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)ae(e,i[o],(a,y,d)=>function(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b<i.length;b++){const v=i[b],O=y+(v+a),N=y+(v+c);o[v]={},o[v][a]=O,o[v][c]=N}const d=e.EventTarget;d&&d.prototype&&n.patchEventTarget(e,n,[d&&d.prototype])}(e,i);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(e,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Be||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=_e.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];et(c,He(c),i&&i.concat(a),ve(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&et(a.prototype,He(a.prototype),i)}}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Oe],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Oe],B=I[Ne]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Oe],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===K){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;W<ee.length;W++)ee[W]===h&&ee.splice(W,1);!I.aborted&&h.state===K&&re.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===w[a]&&(w[d]=!0)};return N.call(w,H,oe),w[i]||(w[i]=h),E.apply(w,I.args),w[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const J=ae(M,"open",()=>function(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=ae(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===K&&Q.invoke()}}),G=ae(M,"abort",()=>function(h,I){const w=function O(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=e[c];if(a){if(!Ve(ue(e,c)))continue;e[c]=(d=>{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return le(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Ke(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ue=>{ue(ue.s=935)}]);
|
|
3
|
+
"use strict";(self.webpackChunkocta_formbuilder_config_webcomponent=self.webpackChunkocta_formbuilder_config_webcomponent||[]).push([[792],{674:()=>{function z(e){return"function"==typeof e}function ns(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const is=ns(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function yi(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Re{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const r of t)r.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(z(i))try{i()}catch(r){n=r instanceof is?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{Eh(r)}catch(s){n=n??[],s instanceof is?n=[...n,...s.errors]:n.push(s)}}if(n)throw new is(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Eh(n);else{if(n instanceof Re){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&yi(t,n)}remove(n){const{_finalizers:t}=this;t&&yi(t,n),n instanceof Re&&n._removeParent(this)}}Re.EMPTY=(()=>{const e=new Re;return e.closed=!0,e})();const Ch=Re.EMPTY;function wh(e){return e instanceof Re||e&&"closed"in e&&z(e.remove)&&z(e.add)&&z(e.unsubscribe)}function Eh(e){z(e)?e():e.unsubscribe()}const zn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},os={setTimeout(e,n,...t){const{delegate:i}=os;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=os;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Mh(e){os.setTimeout(()=>{const{onUnhandledError:n}=zn;if(!n)throw e;n(e)})}function Pl(){}const mC=Ll("C",void 0,void 0);function Ll(e,n,t){return{kind:e,value:n,error:t}}let $n=null;function rs(e){if(zn.useDeprecatedSynchronousErrorHandling){const n=!$n;if(n&&($n={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=$n;if($n=null,t)throw i}}else e()}class Vl extends Re{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,wh(n)&&n.add(this)):this.destination=DC}static create(n,t,i){return new Mo(n,t,i)}next(n){this.isStopped?jl(function _C(e){return Ll("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?jl(function gC(e){return Ll("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?jl(mC,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const vC=Function.prototype.bind;function Bl(e,n){return vC.call(e,n)}class yC{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){ss(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){ss(i)}else ss(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ss(t)}}}class Mo extends Vl{constructor(n,t,i){let o;if(super(),z(n)||!n)o={next:n??void 0,error:t??void 0,complete:i??void 0};else{let r;this&&zn.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Bl(n.next,r),error:n.error&&Bl(n.error,r),complete:n.complete&&Bl(n.complete,r)}):o=n}this.destination=new yC(o)}}function ss(e){zn.useDeprecatedSynchronousErrorHandling?function bC(e){zn.useDeprecatedSynchronousErrorHandling&&$n&&($n.errorThrown=!0,$n.error=e)}(e):Mh(e)}function jl(e,n){const{onStoppedNotification:t}=zn;t&&os.setTimeout(()=>t(e,n))}const DC={closed:!0,next:Pl,error:function xC(e){throw e},complete:Pl},Hl="function"==typeof Symbol&&Symbol.observable||"@@observable";function xi(e){return e}let fe=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,o){const r=function wC(e){return e&&e instanceof Vl||function CC(e){return e&&z(e.next)&&z(e.error)&&z(e.complete)}(e)&&wh(e)}(t)?t:new Mo(t,i,o);return rs(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Sh(i))((o,r)=>{const s=new Mo({next:a=>{try{t(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[Hl](){return this}pipe(...t){return function Ih(e){return 0===e.length?xi:1===e.length?e[0]:function(t){return e.reduce((i,o)=>o(i),t)}}(t)(this)}toPromise(t){return new(t=Sh(t))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return e.create=n=>new e(n),e})();function Sh(e){var n;return null!==(n=e??zn.Promise)&&void 0!==n?n:Promise}const EC=ns(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let B=(()=>{class e extends fe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new Ah(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new EC}next(t){rs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){rs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){rs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:o,observers:r}=this;return i||o?Ch:(this.currentObservers=null,r.push(t),new Re(()=>{this.currentObservers=null,yi(r,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:o,isStopped:r}=this;i?t.error(o):r&&t.complete()}asObservable(){const t=new fe;return t.source=this,t}}return e.create=(n,t)=>new Ah(n,t),e})();class Ah extends B{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Ch}}function ze(e){return n=>{if(function MC(e){return z(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ne(e,n,t,i,o){return new IC(e,n,t,i,o)}class IC extends Vl{constructor(n,t,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function ke(e,n){return ze((t,i)=>{let o=0;t.subscribe(Ne(i,r=>{i.next(e.call(n,r,o++))}))})}function wn(e){return this instanceof wn?(this.v=e,this):new wn(e)}function Rh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Gl(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(s){return new Promise(function(a,l){!function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}(a,l,(s=e[r](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const ql=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Nh(e){return z(e?.then)}function kh(e){return z(e[Hl])}function Ph(e){return Symbol.asyncIterator&&z(e?.[Symbol.asyncIterator])}function Lh(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Vh=function ew(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Bh(e){return z(e?.[Vh])}function jh(e){return function Fh(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=t.apply(e,n||[]),r=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(h){return function(p){return Promise.resolve(p).then(h,u)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(h,p){i[h]&&(o[h]=function(m){return new Promise(function(_,x){r.push([h,m,_,x])>1||l(h,m)})},p&&(o[h]=p(o[h])))}function l(h,p){try{!function c(h){h.value instanceof wn?Promise.resolve(h.value.v).then(d,u):f(r[0][2],h)}(i[h](p))}catch(m){f(r[0][3],m)}}function d(h){l("next",h)}function u(h){l("throw",h)}function f(h,p){h(p),r.shift(),r.length&&l(r[0][0],r[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:o}=yield wn(t.read());if(o)return yield wn(void 0);yield yield wn(i)}}finally{t.releaseLock()}})}function Hh(e){return z(e?.getReader)}function Ye(e){if(e instanceof fe)return e;if(null!=e){if(kh(e))return function tw(e){return new fe(n=>{const t=e[Hl]();if(z(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(ql(e))return function nw(e){return new fe(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(Nh(e))return function iw(e){return new fe(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Mh)})}(e);if(Ph(e))return Uh(e);if(Bh(e))return function ow(e){return new fe(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Hh(e))return function rw(e){return Uh(jh(e))}(e)}throw Lh(e)}function Uh(e){return new fe(n=>{(function sw(e,n){var t,i,o,r;return function Th(e,n,t,i){return new(t||(t=Promise))(function(r,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?r(d.value):function o(r){return r instanceof t?r:new t(function(s){s(r)})}(d.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Rh(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=t.return)&&(yield r.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function ln(e,n,t,i=0,o=!1){const r=n.schedule(function(){t(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(r),!o)return r}function Io(e,n,t=1/0){return z(n)?Io((i,o)=>ke((r,s)=>n(i,r,o,s))(Ye(e(i,o))),t):("number"==typeof n&&(t=n),ze((i,o)=>function aw(e,n,t,i,o,r,s,a){const l=[];let c=0,d=0,u=!1;const f=()=>{u&&!l.length&&!c&&n.complete()},h=m=>c<i?p(m):l.push(m),p=m=>{r&&n.next(m),c++;let _=!1;Ye(t(m,d++)).subscribe(Ne(n,x=>{o?.(x),r?h(x):n.next(x)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<i;){const x=l.shift();s?ln(n,s,()=>p(x)):p(x)}f()}catch(x){n.error(x)}}))};return e.subscribe(Ne(n,h,()=>{u=!0,f()})),()=>{a?.()}}(i,o,e,t)))}function zh(e=1/0){return Io(xi,e)}const as=new fe(e=>e.complete());function $h(e){return e&&z(e.schedule)}function Yl(e){return e[e.length-1]}function Gh(e){return z(Yl(e))?e.pop():void 0}function So(e){return $h(Yl(e))?e.pop():void 0}function Wh(e,n=0){return ze((t,i)=>{t.subscribe(Ne(i,o=>ln(i,e,()=>i.next(o),n),()=>ln(i,e,()=>i.complete(),n),o=>ln(i,e,()=>i.error(o),n)))})}function qh(e,n=0){return ze((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Yh(e,n){if(!e)throw new Error("Iterable cannot be null");return new fe(t=>{ln(t,n,()=>{const i=e[Symbol.asyncIterator]();ln(t,n,()=>{i.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Gn(e,n){return n?function mw(e,n){if(null!=e){if(kh(e))return function dw(e,n){return Ye(e).pipe(qh(n),Wh(n))}(e,n);if(ql(e))return function fw(e,n){return new fe(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Nh(e))return function uw(e,n){return Ye(e).pipe(qh(n),Wh(n))}(e,n);if(Ph(e))return Yh(e,n);if(Bh(e))return function hw(e,n){return new fe(t=>{let i;return ln(t,n,()=>{i=e[Vh](),ln(t,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void t.error(s)}r?t.complete():t.next(o)},0,!0)}),()=>z(i?.return)&&i.return()})}(e,n);if(Hh(e))return function pw(e,n){return Yh(jh(e),n)}(e,n)}throw Lh(e)}(e,n):Ye(e)}function Ao(...e){const n=So(e),t=function cw(e,n){return"number"==typeof Yl(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?Ye(i[0]):zh(t)(Gn(i,n)):as}class ls extends B{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function Dt(...e){return Gn(e,So(e))}function Zl(e={}){const{connector:n=(()=>new B),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=e;return r=>{let s,a,l,c=0,d=!1,u=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,d=u=!1},p=()=>{const m=s;h(),m?.unsubscribe()};return ze((m,_)=>{c++,!u&&!d&&f();const x=l=l??n();_.add(()=>{c--,0===c&&!u&&!d&&(a=Xl(p,o))}),x.subscribe(_),!s&&c>0&&(s=new Mo({next:b=>x.next(b),error:b=>{u=!0,f(),a=Xl(h,t,b),x.error(b)},complete:()=>{d=!0,f(),a=Xl(h,i),x.complete()}}),Ye(m).subscribe(s))})(r)}}function Xl(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new Mo({next:()=>{i.unsubscribe(),e()}});return Ye(n(...t)).subscribe(i)}function Ql(e,n){return ze((t,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();t.subscribe(Ne(i,l=>{o?.unsubscribe();let c=0;const d=r++;Ye(e(l,d)).subscribe(o=Ne(i,u=>i.next(n?n(l,u,d,c++):u),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Kl(e,n=xi){return e=e??gw,ze((t,i)=>{let o,r=!0;t.subscribe(Ne(i,s=>{const a=n(s);(r||!e(o,a))&&(r=!1,o=a,i.next(s))}))})}function gw(e,n){return e===n}function te(e){for(let n in e)if(e[n]===te)return n;throw Error("Could not find renamed property on target object.")}function cs(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function we(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(we).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Jl(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const _w=te({__forward_ref__:te});function ae(e){return e.__forward_ref__=ae,e.toString=function(){return we(this())},e}function O(e){return ec(e)?e():e}function ec(e){return"function"==typeof e&&e.hasOwnProperty(_w)&&e.__forward_ref__===ae}function tc(e){return e&&!!e.\u0275providers}const Zh="https://g.co/ng/security#xss";class C extends Error{constructor(n,t){super(function ds(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function R(e){return"string"==typeof e?e:null==e?"":String(e)}function nc(e,n){throw new C(-201,!1)}function Ct(e,n){null==e&&function A(e,n,t,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${t} ${i} ${n} <=Actual]`))}(n,e,null,"!=")}function M(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Z(e){return{providers:e.providers||[],imports:e.imports||[]}}function us(e){return Xh(e,hs)||Xh(e,Qh)}function Xh(e,n){return e.hasOwnProperty(n)?e[n]:null}function fs(e){return e&&(e.hasOwnProperty(ic)||e.hasOwnProperty(ww))?e[ic]:null}const hs=te({\u0275prov:te}),ic=te({\u0275inj:te}),Qh=te({ngInjectableDef:te}),ww=te({ngInjectorDef:te});var $=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}($||{});let oc;function ot(e){const n=oc;return oc=e,n}function Jh(e,n,t){const i=us(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&$.Optional?null:void 0!==n?n:void nc(we(e))}const le=globalThis;class D{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=M({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const To={},cc="__NG_DI_FLAG__",ps="ngTempTokenPath",Iw=/\n/gm,tp="__source";let Di;function En(e){const n=Di;return Di=e,n}function Tw(e,n=$.Default){if(void 0===Di)throw new C(-203,!1);return null===Di?Jh(e,void 0,n):Di.get(e,n&$.Optional?null:void 0,n)}function v(e,n=$.Default){return(function Kh(){return oc}()||Tw)(O(e),n)}function F(e,n=$.Default){return v(e,ms(n))}function ms(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function dc(e){const n=[];for(let t=0;t<e.length;t++){const i=O(e[t]);if(Array.isArray(i)){if(0===i.length)throw new C(900,!1);let o,r=$.Default;for(let s=0;s<i.length;s++){const a=i[s],l=Ow(a);"number"==typeof l?-1===l?o=a.token:r|=l:o=a}n.push(v(o,r))}else n.push(v(i))}return n}function Ow(e){return e[cc]}function cn(e){return{toString:e}.toString()}var gs=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(gs||{}),Ft=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ft||{});const $t={},X=[],_s=te({\u0275cmp:te}),uc=te({\u0275dir:te}),fc=te({\u0275pipe:te}),ip=te({\u0275mod:te}),dn=te({\u0275fac:te}),Fo=te({__NG_ELEMENT_ID__:te}),op=te({__NG_ENV_ID__:te});function rp(e,n,t){let i=e.length;for(;;){const o=e.indexOf(n,t);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const r=n.length;if(o+r===i||e.charCodeAt(o+r)<=32)return o}t=o+1}}function hc(e,n,t){let i=0;for(;i<t.length;){const o=t[i];if("number"==typeof o){if(0!==o)break;i++;const r=t[i++],s=t[i++],a=t[i++];e.setAttribute(n,s,a,r)}else{const r=o,s=t[++i];ap(r)?e.setProperty(n,r,s):e.setAttribute(n,r,s),i++}}return i}function sp(e){return 3===e||4===e||6===e}function ap(e){return 64===e.charCodeAt(0)}function Ro(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){const o=n[i];"number"==typeof o?t=o:0===t||lp(e,t,o,null,-1===t||2===t?n[++i]:null)}}return e}function lp(e,n,t,i,o){let r=0,s=e.length;if(-1===n)s=-1;else for(;r<e.length;){const a=e[r++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=r-1;break}}}for(;r<e.length;){const a=e[r];if("number"==typeof a)break;if(a===t){if(null===i)return void(null!==o&&(e[r+1]=o));if(i===e[r+1])return void(e[r+2]=o)}r++,null!==i&&r++,null!==o&&r++}-1!==s&&(e.splice(s,0,n),r=s+1),e.splice(r++,0,t),null!==i&&e.splice(r++,0,i),null!==o&&e.splice(r++,0,o)}const cp="ng-template";function Nw(e,n,t){let i=0,o=!0;for(;i<e.length;){let r=e[i++];if("string"==typeof r&&o){const s=e[i++];if(t&&"class"===r&&-1!==rp(s.toLowerCase(),n,0))return!0}else{if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===n)return!0;return!1}"number"==typeof r&&(o=!1)}}return!1}function dp(e){return 4===e.type&&e.value!==cp}function kw(e,n,t){return n===(4!==e.type||t?e.value:cp)}function Pw(e,n,t){let i=4;const o=e.attrs||[],r=function Bw(e){for(let n=0;n<e.length;n++)if(sp(e[n]))return n;return e.length}(o);let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!kw(e,l,t)||""===l&&1===n.length){if(Rt(i))return!1;s=!0}}else{const c=8&i?l:n[++a];if(8&i&&null!==e.attrs){if(!Nw(e.attrs,c,t)){if(Rt(i))return!1;s=!0}continue}const u=Lw(8&i?"class":l,o,dp(e),t);if(-1===u){if(Rt(i))return!1;s=!0;continue}if(""!==c){let f;f=u>r?"":o[u+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==rp(h,c,0)||2&i&&c!==f){if(Rt(i))return!1;s=!0}}}}else{if(!s&&!Rt(i)&&!Rt(l))return!1;if(s&&Rt(l))continue;s=!1,i=l|1&i}}return Rt(i)||s}function Rt(e){return 0==(1&e)}function Lw(e,n,t,i){if(null===n)return-1;let o=0;if(i||!t){let r=!1;for(;o<n.length;){const s=n[o];if(s===e)return o;if(3===s||6===s)r=!0;else{if(1===s||2===s){let a=n[++o];for(;"string"==typeof a;)a=n[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=r?1:2}return-1}return function jw(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const i=e[t];if("number"==typeof i)return-1;if(i===n)return t;t++}return-1}(n,e)}function up(e,n,t=!1){for(let i=0;i<n.length;i++)if(Pw(e,n[i],t))return!0;return!1}function Hw(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function fp(e,n){return e?":not("+n.trim()+")":n}function Uw(e){let n=e[0],t=1,i=2,o="",r=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&i){const a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!Rt(s)&&(n+=fp(r,o),o=""),i=s,r=r||!Rt(i);t++}return""!==o&&(n+=fp(r,o)),n}function wt(e){return cn(()=>{const n=pp(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ft.Emulated,styles:e.styles||X,_:null,schemas:e.schemas||null,tView:null,id:""};mp(t);const i=e.dependencies;return t.directiveDefs=bs(i,!1),t.pipeDefs=bs(i,!0),t.id=function Xw(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function Ww(e){return W(e)||Pe(e)}function qw(e){return null!==e}function Q(e){return cn(()=>({type:e.type,bootstrap:e.bootstrap||X,declarations:e.declarations||X,imports:e.imports||X,exports:e.exports||X,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hp(e,n){if(null==e)return $t;const t={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),t[o]=i,n&&(n[o]=r)}return t}function I(e){return cn(()=>{const n=pp(e);return mp(n),n})}function W(e){return e[_s]||null}function Pe(e){return e[uc]||null}function Ze(e){return e[fc]||null}function pp(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||$t,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||X,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hp(e.inputs,n),outputs:hp(e.outputs)}}function mp(e){e.features?.forEach(n=>n(e))}function bs(e,n){if(!e)return null;const t=n?Ze:Ww;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(qw)}const ge=0,w=1,P=2,he=3,Nt=4,ko=5,$e=6,Ci=7,ve=8,Mn=9,wi=10,N=11,Po=12,gp=13,Ei=14,ye=15,Lo=16,Mi=17,Gt=18,Vo=19,_p=20,In=21,un=22,Bo=23,jo=24,j=25,pc=1,bp=2,Wt=7,Ii=9,Le=11;function st(e){return Array.isArray(e)&&"object"==typeof e[pc]}function Xe(e){return Array.isArray(e)&&!0===e[pc]}function mc(e){return 0!=(4&e.flags)}function qn(e){return e.componentOffset>-1}function ys(e){return 1==(1&e.flags)}function kt(e){return!!e.template}function gc(e){return 0!=(512&e[P])}function Yn(e,n){return e.hasOwnProperty(dn)?e[dn]:null}const Sn=Symbol("SIGNAL");function tE(e,n){return(null===e||"object"!=typeof e)&&Object.is(e,n)}let Ve=null,xs=!1;function Et(e){const n=Ve;return Ve=e,n}const _c={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function xp(e){if(xs)throw new Error("");if(null===Ve)return;const n=Ve.nextProducerIndex++;Si(Ve),n<Ve.producerNode.length&&Ve.producerNode[n]!==e&&Uo(Ve)&&Ds(Ve.producerNode[n],Ve.producerIndexOfThis[n]),Ve.producerNode[n]!==e&&(Ve.producerNode[n]=e,Ve.producerIndexOfThis[n]=Uo(Ve)?Ip(e,Ve,n):0),Ve.producerLastReadVersion[n]=e.version}function Dp(e){if(!Uo(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Ep(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Cp(e){if(void 0===e.liveConsumerNode)return;const n=xs;xs=!0;try{for(const t of e.liveConsumerNode)t.dirty||wp(t)}finally{xs=n}}function bc(){return!1!==Ve?.consumerAllowSignalWrites}function wp(e){e.dirty=!0,Cp(e),e.consumerMarkedDirty?.(e)}function vc(e){return e&&(e.nextProducerIndex=0),Et(e)}function yc(e,n){if(Et(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Uo(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Ds(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ep(e){Si(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(Dp(t),i!==t.version))return!0}return!1}function Mp(e){if(Si(e),Uo(e))for(let n=0;n<e.producerNode.length;n++)Ds(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ip(e,n,t){if(Sp(e),Si(e),0===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=Ip(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Ds(e,n){if(Sp(e),Si(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)Ds(e.producerNode[i],e.producerIndexOfThis[i]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[n],o=e.liveConsumerNode[n];Si(o),o.producerIndexOfThis[i]=n}}function Uo(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Si(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Sp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}let Ap=function oE(){throw new Error};function xc(){Ap()}let Dc=null;function Cs(e,n){const t=Object.create(sE);function i(){return xp(t),t.value}return t.value=e,n?.equal&&(t.equal=n.equal),i.set=Op,i.update=aE,i.mutate=lE,i.asReadonly=cE,i[Sn]=t,i}const sE=(()=>({..._c,equal:tE,readonlyFn:void 0}))();function Tp(e){e.version++,Cp(e),Dc?.()}function Op(e){const n=this[Sn];bc()||xc(),n.equal(n.value,e)||(n.value=e,Tp(n))}function aE(e){bc()||xc(),Op.call(this,e(this[Sn].value))}function lE(e){const n=this[Sn];bc()||xc(),e(n.value),Tp(n)}function cE(){const e=this[Sn];if(void 0===e.readonlyFn){const n=()=>this();n[Sn]=e,e.readonlyFn=n}return e.readonlyFn}const Rp=()=>{},uE=(()=>({..._c,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Rp}))();class Np{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Pt(){return kp}function kp(e){return e.type.prototype.ngOnChanges&&(e.setInput=hE),fE}function fE(){const e=Lp(this),n=e?.current;if(n){const t=e.previous;if(t===$t)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function hE(e,n,t,i){const o=this.declaredInputs[t],r=Lp(e)||function pE(e,n){return e[Pp]=n}(e,{previous:$t,current:null}),s=r.current||(r.current={}),a=r.previous,l=a[o];s[o]=new Np(l&&l.currentValue,n,a===$t),e[i]=n}Pt.ngInherit=!0;const Pp="__ngSimpleChanges__";function Lp(e){return e[Pp]||null}const qt=function(e,n,t){};function ce(e){for(;Array.isArray(e);)e=e[ge];return e}function ws(e,n){return ce(n[e])}function at(e,n){return ce(n[e.index])}function jp(e,n){return e.data[n]}function pt(e,n){const t=n[e];return st(t)?t:t[ge]}function An(e,n){return null==n?null:e[n]}function Hp(e){e[Mi]=0}function yE(e){1024&e[P]||(e[P]|=1024,zp(e,1))}function Up(e){1024&e[P]&&(e[P]&=-1025,zp(e,-1))}function zp(e,n){let t=e[he];if(null===t)return;t[ko]+=n;let i=t;for(t=t[he];null!==t&&(1===n&&1===i[ko]||-1===n&&0===i[ko]);)t[ko]+=n,i=t,t=t[he]}const T={lFrame:em(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Wp(){return T.bindingsEnabled}function Ti(){return null!==T.skipHydrationRootTNode}function y(){return T.lFrame.lView}function q(){return T.lFrame.tView}function Ec(e){return T.lFrame.contextLView=e,e[ve]}function Mc(e){return T.lFrame.contextLView=null,e}function Be(){let e=qp();for(;null!==e&&64===e.type;)e=e.parent;return e}function qp(){return T.lFrame.currentTNode}function Yt(e,n){const t=T.lFrame;t.currentTNode=e,t.isParent=n}function Ic(){return T.lFrame.isParent}function Sc(){T.lFrame.isParent=!1}function Oi(){return T.lFrame.bindingIndex++}function hn(e){const n=T.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function FE(e,n){const t=T.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ac(n)}function Ac(e){T.lFrame.currentDirectiveIndex=e}function Tc(e){const n=T.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Qp(){return T.lFrame.currentQueryIndex}function Oc(e){T.lFrame.currentQueryIndex=e}function NE(e){const n=e[w];return 2===n.type?n.declTNode:1===n.type?e[$e]:null}function Kp(e,n,t){if(t&$.SkipSelf){let o=n,r=e;for(;!(o=o.parent,null!==o||t&$.Host||(o=NE(r),null===o||(r=r[Ei],10&o.type))););if(null===o)return!1;n=o,e=r}const i=T.lFrame=Jp();return i.currentTNode=n,i.lView=e,!0}function Fc(e){const n=Jp(),t=e[w];T.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Jp(){const e=T.lFrame,n=null===e?null:e.child;return null===n?em(e):n}function em(e){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:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function tm(){const e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const nm=tm;function Rc(){const e=tm();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ke(){return T.lFrame.selectedIndex}function Zn(e){T.lFrame.selectedIndex=e}function pe(){const e=T.lFrame;return jp(e.tView,e.selectedIndex)}let om=!0;function Es(){return om}function Tn(e){om=e}function Ms(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const r=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=r;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=d&&(e.destroyHooks??=[]).push(t,d)}}function Is(e,n,t){rm(e,n,3,t)}function Ss(e,n,t,i){(3&e[P])===t&&rm(e,n,t,i)}function Nc(e,n){let t=e[P];(3&t)===n&&(t&=8191,t+=1,e[P]=t)}function rm(e,n,t,i){const r=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&e[Mi]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(e[Mi]+=65536),(a<r||-1==r)&&(UE(e,t,n,l),e[Mi]=(4294901760&e[Mi])+l+2),l++}function sm(e,n){qt(4,e,n);const t=Et(null);try{n.call(e)}finally{Et(t),qt(5,e,n)}}function UE(e,n,t,i){const o=t[i]<0,r=t[i+1],a=e[o?-t[i]:t[i]];o?e[P]>>13<e[Mi]>>16&&(3&e[P])===n&&(e[P]+=8192,sm(a,r)):sm(a,r)}const Fi=-1;class $o{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Pc(e){return e!==Fi}function Go(e){return 32767&e}function Wo(e,n){let t=function WE(e){return e>>16}(e),i=n;for(;t>0;)i=i[Ei],t--;return i}let Lc=!0;function As(e){const n=Lc;return Lc=e,n}const am=255,lm=5;let qE=0;const Zt={};function Ts(e,n){const t=cm(e,n);if(-1!==t)return t;const i=n[w];i.firstCreatePass&&(e.injectorIndex=n.length,Vc(i.data,e),Vc(n,null),Vc(i.blueprint,null));const o=Os(e,n),r=e.injectorIndex;if(Pc(o)){const s=Go(o),a=Wo(o,n),l=a[w].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function Vc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function cm(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Os(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,o=n;for(;null!==o;){if(i=gm(o),null===i)return Fi;if(t++,o=o[Ei],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Fi}function Bc(e,n,t){!function YE(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Fo)&&(i=t[Fo]),null==i&&(i=t[Fo]=qE++);const o=i&am;n.data[e+(o>>lm)]|=1<<o}(e,n,t)}function dm(e,n,t){if(t&$.Optional||void 0!==e)return e;nc()}function um(e,n,t,i){if(t&$.Optional&&void 0===i&&(i=null),!(t&($.Self|$.Host))){const o=e[Mn],r=ot(void 0);try{return o?o.get(n,i,t&$.Optional):Jh(n,i,t&$.Optional)}finally{ot(r)}}return dm(i,0,t)}function fm(e,n,t,i=$.Default,o){if(null!==e){if(2048&n[P]&&!(i&$.Self)){const s=function eM(e,n,t,i,o){let r=e,s=n;for(;null!==r&&null!==s&&2048&s[P]&&!(512&s[P]);){const a=hm(r,s,t,i|$.Self,Zt);if(a!==Zt)return a;let l=r.parent;if(!l){const c=s[_p];if(c){const d=c.get(t,Zt,i);if(d!==Zt)return d}l=gm(s),s=s[Ei]}r=l}return o}(e,n,t,i,Zt);if(s!==Zt)return s}const r=hm(e,n,t,i,Zt);if(r!==Zt)return r}return um(n,t,i,o)}function hm(e,n,t,i,o){const r=function QE(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Fo)?e[Fo]:void 0;return"number"==typeof n?n>=0?n&am:JE:n}(t);if("function"==typeof r){if(!Kp(n,e,i))return i&$.Host?dm(o,0,i):um(n,t,i,o);try{let s;if(s=r(i),null!=s||i&$.Optional)return s;nc()}finally{nm()}}else if("number"==typeof r){let s=null,a=cm(e,n),l=Fi,c=i&$.Host?n[ye][$e]:null;for((-1===a||i&$.SkipSelf)&&(l=-1===a?Os(e,n):n[a+8],l!==Fi&&mm(i,!1)?(s=n[w],a=Go(l),n=Wo(l,n)):a=-1);-1!==a;){const d=n[w];if(pm(r,a,d.data)){const u=XE(a,n,t,s,i,c);if(u!==Zt)return u}l=n[a+8],l!==Fi&&mm(i,n[w].data[a+8]===c)&&pm(r,a,n)?(s=d,a=Go(l),n=Wo(l,n)):a=-1}}return o}function XE(e,n,t,i,o,r){const s=n[w],a=s.data[e+8],d=Fs(a,s,t,null==i?qn(a)&&Lc:i!=s&&0!=(3&a.type),o&$.Host&&r===a);return null!==d?Xn(n,s,d,a):Zt}function Fs(e,n,t,i,o){const r=e.providerIndexes,s=n.data,a=1048575&r,l=e.directiveStart,d=r>>20,f=o?a+d:e.directiveEnd;for(let h=i?a:a+d;h<f;h++){const p=s[h];if(h<l&&t===p||h>=l&&p.type===t)return h}if(o){const h=s[l];if(h&&kt(h)&&h.type===t)return l}return null}function Xn(e,n,t,i){let o=e[t];const r=n.data;if(function zE(e){return e instanceof $o}(o)){const s=o;s.resolving&&function bw(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${t}`)}(function ee(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():R(e)}(r[t]));const a=As(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?ot(s.injectImpl):null;Kp(e,i,$.Default);try{o=e[t]=s.factory(void 0,r,e,i),n.firstCreatePass&&t>=i.directiveStart&&function HE(e,n,t){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){const s=kp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),r&&((t.preOrderHooks??=[]).push(e,r),(t.preOrderCheckHooks??=[]).push(e,r))}(t,r[t],n)}finally{null!==c&&ot(c),As(a),s.resolving=!1,nm()}}return o}function pm(e,n,t){return!!(t[n+(e>>lm)]&1<<e)}function mm(e,n){return!(e&$.Self||e&$.Host&&n)}class Je{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return fm(this._tNode,this._lView,n,ms(i),t)}}function JE(){return new Je(Be(),y())}function je(e){return cn(()=>{const n=e.prototype.constructor,t=n[dn]||jc(n),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const r=o[dn]||jc(o);if(r&&r!==t)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function jc(e){return ec(e)?()=>{const n=jc(O(e));return n&&n()}:Yn(e)}function gm(e){const n=e[w],t=n.type;return 2===t?n.declTNode:1===t?e[$e]:null}function Vi(e,n){e.forEach(t=>Array.isArray(t)?Vi(t,n):n(t))}function bm(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Zo(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}function mt(e,n,t){let i=Bi(e,n);return i>=0?e[1|i]=t:(i=~i,function aM(e,n,t,i){let o=e.length;if(o==n)e.push(t,i);else if(1===o)e.push(i,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Uc(e,n){const t=Bi(e,n);if(t>=0)return e[1|t]}function Bi(e,n){return function vm(e,n,t){let i=0,o=e.length>>t;for(;o!==i;){const r=i+(o-i>>1),s=e[r<<t];if(n===s)return r<<t;s>n?o=r:i=r+1}return~(o<<t)}(e,n,1)}function Hs(e){return 128==(128&e.flags)}var On=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(On||{});const SM=/^>|^->|<!--|-->|--!>|<!-$/g,AM=/(<|>)/g,TM="\u200b$1\u200b";const qc=new Map;let OM=0;const Zc="__ngContext__";function Ge(e,n){st(n)?(e[Zc]=n[Vo],function RM(e){qc.set(e[Vo],e)}(n)):e[Zc]=n}let Xc;function Qc(e,n){return Xc(e,n)}function Ko(e){const n=e[he];return Xe(n)?n[he]:n}function Bm(e){return Hm(e[Po])}function jm(e){return Hm(e[Nt])}function Hm(e){for(;null!==e&&!Xe(e);)e=e[Nt];return e}function zi(e,n,t,i,o){if(null!=i){let r,s=!1;Xe(i)?r=i:st(i)&&(s=!0,i=i[ge]);const a=ce(i);0===e&&null!==t?null==o?Gm(n,t,a):Qn(n,t,a,o||null,!0):1===e&&null!==t?Qn(n,t,a,o||null,!0):2===e?function Ys(e,n,t){const i=Ws(e,n);i&&function KM(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=r&&function tI(e,n,t,i,o){const r=t[Wt];r!==ce(t)&&zi(n,e,i,r,o);for(let a=Le;a<t.length;a++){const l=t[a];er(l[w],l,e,n,i,r)}}(n,e,r,t,o)}}function Kc(e,n){return e.createComment(function Om(e){return e.replace(SM,n=>n.replace(AM,TM))}(n))}function $s(e,n,t){return e.createElement(n,t)}function zm(e,n){const t=e[Ii],i=t.indexOf(n);Up(n),t.splice(i,1)}function Gs(e,n){if(e.length<=Le)return;const t=Le+n,i=e[t];if(i){const o=i[Lo];null!==o&&o!==e&&zm(o,i),n>0&&(e[t-1][Nt]=i[Nt]);const r=Ns(e,Le+n);!function $M(e,n){er(e,n,n[N],2,null,null),n[ge]=null,n[$e]=null}(i[w],i);const s=r[Gt];null!==s&&s.detachView(r[w]),i[he]=null,i[Nt]=null,i[P]&=-129}return i}function Jc(e,n){if(!(256&n[P])){const t=n[N];n[Bo]&&Mp(n[Bo]),n[jo]&&Mp(n[jo]),t.destroyNode&&er(e,n,t,3,null,null),function qM(e){let n=e[Po];if(!n)return ed(e[w],e);for(;n;){let t=null;if(st(n))t=n[Po];else{const i=n[Le];i&&(t=i)}if(!t){for(;n&&!n[Nt]&&n!==e;)st(n)&&ed(n[w],n),n=n[he];null===n&&(n=e),st(n)&&ed(n[w],n),t=n&&n[Nt]}n=t}}(n)}}function ed(e,n){if(!(256&n[P])){n[P]&=-129,n[P]|=256,function QM(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const o=n[t[i]];if(!(o instanceof $o)){const r=t[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){const a=o[r[s]],l=r[s+1];qt(4,a,l);try{l.call(a)}finally{qt(5,a,l)}}else{qt(4,o,r);try{r.call(o)}finally{qt(5,o,r)}}}}}(e,n),function XM(e,n){const t=e.cleanup,i=n[Ci];if(null!==t)for(let r=0;r<t.length-1;r+=2)if("string"==typeof t[r]){const s=t[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else t[r].call(i[t[r+1]]);null!==i&&(n[Ci]=null);const o=n[In];if(null!==o){n[In]=null;for(let r=0;r<o.length;r++)(0,o[r])()}}(e,n),1===n[w].type&&n[N].destroy();const t=n[Lo];if(null!==t&&Xe(n[he])){t!==n[he]&&zm(t,n);const i=n[Gt];null!==i&&i.detachView(e)}!function NM(e){qc.delete(e[Vo])}(n)}}function td(e,n,t){return function $m(e,n,t){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return t[ge];{const{componentOffset:o}=i;if(o>-1){const{encapsulation:r}=e.data[i.directiveStart+o];if(r===Ft.None||r===Ft.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function Qn(e,n,t,i,o){e.insertBefore(n,t,i,o)}function Gm(e,n,t){e.appendChild(n,t)}function Wm(e,n,t,i,o){null!==i?Qn(e,n,t,i,o):Gm(e,n,t)}function Ws(e,n){return e.parentNode(n)}function qm(e,n,t){return Zm(e,n,t)}let nd,Zs,sd,Xs,Zm=function Ym(e,n,t){return 40&e.type?at(e,t):null};function qs(e,n,t,i){const o=td(e,i,n),r=n[N],a=qm(i.parent||n[$e],i,n);if(null!=o)if(Array.isArray(t))for(let l=0;l<t.length;l++)Wm(r,o,t[l],a,!1);else Wm(r,o,t,a,!1);void 0!==nd&&nd(r,i,n,t,o)}function Jo(e,n){if(null!==n){const t=n.type;if(3&t)return at(n,e);if(4&t)return id(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return Jo(e,i);{const o=e[n.index];return Xe(o)?id(-1,o):ce(o)}}if(32&t)return Qc(n,e)()||ce(e[n.index]);{const i=Qm(e,n);return null!==i?Array.isArray(i)?i[0]:Jo(Ko(e[ye]),i):Jo(e,n.next)}}return null}function Qm(e,n){return null!==n?e[ye][$e].projection[n.projection]:null}function id(e,n){const t=Le+e+1;if(t<n.length){const i=n[t],o=i[w].firstChild;if(null!==o)return Jo(i,o)}return n[Wt]}function od(e,n,t,i,o,r,s){for(;null!=t;){const a=i[t.index],l=t.type;if(s&&0===n&&(a&&Ge(ce(a),i),t.flags|=2),32!=(32&t.flags))if(8&l)od(e,n,t.child,i,o,r,!1),zi(n,e,o,a,r);else if(32&l){const c=Qc(t,i);let d;for(;d=c();)zi(n,e,o,d,r);zi(n,e,o,a,r)}else 16&l?Jm(e,n,i,t,o,r):zi(n,e,o,a,r);t=s?t.projectionNext:t.next}}function er(e,n,t,i,o,r){od(t,i,e.firstChild,n,o,r,!1)}function Jm(e,n,t,i,o,r){const s=t[ye],l=s[$e].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)zi(n,e,o,l[c],r);else{let c=l;const d=s[he];Hs(i)&&(c.flags|=128),od(e,n,c,d,o,r,!0)}}function eg(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function tg(e,n,t){const{mergedAttrs:i,classes:o,styles:r}=t;null!==i&&hc(e,n,i),null!==o&&eg(e,n,o),null!==r&&function iI(e,n,t){e.setAttribute(n,"style",t)}(e,n,r)}function $i(e){return function rd(){if(void 0===Zs&&(Zs=null,le.trustedTypes))try{Zs=le.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zs}()?.createHTML(e)||e}function Gi(){if(void 0!==sd)return sd;if(typeof document<"u")return document;throw new C(210,!1)}function ng(e){return function ad(){if(void 0===Xs&&(Xs=null,le.trustedTypes))try{Xs=le.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Xs}()?.createHTML(e)||e}class Kn{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Zh})`}}class lI extends Kn{getTypeName(){return"HTML"}}class cI extends Kn{getTypeName(){return"Style"}}class dI extends Kn{getTypeName(){return"Script"}}class uI extends Kn{getTypeName(){return"URL"}}class fI extends Kn{getTypeName(){return"ResourceURL"}}function gt(e){return e instanceof Kn?e.changingThisBreaksApplicationSecurity:e}function Xt(e,n){const t=function hI(e){return e instanceof Kn&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Zh})`)}return t===n}class vI{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString($i(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class yI{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=$i(n),t}}const DI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qs(e){return(e=String(e)).match(DI)?e:"unsafe:"+e}function pn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function tr(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const sg=pn("area,br,col,hr,img,wbr"),ag=pn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lg=pn("rp,rt"),ld=tr(sg,tr(ag,pn("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")),tr(lg,pn("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")),tr(lg,ag)),cd=pn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cg=tr(cd,pn("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"),pn("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")),CI=pn("script,style,template");class wI{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=this.checkClobberedElement(t,t.nextSibling);if(o){t=o;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!ld.hasOwnProperty(t))return this.sanitizedSomething=!0,!CI.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let o=0;o<i.length;o++){const r=i.item(o),s=r.name,a=s.toLowerCase();if(!cg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;cd[a]&&(l=Qs(l)),this.buf.push(" ",s,'="',dg(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=n.nodeName.toLowerCase();ld.hasOwnProperty(t)&&!sg.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(dg(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&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 t}}const EI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,MI=/([^\#-~ |!])/g;function dg(e){return e.replace(/&/g,"&").replace(EI,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(MI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Ks;function ug(e,n){let t=null;try{Ks=Ks||function rg(e){const n=new yI(e);return function xI(){try{return!!(new window.DOMParser).parseFromString($i(""),"text/html")}catch{return!1}}()?new vI(n):n}(e);let i=n?String(n):"";t=Ks.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=t.innerHTML,t=Ks.getInertBodyElement(i)}while(i!==r);return $i((new wI).sanitizeChildren(dd(t)||t))}finally{if(t){const i=dd(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function dd(e){return"content"in e&&function II(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Se=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Se||{});function ud(e){const n=function nr(){const e=y();return e&&e[wi].sanitizer}();return n?ng(n.sanitize(Se.HTML,e)||""):Xt(e,"HTML")?ng(gt(e)):ug(Gi(),R(e))}const Js=new D("ENVIRONMENT_INITIALIZER"),pg=new D("INJECTOR",-1),mg=new D("INJECTOR_DEF_TYPES");class fd{get(n,t=To){if(t===To){const i=new Error(`NullInjectorError: No provider for ${we(n)}!`);throw i.name="NullInjectorError",i}return t}}function ea(e){return{\u0275providers:e}}function NI(...e){return{\u0275providers:gg(0,e),\u0275fromNgModule:!0}}function gg(e,...n){const t=[],i=new Set;let o;const r=s=>{t.push(s)};return Vi(n,s=>{const a=s;ta(a,r,[],i)&&(o||=[],o.push(a))}),void 0!==o&&_g(o,r),t}function _g(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:o}=e[t];hd(o,r=>{n(r,i)})}}function ta(e,n,t,i){if(!(e=O(e)))return!1;let o=null,r=fs(e);const s=!r&&W(e);if(r||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(r=fs(l),!r)return!1;o=l}const a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)ta(c,n,t,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;i.add(o);try{Vi(r.imports,d=>{ta(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&_g(c,n)}if(!a){const c=Yn(o)||(()=>new o);n({provide:o,useFactory:c,deps:X},o),n({provide:mg,useValue:o,multi:!0},o),n({provide:Js,useValue:()=>v(o),multi:!0},o)}const l=r.providers;if(null!=l&&!a){const c=e;hd(l,d=>{n(d,c)})}}}return o!==e&&void 0!==e.providers}function hd(e,n){for(let t of e)tc(t)&&(t=t.\u0275providers),Array.isArray(t)?hd(t,n):n(t)}const kI=te({provide:String,useValue:te});function pd(e){return null!==e&&"object"==typeof e&&kI in e}function Jn(e){return"function"==typeof e}const md=new D("Set Injector scope."),na={},LI={};let gd;function ia(){return void 0===gd&&(gd=new fd),gd}class Qt{}class Wi extends Qt{get destroyed(){return this._destroyed}constructor(n,t,i,o){super(),this.parent=t,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,bd(n,s=>this.processProvider(s)),this.records.set(pg,qi(void 0,this)),o.has("environment")&&this.records.set(Qt,qi(void 0,this));const r=this.records.get(md);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(mg.multi,X,$.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=En(this),i=ot(void 0);try{return n()}finally{En(t),ot(i)}}get(n,t=To,i=$.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(op))return n[op](this);i=ms(i);const r=En(this),s=ot(void 0);try{if(!(i&$.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function UI(e){return"function"==typeof e||"object"==typeof e&&e instanceof D}(n)&&us(n);l=c&&this.injectableDefInScope(c)?qi(_d(n),na):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&$.Self?ia():this.parent).get(n,t=i&$.Optional&&t===To?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[ps]=a[ps]||[]).unshift(we(n)),r)throw a;return function Fw(e,n,t,i){const o=e[ps];throw n[tp]&&o.unshift(n[tp]),e.message=function Rw(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=we(n);if(Array.isArray(n))o=n.map(we).join(" -> ");else if("object"==typeof n){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):we(a)))}o=`{${r.join(", ")}}`}return`${t}${i?"("+i+")":""}[${o}]: ${e.replace(Iw,"\n ")}`}("\n"+e.message,o,t,i),e.ngTokenPath=o,e[ps]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{ot(s),En(r)}}resolveInjectorInitializers(){const n=En(this),t=ot(void 0);try{const o=this.get(Js.multi,X,$.Self);for(const r of o)r()}finally{En(n),ot(t)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(we(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(n){let t=Jn(n=O(n))?n:O(n&&n.provide);const i=function BI(e){return pd(e)?qi(void 0,e.useValue):qi(yg(e),na)}(n);if(Jn(n)||!0!==n.multi)this.records.get(t);else{let o=this.records.get(t);o||(o=qi(void 0,na,!0),o.factory=()=>dc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,i)}hydrate(n,t){return t.value===na&&(t.value=LI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function HI(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=O(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function _d(e){const n=us(e),t=null!==n?n.factory:Yn(e);if(null!==t)return t;if(e instanceof D)throw new C(204,!1);if(e instanceof Function)return function VI(e){const n=e.length;if(n>0)throw Zo(n,"?"),new C(204,!1);const t=function Cw(e){return e&&(e[hs]||e[Qh])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new C(204,!1)}function yg(e,n,t){let i;if(Jn(e)){const o=O(e);return Yn(o)||_d(o)}if(pd(e))i=()=>O(e.useValue);else if(function vg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...dc(e.deps||[]));else if(function bg(e){return!(!e||!e.useExisting)}(e))i=()=>v(O(e.useExisting));else{const o=O(e&&(e.useClass||e.provide));if(!function jI(e){return!!e.deps}(e))return Yn(o)||_d(o);i=()=>new o(...dc(e.deps))}return i}function qi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function bd(e,n){for(const t of e)Array.isArray(t)?bd(t,n):t&&tc(t)?bd(t.\u0275providers,n):n(t)}const oa=new D("AppId",{providedIn:"root",factory:()=>zI}),zI="ng",xg=new D("Platform Initializer"),Fn=new D("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),ir=new D("AnimationModuleType"),vd=new D("CSP nonce",{providedIn:"root",factory:()=>Gi().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Dg=(e,n,t)=>null;function Id(e,n,t=!1){return Dg(e,n,t)}class JI{}class Eg{}class tS{resolveComponentFactory(n){throw function eS(e){const n=Error(`No component factory found for ${we(e)}.`);return n.ngComponent=e,n}(n)}}let mn=(()=>{class e{static{this.NULL=new tS}}return e})();function nS(){return Xi(Be(),y())}function Xi(e,n){return new Ae(at(e,n))}let Ae=(()=>{class e{constructor(t){this.nativeElement=t}static{this.__NG_ELEMENT_ID__=nS}}return e})();function iS(e){return e instanceof Ae?e.nativeElement:e}class Ig{}let ei=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function oS(){const e=y(),t=pt(Be().index,e);return(st(t)?t:e)[N]}()}}return e})(),rS=(()=>{class e{static{this.\u0275prov=M({token:e,providedIn:"root",factory:()=>null})}}return e})();class ti{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const sS=new ti("16.2.12"),Td={};function Og(e,n=null,t=null,i){const o=Fg(e,n,t,i);return o.resolveInjectorInitializers(),o}function Fg(e,n=null,t=null,i,o=new Set){const r=[t||X,NI(e)];return i=i||("object"==typeof e?void 0:we(e)),new Wi(r,n||ia(),i||null,o)}let _e=(()=>{class e{static{this.THROW_IF_NOT_FOUND=To}static{this.NULL=new fd}static create(t,i){if(Array.isArray(t))return Og({name:""},i,t,"");{const o=t.name??"";return Og({name:o},t.parent,t.providers,o)}}static{this.\u0275prov=M({token:e,providedIn:"any",factory:()=>v(pg)})}static{this.__NG_ELEMENT_ID__=-1}}return e})();function Fd(e){return e.ngOriginalError}class Lt{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Fd(n);for(;t&&Fd(t);)t=Fd(t);return t||null}}function Rd(e){return n=>{setTimeout(e,void 0,n)}}const oe=class pS extends B{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,i){let o=n,r=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=Rd(r),o&&(o=Rd(o)),s&&(s=Rd(s)));const a=super.subscribe({next:o,error:r,complete:s});return n instanceof Re&&n.add(a),a}};function Ng(...e){}class V{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new oe(!1),this.onMicrotaskEmpty=new oe(!1),this.onStable=new oe(!1),this.onError=new oe(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&t,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function mS(){const e="function"==typeof le.requestAnimationFrame;let n=le[e?"requestAnimationFrame":"setTimeout"],t=le[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function bS(e){const n=()=>{!function _S(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(le,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,kd(e),e.isCheckStableRunning=!0,Nd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),kd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,o,r,s,a)=>{if(function yS(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,r,s,a);try{return kg(e),t.invokeTask(o,r,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&n(),Pg(e)}},onInvoke:(t,i,o,r,s,a,l)=>{try{return kg(e),t.invoke(o,r,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Pg(e)}},onHasTask:(t,i,o,r)=>{t.hasTask(o,r),i===o&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,kd(e),Nd(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,i,o,r)=>(t.handleError(o,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!V.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(V.isInAngularZone())throw new C(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,gS,Ng,Ng);try{return r.runTask(s,t,i)}finally{r.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const gS={};function Nd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function kd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function kg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pg(e){e._nesting--,Nd(e)}class vS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new oe,this.onMicrotaskEmpty=new oe,this.onStable=new oe,this.onError=new oe}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,o){return n.apply(t,i)}}const Lg=new D("",{providedIn:"root",factory:Vg});function Vg(){const e=F(V);let n=!0;return Ao(new fe(o=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(n),o.complete()})}),new fe(o=>{let r;e.runOutsideAngular(()=>{r=e.onStable.subscribe(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{V.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{r.unsubscribe(),s.unsubscribe()}}).pipe(Zl()))}let Pd=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static{this.\u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}}return e})();function sr(e){for(;e;){e[P]|=64;const n=Ko(e);if(gc(e)&&!n)return e;e=n}return null}const zg=new D("",{providedIn:"root",factory:()=>!1});let fa=null;function qg(e,n){return e[n]??Xg()}function Yg(e,n){const t=Xg();t.producerNode?.length&&(e[n]=fa,t.lView=e,fa=Zg())}const TS={..._c,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{sr(e.lView)},lView:null};function Zg(){return Object.create(TS)}function Xg(){return fa??=Zg(),fa}const k={};function ne(e){Qg(q(),y(),Ke()+e,!1)}function Qg(e,n,t,i){if(!i)if(3==(3&n[P])){const r=e.preOrderCheckHooks;null!==r&&Is(n,r,t)}else{const r=e.preOrderHooks;null!==r&&Ss(n,r,0,t)}Zn(t)}function g(e,n=$.Default){const t=y();return null===t?v(e,n):fm(Be(),t,O(e),n)}function ha(e,n,t,i,o,r,s,a,l,c,d){const u=n.blueprint.slice();return u[ge]=o,u[P]=140|i,(null!==c||e&&2048&e[P])&&(u[P]|=2048),Hp(u),u[he]=u[Ei]=e,u[ve]=t,u[wi]=s||e&&e[wi],u[N]=a||e&&e[N],u[Mn]=l||e&&e[Mn]||null,u[$e]=r,u[Vo]=function FM(){return OM++}(),u[un]=d,u[_p]=c,u[ye]=2==n.type?e[ye]:u,u}function Ji(e,n,t,i,o){let r=e.data[n];if(null===r)r=function Ld(e,n,t,i,o){const r=qp(),s=Ic(),l=e.data[n]=function VS(e,n,t,i,o,r){let s=n?n.injectorIndex:-1,a=0;return Ti()&&(a|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?r:r&&r.parent,t,n,i,o);return null===e.firstChild&&(e.firstChild=l),null!==r&&(s?null==r.child&&null!==l.parent&&(r.child=l):null===r.next&&(r.next=l,l.prev=r)),l}(e,n,t,i,o),function OE(){return T.lFrame.inI18n}()&&(r.flags|=32);else if(64&r.type){r.type=t,r.value=i,r.attrs=o;const s=function zo(){const e=T.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();r.injectorIndex=null===s?-1:s.injectorIndex}return Yt(r,!0),r}function ar(e,n,t,i){if(0===t)return-1;const o=n.length;for(let r=0;r<t;r++)n.push(i),e.blueprint.push(i),e.data.push(null);return o}function Jg(e,n,t,i,o){const r=qg(n,Bo),s=Ke(),a=2&i;try{Zn(-1),a&&n.length>j&&Qg(e,n,j,!1),qt(a?2:0,o);const c=a?r:null,d=vc(c);try{null!==c&&(c.dirty=!1),t(i,o)}finally{yc(c,d)}}finally{a&&null===n[Bo]&&Yg(n,Bo),Zn(s),qt(a?3:1,o)}}function Vd(e,n,t){if(mc(n)){const i=Et(null);try{const r=n.directiveEnd;for(let s=n.directiveStart;s<r;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{Et(i)}}}function Bd(e,n,t){Wp()&&(function GS(e,n,t,i){const o=t.directiveStart,r=t.directiveEnd;qn(t)&&function KS(e,n,t){const i=at(n,e),o=e_(t);let s=16;t.signals?s=4096:t.onPush&&(s=64);const a=pa(e,ha(e,o,null,s,i,n,null,e[wi].rendererFactory.createRenderer(i,t),null,null,null));e[n.index]=a}(n,t,e.data[o+t.componentOffset]),e.firstCreatePass||Ts(t,n),Ge(i,n);const s=t.initialInputs;for(let a=o;a<r;a++){const l=e.data[a],c=Xn(n,e,a,t);Ge(c,n),null!==s&&JS(0,a-o,c,l,0,s),kt(l)&&(pt(t.index,n)[ve]=Xn(n,e,a,t))}}(e,n,t,at(t,n)),64==(64&t.flags)&&r_(e,n,t))}function jd(e,n,t=at){const i=n.localNames;if(null!==i){let o=n.index+1;for(let r=0;r<i.length;r+=2){const s=i[r+1],a=-1===s?t(n,e):e[s];e[o++]=a}}}function e_(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=Hd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Hd(e,n,t,i,o,r,s,a,l,c,d){const u=j+i,f=u+o,h=function FS(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:k);return t}(u,f),p="function"==typeof c?c():c;return h[w]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1,ssrId:d}}let t_=e=>null;function n_(e,n,t,i){for(let o in e)if(e.hasOwnProperty(o)){t=null===t?{}:t;const r=e[o];null===i?i_(t,n,o,r):i.hasOwnProperty(o)&&i_(t,n,i[o],r)}return t}function i_(e,n,t,i){e.hasOwnProperty(t)?e[t].push(n,i):e[t]=[n,i]}function _t(e,n,t,i,o,r,s,a){const l=at(n,t);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(Wd(e,t,d,i,o),qn(n)&&function HS(e,n){const t=pt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function jS(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=s?s(o,n.value||"",i):o,r.setProperty(l,i,o))}function Ud(e,n,t,i){if(Wp()){const o=null===i?null:{"":-1},r=function qS(e,n){const t=e.directiveRegistry;let i=null,o=null;if(t)for(let r=0;r<t.length;r++){const s=t[r];if(up(n,s.selectors,!1))if(i||(i=[]),kt(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s),zd(e,n,a.length)}else i.unshift(s),zd(e,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return null===i?null:[i,o]}(e,t);let s,a;null===r?s=a=null:[s,a]=r,null!==s&&o_(e,n,t,s,o,a),o&&function YS(e,n,t){if(n){const i=e.localNames=[];for(let o=0;o<n.length;o+=2){const r=t[n[o+1]];if(null==r)throw new C(-301,!1);i.push(n[o],r)}}}(t,i,o)}t.mergedAttrs=Ro(t.mergedAttrs,t.attrs)}function o_(e,n,t,i,o,r){for(let c=0;c<i.length;c++)Bc(Ts(t,n),e,i[c].type);!function XS(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=ar(e,n,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];t.mergedAttrs=Ro(t.mergedAttrs,d.hostAttrs),QS(e,t,n,l,d),ZS(l,d,o),null!==d.contentQueries&&(t.flags|=4),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(t.flags|=64);const u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),a=!0),l++}!function BS(e,n,t){const o=n.directiveEnd,r=e.data,s=n.attrs,a=[];let l=null,c=null;for(let d=n.directiveStart;d<o;d++){const u=r[d],f=t?t.get(u):null,p=f?f.outputs:null;l=n_(u.inputs,d,l,f?f.inputs:null),c=n_(u.outputs,d,c,p);const m=null===l||null===s||dp(n)?null:eA(l,d,s);a.push(m)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}(e,t,r)}function r_(e,n,t){const i=t.directiveStart,o=t.directiveEnd,r=t.index,s=function RE(){return T.lFrame.currentDirectiveIndex}();try{Zn(r);for(let a=i;a<o;a++){const l=e.data[a],c=n[a];Ac(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&WS(l,c)}}finally{Zn(-1),Ac(s)}}function WS(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function zd(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function ZS(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;kt(n)&&(t[""]=e)}}function QS(e,n,t,i,o){e.data[i]=o;const r=o.factory||(o.factory=Yn(o.type)),s=new $o(r,kt(o),g);e.blueprint[i]=s,t[i]=s,function zS(e,n,t,i,o){const r=o.hostBindings;if(r){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function $S(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,r)}}(e,n,i,ar(e,t,o.hostVars,k),o)}function Kt(e,n,t,i,o,r){const s=at(e,n);!function $d(e,n,t,i,o,r,s){if(null==r)e.removeAttribute(n,o,t);else{const a=null==s?R(r):s(r,i||"",o);e.setAttribute(n,o,a,t)}}(n[N],s,r,e.value,t,i,o)}function JS(e,n,t,i,o,r){const s=r[n];if(null!==s)for(let a=0;a<s.length;)s_(i,t,s[a++],s[a++],s[a++])}function s_(e,n,t,i,o){const r=Et(null);try{const s=e.inputTransforms;null!==s&&s.hasOwnProperty(i)&&(o=s[i].call(n,o)),null!==e.setInput?e.setInput(n,o,t,i):n[i]=o}finally{Et(r)}}function eA(e,n,t){let i=null,o=0;for(;o<t.length;){const r=t[o];if(0!==r)if(5!==r){if("number"==typeof r)break;if(e.hasOwnProperty(r)){null===i&&(i=[]);const s=e[r];for(let a=0;a<s.length;a+=2)if(s[a]===n){i.push(r,s[a+1],t[o+1]);break}}o+=2}else o+=2;else o+=4}return i}function a_(e,n,t,i){return[e,!0,!1,n,null,0,i,t,null,null,null]}function l_(e,n){const t=e.contentQueries;if(null!==t)for(let i=0;i<t.length;i+=2){const r=t[i+1];if(-1!==r){const s=e.data[r];Oc(t[i]),s.contentQueries(2,n[r],r)}}}function pa(e,n){return e[Po]?e[gp][Nt]=n:e[Po]=n,e[gp]=n,n}function Gd(e,n,t){Oc(0);const i=Et(null);try{n(e,t)}finally{Et(i)}}function c_(e){return e[Ci]||(e[Ci]=[])}function d_(e){return e.cleanup||(e.cleanup=[])}function u_(e,n,t){return(null===e||kt(e))&&(t=function wc(e){for(;Array.isArray(e);){if("object"==typeof e[pc])return e;e=e[ge]}return null}(t[n.index])),t[N]}function f_(e,n){const t=e[Mn],i=t?t.get(Lt,null):null;i&&i.handleError(n)}function Wd(e,n,t,i,o){for(let r=0;r<t.length;){const s=t[r++],a=t[r++];s_(e.data[s],n[s],i,a,o)}}function tA(e,n){const t=pt(n,e),i=t[w];!function nA(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(i,t);const o=t[ge];null!==o&&null===t[un]&&(t[un]=Id(o,t[Mn])),qd(i,t,t[ve])}function qd(e,n,t){Fc(n);try{const i=e.viewQuery;null!==i&&Gd(1,i,t);const o=e.template;null!==o&&Jg(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&l_(e,n),e.staticViewQueries&&Gd(2,e.viewQuery,t);const r=e.components;null!==r&&function iA(e,n){for(let t=0;t<n.length;t++)tA(e,n[t])}(n,r)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[P]&=-5,Rc()}}let h_=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,i,o){const r=typeof Zone>"u"?null:Zone.current,s=function dE(e,n,t){const i=Object.create(uE);t&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=n;const o=s=>{i.cleanupFn=s};return i.ref={notify:()=>wp(i),run:()=>{if(i.dirty=!1,i.hasRun&&!Ep(i))return;i.hasRun=!0;const s=vc(i);try{i.cleanupFn(),i.cleanupFn=Rp,i.fn(o)}finally{yc(i,s)}},cleanup:()=>i.cleanupFn()},i.ref}(t,c=>{this.all.has(c)&&this.queue.set(c,r)},o);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=i?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[t,i]of this.queue)this.queue.delete(t),i?i.run(()=>t.run()):t.run()}get isQueueEmpty(){return 0===this.queue.size}static{this.\u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}}return e})();function ma(e,n,t){let i=t?e.styles:null,o=t?e.classes:null,r=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?r=a:1==r?o=Jl(o,a):2==r&&(i=Jl(i,a+": "+n[++s]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=o:e.classesWithoutHost=o}function lr(e,n,t,i,o=!1){for(;null!==t;){const r=n[t.index];null!==r&&i.push(ce(r)),Xe(r)&&p_(r,i);const s=t.type;if(8&s)lr(e,n,t.child,i);else if(32&s){const a=Qc(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=Qm(n,t);if(Array.isArray(a))i.push(...a);else{const l=Ko(n[ye]);lr(l[w],l,a,i,!0)}}t=o?t.projectionNext:t.next}return i}function p_(e,n){for(let t=Le;t<e.length;t++){const i=e[t],o=i[w].firstChild;null!==o&&lr(i[w],i,o,n)}e[Wt]!==e[ge]&&n.push(e[Wt])}function ga(e,n,t,i=!0){const o=n[wi],r=o.rendererFactory,s=o.afterRenderEventManager;r.begin?.(),s?.begin();try{m_(e,n,e.template,t)}catch(l){throw i&&f_(n,l),l}finally{r.end?.(),o.effectManager?.flush(),s?.end()}}function m_(e,n,t,i){const o=n[P];if(256!=(256&o)){n[wi].effectManager?.flush(),Fc(n);try{Hp(n),function Zp(e){return T.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Jg(e,n,t,2,i);const s=3==(3&o);if(s){const c=e.preOrderCheckHooks;null!==c&&Is(n,c,null)}else{const c=e.preOrderHooks;null!==c&&Ss(n,c,0,null),Nc(n,0)}if(function sA(e){for(let n=Bm(e);null!==n;n=jm(n)){if(!n[bp])continue;const t=n[Ii];for(let i=0;i<t.length;i++){yE(t[i])}}}(n),g_(n,2),null!==e.contentQueries&&l_(e,n),s){const c=e.contentCheckHooks;null!==c&&Is(n,c)}else{const c=e.contentHooks;null!==c&&Ss(n,c,1),Nc(n,1)}!function OS(e,n){const t=e.hostBindingOpCodes;if(null===t)return;const i=qg(n,jo);try{for(let o=0;o<t.length;o++){const r=t[o];if(r<0)Zn(~r);else{const s=r,a=t[++o],l=t[++o];FE(a,s),i.dirty=!1;const c=vc(i);try{l(2,n[s])}finally{yc(i,c)}}}}finally{null===n[jo]&&Yg(n,jo),Zn(-1)}}(e,n);const a=e.components;null!==a&&b_(n,a,0);const l=e.viewQuery;if(null!==l&&Gd(2,l,i),s){const c=e.viewCheckHooks;null!==c&&Is(n,c)}else{const c=e.viewHooks;null!==c&&Ss(n,c,2),Nc(n,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[P]&=-73,Up(n)}finally{Rc()}}}function g_(e,n){for(let t=Bm(e);null!==t;t=jm(t))for(let i=Le;i<t.length;i++)__(t[i],n)}function aA(e,n,t){__(pt(n,e),t)}function __(e,n){if(!function bE(e){return 128==(128&e[P])}(e))return;const t=e[w],i=e[P];if(80&i&&0===n||1024&i||2===n)m_(t,e,t.template,e[ve]);else if(e[ko]>0){g_(e,1);const o=t.components;null!==o&&b_(e,o,1)}}function b_(e,n,t){for(let i=0;i<n.length;i++)aA(e,n[i],t)}class cr{get rootNodes(){const n=this._lView,t=n[w];return lr(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ve]}set context(n){this._lView[ve]=n}get destroyed(){return 256==(256&this._lView[P])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[he];if(Xe(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(Gs(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Jc(this._lView[w],this._lView)}onDestroy(n){!function $p(e,n){if(256==(256&e[P]))throw new C(911,!1);null===e[In]&&(e[In]=[]),e[In].push(n)}(this._lView,n)}markForCheck(){sr(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){this._lView[P]|=128}detectChanges(){ga(this._lView[w],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function WM(e,n){er(e,n,n[N],2,null,null)}(this._lView[w],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=n}}class lA extends cr{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;ga(n[w],n,n[ve],!1)}checkNoChanges(){}get context(){return null}}class v_ extends mn{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=W(n);return new dr(t,this.ngModule)}}function y_(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class dA{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=ms(i);const o=this.injector.get(n,Td,i);return o!==Td||t===Td?o:this.parentInjector.get(n,t,i)}}class dr extends Eg{get inputs(){const n=this.componentDef,t=n.inputTransforms,i=y_(n.inputs);if(null!==t)for(const o of i)t.hasOwnProperty(o.propName)&&(o.transform=t[o.propName]);return i}get outputs(){return y_(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function zw(e){return e.map(Uw).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,i,o){let r=(o=o||this.ngModule)instanceof Qt?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const s=r?new dA(n,r):n,a=s.get(Ig,null);if(null===a)throw new C(407,!1);const u={rendererFactory:a,sanitizer:s.get(rS,null),effectManager:s.get(h_,null),afterRenderEventManager:s.get(Pd,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=i?function RS(e,n,t,i){const r=i.get(zg,!1)||t===Ft.ShadowDom,s=e.selectRootElement(n,r);return function NS(e){t_(e)}(s),s}(f,i,this.componentDef.encapsulation,s):$s(f,h,function cA(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(h)),x=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let b=null;null!==p&&(b=Id(p,s,!0));const E=Hd(0,null,null,1,0,null,null,null,null,null,null),S=ha(null,E,null,x,null,null,u,f,s,null,b);let L,Fe;Fc(S);try{const an=this.componentDef;let vi,Dh=null;an.findHostDirectiveDefs?(vi=[],Dh=new Map,an.findHostDirectiveDefs(an,vi,Dh),vi.push(an)):vi=[an];const Aj=function fA(e,n){const t=e[w],i=j;return e[i]=n,Ji(t,i,2,"#host",null)}(S,p),Tj=function hA(e,n,t,i,o,r,s){const a=o[w];!function pA(e,n,t,i){for(const o of e)n.mergedAttrs=Ro(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(ma(n,n.mergedAttrs,!0),null!==t&&tg(i,t,n))}(i,e,n,s);let l=null;null!==n&&(l=Id(n,o[Mn]));const c=r.rendererFactory.createRenderer(n,t);let d=16;t.signals?d=4096:t.onPush&&(d=64);const u=ha(o,e_(t),null,d,o[e.index],e,r,c,null,null,l);return a.firstCreatePass&&zd(a,e,i.length-1),pa(o,u),o[e.index]=u}(Aj,p,an,vi,S,u,f);Fe=jp(E,j),p&&function gA(e,n,t,i){if(i)hc(e,t,["ng-version",sS.full]);else{const{attrs:o,classes:r}=function $w(e){const n=[],t=[];let i=1,o=2;for(;i<e.length;){let r=e[i];if("string"==typeof r)2===o?""!==r&&n.push(r,e[++i]):8===o&&t.push(r);else{if(!Rt(o))break;o=r}i++}return{attrs:n,classes:t}}(n.selectors[0]);o&&hc(e,t,o),r&&r.length>0&&eg(e,t,r.join(" "))}}(f,an,p,i),void 0!==t&&function _A(e,n,t){const i=e.projection=[];for(let o=0;o<n.length;o++){const r=t[o];i.push(null!=r?Array.from(r):null)}}(Fe,this.ngContentSelectors,t),L=function mA(e,n,t,i,o,r){const s=Be(),a=o[w],l=at(s,o);o_(a,o,s,t,null,i);for(let d=0;d<t.length;d++)Ge(Xn(o,a,s.directiveStart+d,s),o);r_(a,o,s),l&&Ge(l,o);const c=Xn(o,a,s.directiveStart+s.componentOffset,s);if(e[ve]=o[ve]=c,null!==r)for(const d of r)d(c,n);return Vd(a,s,e),c}(Tj,an,vi,Dh,S,[bA]),qd(E,S,null)}finally{Rc()}return new uA(this.componentType,L,Xi(Fe,S),S,Fe)}}class uA extends JI{constructor(n,t,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new lA(o),this.componentType=n}setInput(n,t){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const r=this._rootLView;Wd(r[w],r,o,n,t),this.previousInputValues.set(n,t),sr(pt(this._tNode.index,r))}}get injector(){return new Je(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function bA(){const e=Be();Ms(y()[w],e)}function U(e){let n=function x_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let o;if(kt(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new C(903,!1);o=n.\u0275dir}if(o){if(t){i.push(o);const s=e;s.inputs=_a(e.inputs),s.inputTransforms=_a(e.inputTransforms),s.declaredInputs=_a(e.declaredInputs),s.outputs=_a(e.outputs);const a=o.hostBindings;a&&DA(e,a);const l=o.viewQuery,c=o.contentQueries;if(l&&yA(e,l),c&&xA(e,c),cs(e.inputs,o.inputs),cs(e.declaredInputs,o.declaredInputs),cs(e.outputs,o.outputs),null!==o.inputTransforms&&(null===s.inputTransforms&&(s.inputTransforms={}),cs(s.inputTransforms,o.inputTransforms)),kt(o)&&o.data.animation){const d=e.data;d.animation=(d.animation||[]).concat(o.data.animation)}}const r=o.features;if(r)for(let s=0;s<r.length;s++){const a=r[s];a&&a.ngInherit&&a(e),a===U&&(t=!1)}}n=Object.getPrototypeOf(n)}!function vA(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Ro(o.hostAttrs,t=Ro(t,o.hostAttrs))}}(i)}function _a(e){return e===$t?{}:e===X?[]:e}function yA(e,n){const t=e.viewQuery;e.viewQuery=t?(i,o)=>{n(i,o),t(i,o)}:n}function xA(e,n){const t=e.contentQueries;e.contentQueries=t?(i,o,r)=>{n(i,o,r),t(i,o,r)}:n}function DA(e,n){const t=e.hostBindings;e.hostBindings=t?(i,o)=>{n(i,o),t(i,o)}:n}function We(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function He(e,n,t,i){const o=y();return We(o,Oi(),n)&&(q(),Kt(pe(),o,e,n,t,i)),He}function me(e,n,t,i,o,r,s,a){const l=y(),c=q(),d=e+j,u=c.firstCreatePass?function YA(e,n,t,i,o,r,s,a,l){const c=n.consts,d=Ji(n,e,4,s||null,An(c,a));Ud(n,t,d,An(c,l)),Ms(n,d);const u=d.tView=Hd(2,d,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}(d,c,l,n,t,i,o,r,s):c.data[d];Yt(u,!1);const f=L_(c,l,u,e);Es()&&qs(c,l,f,u),Ge(f,l),pa(l,l[d]=a_(f,l,f,u)),ys(u)&&Bd(c,l,u),null!=s&&jd(l,u,a)}let L_=function V_(e,n,t,i){return Tn(!0),n[N].createComment("")};function re(e,n,t){const i=y();return We(i,Oi(),n)&&_t(q(),pe(),i,e,n,i[N],t,!1),re}function eu(e,n,t,i,o){const s=o?"class":"style";Wd(e,t,n.inputs[s],s,i)}function Y(e,n,t,i){const o=y(),r=q(),s=j+e,a=o[N],l=r.firstCreatePass?function JA(e,n,t,i,o,r){const s=n.consts,l=Ji(n,e,2,i,An(s,o));return Ud(n,t,l,An(s,r)),null!==l.attrs&&ma(l,l.attrs,!1),null!==l.mergedAttrs&&ma(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,r,o,n,t,i):r.data[s],c=B_(r,o,l,a,n,e);o[s]=c;const d=ys(l);return Yt(l,!0),tg(a,c,l),32!=(32&l.flags)&&Es()&&qs(r,o,c,l),0===function DE(){return T.lFrame.elementDepthCount}()&&Ge(c,o),function CE(){T.lFrame.elementDepthCount++}(),d&&(Bd(r,o,l),Vd(r,l,o)),null!==i&&jd(o,l),Y}function G(){let e=Be();Ic()?Sc():(e=e.parent,Yt(e,!1));const n=e;(function EE(e){return T.skipHydrationRootTNode===e})(n)&&function AE(){T.skipHydrationRootTNode=null}(),function wE(){T.lFrame.elementDepthCount--}();const t=q();return t.firstCreatePass&&(Ms(t,e),mc(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function $E(e){return 0!=(8&e.flags)}(n)&&eu(t,n,y(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function GE(e){return 0!=(16&e.flags)}(n)&&eu(t,n,y(),n.stylesWithoutHost,!1),G}function bt(e,n,t,i){return Y(e,n,t,i),G(),bt}let B_=(e,n,t,i,o,r)=>(Tn(!0),$s(i,o,function im(){return T.lFrame.currentNamespace}()));function mr(e,n,t){const i=y(),o=q(),r=e+j,s=o.firstCreatePass?function nT(e,n,t,i,o){const r=n.consts,s=An(r,i),a=Ji(n,e,8,"ng-container",s);return null!==s&&ma(a,s,!0),Ud(n,t,a,An(r,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(r,o,i,n,t):o.data[r];Yt(s,!0);const a=H_(o,i,s,e);return i[r]=a,Es()&&qs(o,i,a,s),Ge(a,i),ys(s)&&(Bd(o,i,s),Vd(o,s,i)),null!=t&&jd(i,s),mr}function gr(){let e=Be();const n=q();return Ic()?Sc():(e=e.parent,Yt(e,!1)),n.firstCreatePass&&(Ms(n,e),mc(e)&&n.queries.elementEnd(e)),gr}let H_=(e,n,t,i)=>(Tn(!0),Kc(n[N],""));function tu(){return y()}function Ca(e){return!!e&&"function"==typeof e.then}function U_(e){return!!e&&"function"==typeof e.subscribe}function Te(e,n,t,i){const o=y(),r=q(),s=Be();return function $_(e,n,t,i,o,r,s){const a=ys(i),c=e.firstCreatePass&&d_(e),d=n[ve],u=c_(n);let f=!0;if(3&i.type||s){const m=at(i,n),_=s?s(m):m,x=u.length,b=s?S=>s(ce(S[i.index])):i.index;let E=null;if(!s&&a&&(E=function rT(e,n,t,i){const o=e.cleanup;if(null!=o)for(let r=0;r<o.length-1;r+=2){const s=o[r];if(s===t&&o[r+1]===i){const a=n[Ci],l=o[r+2];return a.length>l?a[l]:null}"string"==typeof s&&(r+=2)}return null}(e,n,o,i.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=r,E.__ngLastListenerFn__=r,f=!1;else{r=W_(i,n,d,r,!1);const S=t.listen(_,o,r);u.push(r,S),c&&c.push(o,b,x,x+1)}}else r=W_(i,n,d,r,!1);const h=i.outputs;let p;if(f&&null!==h&&(p=h[o])){const m=p.length;if(m)for(let _=0;_<m;_+=2){const L=n[p[_]][p[_+1]].subscribe(r),Fe=u.length;u.push(r,L),c&&c.push(o,i.index,Fe,-(Fe+1))}}}(r,o,o[N],s,e,n,i),Te}function G_(e,n,t,i){try{return qt(6,n,t),!1!==t(i)}catch(o){return f_(e,o),!1}finally{qt(7,n,t)}}function W_(e,n,t,i,o){return function r(s){if(s===Function)return i;sr(e.componentOffset>-1?pt(e.index,n):n);let l=G_(n,t,i,s),c=r.__ngNextListenerFn__;for(;c;)l=G_(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function Oe(e=1){return function kE(e){return(T.lFrame.contextLView=function PE(e,n){for(;e>0;)n=n[Ei],e--;return n}(e,T.lFrame.contextLView))[ve]}(e)}function sT(e,n){let t=null;const i=function Vw(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let o=0;o<n.length;o++){const r=n[o];if("*"!==r){if(null===i?up(e,r,!0):Hw(i,r))return o}else t=o}return t}function co(e){const n=y()[ye][$e];if(!n.projection){const i=n.projection=Zo(e?e.length:1,null),o=i.slice();let r=n.child;for(;null!==r;){const s=e?sT(r,e):0;null!==s&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r),r=r.next}}}function ct(e,n=0,t){const i=y(),o=q(),r=Ji(o,j+e,16,null,t||null);null===r.projection&&(r.projection=n),Sc(),(!i[un]||Ti())&&32!=(32&r.flags)&&function eI(e,n,t){Jm(n[N],0,n,t,td(e,t,n),qm(t.parent||n[$e],t,n))}(o,i,r)}function wa(e,n){return e<<17|n<<2}function Rn(e){return e>>17&32767}function iu(e){return 2|e}function ii(e){return(131068&e)>>2}function ou(e,n){return-131069&e|n<<2}function ru(e){return 1|e}function nb(e,n,t,i,o){const r=e[t+1],s=null===n;let a=i?Rn(r):ii(r),l=!1;for(;0!==a&&(!1===l||s);){const d=e[a+1];fT(e[a],n)&&(l=!0,e[a+1]=i?ru(d):iu(d)),a=i?Rn(d):ii(d)}l&&(e[t+1]=i?iu(r):ru(r))}function fT(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Bi(e,n)>=0}const Me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ib(e){return e.substring(Me.key,Me.keyEnd)}function ob(e,n){const t=Me.textEnd;return t===n?-1:(n=Me.keyEnd=function gT(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,Me.key=n,t),uo(e,n,t))}function uo(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function bn(e,n,t){return Bt(e,n,t,!1),bn}function Vt(e,n){return Bt(e,n,null,!0),Vt}function vn(e){!function jt(e,n,t,i){const o=q(),r=hn(2);o.firstUpdatePass&&db(o,null,r,i);const s=y();if(t!==k&&We(s,r,t)){const a=o.data[Ke()];if(pb(a,i)&&!cb(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Jl(l,t||"")),eu(o,a,s,t,i)}else!function MT(e,n,t,i,o,r,s,a){o===k&&(o=X);let l=0,c=0,d=0<o.length?o[0]:null,u=0<r.length?r[0]:null;for(;null!==d||null!==u;){const f=l<o.length?o[l+1]:void 0,h=c<r.length?r[c+1]:void 0;let m,p=null;d===u?(l+=2,c+=2,f!==h&&(p=u,m=h)):null===u||null!==d&&d<u?(l+=2,p=d):(c+=2,p=u,m=h),null!==p&&fb(e,n,t,i,p,m,s,a),d=l<o.length?o[l]:null,u=c<r.length?r[c]:null}}(o,a,s,s[N],s[r+1],s[r+1]=function wT(e,n,t){if(null==t||""===t)return X;const i=[],o=gt(t);if(Array.isArray(o))for(let r=0;r<o.length;r++)e(i,o[r],!0);else if("object"==typeof o)for(const r in o)o.hasOwnProperty(r)&&e(i,r,o[r]);else"string"==typeof o&&n(i,o);return i}(e,n,t),i,r)}}(ET,tn,e,!0)}function tn(e,n){for(let t=function pT(e){return function sb(e){Me.key=0,Me.keyEnd=0,Me.value=0,Me.valueEnd=0,Me.textEnd=e.length}(e),ob(e,uo(e,0,Me.textEnd))}(n);t>=0;t=ob(n,t))mt(e,ib(n),!0)}function Bt(e,n,t,i){const o=y(),r=q(),s=hn(2);r.firstUpdatePass&&db(r,e,s,i),n!==k&&We(o,s,n)&&fb(r,r.data[Ke()],o,o[N],e,o[s+1]=function IT(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=we(gt(e)))),e}(n,t),i,s)}function cb(e,n){return n>=e.expandoStartIndex}function db(e,n,t,i){const o=e.data;if(null===o[t+1]){const r=o[Ke()],s=cb(e,t);pb(r,i)&&null===n&&!s&&(n=!1),n=function yT(e,n,t,i){const o=Tc(e);let r=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(t=_r(t=su(null,e,n,t,i),n.attrs,i),r=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=su(o,e,n,t,i),null===r){let l=function xT(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==ii(i))return e[Rn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=su(null,e,n,l[1],i),l=_r(l,n.attrs,i),function DT(e,n,t,i){e[Rn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else r=function CT(e,n,t){let i;const o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++)i=_r(i,e[r].hostAttrs,t);return _r(i,n.attrs,t)}(e,n,i)}return void 0!==r&&(i?n.residualClasses=r:n.residualStyles=r),t}(o,r,n,i),function dT(e,n,t,i,o,r){let s=r?n.classBindings:n.styleBindings,a=Rn(s),l=ii(s);e[i]=t;let d,c=!1;if(Array.isArray(t)?(d=t[1],(null===d||Bi(t,d)>0)&&(c=!0)):d=t,o)if(0!==l){const f=Rn(e[a+1]);e[i+1]=wa(f,a),0!==f&&(e[f+1]=ou(e[f+1],i)),e[a+1]=function lT(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=wa(a,0),0!==a&&(e[a+1]=ou(e[a+1],i)),a=i;else e[i+1]=wa(l,0),0===a?a=i:e[l+1]=ou(e[l+1],i),l=i;c&&(e[i+1]=iu(e[i+1])),nb(e,d,i,!0),nb(e,d,i,!1),function uT(e,n,t,i,o){const r=o?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof n&&Bi(r,n)>=0&&(t[i+1]=ru(t[i+1]))}(n,d,e,i,r),s=wa(a,l),r?n.classBindings=s:n.styleBindings=s}(o,r,n,t,s,i)}}function su(e,n,t,i,o){let r=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(r=n[a],i=_r(i,r.hostAttrs,o),r!==e);)a++;return null!==e&&(t.directiveStylingLast=a),i}function _r(e,n,t){const i=t?1:2;let o=-1;if(null!==n)for(let r=0;r<n.length;r++){const s=n[r];"number"==typeof s?o=s:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),mt(e,s,!!t||n[++r]))}return void 0===e?null:e}function ET(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&mt(e,i,t)}function fb(e,n,t,i,o,r,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],d=function cT(e){return 1==(1&e)}(c)?hb(l,n,t,o,ii(c),s):void 0;Ea(d)||(Ea(r)||function aT(e){return 2==(2&e)}(c)&&(r=hb(l,null,t,o,a,s)),function nI(e,n,t,i,o){if(n)o?e.addClass(t,i):e.removeClass(t,i);else{let r=-1===i.indexOf("-")?void 0:On.DashCase;null==o?e.removeStyle(t,i,r):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=On.Important),e.setStyle(t,i,o,r))}}(i,s,ws(Ke(),t),o,r))}function hb(e,n,t,i,o,r){const s=null===n;let a;for(;o>0;){const l=e[o],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let f=t[o+1];f===k&&(f=u?X:void 0);let h=u?Uc(f,i):d===i?f:void 0;if(c&&!Ea(h)&&(h=Uc(l,i)),Ea(h)&&(a=h,s))return a;const p=e[o+1];o=s?Rn(p):ii(p)}if(null!==n){let l=r?n.residualClasses:n.residualStyles;null!=l&&(a=Uc(l,i))}return a}function Ea(e){return void 0!==e}function pb(e,n){return 0!=(e.flags&(n?8:16))}function Ie(e,n=""){const t=y(),i=q(),o=e+j,r=i.firstCreatePass?Ji(i,o,1,n,null):i.data[o],s=mb(i,t,r,n,e);t[o]=s,Es()&&qs(i,t,s,r),Yt(r,!1)}let mb=(e,n,t,i,o)=>(Tn(!0),function zs(e,n){return e.createText(n)}(n[N],i));function yn(e,n,t){const i=y(),o=function to(e,n,t,i){return We(e,Oi(),t)?n+R(t)+i:k}(i,e,n,t);return o!==k&&function _n(e,n,t){const i=ws(n,e);!function Um(e,n,t){e.setValue(n,t)}(e[N],i,t)}(i,Ke(),o),yn}function au(e,n,t){const i=y();return We(i,Oi(),n)&&_t(q(),pe(),i,e,n,i[N],t,!0),au}function lu(e,n,t){const i=y();if(We(i,Oi(),n)){const r=q(),s=pe();_t(r,s,i,e,n,u_(Tc(r.data),s,i),t,!0)}return lu}const ho="en-US";let Pb=ho;function uu(e,n,t,i,o){if(e=O(e),Array.isArray(e))for(let r=0;r<e.length;r++)uu(e[r],n,t,i,o);else{const r=q(),s=y(),a=Be();let l=Jn(e)?e:O(e.provide);const c=yg(e),d=1048575&a.providerIndexes,u=a.directiveStart,f=a.providerIndexes>>20;if(Jn(e)||!e.multi){const h=new $o(c,o,g),p=hu(l,n,o?d:d+f,u);-1===p?(Bc(Ts(a,s),r,l),fu(r,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=hu(l,n,d+f,u),p=hu(l,n,d,d+f),_=p>=0&&t[p];if(o&&!_||!o&&!(h>=0&&t[h])){Bc(Ts(a,s),r,l);const x=function Z1(e,n,t,i,o){const r=new $o(e,t,g);return r.multi=[],r.index=n,r.componentProviders=0,av(r,o,i&&!t),r}(o?Y1:q1,t.length,o,i,c);!o&&_&&(t[p].providerFactory=x),fu(r,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(x),s.push(x)}else fu(r,e,h>-1?h:p,av(t[o?p:h],c,!o&&i));!o&&i&&_&&t[p].componentProviders++}}}function fu(e,n,t,i){const o=Jn(n),r=function PI(e){return!!e.useClass}(n);if(o||r){const l=(r?O(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function av(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function hu(e,n,t,i){for(let o=t;o<i;o++)if(n[o]===e)return o;return-1}function q1(e,n,t,i){return pu(this.multi,[])}function Y1(e,n,t,i){const o=this.multi;let r;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Xn(t,t[w],this.providerFactory.index,i);r=a.slice(0,s),pu(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],pu(o,r);return r}function pu(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function ie(e,n=[]){return t=>{t.providersResolver=(i,o)=>function W1(e,n,t){const i=q();if(i.firstCreatePass){const o=kt(e);uu(t,i.data,i.blueprint,o,!0),uu(n,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,n)}}class ri{}class X1{}class mu extends ri{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new v_(this);const o=function ht(e,n){const t=e[ip]||null;if(!t&&!0===n)throw new Error(`Type ${we(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function gn(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Fg(n,t,[{provide:ri,useValue:this},{provide:mn,useValue:this.componentFactoryResolver},...i],we(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(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class gu extends X1{constructor(n){super(),this.moduleType=n}create(n){return new mu(this.moduleType,n,[])}}class lv extends ri{constructor(n){super(),this.componentFactoryResolver=new v_(this),this.instance=null;const t=new Wi([...n.providers,{provide:ri,useValue:this},{provide:mn,useValue:this.componentFactoryResolver}],n.parent||ia(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}let eO=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=gg(0,t.type),o=i.length>0?function J1(e,n,t=null){return new lv({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=M({token:e,providedIn:"environment",factory:()=>new e(v(Qt))})}}return e})();function _u(e){e.getStandaloneInjector=n=>n.get(eO).getOrCreateStandaloneInjector(e)}function MO(){return this._results[Symbol.iterator]()}class po{get changes(){return this._changes||(this._changes=new oe)}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 t=po.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=MO)}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,t){return this._results.reduce(n,t)}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,t){const i=this;i.dirty=!1;const o=function Mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function rM(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],r=n[i];if(t&&(o=t(o),r=t(r)),r!==o)return!1}return!0}(i._results,o,t))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function SO(e,n,t,i=!0){const o=n[w];if(function YM(e,n,t,i){const o=Le+i,r=t.length;i>0&&(t[o-1][Nt]=n),i<r-Le?(n[Nt]=t[o],bm(t,Le+i,n)):(t.push(n),n[Nt]=null),n[he]=t;const s=n[Lo];null!==s&&t!==s&&function ZM(e,n){const t=e[Ii];n[ye]!==n[he][he][ye]&&(e[bp]=!0),null===t?e[Ii]=[n]:t.push(n)}(s,n);const a=n[Gt];null!==a&&a.insertView(e),n[P]|=128}(o,n,e,t),i){const r=id(t,e),s=n[N],a=Ws(s,e[Wt]);null!==a&&function GM(e,n,t,i,o,r){i[ge]=o,i[$e]=n,er(e,i,t,1,o,r)}(o,e[$e],s,n,a,r)}}let Ht=(()=>{class e{static{this.__NG_ELEMENT_ID__=OO}}return e})();const AO=Ht,TO=class extends AO{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const o=function IO(e,n,t,i){const o=n.tView,a=ha(e,o,t,4096&e[P]?4096:16,null,n,null,null,null,i?.injector??null,i?.hydrationInfo??null);a[Lo]=e[n.index];const c=e[Gt];return null!==c&&(a[Gt]=c.createEmbeddedView(o)),qd(o,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,hydrationInfo:i});return new cr(o)}};function OO(){return Ta(Be(),y())}function Ta(e,n){return 4&e.type?new TO(n,e,Xi(e,n)):null}let St=(()=>{class e{static{this.__NG_ELEMENT_ID__=LO}}return e})();function LO(){return Mv(Be(),y())}const VO=St,wv=class extends VO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Xi(this._hostTNode,this._hostLView)}get injector(){return new Je(this._hostTNode,this._hostLView)}get parentInjector(){const n=Os(this._hostTNode,this._hostLView);if(Pc(n)){const t=Wo(n,this._hostLView),i=Go(n);return new Je(t[w].data[i+8],t)}return new Je(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Ev(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Le}createEmbeddedView(n,t,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const a=n.createEmbeddedViewImpl(t||{},r,null);return this.insertImpl(a,o,false),a}createComponent(n,t,i,o,r){const s=n&&!function Yo(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,o=m.projectableNodes,r=m.environmentInjector||m.ngModuleRef}const l=s?n:new dr(W(n)),c=i||this.parentInjector;if(!r&&null==l.ngModule){const _=(s?c:this.parentInjector).get(Qt,null);_&&(r=_)}W(l.componentType??{});const h=l.create(c,o,null,r);return this.insertImpl(h.hostView,a,false),h}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,i){const o=n._lView;if(function vE(e){return Xe(e[he])}(o)){const l=this.indexOf(n);if(-1!==l)this.detach(l);else{const c=o[he],d=new wv(c,c[$e],c[he]);d.detach(d.indexOf(n))}}const s=this._adjustIndex(t),a=this._lContainer;return SO(a,o,s,!i),n.attachToViewContainerRef(),bm(vu(a),s,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Ev(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Gs(this._lContainer,t);i&&(Ns(vu(this._lContainer),t),Jc(i[w],i))}detach(n){const t=this._adjustIndex(n,-1),i=Gs(this._lContainer,t);return i&&null!=Ns(vu(this._lContainer),t)?new cr(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Ev(e){return e[8]}function vu(e){return e[8]||(e[8]=[])}function Mv(e,n){let t;const i=n[e.index];return Xe(i)?t=i:(t=a_(i,n,null,e),n[e.index]=t,pa(n,t)),Iv(t,n,e,i),new wv(t,e,n)}let Iv=function Sv(e,n,t,i){if(e[Wt])return;let o;o=8&t.type?ce(i):function BO(e,n){const t=e[N],i=t.createComment(""),o=at(n,e);return Qn(t,Ws(t,o),i,function JM(e,n){return e.nextSibling(n)}(t,o),!1),i}(n,t),e[Wt]=o};class yu{constructor(n){this.queryList=n,this.matches=null}clone(){return new yu(this.queryList)}setDirty(){this.queryList.setDirty()}}class xu{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,o=[];for(let r=0;r<i;r++){const s=t.getByIndex(r);o.push(this.queries[s.indexInDeclarationView].clone())}return new xu(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==Rv(n,t).matches&&this.queries[t].setDirty()}}class Av{constructor(n,t,i=null){this.predicate=n,this.flags=t,this.read=i}}class Du{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){const o=null!==t?t.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,null!==t?t.push(r):t=[r])}return null!==t?new Du(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class Cu{constructor(n,t=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new Cu(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const r=i[o];this.matchTNodeWithReadOption(n,t,UO(t,r)),this.matchTNodeWithReadOption(n,t,Fs(t,n,r,!1,!1))}else i===Ht?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Fs(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Ae||o===St||o===Ht&&4&t.type)this.addMatch(t.index,-2);else{const r=Fs(t,n,o,!1,!1);null!==r&&this.addMatch(t.index,r)}else this.addMatch(t.index,i)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function UO(e,n){const t=e.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1];return null}function $O(e,n,t,i){return-1===t?function zO(e,n){return 11&e.type?Xi(e,n):4&e.type?Ta(e,n):null}(n,e):-2===t?function GO(e,n,t){return t===Ae?Xi(n,e):t===Ht?Ta(n,e):t===St?Mv(n,e):void 0}(e,n,i):Xn(e,e[w],t,n)}function Tv(e,n,t,i){const o=n[Gt].queries[i];if(null===o.matches){const r=e.data,s=t.matches,a=[];for(let l=0;l<s.length;l+=2){const c=s[l];a.push(c<0?null:$O(n,r[c],s[l+1],t.metadata.read))}o.matches=a}return o.matches}function wu(e,n,t,i){const o=e.queries.getByIndex(t),r=o.matches;if(null!==r){const s=Tv(e,n,o,t);for(let a=0;a<r.length;a+=2){const l=r[a];if(l>0)i.push(s[a/2]);else{const c=r[a+1],d=n[-l];for(let u=Le;u<d.length;u++){const f=d[u];f[Lo]===f[he]&&wu(f[w],f,c,i)}if(null!==d[Ii]){const u=d[Ii];for(let f=0;f<u.length;f++){const h=u[f];wu(h[w],h,c,i)}}}}}return i}function Er(e){const n=y(),t=q(),i=Qp();Oc(i+1);const o=Rv(t,i);if(e.dirty&&function _E(e){return 4==(4&e[P])}(n)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const r=o.crossesNgTemplate?wu(t,n,i,[]):Tv(t,n,o,i);e.reset(r,iS),e.notifyOnChanges()}return!0}return!1}function Eu(e,n,t){const i=q();i.firstCreatePass&&(Fv(i,new Av(e,n,t),-1),2==(2&n)&&(i.staticViewQueries=!0)),Ov(i,y(),n)}function Mu(e,n,t,i){const o=q();if(o.firstCreatePass){const r=Be();Fv(o,new Av(n,t,i),r.index),function qO(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(o,e),2==(2&t)&&(o.staticContentQueries=!0)}Ov(o,y(),t)}function Mr(){return function WO(e,n){return e[Gt].queries[n].queryList}(y(),Qp())}function Ov(e,n,t){const i=new po(4==(4&t));(function LS(e,n,t,i){const o=c_(n);o.push(t),e.firstCreatePass&&d_(e).push(i,o.length-1)})(e,n,i,i.destroy),null===n[Gt]&&(n[Gt]=new xu),n[Gt].queries.push(new yu(i))}function Fv(e,n,t){null===e.queries&&(e.queries=new Du),e.queries.track(new Cu(n,t))}function Rv(e,n){return e.queries.getByIndex(n)}const mF=new D("Application Initializer");let Ou=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=F(mF,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const r=o();if(Ca(r))t.push(r);else if(U_(r)){const s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(o=>{this.reject(o)}),0===t.length&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const nn=new D("LocaleId",{providedIn:"root",factory:()=>F(nn,$.Optional|$.SkipSelf)||function _F(){return typeof $localize<"u"&&$localize.locale||ho}()});let Fu=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ls(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const ey=new D(""),Na=new D("");let Lu,ku=(()=>{class e{constructor(t,i,o){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Lu||(function UF(e){Lu=e}(o),o.addToWindow(i)),this._watchAngularEvents(),t.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:()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),t(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:o})}whenStable(t,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,o){return[]}static{this.\u0275fac=function(i){return new(i||e)(v(V),v(Pu),v(Na))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})(),Pu=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return Lu?.findTestabilityInTree(this,t,i)??null}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),Nn=null;const ty=new D("AllowMultipleToken"),Vu=new D("PlatformDestroyListeners"),ny=new D("appBootstrapListener");function ry(e,n,t=[]){const i=`Platform: ${n}`,o=new D(i);return(r=[])=>{let s=Bu();if(!s||s.injector.get(ty,!1)){const a=[...t,...r,{provide:o,useValue:!0}];e?e(a):function GF(e){if(Nn&&!Nn.get(ty,!1))throw new C(400,!1);(function iy(){!function rE(e){Ap=e}(()=>{throw new C(600,!1)})})(),Nn=e;const n=e.get(ay);(function oy(e){e.get(xg,null)?.forEach(t=>t())})(e)}(function sy(e=[],n){return _e.create({name:n,providers:[{provide:md,useValue:"platform"},{provide:Vu,useValue:new Set([()=>Nn=null])},...e]})}(a,i))}return function qF(e){const n=Bu();if(!n)throw new C(401,!1);return n}()}}function Bu(){return Nn?.get(ay)??null}let ay=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const o=function YF(e="zone.js",n){return"noop"===e?new vS:"zone.js"===e?new V(n):e}(i?.ngZone,function ly(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const r=function K1(e,n,t){return new mu(e,n,t)}(t.moduleType,this.injector,function hy(e){return[{provide:V,useFactory:e},{provide:Js,multi:!0,useFactory:()=>{const n=F(XF,{optional:!0});return()=>n.initialize()}},{provide:fy,useFactory:ZF},{provide:Lg,useFactory:Vg}]}(()=>o)),s=r.injector.get(Lt,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});r.onDestroy(()=>{ka(this._modules,r),a.unsubscribe()})}),function cy(e,n,t){try{const i=t();return Ca(i)?i.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,o,()=>{const a=r.injector.get(Ou);return a.runInitializers(),a.donePromise.then(()=>(function Lb(e){Ct(e,"Expected localeId to be defined"),"string"==typeof e&&(Pb=e.toLowerCase().replace(/_/g,"-"))}(r.injector.get(nn,ho)||ho),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,i=[]){const o=dy({},i);return function zF(e,n,t){const i=new gu(t);return Promise.resolve(i)}(0,0,t).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(t){const i=t.injector.get(xn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new C(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(Vu,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(i){return new(i||e)(v(_e))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function dy(e,n){return Array.isArray(n)?n.reduce(dy,e):{...e,...n}}let xn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=F(fy),this.zoneIsStable=F(Lg),this.componentTypes=[],this.components=[],this.isStable=F(Fu).hasPendingTasks.pipe(Ql(t=>t?Dt(!1):this.zoneIsStable),Kl(),Zl()),this._injector=F(Qt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const o=t instanceof Eg;if(!this._injector.get(Ou).done)throw!o&&function No(e){const n=W(e)||Pe(e)||Ze(e);return null!==n&&n.standalone}(t),new C(405,!1);let s;s=o?t:this._injector.get(mn).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function $F(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ri),c=s.create(_e.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(ey,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),ka(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;ka(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(ny,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>ka(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new C(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function ka(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const fy=new D("",{providedIn:"root",factory:()=>F(Lt).handleError.bind(void 0)});function ZF(){const e=F(V),n=F(Lt);return t=>e.runOutsideAngular(()=>n.handleError(t))}let XF=(()=>{class e{constructor(){this.zone=F(V),this.applicationRef=F(xn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();let _o=(()=>{class e{static{this.__NG_ELEMENT_ID__=KF}}return e})();function KF(e){return function JF(e,n,t){if(qn(e)&&!t){const i=pt(e.index,n);return new cr(i,i)}return 47&e.type?new cr(n[ye],n):null}(Be(),y(),16==(16&e))}const uR=ry(null,"core",[]);let fR=(()=>{class e{constructor(t){}static{this.\u0275fac=function(i){return new(i||e)(v(xn))}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({})}}return e})(),Wu=null;function kn(){return Wu}class ER{}const H=new D("DocumentToken");let Fy=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:function(){return F(MR)},providedIn:"platform"})}}return e})(),MR=(()=>{class e extends Fy{constructor(){super(),this._doc=F(H),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return kn().getBaseHref(this._doc)}onPopState(t){const i=kn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=kn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,i,o){this._history.pushState(t,i,o)}replaceState(t,i,o){this._history.replaceState(t,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:function(){return new e},providedIn:"platform"})}}return e})();function Ry(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function Ny(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function ai(e){return e&&"?"!==e[0]?"?"+e:e}let qu=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:function(){return F(SR)},providedIn:"root"})}}return e})();const IR=new D("appBaseHref");let SR=(()=>{class e extends qu{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??F(H).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ry(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+ai(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${i}${o}`:i}pushState(t,i,o,r){const s=this.prepareExternalUrl(o+ai(r));this._platformLocation.pushState(t,i,s)}replaceState(t,i,o,r){const s=this.prepareExternalUrl(o+ai(r));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(i){return new(i||e)(v(Fy),v(IR,8))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Yu=(()=>{class e{constructor(t){this._subject=new oe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function OR(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(Ny(ky(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+ai(i))}normalize(t){return e.stripTrailingSlash(function TR(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,ky(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",o=null){this._locationStrategy.pushState(o,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ai(i)),o)}replaceState(t,i="",o=null){this._locationStrategy.replaceState(o,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ai(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(o=>o(t,i))}subscribe(t,i,o){return this._subject.subscribe({next:t,error:i,complete:o})}static{this.normalizeQueryParams=ai}static{this.joinWithSlash=Ry}static{this.stripTrailingSlash=Ny}static{this.\u0275fac=function(i){return new(i||e)(v(qu))}}static{this.\u0275prov=M({token:e,factory:function(){return function AR(){return new Yu(v(qu))}()},providedIn:"root"})}}return e})();function ky(e){return e.replace(/\/index.html$/,"")}function $y(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[o,r]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}let Fr=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new vN,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Yy("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Yy("ngIfElse",t),this._elseTemplateRef=t,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(t,i){return!0}static{this.\u0275fac=function(i){return new(i||e)(g(St),g(Ht))}}static{this.\u0275dir=I({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})();class vN{constructor(){this.$implicit=null,this.ngIf=null}}function Yy(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${we(n)}'.`)}let Rr=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({})}}return e})();const Qy="browser";function Ky(e){return"server"===e}class Jy{}class _k extends ER{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class hf extends _k{static makeCurrent(){!function wR(e){Wu||(Wu=e)}(new hf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function bk(){return kr=kr||document.querySelector("base"),kr?kr.getAttribute("href"):null}();return null==t?null:function vk(e){Ka=Ka||document.createElement("a"),Ka.setAttribute("href",e);const n=Ka.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){kr=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return $y(document.cookie,n)}}let Ka,kr=null,xk=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})();const pf=new D("EventManagerPlugins");let ox=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,o){return this._findPluginFor(i).addEventListener(t,i,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(r=>r.supports(t)),!i)throw new C(5101,!1);return this._eventNameToPlugin.set(t,i),i}static{this.\u0275fac=function(i){return new(i||e)(v(pf),v(V))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})();class rx{constructor(n){this._doc=n}}const mf="ng-app-id";let sx=(()=>{class e{constructor(t,i,o,r={}){this.doc=t,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ky(r),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(o=>o.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${mf}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(o=>{null!=o.textContent&&i.set(o.textContent,o)}),i}return null}changeUsageCount(t,i){const o=this.styleRef;if(o.has(t)){const r=o.get(t);return r.usage+=i,r.usage}return o.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===t)return o.delete(i),r.removeAttribute(mf),r;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(mf,this.appId),s}}addStyleToHost(t,i){const o=this.getStyleElement(t,i);t.appendChild(o);const r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||e)(v(H),v(oa),v(vd,8),v(Fn))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})();const gf={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/"},_f=/%COMP%/g,Ek=new D("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function lx(e,n){return n.map(t=>t.replace(_f,e))}let cx=(()=>{class e{constructor(t,i,o,r,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Ky(a),this.defaultRenderer=new bf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ft.ShadowDom&&(i={...i,encapsulation:Ft.Emulated});const o=this.getOrCreateRenderer(t,i);return o instanceof ux?o.applyToHost(t):o instanceof vf&&o.applyStyles(),o}getOrCreateRenderer(t,i){const o=this.rendererByCompId;let r=o.get(i.id);if(!r){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case Ft.Emulated:r=new ux(l,c,i,this.appId,d,s,a,u);break;case Ft.ShadowDom:return new Ak(l,c,t,i,s,a,this.nonce,u);default:r=new vf(l,c,i,d,s,a,u)}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||e)(v(ox),v(sx),v(oa),v(Ek),v(H),v(Fn),v(V),v(vd))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})();class bf{constructor(n,t,i,o){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(gf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(dx(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(dx(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new C(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,o){if(o){t=o+":"+t;const r=gf[o];r?n.setAttributeNS(r,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const o=gf[i];o?n.removeAttributeNS(o,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,o){o&(On.DashCase|On.Important)?n.style.setProperty(t,i,o&On.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&On.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){n[t]=i}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=kn().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function dx(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Ak extends bf{constructor(n,t,i,o,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=lx(o.id,o.styles);for(const d of c){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class vf extends bf{constructor(n,t,i,o,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=l?lx(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ux extends vf{constructor(n,t,i,o,r,s,a,l){const c=o+"-"+i.id;super(n,t,i,r,s,a,l,c),this.contentAttr=function Mk(e){return"_ngcontent-%COMP%".replace(_f,e)}(c),this.hostAttr=function Ik(e){return"_nghost-%COMP%".replace(_f,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let Tk=(()=>{class e extends rx{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,o){return t.addEventListener(i,o,!1),()=>this.removeEventListener(t,i,o)}removeEventListener(t,i,o){return t.removeEventListener(i,o)}static{this.\u0275fac=function(i){return new(i||e)(v(H))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})();const fx=["alt","control","meta","shift"],Ok={"\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"},Fk={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Rk=(()=>{class e extends rx{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,o){const r=e.parseEventName(i),s=e.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>kn().onAndCancel(t,r.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),fx.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=r,0!=i.length||0===r.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let o=Ok[t.key]||t.key,r="";return i.indexOf("code.")>-1&&(o=t.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),fx.forEach(s=>{s!==o&&(0,Fk[s])(t)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(t,i,o){return r=>{e.matchEventFullKeyCode(r,t)&&o.runGuarded(()=>i(r))}}static _normalizeKey(t){return"esc"===t?"escape":t}static{this.\u0275fac=function(i){return new(i||e)(v(H))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})();const Lk=ry(uR,"browser",[{provide:Fn,useValue:Qy},{provide:xg,useValue:function Nk(){hf.makeCurrent()},multi:!0},{provide:H,useFactory:function Pk(){return function aI(e){sd=e}(document),document},deps:[]}]),Vk=new D(""),mx=[{provide:Na,useClass:class yk{addToWindow(n){le.getAngularTestability=(i,o=!0)=>{const r=n.findTestabilityInTree(i,o);if(null==r)throw new C(5103,!1);return r},le.getAllAngularTestabilities=()=>n.getAllTestabilities(),le.getAllAngularRootElements=()=>n.getAllRootElements(),le.frameworkStabilizers||(le.frameworkStabilizers=[]),le.frameworkStabilizers.push(i=>{const o=le.getAllAngularTestabilities();let r=o.length,s=!1;const a=function(l){s=s||l,r--,0==r&&i(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?kn().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:ey,useClass:ku,deps:[V,Pu,Na]},{provide:ku,useClass:ku,deps:[V,Pu,Na]}],gx=[{provide:md,useValue:"root"},{provide:Lt,useFactory:function kk(){return new Lt},deps:[]},{provide:pf,useClass:Tk,multi:!0,deps:[H,V,Fn]},{provide:pf,useClass:Rk,multi:!0,deps:[H]},cx,sx,ox,{provide:Ig,useExisting:cx},{provide:Jy,useClass:xk,deps:[]},[]];let Bk=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:oa,useValue:t.appId}]}}static{this.\u0275fac=function(i){return new(i||e)(v(Vk,12))}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({providers:[...gx,...mx],imports:[Rr,fR]})}}return e})();typeof window<"u"&&window;let Ja=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:function(i){let o=null;return o=i?new(i||e):v(vx),o},providedIn:"root"})}}return e})(),vx=(()=>{class e extends Ja{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case Se.NONE:return i;case Se.HTML:return Xt(i,"HTML")?gt(i):ug(this._doc,String(i)).toString();case Se.STYLE:return Xt(i,"Style")?gt(i):i;case Se.SCRIPT:if(Xt(i,"Script"))return gt(i);throw new C(5200,!1);case Se.URL:return Xt(i,"URL")?gt(i):Qs(String(i));case Se.RESOURCE_URL:if(Xt(i,"ResourceURL"))return gt(i);throw new C(5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(t){return function pI(e){return new lI(e)}(t)}bypassSecurityTrustStyle(t){return function mI(e){return new cI(e)}(t)}bypassSecurityTrustScript(t){return function gI(e){return new dI(e)}(t)}bypassSecurityTrustUrl(t){return function _I(e){return new uI(e)}(t)}bypassSecurityTrustResourceUrl(t){return function bI(e){return new fI(e)}(t)}static{this.\u0275fac=function(i){return new(i||e)(v(H))}}static{this.\u0275prov=M({token:e,factory:function(i){let o=null;return o=i?new i:function Gk(e){return new vx(e.get(H))}(v(_e)),o},providedIn:"root"})}}return e})();const xf={now:()=>(xf.delegate||Date).now(),delegate:void 0};class Wk extends B{constructor(n=1/0,t=1/0,i=xf){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;t||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!n.closed;s+=i?1:2)n.next(r[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:o}=this,r=(o?1:2)*n;if(n<1/0&&r<i.length&&i.splice(0,i.length-r),!o){const s=t.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}const el={schedule(e,n){const t=setTimeout(e,n);return()=>clearTimeout(t)},scheduleBeforeRender(e){if(typeof window>"u")return el.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return el.schedule(e,16);const n=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(n)}};let Df;function tP(e,n,t){let i=t;return function Yk(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&n.some((o,r)=>!("*"===o||!function Xk(e,n){if(!Df){const t=Element.prototype;Df=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Df.call(e,n)}(e,o)||(i=r,0))),i}class iP{constructor(n,t){this.componentFactory=t.get(mn).resolveComponentFactory(n)}create(n){return new oP(this.componentFactory,n)}}class oP{constructor(n,t){this.componentFactory=n,this.injector=t,this.eventEmitters=new Wk(1),this.events=this.eventEmitters.pipe(Ql(i=>Ao(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(V),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=el.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(n){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t,i){this.runInZone(()=>{i&&(t=i.call(this.componentRef?.instance,t)),null!==this.componentRef?function Qk(e,n){return e===n||e!=e&&n!=n}(t,this.getInputValue(n))&&(void 0!==t||!this.unchangedInputs.has(n))||(this.recordInputChange(n,t),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=t,this.scheduleDetectChanges()):this.initialInputValues.set(n,t)})}initializeComponent(n){const t=_e.create({providers:[],parent:this.injector}),i=function eP(e,n){const t=e.childNodes,i=n.map(()=>[]);let o=-1;n.some((r,s)=>"*"===r&&(o=s,!0));for(let r=0,s=t.length;r<s;++r){const a=t[r],l=tP(a,n,o);-1!==l&&i[l].push(a)}return i}(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(_o),this.implementsOnChanges=function Zk(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(xn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:t})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),t)}),this.initialInputValues.clear()}initializeOutputs(n){const t=this.componentFactory.outputs.map(({propName:i,templateName:o})=>n.instance[i].pipe(ke(s=>({name:o,value:s}))));this.eventEmitters.next(t)}callNgOnChanges(n){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(t)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=el.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[n];if(i)return void(i.currentValue=t);const o=this.unchangedInputs.has(n),r=o?void 0:this.getInputValue(n);this.inputChanges[n]=new Np(r,t,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}}class rP extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}const{isArray:aP}=Array,{getPrototypeOf:lP,prototype:cP,keys:dP}=Object;function xx(e){if(1===e.length){const n=e[0];if(aP(n))return{args:n,keys:null};if(function uP(e){return e&&"object"==typeof e&&lP(e)===cP}(n)){const t=dP(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:fP}=Array;function Cf(e){return ke(n=>function hP(e,n){return fP(n)?e(...n):e(n)}(e,n))}function Dx(e,n){return e.reduce((t,i,o)=>(t[i]=n[o],t),{})}let wx=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static{this.\u0275fac=function(i){return new(i||e)(g(ei),g(Ae))}}static{this.\u0275dir=I({type:e})}}return e})(),li=(()=>{class e extends wx{static{this.\u0275fac=function(){let t;return function(o){return(t||(t=je(e)))(o||e)}}()}static{this.\u0275dir=I({type:e,features:[U]})}}return e})();const on=new D("NgValueAccessor"),mP={provide:on,useExisting:ae(()=>tl),multi:!0},_P=new D("CompositionEventMode");let tl=(()=>{class e extends wx{constructor(t,i,o){super(t,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function gP(){const e=kn()?kn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static{this.\u0275fac=function(i){return new(i||e)(g(ei),g(Ae),g(_P,8))}}static{this.\u0275dir=I({type:e,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(i,o){1&i&&Te("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ie([mP]),U]})}}return e})();function Ln(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function Mx(e){return null!=e&&"number"==typeof e.length}const qe=new D("NgValidators"),Vn=new D("NgAsyncValidators"),bP=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ix{static min(n){return function Sx(e){return n=>{if(Ln(n.value)||Ln(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}(n)}static max(n){return function Ax(e){return n=>{if(Ln(n.value)||Ln(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function Tx(e){return Ln(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function Ox(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function Fx(e){return Ln(e.value)||bP.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function Rx(e){return n=>Ln(n.value)||!Mx(n.value)?null:n.value.length<e?{minlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static maxLength(n){return function Nx(e){return n=>Mx(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function kx(e){if(!e)return nl;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),i=>{if(Ln(i.value))return null;const o=i.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return Hx(n)}static composeAsync(n){return Ux(n)}}function nl(e){return null}function Px(e){return null!=e}function Lx(e){return Ca(e)?Gn(e):e}function Vx(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Bx(e,n){return n.map(t=>t(e))}function jx(e){return e.map(n=>function vP(e){return!e.validate}(n)?n:t=>n.validate(t))}function Hx(e){if(!e)return null;const n=e.filter(Px);return 0==n.length?null:function(t){return Vx(Bx(t,n))}}function wf(e){return null!=e?Hx(jx(e)):null}function Ux(e){if(!e)return null;const n=e.filter(Px);return 0==n.length?null:function(t){return function Cx(...e){const n=Gh(e),{args:t,keys:i}=xx(e),o=new fe(r=>{const{length:s}=t;if(!s)return void r.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d<s;d++){let u=!1;Ye(t[d]).subscribe(Ne(r,f=>{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||r.next(i?Dx(i,a):a),r.complete())}))}});return n?o.pipe(Cf(n)):o}(Bx(t,n).map(Lx)).pipe(ke(Vx))}}function Ef(e){return null!=e?Ux(jx(e)):null}function zx(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function $x(e){return e._rawValidators}function Gx(e){return e._rawAsyncValidators}function Mf(e){return e?Array.isArray(e)?e:[e]:[]}function il(e,n){return Array.isArray(e)?e.includes(n):e===n}function Wx(e,n){const t=Mf(n);return Mf(e).forEach(o=>{il(t,o)||t.push(o)}),t}function qx(e,n){return Mf(n).filter(t=>!il(e,t))}class Yx{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=wf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Ef(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class it extends Yx{get formDirective(){return null}get path(){return null}}class Bn extends Yx{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Zx{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Xx=(()=>{class e extends Zx{constructor(t){super(t)}static{this.\u0275fac=function(i){return new(i||e)(g(Bn,2))}}static{this.\u0275dir=I({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){2&i&&Vt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[U]})}}return e})(),Qx=(()=>{class e extends Zx{constructor(t){super(t)}static{this.\u0275fac=function(i){return new(i||e)(g(it,10))}}static{this.\u0275dir=I({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){2&i&&Vt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[U]})}}return e})();const Pr="VALID",rl="INVALID",vo="PENDING",Lr="DISABLED";function Af(e){return(sl(e)?e.validators:e)||null}function Tf(e,n){return(sl(n)?n.asyncValidators:e)||null}function sl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Jx(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new C(1e3,"");if(!i[t])throw new C(1001,"")}function e0(e,n,t){e._forEachChild((i,o)=>{if(void 0===t[o])throw new C(1002,"")})}class al{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Pr}get invalid(){return this.status===rl}get pending(){return this.status==vo}get disabled(){return this.status===Lr}get enabled(){return this.status!==Lr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Wx(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Wx(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(qx(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(qx(n,this._rawAsyncValidators))}hasValidator(n){return il(this._rawValidators,n)}hasAsyncValidator(n){return il(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=vo,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Lr,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Pr,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Pr||this.status===vo)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Lr:Pr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=vo,this._hasOwnPendingAsyncValidator=!0;const t=Lx(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,o)=>i&&i._find(o),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new oe,this.statusChanges=new oe}_calculateStatus(){return this._allControlsDisabled()?Lr:this.errors?rl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(vo)?vo:this._anyControlsHaveStatus(rl)?rl:Pr}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){sl(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function CP(e){return Array.isArray(e)?wf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function wP(e){return Array.isArray(e)?Ef(e):e||null}(this._rawAsyncValidators)}}class Vr extends al{constructor(n,t,i){super(Af(t),Tf(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){e0(this,0,n),Object.keys(n).forEach(i=>{Jx(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,o)=>{i.reset(n?n[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,o)=>((i.enabled||this.disabled)&&(t[o]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((o,r)=>{i=t(i,o,r)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class t0 extends Vr{}const ci=new D("CallSetDisabledState",{providedIn:"root",factory:()=>Br}),Br="always";function jr(e,n,t=Br){Of(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function MP(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&n0(e,n)})}(e,n),function SP(e,n){const t=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function IP(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&n0(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function EP(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function cl(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),ul(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function dl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Of(e,n){const t=$x(e);null!==n.validator?e.setValidators(zx(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=Gx(e);null!==n.asyncValidator?e.setAsyncValidators(zx(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const o=()=>e.updateValueAndValidity();dl(n._rawValidators,o),dl(n._rawAsyncValidators,o)}function ul(e,n){let t=!1;if(null!==e){if(null!==n.validator){const o=$x(e);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.validator);r.length!==o.length&&(t=!0,e.setValidators(r))}}if(null!==n.asyncValidator){const o=Gx(e);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.asyncValidator);r.length!==o.length&&(t=!0,e.setAsyncValidators(r))}}}const i=()=>{};return dl(n._rawValidators,i),dl(n._rawAsyncValidators,i),t}function n0(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function s0(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function a0(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Ur=class extends al{constructor(n=null,t,i){super(Af(t),Tf(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=a0(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){s0(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){s0(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){a0(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let f0=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=I({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return e})(),p0=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({})}}return e})();const Pf=new D("NgModelWithFormControlWarning"),UP={provide:it,useExisting:ae(()=>fl)};let fl=(()=>{class e extends it{constructor(t,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new oe,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ul(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return jr(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){cl(t.control||null,t,!1),function FP(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,function r0(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,o=this.form.get(t.path);i!==o&&(cl(i||null,t),(e=>e instanceof Ur)(o)&&(jr(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);(function o0(e,n){Of(e,n)})(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function AP(e,n){return ul(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Of(this.form,this),this._oldForm&&ul(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(i){return new(i||e)(g(qe,10),g(Vn,10),g(ci,8))}}static{this.\u0275dir=I({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){1&i&&Te("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ie([UP]),U,Pt]})}}return e})();const GP={provide:Bn,useExisting:ae(()=>Bf)};let Bf=(()=>{class e extends Bn{set isDisabled(t){}static{this._ngModelWarningSentOnce=!1}constructor(t,i,o,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new oe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function Nf(e,n){if(!n)return null;let t,i,o;return Array.isArray(n),n.forEach(r=>{r.constructor===tl?t=r:function OP(e){return Object.getPrototypeOf(e.constructor)===li}(r)?i=r:o=r}),o||i||t||null}(0,r)}ngOnChanges(t){this._added||this._setUpControl(),function Rf(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return function ll(e,n){return[...n.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(i){return new(i||e)(g(it,13),g(qe,10),g(Vn,10),g(on,10),g(Pf,8))}}static{this.\u0275dir=I({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[ie([GP]),U,Pt]})}}return e})(),T0=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[p0]})}}return e})();class O0 extends al{constructor(n,t,i){super(Af(t),Tf(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,i={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,t={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,i={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){e0(this,0,n),n.forEach((i,o)=>{Jx(this,!1,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,i)=>{n(t,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function F0(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let sL=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,i=null){const o=this._reduceControls(t);let r={};return F0(i)?r=i:null!==i&&(r.validators=i.validator,r.asyncValidators=i.asyncValidator),new Vr(o,r)}record(t,i=null){const o=this._reduceControls(t);return new t0(o,i)}control(t,i,o){let r={};return this.useNonNullable?(F0(i)?r=i:(r.validators=i,r.asyncValidators=o),new Ur(t,{...r,nonNullable:!0})):new Ur(t,i,o)}array(t,i,o){const r=t.map(s=>this._createControl(s));return new O0(r,i,o)}_reduceControls(t){const i={};return Object.keys(t).forEach(o=>{i[o]=this._createControl(t[o])}),i}_createControl(t){return t instanceof Ur||t instanceof al?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),aL=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:ci,useValue:t.callSetDisabledState??Br}]}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[T0]})}}return e})(),lL=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Pf,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:ci,useValue:t.callSetDisabledState??Br}]}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[T0]})}}return e})(),R0=(()=>{class e{constructor(){this.dataSubject=new ls(""),this.apiUrl$=this.dataSubject.asObservable(),this.headerSubject=new ls({}),this.header$=this.headerSubject.asObservable()}setApiUrl(t){this.dataSubject.next(t)}setHeader(t){this.headerSubject.next(t)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function yt(e,n){return ze((t,i)=>{let o=0;t.subscribe(Ne(i,r=>e.call(n,r,o++)&&i.next(r)))})}function zf(e){return ze((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}class hl{}class pl{}class Ot{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const o=t.slice(0,i),r=o.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.setHeaderEntries(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Ot?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Ot;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Ot?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const o=("a"===n.op?this.headers.get(t):void 0)||[];o.push(...i),this.headers.set(t,o);break;case"d":const r=n.value;if(r){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===r.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class dL{encodeKey(n){return N0(n)}encodeValue(n){return N0(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const fL=/%(\d[a-f0-9])/gi,hL={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function N0(e){return encodeURIComponent(e).replace(fL,(n,t)=>hL[t]??n)}function ml(e){return`${e}`}class jn{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new dL,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function uL(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[s,a]=-1==r?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],o=Array.isArray(i)?i.map(ml):[ml(i)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(r=>{t.push({param:i,value:r,op:"a"})}):t.push({param:i,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new jn({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(ml(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(ml(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class pL{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function k0(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function P0(e){return typeof Blob<"u"&&e instanceof Blob}function L0(e){return typeof FormData<"u"&&e instanceof FormData}class zr{constructor(n,t,i,o){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function mL(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new Ot),this.context||(this.context=new pL),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new jn,this.urlWithParams=t}serializeBody(){return null===this.body?null:k0(this.body)||P0(this.body)||L0(this.body)||function gL(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof jn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||L0(this.body)?null:P0(this.body)?this.body.type||null:k0(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof jn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,r=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,a=void 0!==n.reportProgress?n.reportProgress:this.reportProgress;let l=n.headers||this.headers,c=n.params||this.params;const d=n.context??this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce((u,f)=>u.set(f,n.setHeaders[f]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((u,f)=>u.set(f,n.setParams[f]),c)),new zr(t,i,r,{params:c,headers:l,context:d,reportProgress:a,responseType:o,withCredentials:s})}}var yo=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(yo||{});class $f{constructor(n,t=200,i="OK"){this.headers=n.headers||new Ot,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Gf extends $f{constructor(n={}){super(n),this.type=yo.ResponseHeader}clone(n={}){return new Gf({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class xo extends $f{constructor(n={}){super(n),this.type=yo.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new xo({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class V0 extends $f{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Wf(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let gl=(()=>{class e{constructor(t){this.handler=t}request(t,i,o={}){let r;if(t instanceof zr)r=t;else{let l,c;l=o.headers instanceof Ot?o.headers:new Ot(o.headers),o.params&&(c=o.params instanceof jn?o.params:new jn({fromObject:o.params})),r=new zr(t,i,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=Dt(r).pipe(function cL(e,n){return z(n)?Io(e,n,1):Io(e,1)}(l=>this.handler.handle(l)));if(t instanceof zr||"events"===o.observe)return s;const a=s.pipe(yt(l=>l instanceof xo));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(ke(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ke(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ke(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ke(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new jn).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,o={}){return this.request("PATCH",t,Wf(o,i))}post(t,i,o={}){return this.request("POST",t,Wf(o,i))}put(t,i,o={}){return this.request("PUT",t,Wf(o,i))}static{this.\u0275fac=function(i){return new(i||e)(v(hl))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})();function H0(e,n){return n(e)}function bL(e,n){return(t,i)=>n.intercept(t,{handle:o=>e(o,i)})}const yL=new D(""),$r=new D(""),U0=new D("");function xL(){let e=null;return(n,t)=>{null===e&&(e=(F(yL,{optional:!0})??[]).reduceRight(bL,H0));const i=F(Fu),o=i.add();return e(n,t).pipe(zf(()=>i.remove(o)))}}let z0=(()=>{class e extends hl{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=F(Fu)}handle(t){if(null===this.chain){const o=Array.from(new Set([...this.injector.get($r),...this.injector.get(U0,[])]));this.chain=o.reduceRight((r,s)=>function vL(e,n,t){return(i,o)=>t.runInContext(()=>n(i,r=>e(r,o)))}(r,s,this.injector),H0)}const i=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(zf(()=>this.pendingTasks.remove(i)))}static{this.\u0275fac=function(i){return new(i||e)(v(pl),v(Qt))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})();const EL=/^\)\]\}',?\n/;let G0=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new C(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?Gn(i.\u0275loadImpl()):Dt(null)).pipe(Ql(()=>new fe(r=>{const s=i.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((m,_)=>s.setRequestHeader(m,_.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const m=t.detectContentTypeHeader();null!==m&&s.setRequestHeader("Content-Type",m)}if(t.responseType){const m=t.responseType.toLowerCase();s.responseType="json"!==m?m:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const m=s.statusText||"OK",_=new Ot(s.getAllResponseHeaders()),x=function ML(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new Gf({headers:_,status:s.status,statusText:m,url:x}),l},d=()=>{let{headers:m,status:_,statusText:x,url:b}=c(),E=null;204!==_&&(E=typeof s.response>"u"?s.responseText:s.response),0===_&&(_=E?200:0);let S=_>=200&&_<300;if("json"===t.responseType&&"string"==typeof E){const L=E;E=E.replace(EL,"");try{E=""!==E?JSON.parse(E):null}catch(Fe){E=L,S&&(S=!1,E={error:Fe,text:E})}}S?(r.next(new xo({body:E,headers:m,status:_,statusText:x,url:b||void 0})),r.complete()):r.error(new V0({error:E,headers:m,status:_,statusText:x,url:b||void 0}))},u=m=>{const{url:_}=c(),x=new V0({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});r.error(x)};let f=!1;const h=m=>{f||(r.next(c()),f=!0);let _={type:yo.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(_.total=m.total),"text"===t.responseType&&s.responseText&&(_.partialText=s.responseText),r.next(_)},p=m=>{let _={type:yo.UploadProgress,loaded:m.loaded};m.lengthComputable&&(_.total=m.total),r.next(_)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),r.next({type:yo.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||e)(v(Jy))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})();const qf=new D("XSRF_ENABLED"),W0=new D("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),q0=new D("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Y0{}let AL=(()=>{class e{constructor(t,i,o){this.doc=t,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=$y(t,this.cookieName),this.lastCookieString=t),this.lastToken}static{this.\u0275fac=function(i){return new(i||e)(v(H),v(Fn),v(W0))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})();function TL(e,n){const t=e.url.toLowerCase();if(!F(qf)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const i=F(Y0).getToken(),o=F(q0);return null!=i&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,i)})),n(e)}var Hn=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Hn||{});function ui(e,n){return{\u0275kind:e,\u0275providers:n}}function OL(...e){const n=[gl,G0,z0,{provide:hl,useExisting:z0},{provide:pl,useExisting:G0},{provide:$r,useValue:TL,multi:!0},{provide:qf,useValue:!0},{provide:Y0,useClass:AL}];for(const t of e)n.push(...t.\u0275providers);return ea(n)}const Z0=new D("LEGACY_INTERCEPTOR_FN");let RL=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({providers:[OL(ui(Hn.LegacyInterceptors,[{provide:Z0,useFactory:xL},{provide:$r,useExisting:Z0,multi:!0}]))]})}}return e})(),X0=(()=>{class e{constructor(t,i){this.http=t,this.dataService=i,this.baseUrl="",this.dataService.apiUrl$.subscribe(o=>{this.baseUrl=o}),this.dataService.header$.subscribe(o=>{this.header=o})}getApplicationSettings(){const t=`${this.baseUrl}/api/application-settings`,i=new Ot({"Content-Type":this.header.contentType,"auth-user":this.header.authUser});return this.http.get(t,{headers:i}).pipe(ke(r=>{const s={};return Array.isArray(r.result)?r.result.forEach(a=>{s[a.key.toLowerCase()]=a.value}):console.error("Unexpected response structure:",r),s}))}saveApplicationSettings(t){const i=`${this.baseUrl}/api/application-settings`,o=Object.entries(t).map(([s,a])=>({key:s.toUpperCase(),value:a})),r=new Ot({"Content-Type":this.header.contentType,"auth-user":this.header.authUser});return console.log("point",o),this.http.post(i,o,{headers:r})}static{this.\u0275fac=function(i){return new(i||e)(v(gl),v(R0))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Gr(e,n){return{type:7,name:e,definitions:n,options:{}}}function fi(e,n=null){return{type:4,styles:n,timings:e}}function xt(e){return{type:6,styles:e,offset:null}}function rn(e,n,t){return{type:0,name:e,styles:n,options:t}}function hi(e,n,t=null){return{type:1,expr:e,animation:n,options:t}}const eD=["toast-component",""];function BL(e,n){if(1&e){const t=tu();Y(0,"button",5),Te("click",function(){return Ec(t),Mc(Oe().remove())}),Y(1,"span",6),Ie(2,"\xd7"),G()()}}function jL(e,n){if(1&e&&(mr(0),Ie(1),gr()),2&e){const t=Oe(2);ne(1),yn("[",t.duplicatesCount+1,"]")}}function HL(e,n){if(1&e&&(Y(0,"div"),Ie(1),me(2,jL,2,1,"ng-container",4),G()),2&e){const t=Oe();vn(t.options.titleClass),He("aria-label",t.title),ne(1),yn(" ",t.title," "),ne(1),re("ngIf",t.duplicatesCount)}}function UL(e,n){if(1&e&&bt(0,"div",7),2&e){const t=Oe();vn(t.options.messageClass),re("innerHTML",t.message,ud)}}function zL(e,n){if(1&e&&(Y(0,"div",8),Ie(1),G()),2&e){const t=Oe();vn(t.options.messageClass),He("aria-label",t.message),ne(1),yn(" ",t.message," ")}}function $L(e,n){if(1&e&&(Y(0,"div"),bt(1,"div",9),G()),2&e){const t=Oe();ne(1),bn("width",t.width()+"%")}}class QL{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){const n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class KL{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}}class JL{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new B;_activate=new B;_manualClose=new B;_resetTimeout=new B;_countDuplicate=new B;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}class bl{toastId;config;message;title;toastType;toastRef;_onTap=new B;_onAction=new B;constructor(n,t,i,o,r,s){this.toastId=n,this.config=t,this.message=i,this.title=o,this.toastType=r,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}}const nD=new D("ToastConfig");class e2 extends KL{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,t,i){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=i}attachComponentPortal(n,t){const i=this._componentFactoryResolver.resolveComponentFactory(n.component);let o;return o=i.create(n.injector),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.detachView(o.hostView),o.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(o),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(o)),o}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let t2=(()=>{class e{_document=F(H);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(i){return new(i||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class n2{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}}let o2=(()=>{class e{_overlayContainer=F(t2);_componentFactoryResolver=F(mn);_appRef=F(xn);_document=F(H);_paneElements=new Map;create(t,i){return this._createOverlayRef(this.getPaneElement(t,i))}getPaneElement(t="",i){return this._paneElements.get(i)||this._paneElements.set(i,{}),this._paneElements.get(i)[t]||(this._paneElements.get(i)[t]=this._createPaneElement(t,i)),this._paneElements.get(i)[t]}_createPaneElement(t,i){const o=this._document.createElement("div");return o.id="toast-container",o.classList.add(t),o.classList.add("toast-container"),i?i.getContainerElement().appendChild(o):this._overlayContainer.getContainerElement().appendChild(o),o}_createPortalHost(t){return new e2(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new n2(this._createPortalHost(t))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yf=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,i,o,r,s){this.overlay=i,this._injector=o,this.sanitizer=r,this.ngZone=s,this.toastrConfig={...t.default,...t.config},t.config.iconClasses&&(this.toastrConfig.iconClasses={...t.default.iconClasses,...t.config.iconClasses})}show(t,i,o={},r=""){return this._preBuildNotification(r,t,i,this.applyConfig(o))}success(t,i,o={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,i,this.applyConfig(o))}error(t,i,o={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,i,this.applyConfig(o))}info(t,i,o={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,i,this.applyConfig(o))}warning(t,i,o={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,i,this.applyConfig(o))}clear(t){for(const i of this.toasts)if(void 0!==t){if(i.toastId===t)return void i.toastRef.manualClose()}else i.toastRef.manualClose()}remove(t){const i=this._findToast(t);if(!i||(i.activeToast.toastRef.close(),this.toasts.splice(i.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const o=this.toasts[this.currentlyActive].toastRef;o.isInactive()||(this.currentlyActive=this.currentlyActive+1,o.activate())}return!0}findDuplicate(t="",i="",o,r){const{includeTitleDuplicates:s}=this.toastrConfig;for(const a of this.toasts)if((!s||s&&a.title===t)&&a.message===i)return a.toastRef.onDuplicate(o,r),a;return null}applyConfig(t={}){return{...this.toastrConfig,...t}}_findToast(t){for(let i=0;i<this.toasts.length;i++)if(this.toasts[i].toastId===t)return{index:i,activeToast:this.toasts[i]};return null}_preBuildNotification(t,i,o,r){return r.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,i,o,r)):this._buildNotification(t,i,o,r)}_buildNotification(t,i,o,r){if(!r.toastComponent)throw new Error("toastComponent required");const s=this.findDuplicate(o,i,this.toastrConfig.resetTimeoutOnDuplicate&&r.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&o||i)&&this.toastrConfig.preventDuplicates&&null!==s)return s;this.previousToastMessage=i;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const l=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;let c=i;i&&r.enableHtml&&(c=this.sanitizer.sanitize(Se.HTML,i));const d=new JL(l),u=new bl(this.index,r,c,o,t,d),h=_e.create({providers:[{provide:bl,useValue:u}],parent:this._injector}),p=new QL(r.toastComponent,h),m=l.attach(p,r.newestOnTop);d.componentInstance=m.instance;const _={toastId:this.index,title:o||"",message:i||"",toastRef:d,onShown:d.afterActivate(),onHidden:d.afterClosed(),onTap:u.onTap(),onAction:u.onAction(),portal:m};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{_.toastRef.activate()})),this.toasts.push(_),_}static \u0275fac=function(i){return new(i||e)(v(nD),v(o2),v(_e),v(Ja),v(V))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const r2={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=Cs(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if("inactive"===this.state().value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,i,o){this.toastrService=t,this.toastPackage=i,this.ngZone=o,this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(r=>{this.duplicatesCount=r}),this.state=Cs({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>({...t,value:"active"})),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width()||100===this.width()||!this.options.timeOut)return;const t=(new Date).getTime();this.width.set((this.hideTime-t)/this.options.timeOut*100),"increasing"===this.options.progressAnimation&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>({...t,value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state().value&&(clearTimeout(this.timeout),this.state.update(t=>({...t,value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state().value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state().value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state().value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),i)):this.timeout=setTimeout(()=>t(),i)}outsideInterval(t,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),i)):this.intervalId=setInterval(()=>t(),i)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(i){return new(i||e)(g(Yf),g(bl),g(V))};static \u0275cmp=wt({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(i,o){1&i&&Te("click",function(){return o.tapToast()})("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()}),2&i&&(lu("@flyInOut",o._state),vn(o.toastClasses),bn("display",o.displayStyle))},standalone:!0,features:[_u],attrs:eD,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(i,o){1&i&&(me(0,BL,3,0,"button",0),me(1,HL,3,5,"div",1),me(2,UL,1,3,"div",2),me(3,zL,2,4,"div",3),me(4,$L,2,2,"div",4)),2&i&&(re("ngIf",o.options.closeButton),ne(1),re("ngIf",o.title),ne(1),re("ngIf",o.message&&o.options.enableHtml),ne(1),re("ngIf",o.message&&!o.options.enableHtml),ne(1),re("ngIf",o.options.progressBar))},dependencies:[Fr],encapsulation:2,data:{animation:[Gr("flyInOut",[rn("inactive",xt({opacity:0})),rn("active",xt({opacity:1})),rn("removed",xt({opacity:0})),hi("inactive => active",fi("{{ easeTime }}ms {{ easing }}")),hi("active => removed",fi("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return e})()},s2=(e={})=>ea([{provide:nD,useValue:{default:r2,config:e}}]);let a2=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[s2(t)]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Q({type:e});static \u0275inj=Z({})}return e})(),iD=(()=>{class e{constructor(){this._listeners=[]}notify(t,i){for(let o of this._listeners)o(t,i)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(i=>t!==i)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Wr(e){return null!=e&&"false"!=`${e}`}function Zf(e,n=0){return function d2(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):n}function vl(e){return Array.isArray(e)?e:[e]}function Ce(e){return null==e?"":"string"==typeof e?e:`${e}px`}function Do(e){return e instanceof Ae?e.nativeElement:e}let u2=0;const Xf=new D("CdkAccordion");let f2=(()=>{class e{constructor(){this._stateChanges=new B,this._openCloseAllActions=new B,this.id="cdk-accordion-"+u2++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Wr(t)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=I({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[ie([{provide:Xf,useExisting:e}]),Pt]})}}return e})(),h2=0,p2=(()=>{class e{get expanded(){return this._expanded}set expanded(t){t=Wr(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=Wr(t)}constructor(t,i,o){this.accordion=t,this._changeDetectorRef=i,this._expansionDispatcher=o,this._openCloseAllSubscription=Re.EMPTY,this.closed=new oe,this.opened=new oe,this.destroyed=new oe,this.expandedChange=new oe,this.id="cdk-accordion-child-"+h2++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=o.listen((r,s)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===s&&this.id!==r&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}static{this.\u0275fac=function(i){return new(i||e)(g(Xf,12),g(_o),g(iD))}}static{this.\u0275dir=I({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[ie([{provide:Xf,useValue:void 0}])]})}}return e})(),m2=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({})}}return e})();class Qf{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Kf extends Qf{constructor(n,t,i,o,r){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=r}}class Jf extends Qf{constructor(n,t,i,o){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class g2 extends Qf{constructor(n){super(),this.element=n instanceof Ae?n.nativeElement:n}}class eh{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Kf?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Jf?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof g2?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class _2 extends eh{constructor(n,t,i,o,r){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=o,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=r}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||_e.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(i);-1!==o&&t.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let th,yl=(()=>{class e extends eh{constructor(t,i,o){super(),this._componentFactoryResolver=t,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new oe,this.attachDomPortal=r=>{const s=r.element,a=this._document.createComment("dom-portal");r.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=o}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);const i=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),s=i.createComponent(r,i.length,t.injector||i.injector,t.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=t,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(t){t.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static{this.\u0275fac=function(i){return new(i||e)(g(mn),g(St),g(H))}}static{this.\u0275dir=I({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[U]})}}return e})(),qr=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({})}}return e})();try{th=typeof Intl<"u"&&Intl.v8BreakIterator}catch{th=!1}let Yr,pi,nh,sn=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function qN(e){return e===Qy}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!th)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||e)(v(Fn))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function xl(e){return function b2(){if(null==Yr&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Yr=!0}))}finally{Yr=Yr||!1}return Yr}()?e:!!e.capture}function v2(){if(null==pi){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return pi=!1,pi;if("scrollBehavior"in document.documentElement.style)pi=!0;else{const e=Element.prototype.scrollTo;pi=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return pi}function ih(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){const n=e.shadowRoot.activeElement;if(n===e)break;e=n}return e}function Un(e){return e.composedPath?e.composedPath()[0]:e.target}function oh(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Cl(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}class U2 extends Re{constructor(n,t){super()}schedule(n,t=0){return this}}const El={setInterval(e,n,...t){const{delegate:i}=El;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=El;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class rh extends U2{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,t),this}requestAsyncId(n,t,i=0){return El.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&El.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let o,i=!1;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,yi(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}class Zr{constructor(n,t=Zr.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}Zr.now=xf.now;class sh extends Zr{constructor(n,t=Zr.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const ah=new sh(rh),z2=ah;function sD(e,n=ah){return ze((t,i)=>{let o=null,r=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const c=r;r=null,i.next(c)}};function l(){const c=s+e,d=n.now();if(d<c)return o=this.schedule(void 0,c-d),void i.add(o);a()}t.subscribe(Ne(i,c=>{r=c,s=n.now(),o||(o=n.schedule(l,e),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}function mi(e){return e<=0?()=>as:ze((n,t)=>{let i=0;n.subscribe(Ne(t,o=>{++i<=e&&(t.next(o),e<=i&&t.complete())}))})}function aD(e){return yt((n,t)=>e<=t)}function lh(e){return ze((n,t)=>{Ye(e).subscribe(Ne(t,()=>t.complete(),Pl)),!t.closed&&n.subscribe(t)})}let $2=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),lD=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({providers:[$2]})}}return e})();function cD(e,n,t){e?ln(t,e,n):n()}function ch(...e){return function q2(){return zh(1)}()(Gn(e,So(e)))}function Xr(...e){const n=So(e);return ze((t,i)=>{(n?ch(e,t,n):ch(e,t)).subscribe(i)})}const dD=new Set;let gi,Y2=(()=>{class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):X2}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function Z2(e,n){if(!dD.has(e))try{gi||(gi=document.createElement("style"),n&&(gi.nonce=n),gi.setAttribute("type","text/css"),document.head.appendChild(gi)),gi.sheet&&(gi.sheet.insertRule(`@media ${e} {body{ }}`,0),dD.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static{this.\u0275fac=function(i){return new(i||e)(v(sn),v(vd,8))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function X2(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let Q2=(()=>{class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return uD(vl(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let r=function G2(...e){const n=So(e),t=Gh(e),{args:i,keys:o}=xx(e);if(0===i.length)return Gn([],n);const r=new fe(function W2(e,n,t=xi){return i=>{cD(n,()=>{const{length:o}=e,r=new Array(o);let s=o,a=o;for(let l=0;l<o;l++)cD(n,()=>{const c=Gn(e[l],n);let d=!1;c.subscribe(Ne(i,u=>{r[l]=u,d||(d=!0,a--),a||i.next(t(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,o?s=>Dx(o,s):xi));return t?r.pipe(Cf(t)):r}(uD(vl(t)).map(s=>this._registerQuery(s).observable));return r=ch(r.pipe(mi(1)),r.pipe(aD(1),sD(0))),r.pipe(ke(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),r={observable:new fe(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Xr(i),ke(({matches:s})=>({query:t,matches:s})),lh(this._destroySubject)),mql:i};return this._queries.set(t,r),r}static{this.\u0275fac=function(i){return new(i||e)(v(Y2),v(V))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function uD(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}class eV{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new B,this._typeaheadSubscription=Re.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new B,this.change=new B,n instanceof po&&(this._itemChangesSubscription=n.changes.subscribe(t=>{if(this._activeItem){const o=t.toArray().indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(function wl(e,n,t){const i=z(e)||n||t?{next:e,error:n,complete:t}:e;return i?ze((o,r)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;o.subscribe(Ne(r,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),r.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),r.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),r.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):xi}(t=>this._pressedLetters.push(t)),sD(n),yt(()=>this._pressedLetters.length>0),ke(()=>this._pressedLetters.join(""))).subscribe(t=>{const i=this._getItemsArray();for(let o=1;o<i.length+1;o++){const r=(this._activeItemIndex+o)%i.length,s=i[r];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(r);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){const t=this._activeItem;this.updateActiveItem(n),this._activeItem!==t&&this.change.next(this._activeItemIndex)}onKeydown(n){const t=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&o){const r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&o){const r=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(r<s?r:s-1,-1);break}return;default:return void((o||Cl(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const t=this._getItemsArray(),i="number"==typeof n?n:t.indexOf(n);this._activeItem=t[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const o=(this._activeItemIndex+n*i+t.length)%t.length;if(!this._skipPredicateFn(t[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,t){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=t])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof po?this._items.toArray():this._items}}class tV extends eV{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Ml=(()=>{class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function iV(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const i=function nV(e){try{return e.frameElement}catch{return null}}(function uV(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(t));if(i&&(-1===mD(i)||!this.isVisible(i)))return!1;let o=t.nodeName.toLowerCase(),r=mD(t);return t.hasAttribute("contenteditable")?-1!==r:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function cV(e){let n=e.nodeName.toLowerCase(),t="input"===n&&e.type;return"text"===t||"password"===t||"select"===n||"textarea"===n}(t))&&("audio"===o?!!t.hasAttribute("controls")&&-1!==r:"video"===o?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,i){return function dV(e){return!function rV(e){return function aV(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function oV(e){let n=e.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(e)||function sV(e){return function lV(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||pD(e))}(t)&&!this.isDisabled(t)&&(i?.ignoreVisibility||this.isVisible(t))}static{this.\u0275fac=function(i){return new(i||e)(v(sn))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function pD(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let n=e.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function mD(e){if(!pD(e))return null;const n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class gD{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,t,i,o,r=!1){this._element=n,this._checker=t,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){const n=this._startAnchor,t=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const t=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){const i=this._getFirstTabbableElement(t);return i?.focus(n),!!i}return t.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const t=this._getRegionBoundary("start");return t&&t.focus(n),!!t}focusLastTabbableElement(n){const t=this._getRegionBoundary("end");return t&&t.focus(n),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const t=n.children;for(let i=0;i<t.length;i++){const o=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):null;if(o)return o}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const t=n.children;for(let i=t.length-1;i>=0;i--){const o=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,t){n?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(mi(1)).subscribe(n)}}let dh=(()=>{class e{constructor(t,i,o){this._checker=t,this._ngZone=i,this._document=o}create(t,i=!1){return new gD(t,this._checker,this._ngZone,this._document,i)}static{this.\u0275fac=function(i){return new(i||e)(v(Ml),v(V),v(H))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function _D(e){return 0===e.buttons||0===e.detail}function bD(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const fV=new D("cdk-input-modality-detector-options"),hV={ignoreKeys:[18,17,224,91,16]},wo=xl({passive:!0,capture:!0});let pV=(()=>{class e{get mostRecentModality(){return this._modality.value}constructor(t,i,o,r){this._platform=t,this._mostRecentTarget=null,this._modality=new ls(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Un(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(_D(s)?"keyboard":"mouse"),this._mostRecentTarget=Un(s))},this._onTouchstart=s=>{bD(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Un(s))},this._options={...hV,...r},this.modalityDetected=this._modality.pipe(aD(1)),this.modalityChanged=this.modalityDetected.pipe(Kl()),t.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,wo),o.addEventListener("mousedown",this._onMousedown,wo),o.addEventListener("touchstart",this._onTouchstart,wo)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,wo),document.removeEventListener("mousedown",this._onMousedown,wo),document.removeEventListener("touchstart",this._onTouchstart,wo))}static{this.\u0275fac=function(i){return new(i||e)(v(sn),v(V),v(H),v(fV,8))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const gV=new D("cdk-focus-monitor-default-options"),Il=xl({passive:!0,capture:!0});let Sl=(()=>{class e{constructor(t,i,o,r,s){this._ngZone=t,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new B,this._rootNodeFocusAndBlurListener=a=>{for(let c=Un(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=r,this._detectionMode=s?.detectionMode||0}monitor(t,i=!1){const o=Do(t);if(!this._platform.isBrowser||1!==o.nodeType)return Dt();const r=function x2(e){if(function y2(){if(null==nh){const e=typeof document<"u"?document.head:null;nh=!(!e||!e.createShadowRoot&&!e.attachShadow)}return nh}()){const n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new B,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=Do(t),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(t,i,o){const r=Do(t);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof r.focus&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const o=this._elementInfo.get(i),r=Un(t);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(t,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Il),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Il)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(lh(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Il),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Il),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,o){this._setClasses(t,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((o,r)=>{(r===t||o.checkChildren&&r.contains(t))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const r=t.labels;if(r)for(let s=0;s<r.length;s++)if(r[s].contains(i))return!0;return!1}static{this.\u0275fac=function(i){return new(i||e)(v(V),v(sn),v(pV),v(H,8),v(gV,8))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const yD="cdk-high-contrast-black-on-white",xD="cdk-high-contrast-white-on-black",uh="cdk-high-contrast-active";let DD=(()=>{class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=F(Q2).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(t):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(uh,yD,xD),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?t.add(uh,yD):2===i&&t.add(uh,xD)}}static{this.\u0275fac=function(i){return new(i||e)(v(sn),v(H))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),CD=(()=>{class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(i){return new(i||e)(v(DD))}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[lD]})}}return e})();const _V=new D("cdk-dir-doc",{providedIn:"root",factory:function bV(){return F(H)}}),vV=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let fh=(()=>{class e{constructor(t){this.value="ltr",this.change=new oe,t&&(this.value=function yV(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?vV.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||e)(v(_V,8))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Qr=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({})}}return e})();const DV=new D("mat-sanity-checks",{providedIn:"root",factory:function xV(){return!0}});let Ue=(()=>{class e{constructor(t,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!oh()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}static{this.\u0275fac=function(i){return new(i||e)(v(DD),v(DV,8),v(H))}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[Qr,Qr]})}}return e})();function CV(e,n=0){return class extends e{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?Zf(t):this.defaultTabIndex}constructor(...t){super(...t),this._tabIndex=n,this.defaultTabIndex=n}}}const MD=xl({passive:!0,capture:!0});class MV{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const t=Un(n);t&&this._events.get(n.type)?.forEach((i,o)=>{(o===t||o.contains(t))&&i.forEach(r=>r.handleEvent(n))})}}addHandler(n,t,i,o){const r=this._events.get(t);if(r){const s=r.get(i);s?s.add(o):r.set(i,new Set([o]))}else this._events.set(t,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,MD)})}removeHandler(n,t,i){const o=this._events.get(n);if(!o)return;const r=o.get(t);r&&(r.delete(i),0===r.size&&o.delete(t),0===o.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,MD)))}}class hh{static{this._eventManager=new MV}constructor(n,t,i,o){this._target=n,this._ngZone=t,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Do(i))}fadeInRipple(n,t,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r={...ID,...i.animation},s=i.radius||function SV(e,n,t){const i=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),o=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(i*i+o*o)}(n,t,o),a=n-o.left,l=t-o.top,c=r.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),h=u.transitionDuration,p="none"===u.transitionProperty||"0s"===h||"0s, 0s"===h||0===o.width&&0===o.height,m=new EV(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",m.state=0,i.persistent||(this._mostRecentTransientRipple=m);return!p&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const x=()=>this._finishRippleTransition(m),b=()=>this._destroyRipple(m);d.addEventListener("transitionend",x),d.addEventListener("transitioncancel",b)}),this._activeRipples.set(m,null),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(n){if(2===n.state||3===n.state)return;const t=n.element,i={...ID,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=Do(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,AD.forEach(i=>{hh._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{TD.forEach(t=>{this._triggerElement.addEventListener(t,this,SD)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel)),n.element.remove()}_onMousedown(n){const t=_D(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!bD(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=n.changedTouches;if(t)for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(AD.forEach(t=>hh._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&TD.forEach(t=>n.removeEventListener(t,this,SD)))}}let AV=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[Ue,Ue]})}}return e})();const TV=["body"];function OV(e,n){}const FV=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],RV=["mat-expansion-panel-header","*","mat-action-row"];function NV(e,n){1&e&&bt(0,"span",2),2&e&&re("@indicatorRotate",Oe()._getExpandedState())}const kV=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],PV=["mat-panel-title","mat-panel-description","*"],ph=new D("MAT_ACCORDION"),OD="225ms cubic-bezier(0.4,0.0,0.2,1)",FD={indicatorRotate:Gr("indicatorRotate",[rn("collapsed, void",xt({transform:"rotate(0deg)"})),rn("expanded",xt({transform:"rotate(180deg)"})),hi("expanded <=> collapsed, void => collapsed",fi(OD))]),bodyExpansion:Gr("bodyExpansion",[rn("collapsed, void",xt({height:"0px",visibility:"hidden"})),rn("expanded",xt({height:"*",visibility:""})),hi("expanded <=> collapsed, void => collapsed",fi(OD))])},RD=new D("MAT_EXPANSION_PANEL");let LV=(()=>{class e{constructor(t,i){this._template=t,this._expansionPanel=i}static{this.\u0275fac=function(i){return new(i||e)(g(Ht),g(RD,8))}}static{this.\u0275dir=I({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]})}}return e})(),VV=0;const ND=new D("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let kD=(()=>{class e extends p2{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Wr(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}constructor(t,i,o,r,s,a,l){super(t,i,o),this._viewContainerRef=r,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new oe,this.afterCollapse=new oe,this._inputChanges=new B,this._headerId="mat-expansion-panel-header-"+VV++,this._bodyAnimationDone=new B,this.accordion=t,this._document=s,this._bodyAnimationDone.pipe(Kl((c,d)=>c.fromState===d.fromState&&c.toState===d.toState)).subscribe(c=>{"void"!==c.fromState&&("expanded"===c.toState?this.afterExpand.emit():"collapsed"===c.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Xr(null),yt(()=>this.expanded&&!this._portal),mi(1)).subscribe(()=>{this._portal=new Jf(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,i=this._body.nativeElement;return t===i||i.contains(t)}return!1}static{this.\u0275fac=function(i){return new(i||e)(g(ph,12),g(_o),g(iD),g(St),g(H),g(ir,8),g(ND,8))}}static{this.\u0275cmp=wt({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(i,o,r){if(1&i&&Mu(r,LV,5),2&i){let s;Er(s=Mr())&&(o._lazyContent=s.first)}},viewQuery:function(i,o){if(1&i&&Eu(TV,5),2&i){let r;Er(r=Mr())&&(o._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(i,o){2&i&&Vt("mat-expanded",o.expanded)("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-expansion-panel-spacing",o._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[ie([{provide:ph,useValue:void 0},{provide:RD,useExisting:e}]),U,Pt],ngContentSelectors:RV,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,o){1&i&&(co(FV),ct(0),Y(1,"div",0,1),Te("@bodyExpansion.done",function(s){return o._bodyAnimationDone.next(s)}),Y(3,"div",2),ct(4,1),me(5,OV,0,0,"ng-template",3),G(),ct(6,2),G()),2&i&&(ne(1),re("@bodyExpansion",o._getExpandedState())("id",o.id),He("aria-labelledby",o._headerId),ne(4),re("cdkPortalOutlet",o._portal))},dependencies:[yl],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[FD.bodyExpansion]},changeDetection:0})}}return e})();class BV{}const jV=CV(BV);let PD=(()=>{class e extends jV{constructor(t,i,o,r,s,a,l){super(),this.panel=t,this._element=i,this._focusMonitor=o,this._changeDetectorRef=r,this._animationMode=a,this._parentChangeSubscription=Re.EMPTY;const c=t.accordion?t.accordion._stateChanges.pipe(yt(d=>!(!d.hideToggle&&!d.togglePosition))):as;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=Ao(t.opened,t.closed,c,t._inputChanges.pipe(yt(d=>!!(d.hideToggle||d.disabled||d.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(yt(()=>t._containsFocus())).subscribe(()=>o.focusVia(i,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case 32:case 13:Cl(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,i){t?this._focusMonitor.focusVia(this._element,t,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(i){return new(i||e)(g(kD,1),g(Ae),g(Sl),g(_o),g(ND,8),g(ir,8),function Rs(e){return function ZE(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let o=0;for(;o<i;){const r=t[o];if(sp(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<i&&"string"==typeof t[o];)o++;else{if(r===n)return t[o+1];o+=2}}}return null}(Be(),e)}("tabindex"))}}static{this.\u0275cmp=wt({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(i,o){1&i&&Te("click",function(){return o._toggle()})("keydown",function(s){return o._keydown(s)}),2&i&&(He("id",o.panel._headerId)("tabindex",o.tabIndex)("aria-controls",o._getPanelId())("aria-expanded",o._isExpanded())("aria-disabled",o.panel.disabled),bn("height",o._getHeaderHeight()),Vt("mat-expanded",o._isExpanded())("mat-expansion-toggle-indicator-after","after"===o._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===o._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===o._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[U],ngContentSelectors:PV,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(i,o){1&i&&(co(kV),Y(0,"span",0),ct(1),ct(2,1),ct(3,2),G(),me(4,NV,1,1,"span",1)),2&i&&(Vt("mat-content-hide-toggle",!o._showToggle()),ne(4),re("ngIf",o._showToggle()))},dependencies:[Fr],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[FD.indicatorRotate]},changeDetection:0})}}return e})(),HV=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=I({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}}return e})(),UV=(()=>{class e extends f2{constructor(){super(...arguments),this._ownHeaders=new po,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Wr(t)}ngAfterContentInit(){this._headers.changes.pipe(Xr(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new tV(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static{this.\u0275fac=function(){let t;return function(o){return(t||(t=je(e)))(o||e)}}()}static{this.\u0275dir=I({type:e,selectors:[["mat-accordion"]],contentQueries:function(i,o,r){if(1&i&&Mu(r,PD,5),2&i){let s;Er(s=Mr())&&(o._headers=s)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,o){2&i&&Vt("mat-accordion-multi",o.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[ie([{provide:ph,useExisting:e}]),U]})}}return e})(),LD=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[Rr,Ue,m2,qr]})}}return e})();function zV(e,n){if(1&e&&bt(0,"div",16),2&e){let i;bn("background",null==(i=Oe().globalSettingsForm.get("primaryColor"))?null:i.value)}}function $V(e,n){1&e&&(Y(0,"small"),Ie(1," Enter a valid hex color code (e.g., #FF5733). "),G())}function GV(e,n){if(1&e&&(Y(0,"div",17),me(1,$V,2,0,"small",18),G()),2&e){const t=Oe();let i;ne(1),re("ngIf",null==(i=t.globalSettingsForm.get("primaryColor"))||null==i.errors?null:i.errors.pattern)}}function WV(e,n){if(1&e&&bt(0,"div",16),2&e){let i;bn("background",null==(i=Oe().globalSettingsForm.get("secondaryColor"))?null:i.value)}}function qV(e,n){1&e&&(Y(0,"small"),Ie(1," Enter a valid hex color code (e.g., #33A1FF). "),G())}function YV(e,n){if(1&e&&(Y(0,"div",17),me(1,qV,2,0,"small",18),G()),2&e){const t=Oe();let i;ne(1),re("ngIf",null==(i=t.globalSettingsForm.get("secondaryColor"))||null==i.errors?null:i.errors.pattern)}}let ZV=(()=>{class e{constructor(t,i,o,r){this.fb=t,this.dataService=i,this.apiService=o,this.toastr=r,this.appSaveColors=new oe,this.globalSettingsForm=this.fb.group({googlerecaptchakey:"",googlerecaptchasecret:"",primaryColor:["",[Ix.pattern(/^\s*#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})\s*$/)]],secondaryColor:["",[Ix.pattern(/^\s*#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})\s*$/)]]})}ngOnInit(){this.dataService.setApiUrl(this.apiData.apiurl),this.dataService.setHeader(this.apiData.headers),this.getSettings()}getSettings(){this.apiService.getApplicationSettings().subscribe({next:t=>{this.globalSettingsForm.patchValue({googlerecaptchakey:t.googlerecaptchakey,googlerecaptchasecret:t.googlerecaptchasecret,primaryColor:t.primarycolor,secondaryColor:t.secondarycolor})},error:t=>{}})}saveSetting(){this.globalSettingsForm.invalid||this.apiService.saveApplicationSettings(this.globalSettingsForm.value).subscribe({next:t=>{this.toastr.success("Settings saved successsfuly")},error:t=>{}})}static{this.\u0275fac=function(i){return new(i||e)(g(sL),g(R0),g(X0),g(Yf))}}static{this.\u0275cmp=wt({type:e,selectors:[["lib-formbuilder-configuration"]],inputs:{apiData:"apiData"},outputs:{appSaveColors:"appSaveColors"},decls:37,vars:5,consts:[["multi","false"],[1,"fs-5"],[3,"formGroup"],[1,"mt-4","mb-0","title"],[1,"form-group"],["for","key",1,"bold"],["formControlName","googlerecaptchakey","type","text","placeholder","Type here",1,"form-control","col-12","col-md-6"],["formControlName","googlerecaptchasecret","type","text","placeholder","Type here",1,"form-control","col-12","col-md-6"],[1,"mt-2","mb-0","title"],[1,"d-flex","gap-3","align-items-center"],["formControlName","primaryColor","type","text","placeholder","Type here",1,"form-control","col-12","col-md-6"],["class","color-preview",3,"background",4,"ngIf"],["class","text-danger mt-1",4,"ngIf"],["formControlName","secondaryColor","type","text","placeholder","Type here",1,"form-control","col-12","col-md-6"],[1,"btn-container","d-flex","justify-content-end","mt-4"],["type","button",1,"btn",3,"click"],[1,"color-preview"],[1,"text-danger","mt-1"],[4,"ngIf"]],template:function(i,o){if(1&i&&(Y(0,"mat-accordion",0)(1,"mat-expansion-panel")(2,"mat-expansion-panel-header")(3,"mat-panel-title",1),Ie(4,"Application"),G()(),Y(5,"form",2)(6,"p",3),Ie(7,"Google Recaptcha"),G(),Y(8,"div")(9,"div",4)(10,"label",5),Ie(11,"Key"),G(),bt(12,"input",6),G(),Y(13,"div",4)(14,"label",5),Ie(15,"Secret"),G(),bt(16,"input",7),G()(),Y(17,"p",8),Ie(18,"Color Change"),G(),Y(19,"div")(20,"div",4)(21,"label",5),Ie(22,"Primary color"),G(),Y(23,"div",9),bt(24,"input",10),me(25,zV,1,2,"div",11),G(),me(26,GV,2,1,"div",12),G(),Y(27,"div",4)(28,"label",5),Ie(29,"Secondary color"),G(),Y(30,"div",9),bt(31,"input",13),me(32,WV,1,2,"div",11),G(),me(33,YV,2,1,"div",12),G(),Y(34,"div",14)(35,"button",15),Te("click",function(){return o.saveSetting()}),Ie(36," Save "),G()()()()()()),2&i){let r,s,a,l;ne(5),re("formGroup",o.globalSettingsForm),ne(20),re("ngIf",(null==(r=o.globalSettingsForm.get("primaryColor"))?null:r.value)&&(null==(r=o.globalSettingsForm.get("primaryColor"))?null:r.valid)),ne(1),re("ngIf",(null==(s=o.globalSettingsForm.get("primaryColor"))?null:s.touched)&&(null==(s=o.globalSettingsForm.get("primaryColor"))?null:s.invalid)),ne(6),re("ngIf",(null==(a=o.globalSettingsForm.get("secondaryColor"))?null:a.value)&&(null==(a=o.globalSettingsForm.get("secondaryColor"))?null:a.valid)),ne(1),re("ngIf",(null==(l=o.globalSettingsForm.get("secondaryColor"))?null:l.touched)&&(null==(l=o.globalSettingsForm.get("secondaryColor"))?null:l.invalid))}},dependencies:[f0,tl,Xx,Qx,fl,Bf,Fr,UV,kD,PD,HV],styles:["mat-accordion[_ngcontent-%COMP%]{margin-top:2em;display:block}mat-expansion-panel[_ngcontent-%COMP%]{margin-bottom:1em}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:flex-end;align-items:center;padding-right:1em}mat-expansion-panel-header[_ngcontent-%COMP%]{line-height:40px}input[_ngcontent-%COMP%]{border:1px solid #d8d8d8;padding:1em;max-width:100%;width:95%}@media screen and (max-width: 768px){input[_ngcontent-%COMP%]{width:100%}}.form-group[_ngcontent-%COMP%]{margin:1em 0}.add-btn[_ngcontent-%COMP%]{background:none;border:none}.btn-container[_ngcontent-%COMP%]{align-items:center;margin-top:2em}.btn-container[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:10px 15px;border:none;border-radius:2em;background:#084fff;color:#fff;width:95px;height:45px}@media screen and (max-width: 768px){.btn-container[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{width:95px;height:45px}}.color-preview[_ngcontent-%COMP%]{width:20px;height:20px}.title[_ngcontent-%COMP%]{font-size:18px;font-weight:500}"]})}}return e})();const XV=["addListener","removeListener"],QV=["addEventListener","removeEventListener"],KV=["on","off"];function mh(e,n,t,i){if(z(t)&&(i=t,t=void 0),i)return mh(e,n,t).pipe(Cf(i));const[o,r]=function tB(e){return z(e.addEventListener)&&z(e.removeEventListener)}(e)?QV.map(s=>a=>e[s](n,a,t)):function JV(e){return z(e.addListener)&&z(e.removeListener)}(e)?XV.map(VD(e,n)):function eB(e){return z(e.on)&&z(e.off)}(e)?KV.map(VD(e,n)):[];if(!o&&ql(e))return Io(s=>mh(s,n,t))(Ye(e));if(!o)throw new TypeError("Invalid event target");return new fe(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>r(a)})}function VD(e,n){return t=>i=>e[t](n,i)}const Jr={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Jr;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const o=n(r=>{t=void 0,e(r)});return new Re(()=>t?.(o))},requestAnimationFrame(...e){const{delegate:n}=Jr;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=Jr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class iB extends sh{flush(n){let t;this._active=!0,n?t=n.id:(t=this._scheduled,this._scheduled=void 0);const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw o}}}(class nB extends rh{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Jr.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:r}=n;null!=t&&t===n._scheduled&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==t&&(Jr.cancelAnimationFrame(t),n._scheduled=void 0)}});let gh,rB=1;const Al={};function BD(e){return e in Al&&(delete Al[e],!0)}const sB={setImmediate(e){const n=rB++;return Al[n]=!0,gh||(gh=Promise.resolve()),gh.then(()=>BD(n)&&e()),n},clearImmediate(e){BD(e)}},{setImmediate:aB,clearImmediate:lB}=sB,Tl={setImmediate(...e){const{delegate:n}=Tl;return(n?.setImmediate||aB)(...e)},clearImmediate(e){const{delegate:n}=Tl;return(n?.clearImmediate||lB)(e)},delegate:void 0};new class dB extends sh{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw o}}}(class cB extends rh{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Tl.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:r}=n;null!=t&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==t&&(Tl.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function jD(e,n=ah){return function fB(e){return ze((n,t)=>{let i=!1,o=null,r=null,s=!1;const a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const c=o;o=null,t.next(c)}s&&t.complete()},l=()=>{r=null,s&&t.complete()};n.subscribe(Ne(t,c=>{i=!0,o=c,r||Ye(e(c)).subscribe(r=Ne(t,a,l))},()=>{s=!0,(!i||!r||r.closed)&&t.complete()}))})}(()=>function pB(e=0,n,t=z2){let i=-1;return null!=n&&($h(n)?t=n:i=n),new fe(o=>{let r=function hB(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;r<0&&(r=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}(e,n))}let gB=(()=>{class e{constructor(t,i,o){this._ngZone=t,this._platform=i,this._scrolled=new B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new fe(i=>{this._globalSubscription||this._addGlobalListener();const o=t>0?this._scrolled.pipe(jD(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Dt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const o=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(yt(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,t)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let o=Do(i),r=t.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>mh(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(i){return new(i||e)(v(V),v(sn),v(H,8))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),HD=(()=>{class e{constructor(t,i,o){this._platform=t,this._change=new B,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(t.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),o=t.documentElement,r=o.getBoundingClientRect();return{top:-r.top||t.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||t.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(jD(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(i){return new(i||e)(v(sn),v(V),v(H,8))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),UD=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({})}}return e})(),zD=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[Qr,UD,Qr,UD]})}}return e})();const $D=v2();class bB{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ce(-this._previousScrollPosition.left),n.style.top=Ce(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,r=i.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),$D&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),$D&&(i.scrollBehavior=r,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class vB{constructor(n,t,i,o){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(yt(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class GD{enable(){}disable(){}attach(){}}function _h(e,n){return n.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function WD(e,n){return n.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class yB{constructor(n,t,i,o){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();_h(t,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let xB=(()=>{class e{constructor(t,i,o,r){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new GD,this.close=s=>new vB(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new bB(this._viewportRuler,this._document),this.reposition=s=>new yB(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}static{this.\u0275fac=function(i){return new(i||e)(v(gB),v(HD),v(V),v(H))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class qD{constructor(n){if(this.scrollStrategy=new GD,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class DB{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let YD=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(i){return new(i||e)(v(H))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),CB=(()=>{class e extends YD{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const a=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(i){return new(i||e)(v(H),v(V,8))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),wB=(()=>{class e extends YD{constructor(t,i,o){super(t),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=Un(r)},this._clickListener=r=>{const s=Un(r),a="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(r)):u.next(r)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(i){return new(i||e)(v(H),v(sn),v(V,8))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Ol=(()=>{class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||oh()){const o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let r=0;r<o.length;r++)o[r].remove()}const i=this._document.createElement("div");i.classList.add(t),oh()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static{this.\u0275fac=function(i){return new(i||e)(v(H),v(sn))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class es{constructor(n,t,i,o,r,s,a,l,c,d=!1){this._portalOutlet=n,this._host=t,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new B,this._attachments=new B,this._detachments=new B,this._locationChanges=Re.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new B,this._outsidePointerEvents=new B,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(mi(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Ce(this._config.width),n.height=Ce(this._config.height),n.minWidth=Ce(this._config.minWidth),n.minHeight=Ce(this._config.minHeight),n.maxWidth=Ce(this._config.maxWidth),n.maxHeight=Ce(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,i){const o=vl(t||[]).filter(r=>!!r);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(lh(Ao(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const ZD="cdk-overlay-connected-position-bounding-box",EB=/([A-Za-z%]+)$/;class MB{get positions(){return this._preferredPositions}constructor(n,t,i,o,r){this._viewportRuler=t,this._document=i,this._platform=o,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new B,this._resizeSubscription=Re.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(ZD),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,t=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,o,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?r.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:t})}if(r.length){let a=null,l=-1;for(const c of r){const d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_i(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ZD),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let o,r;if("center"==i.originX)o=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o="start"==i.originX?s:a}return t.left<0&&(o-=t.left),r="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(r-=t.top),{x:o,y:r}}_getOverlayPoint(n,t,i){let o,r;return o="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,t,i,o){const r=QD(t);let{x:s,y:a}=n,l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+r.height-i.height,p=this._subtractOverflows(r.width,0-s,s+r.width-i.width),m=this._subtractOverflows(r.height,f,h),_=p*m;return{visibleArea:_,isCompletelyWithinViewport:r.width*r.height===_,fitsInViewportVertically:m===r.height,fitsInViewportHorizontally:p==r.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const o=i.bottom-t.y,r=i.right-t.x,s=XD(this._overlayRef.getConfig().minHeight),a=XD(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=o)&&(n.fitsInViewportHorizontally||null!=a&&a<=r)}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=QD(t),r=this._viewportRect,s=Math.max(n.x+o.width-r.width,0),a=Math.max(n.y+o.height-r.height,0),l=Math.max(r.top-i.top-n.y,0),c=Math.max(r.left-i.left-n.x,0);let d=0,u=0;return d=o.width<=r.width?c||-s:n.x<this._viewportMargin?r.left-i.left-n.x:0,u=o.height<=r.height?l||-a:n.y<this._viewportMargin?r.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._lastPosition=n,this._positionChanges.observers.length){const i=this._getScrollVisibility(),o=new DB(n,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let r=0;r<t.length;r++)t[r].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(n,t){const i=this._viewportRect,o=this._isRtl();let r,s,a,d,u,f;if("top"===t.overlayY)s=n.y,r=i.height-s+this._viewportMargin;else if("bottom"===t.overlayY)a=i.height-n.y+2*this._viewportMargin,r=i.height-a+this._viewportMargin;else{const h=Math.min(i.bottom-n.y+i.top,n.y),p=this._lastBoundingBoxSize.height;r=2*h,s=n.y-h,r>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-p/2)}if("end"===t.overlayX&&!o||"start"===t.overlayX&&o)f=i.width-n.x+this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===t.overlayX&&!o||"end"===t.overlayX&&o)u=n.x,d=i.right-n.x;else{const h=Math.min(i.right-n.x+i.left,n.x),p=this._lastBoundingBoxSize.width;d=2*h,u=n.x-h,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-p/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:r}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=Ce(i.height),o.top=Ce(i.top),o.bottom=Ce(i.bottom),o.width=Ce(i.width),o.left=Ce(i.left),o.right=Ce(i.right),o.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",o.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=Ce(r)),s&&(o.maxWidth=Ce(s))}this._lastBoundingBoxSize=i,_i(this._boundingBox.style,o)}_resetBoundingBoxStyles(){_i(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_i(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const d=this._viewportRuler.getViewportScrollPosition();_i(i,this._getExactOverlayY(t,n,d)),_i(i,this._getExactOverlayX(t,n,d))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(o?i.maxHeight=Ce(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=Ce(s.maxWidth):r&&(i.maxWidth="")),_i(this._pane.style,i)}_getExactOverlayY(n,t,i){let o={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=Ce(r.y),o}_getExactOverlayX(n,t,i){let s,o={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=Ce(r.x),o}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:WD(n,i),isOriginOutsideView:_h(n,i),isOverlayClipped:WD(t,i),isOverlayOutsideView:_h(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&vl(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof Ae)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function _i(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function XD(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(EB);return t&&"px"!==t?null:parseFloat(n)}return e||null}function QD(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const KD="cdk-global-overlay-wrapper";class IB{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(KD),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:s,maxHeight:a}=i,l=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",p="",m="";l?m="flex-start":"center"===d?(m="center",f?p=u:h=u):f?"left"===d||"end"===d?(m="flex-end",h=u):("right"===d||"start"===d)&&(m="flex-start",p=u):"left"===d||"start"===d?(m="flex-start",h=u):("right"===d||"end"===d)&&(m="flex-end",p=u),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":p,t.justifyContent=m,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(KD),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let SB=(()=>{class e{constructor(t,i,o,r){this._viewportRuler=t,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new IB}flexibleConnectedTo(t){return new MB(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(i){return new(i||e)(v(HD),v(H),v(sn),v(Ol))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),AB=0,Eo=(()=>{class e{constructor(t,i,o,r,s,a,l,c,d,u,f,h){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(t){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new qD(t);return s.direction=s.direction||this._directionality.value,new es(r,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+AB++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(xn)),new _2(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(i){return new(i||e)(v(xB),v(Ol),v(mn),v(SB),v(CB),v(_e),v(V),v(H),v(fh),v(Yu),v(wB),v(ir,8))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const FB={provide:new D("cdk-connected-overlay-scroll-strategy"),deps:[Eo],useFactory:function OB(e){return()=>e.scrollStrategies.reposition()}};let JD=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({providers:[Eo,FB],imports:[Qr,qr,zD,zD]})}}return e})();function eC(e){return new fe(n=>{Ye(e()).subscribe(n)})}function RB(e,n){}class Fl{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let tC=(()=>{class e extends eh{constructor(t,i,o,r,s,a,l,c){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=r,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=d=>{this._portalOutlet.hasAttached();const u=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),u},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{t.removeEventListener("blur",o),t.removeEventListener("mousedown",o),t.removeAttribute("tabindex")};t.addEventListener("blur",o),t.addEventListener("mousedown",o)})),t.focus(i)}_focusByCssSelector(t,i){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,i)}_trapFocus(){const t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const t=this._config.restoreFocus;let i=null;if("string"==typeof t?i=this._document.querySelector(t):"boolean"==typeof t?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&"function"==typeof i.focus){const o=ih(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,i=ih();return t===i||t.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ih())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(i){return new(i||e)(g(Ae),g(dh),g(H,8),g(Fl),g(Ml),g(V),g(es),g(Sl))}}static{this.\u0275cmp=wt({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(1&i&&Eu(yl,7),2&i){let r;Er(r=Mr())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){2&i&&He("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[U],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){1&i&&me(0,RB,0,0,"ng-template",0)},dependencies:[yl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return e})();class bh{constructor(n,t){this.overlayRef=n,this.config=t,this.closed=new B,this.disableClose=t.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!Cl(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{!1!==t.closeOnOverlayDetachments&&this.close()})}close(n,t){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",t=""){return this.overlayRef.updateSize({width:n,height:t}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const nC=new D("DialogScrollStrategy"),NB=new D("DialogData"),kB=new D("DefaultDialogConfig"),LB={provide:nC,deps:[Eo],useFactory:function PB(e){return()=>e.scrollStrategies.block()}};let VB=0,iC=(()=>{class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,i,o,r,s,a){this._overlay=t,this._injector=i,this._defaultOptions=o,this._parentDialog=r,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new B,this._afterOpenedAtThisLevel=new B,this._ariaHiddenElements=new Map,this.afterAllClosed=eC(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Xr(void 0))),this._scrollStrategy=a}open(t,i){(i={...this._defaultOptions||new Fl,...i}).id=i.id||"cdk-dialog-"+VB++,i.id&&this.getDialogById(i.id);const r=this._getOverlayConfig(i),s=this._overlay.create(r),a=new bh(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(t,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){vh(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){vh(this._openDialogsAtThisLevel,t=>{!1===t.config.closeOnDestroy&&this._removeOpenDialog(t,!1)}),vh(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){const i=new qD({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,o){const r=o.injector||o.viewContainerRef?.injector,s=[{provide:Fl,useValue:o},{provide:bh,useValue:i},{provide:es,useValue:t}];let a;o.container?"function"==typeof o.container?a=o.container:(a=o.container.type,s.push(...o.container.providers(o))):a=tC;const l=new Kf(a,o.viewContainerRef,_e.create({parent:r||this._injector,providers:s}),o.componentFactoryResolver);return t.attach(l).instance}_attachDialogContent(t,i,o,r){if(t instanceof Ht){const s=this._createInjector(r,i,o,void 0);let a={$implicit:r.data,dialogRef:i};r.templateContext&&(a={...a,..."function"==typeof r.templateContext?r.templateContext():r.templateContext}),o.attachTemplatePortal(new Jf(t,null,a,s))}else{const s=this._createInjector(r,i,o,this._injector),a=o.attachComponentPortal(new Kf(t,r.viewContainerRef,s,r.componentFactoryResolver));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(t,i,o,r){const s=t.injector||t.viewContainerRef?.injector,a=[{provide:NB,useValue:t.data},{provide:bh,useValue:i}];return t.providers&&("function"==typeof t.providers?a.push(...t.providers(i,t,o)):a.push(...t.providers)),t.direction&&(!s||!s.get(fh,null,{optional:!0}))&&a.push({provide:fh,useValue:{value:t.direction,change:Dt()}}),_e.create({parent:s||r,providers:a})}_removeOpenDialog(t,i){const o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,s)=>{r?s.setAttribute("aria-hidden",r):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const i=t.parentElement.children;for(let o=i.length-1;o>-1;o--){const r=i[o];r!==t&&"SCRIPT"!==r.nodeName&&"STYLE"!==r.nodeName&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(i){return new(i||e)(v(Eo),v(_e),v(kB,8),v(e,12),v(Ol),v(nC))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})();function vh(e,n){let t=e.length;for(;t--;)n(e[t])}let BB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({providers:[iC,LB],imports:[JD,qr,CD,qr]})}}return e})();function jB(e,n){}class Rl{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const yh="mdc-dialog--open",oC="mdc-dialog--opening",rC="mdc-dialog--closing";let zB=(()=>{class e extends tC{constructor(t,i,o,r,s,a,l,c){super(t,i,o,r,s,a,l,c),this._animationStateChanged=new oe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}static{this.\u0275fac=function(i){return new(i||e)(g(Ae),g(dh),g(H,8),g(Rl),g(Ml),g(V),g(es),g(Sl))}}static{this.\u0275cmp=wt({type:e,selectors:[["ng-component"]],features:[U],decls:0,vars:0,template:function(i,o){},encapsulation:2})}}return e})();const sC="--mat-dialog-transition-duration";function aC(e){return null==e?null:"number"==typeof e?e:e.endsWith("ms")?Zf(e.substring(0,e.length-2)):e.endsWith("s")?1e3*Zf(e.substring(0,e.length-1)):"0"===e?0:null}let $B=(()=>{class e extends zB{constructor(t,i,o,r,s,a,l,c,d){super(t,i,o,r,s,a,l,d),this._animationMode=c,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?aC(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?aC(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(sC,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(oC,yh)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(yh),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(yh),this._animationsEnabled?(this._hostElement.style.setProperty(sC,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(rC)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(oC,rC)}_waitForAnimationToComplete(t,i){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(t):t()})}static{this.\u0275fac=function(i){return new(i||e)(g(Ae),g(dh),g(H,8),g(Rl),g(Ml),g(V),g(es),g(ir,8),g(Sl))}}static{this.\u0275cmp=wt({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(i,o){2&i&&(au("id",o._config.id),He("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),Vt("_mat-animation-noopable",!o._animationsEnabled))},features:[U],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){1&i&&(Y(0,"div",0)(1,"div",1),me(2,jB,0,0,"ng-template",2),G()())},dependencies:[yl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}}return e})();class GB{constructor(n,t,i){this._ref=n,this._containerInstance=i,this._afterOpened=new B,this._beforeClosed=new B,this._state=0,this.disableClose=t.disableClose,this.id=n.id,i._animationStateChanged.pipe(yt(o=>"opened"===o.state),mi(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(yt(o=>"closed"===o.state),mi(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Ao(this.backdropClick(),this.keydownEvents().pipe(yt(o=>27===o.keyCode&&!this.disableClose&&!Cl(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),function WB(e,n,t){e._closeInteractionType=n,e.close(t)}(this,"keydown"===o.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(yt(t=>"closing"===t.state),mi(1)).subscribe(t=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let t=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?t.left(n.left):t.right(n.right):t.centerHorizontally(),n&&(n.top||n.bottom)?n.top?t.top(n.top):t.bottom(n.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",t=""){return this._ref.updateSize(n,t),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const qB=new D("MatMdcDialogData"),YB=new D("mat-mdc-dialog-default-options"),lC=new D("mat-mdc-dialog-scroll-strategy"),XB={provide:lC,deps:[Eo],useFactory:function ZB(e){return()=>e.scrollStrategies.block()}};let QB=0,KB=(()=>{class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,i,o,r,s,a,l,c,d,u){this._overlay=t,this._defaultOptions=o,this._parentDialog=r,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new B,this._afterOpenedAtThisLevel=new B,this._idPrefix="mat-dialog-",this.dialogConfigClass=Rl,this.afterAllClosed=eC(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Xr(void 0))),this._scrollStrategy=a,this._dialog=i.get(iC)}open(t,i){let o;(i={...this._defaultOptions||new Rl,...i}).id=i.id||`${this._idPrefix}${QB++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const r=this._dialog.open(t,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Fl,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,a,l)=>(o=new this._dialogRefConstructor(s,i,l),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:o}])});return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}static{this.\u0275fac=function(i){!function Kg(){throw new Error("invalid")}()}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})(),JB=(()=>{class e extends KB{constructor(t,i,o,r,s,a,l,c){super(t,i,r,a,l,s,GB,$B,qB,c),this._idPrefix="mat-mdc-dialog-"}static{this.\u0275fac=function(i){return new(i||e)(v(Eo),v(_e),v(Yu,8),v(YB,8),v(lC),v(e,12),v(Ol),v(ir,8))}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac})}}return e})(),ej=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({providers:[JB,XB],imports:[BB,JD,qr,Ue,Ue]})}}return e})(),ij=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[Ue,AV,Ue]})}}return e})(),dj=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[Ue,Ue]})}}return e})(),_j=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[Ue,Rr,lD,Ue]})}}return e})(),bj=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[CD,Ue,Ue]})}}return e})(),Ej=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[Ue,Rr,Ue]})}}return e})(),Mj=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[Ue,Ue]})}}return e})(),Ij=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({providers:[X0],imports:[lL,aL,Rr,ej,LD,ij,LD,dj,_j,bj,Ej,Mj,RL,a2.forRoot({positionClass:"toast-bottom-left",preventDuplicates:!0})]})}}return e})(),Sj=(()=>{class e{constructor(t){this.injector=t}ngDoBootstrap(){const t=function sP(e,n){const t=function Jk(e,n){return n.get(mn).resolveComponentFactory(e).inputs}(e,n.injector),i=n.strategyFactory||new iP(e,n.injector),o=function Kk(e){const n={};return e.forEach(({propName:t,templateName:i,transform:o})=>{n[function qk(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(i)]=[t,o]}),n}(t);class r extends rP{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||n.injector);t.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){const[u,f]=o[a];this.ngElementStrategy.setInputValue(u,c,f)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return t.forEach(({propName:s,transform:a})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),r}(ZV,{injector:this.injector});customElements.define("octa-formbuilder-config-webcomponent",t)}static{this.\u0275fac=function(i){return new(i||e)(v(_e))}}static{this.\u0275mod=Q({type:e})}static{this.\u0275inj=Z({imports:[Bk,Ij]})}}return e})();Lk().bootstrapModule(Sj).catch(e=>console.error(e))}},z=>{z(z.s=674)}]);
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@piserve-tech/octa-formbuilder-config-webcomponent",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Distributable webcomponent build for fombuilder configuration (bundle.js, bundle.css, fonts, icons)",
|
|
5
|
+
"main": "dist/bundle.js",
|
|
6
|
+
"style": "dist/bundle.css",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist/bundle.js",
|
|
9
|
+
"dist/bundle.css",
|
|
10
|
+
"dist/assets/fonts",
|
|
11
|
+
"dist/assets/icons",
|
|
12
|
+
"copy-assets.js"
|
|
13
|
+
],
|
|
14
|
+
|
|
15
|
+
"scripts": {
|
|
16
|
+
"ng": "ng",
|
|
17
|
+
"start": "ng serve",
|
|
18
|
+
"build": "ng build",
|
|
19
|
+
"watch": "ng build --watch --configuration development",
|
|
20
|
+
"test": "ng test",
|
|
21
|
+
"webcomponent:prodbuild": "ng build octa-formbuilder-config-webcomponent --configuration production && node projects/octa-formbuilder-config-webcomponent/concat-webcomponent.js && node projects/octa-formbuilder-config-webcomponent/concat-css.js && node projects/octa-formbuilder-config-webcomponent/copy-assets-to-dist.js && node package-webcomponent.js && node update-bundle-assets.js",
|
|
22
|
+
"webcomponent:publish": "npm run webcomponent:prodbuild && npm publish && npm i @piserve-tech/octa-formbuilder-config-webcomponent@latest",
|
|
23
|
+
"assets:to-nodemodules": "node copy-assets.js"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@angular/animations": "^16.2.0",
|
|
27
|
+
"@angular/common": "^16.2.0",
|
|
28
|
+
"@angular/compiler": "^16.2.0",
|
|
29
|
+
"@angular/core": "^16.2.0",
|
|
30
|
+
"@angular/elements": "^16.1.3",
|
|
31
|
+
"@angular/forms": "^16.2.0",
|
|
32
|
+
"@angular/material": "^16.2.14",
|
|
33
|
+
"@angular/platform-browser": "^16.2.0",
|
|
34
|
+
"@angular/platform-browser-dynamic": "^16.2.0",
|
|
35
|
+
"@angular/router": "^16.2.0",
|
|
36
|
+
"@popperjs/core": "^2.11.6",
|
|
37
|
+
"@webcomponents/custom-elements": "^1.6.0",
|
|
38
|
+
"bootstrap": "^5.2.3",
|
|
39
|
+
"ngx-toastr": "^19.0.0",
|
|
40
|
+
"rxjs": "~7.8.0",
|
|
41
|
+
"tslib": "^2.3.0",
|
|
42
|
+
"zone.js": "~0.13.0"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@angular-devkit/build-angular": "^16.2.16",
|
|
46
|
+
"@angular/cli": "^16.2.16",
|
|
47
|
+
"@angular/compiler-cli": "^16.2.0",
|
|
48
|
+
"@types/jasmine": "~4.3.0",
|
|
49
|
+
"jasmine-core": "~4.6.0",
|
|
50
|
+
"karma": "~6.4.0",
|
|
51
|
+
"karma-chrome-launcher": "~3.2.0",
|
|
52
|
+
"karma-coverage": "~2.2.0",
|
|
53
|
+
"karma-jasmine": "~5.1.0",
|
|
54
|
+
"karma-jasmine-html-reporter": "~2.1.0",
|
|
55
|
+
"ng-packagr": "^16.2.0",
|
|
56
|
+
"typescript": "~5.1.3"
|
|
57
|
+
}
|
|
58
|
+
}
|