graphdb-workbench 3.5.1-TR3 → 3.5.1
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/dist/{31415.aba4cdda066690a2769d.bundle.js → 31415.8d180c0aaafea01d84c5.bundle.js} +2 -2
- package/dist/31415.8d180c0aaafea01d84c5.bundle.js.map +1 -0
- package/dist/3395.0a62c93740e681cddba2.bundle.js +2 -0
- package/dist/3395.0a62c93740e681cddba2.bundle.js.map +1 -0
- package/dist/{64709.d6d3d413c90077b5d0cc.bundle.js → 64709.fba061d1e333d77d2644.bundle.js} +2 -2
- package/dist/{64709.d6d3d413c90077b5d0cc.bundle.js.map → 64709.fba061d1e333d77d2644.bundle.js.map} +1 -1
- package/dist/65677.646a9ee2a63ba19c0fd3.bundle.js +2 -0
- package/dist/65677.646a9ee2a63ba19c0fd3.bundle.js.map +1 -0
- package/dist/73334.1487d58b7e885510d107.bundle.js +2 -0
- package/dist/73334.1487d58b7e885510d107.bundle.js.map +1 -0
- package/dist/80933.542ad26ccd92fdc2c05d.bundle.js +2 -0
- package/dist/80933.542ad26ccd92fdc2c05d.bundle.js.map +1 -0
- package/dist/82917.020f840fc63c2066169e.bundle.js +2 -0
- package/dist/{82917.c97f7cec0372ff2f6fdd.bundle.js.map → 82917.020f840fc63c2066169e.bundle.js.map} +1 -1
- package/dist/85698.b186c57a2d0edee24110.bundle.js +2 -0
- package/dist/85698.b186c57a2d0edee24110.bundle.js.map +1 -0
- package/dist/86099.959943bc458a7ef148e9.bundle.js +2 -0
- package/dist/86099.959943bc458a7ef148e9.bundle.js.map +1 -0
- package/dist/8981.cb785cbc13b19f924ebc.bundle.js +2 -0
- package/dist/8981.cb785cbc13b19f924ebc.bundle.js.map +1 -0
- package/dist/assets/i18n/language-config.json +1 -1
- package/dist/css/cluster-configuration/multi-region.css +1 -1
- package/dist/css/clustermanagement.css +1 -1
- package/dist/css/lib/ontotext-yasgui-web-component.css +1 -1
- package/dist/index.html +9 -9
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-configuration.html +1 -1
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/multi-region.html +6 -6
- package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +2 -2
- package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
- package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
- package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
- package/dist/js/angular/core/templates/search-resource-input.html +1 -1
- package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
- package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
- package/dist/js/angular/graphql/templates/graphql-playground.html +2 -2
- package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
- package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
- package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
- package/dist/js/angular/security/templates/user.html +2 -2
- package/dist/js/angular/security/templates/users.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +3 -3
- package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/legacyWorkbench.22aacd4da951e43b2876.js +3 -0
- package/dist/{legacyWorkbench.cdb2fb6bc573f9a9b49d.js.map → legacyWorkbench.22aacd4da951e43b2876.js.map} +1 -1
- package/dist/license-checker.json +19 -32
- package/dist/{main.8dd8af071ff43504a729.js → main.3665e695a5c0d2e9b4c0.js} +3 -3
- package/dist/{main.8dd8af071ff43504a729.js.map → main.3665e695a5c0d2e9b4c0.js.map} +1 -1
- package/dist/pages/aclmanagement.html +1 -1
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +2 -2
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/home.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/jdbc.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/sparql-templates.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger5/index.html +11 -11
- package/dist/workbench/license-checker.json +17 -17
- package/dist/workbench/workbench/{166.2aacf63cc15a20ef.js → 166.2447618295f9f57e.js} +1 -1
- package/dist/workbench/workbench/workbenchApp.js +1 -1
- package/package.json +1 -1
- package/dist/31415.aba4cdda066690a2769d.bundle.js.map +0 -1
- package/dist/3395.ded80bae10361d1d4573.bundle.js +0 -2
- package/dist/3395.ded80bae10361d1d4573.bundle.js.map +0 -1
- package/dist/65677.0e8ab27737300e991c60.bundle.js +0 -2
- package/dist/65677.0e8ab27737300e991c60.bundle.js.map +0 -1
- package/dist/73334.1b0e8bb637fbd1ce73ef.bundle.js +0 -2
- package/dist/73334.1b0e8bb637fbd1ce73ef.bundle.js.map +0 -1
- package/dist/80933.bd439bb6f5fad66637ac.bundle.js +0 -2
- package/dist/80933.bd439bb6f5fad66637ac.bundle.js.map +0 -1
- package/dist/82917.c97f7cec0372ff2f6fdd.bundle.js +0 -2
- package/dist/85698.ee9962969a310107ccf8.bundle.js +0 -2
- package/dist/85698.ee9962969a310107ccf8.bundle.js.map +0 -1
- package/dist/86099.ab3779d6538a6648b2b7.bundle.js +0 -2
- package/dist/86099.ab3779d6538a6648b2b7.bundle.js.map +0 -1
- package/dist/8981.ebd2159613630a2daf7e.bundle.js +0 -2
- package/dist/8981.ebd2159613630a2daf7e.bundle.js.map +0 -1
- package/dist/legacyWorkbench.cdb2fb6bc573f9a9b49d.js +0 -3
- /package/dist/{legacyWorkbench.cdb2fb6bc573f9a9b49d.js.LICENSE.txt → legacyWorkbench.22aacd4da951e43b2876.js.LICENSE.txt} +0 -0
- /package/dist/{main.8dd8af071ff43504a729.js.LICENSE.txt → main.3665e695a5c0d2e9b4c0.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as Tr from"@ontotext/workbench-api";var $E={590(t,e,n){n.d(e,{M:()=>s});var r=n(6817),o=n(3828),i=n(5111);let s=(()=>{class t{constructor(){this.confirmationService=(0,r.WQX)(o.td),this.translocoService=(0,r.WQX)(i.JO)}confirm(t){this.confirmationService.confirm({target:t.target,message:t.message,header:t.header,acceptButtonStyleClass:t.acceptButton?.styleClass||"confirm-btn",rejectButtonStyleClass:t.rejectButton?.styleClass||"cancel-btn",acceptButtonProps:{label:t.acceptButton?.label||this.translocoService.translate("components.dialog.confirmation.confirm_btn"),severity:t.acceptButton?.type||"primary"},rejectButtonProps:{label:t.rejectButton?.label||this.translocoService.translate("components.dialog.confirmation.cancel_btn"),severity:t.rejectButton?.type||"secondary"},accept:t.acceptHandler,reject:t.rejectHandler,rejectVisible:t.rejectVisible??!0})}confirmOnly(t){const e={...t,rejectVisible:!1,acceptButton:{...t.acceptButton??{},label:this.translocoService.translate("components.dialog.confirmation.ok_btn")}};this.confirm(e)}static{this.ɵfac=function(e){return new(e||t)}}static{this.ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}}return t})()},4457(t){t.exports=function(){"use strict";var t=function(){return t=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},t.apply(this,arguments)};function e(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function r(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)(r||!(o in e))&&(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;class o extends Error{constructor(t,e,n){super(t),this.token=e,this.type=n||"error"}}const i=t=>t<4?"short":4===t?"long":"narrow",s=t=>t%2==0?"2-digit":"numeric";function a(t,e){switch(t.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void e(`${t.desc} is not supported with width ${t.width}`)}}function l(t,e){const{char:n,desc:r,width:o}=t;if("d"===n)return s(o);e(`${r} is not supported`)}function c(t,e){const{char:n,desc:r,width:s}=t;return("c"===n||"e"===n)&&s<3&&e(`Numeric value is not supported for ${r}; falling back to weekday:short`,o.WARNING),i(s)}function u(t,e){const{char:n,desc:r,width:o}=t;switch(n){case"v":case"z":return 4===o?"long":"short";case"V":return 4===o?"long":void e(`${r} is not supported with width ${o}`);case"X":return void e(`${r} is not supported`)}return"short"}function d(t,e){switch(t.field){case"era":return{era:i(t.width)};case"year":return function(t,e){switch(t.char){case"y":return{year:s(t.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return e(`${t.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}(t,e);case"month":return{month:a(t,e)};case"day":return{day:l(t,e)};case"weekday":return{weekday:c(t,e)};case"period":return;case"hour":return function(t){const e=s(t.width);let n;switch(t.char){case"h":n="h12";break;case"H":n="h23";break;case"k":n="h24";break;case"K":n="h11"}return n?{hour:e,hourCycle:n}:{hour:e}}(t);case"min":return{minute:s(t.width)};case"sec":return{second:s(t.width)};case"tz":return{timeZoneName:u(t,e)};case"quarter":case"week":case"sec-frac":case"ms":e(`${t.desc} is not supported`)}}function h(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>{throw t};const r={timeZone:e},i=[];for(const e of t){const{error:t,field:s,str:a}=e;if(t){const r=new o(t.message,e);r.stack=t.stack,n(r)}a&&n(new o(`Ignoring string part: ${a}`,e,o.WARNING)),s&&(-1===i.indexOf(s)?i.push(s):n(new o(`Duplicate ${s} token`,e)));const l=d(e,(t,r)=>n(new o(t,e,r)));l&&Object.assign(r,l)}return r}const p={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},f=t=>t>="A"&&t<="Z"||t>="a"&&t<="z";function g(t,e){const n=t[e];if(!n)return null;if(f(n))return function(t,e){const n=t[e];let r=1;for(;t[++e]===n;)++r;const o=p[n];return o?{char:n,field:o.field,desc:o.desc,width:r}:{char:n,error:new Error(`The letter ${n} is not a valid field identifier`),width:r}}(t,e);if("'"===n)return function(t,e){let n=t[++e],r=2;if("'"===n)return{char:"'",str:n,width:r};for(;;){const o=t[++e];if(++r,void 0===o)return{char:"'",error:new Error(`Unterminated quoted literal in pattern: ${n||t}`),str:n,width:r};if("'"===o){if("'"!==t[++e])return{char:"'",str:n,width:r};++r}n+=o}}(t,e);let r=n,o=1;for(;;){const i=t[++e];if(!i||f(i)||"'"===i)return{char:n,str:r,width:o};r+=i,o+=1}}function m(t){const e=[];let n=0;for(;;){const r=g(t,n);if(!r)return e;e.push(r),n+=r.width}}class y extends Error{constructor(t,e){super(e),this.code=t}}class b extends y{constructor(t,e){super("BAD_OPTION",`Unknown ${t} option: ${e}`),this.stem=t,this.option=e}}class v extends y{constructor(t){super("BAD_STEM",`Unknown stem: ${t}`),this.stem=t}}class w extends y{constructor(t,e){super("MASKED_VALUE",`Value for ${t} is set multiple times`),this.type=t,this.prev=e}}class S extends y{constructor(t){super("MISSING_OPTION",`Required option missing for ${t}`),this.stem=t}}class C extends y{constructor(t,e){super("BAD_PATTERN",e),this.char=t}}class _ extends y{constructor(t,e,n){super("TOO_MANY_OPTIONS",`Token ${t} only supports ${n>1?`${n} options`:"one option"} (got ${e.length})`),this.stem=t,this.options=e}}class k extends y{constructor(t,e){super("UNSUPPORTED",`The stem ${t} is not supported`),this.stem=t,e&&(this.message+=` with value ${e}`,this.source=e)}}function x(t,e){let{numberingSystem:n}=e;return Array.isArray(t)||(t=[t]),n?t.map(t=>{const e=-1===t.indexOf("-u-")?"u-nu":"nu";return`${t}-${e}-${n}`}).concat(t):t}function T(t){let{scale:e,unit:n}=t,r="number"==typeof e&&e>=0?e:1;return n&&"percent"===n.style&&(r*=.01),r}function E(t,e){const{decimal:n,group:r,integerWidth:o,notation:i,precision:s,roundingMode:a,sign:l,unit:c,unitPer:u,unitWidth:d}=t,h=(t,n)=>{e&&e(new k(t,n))},p={};if(c)switch(c.style){case"base-unit":p.style="decimal";break;case"currency":p.style="currency",p.currency=c.currency;break;case"measure-unit":p.style="unit",p.unit=c.unit.replace(/.*-/,""),u&&(p.unit+="-per-"+u.replace(/.*-/,""));break;case"percent":p.style="percent";break;case"permille":h("permille")}switch(d){case"unit-width-full-name":p.currencyDisplay="name",p.unitDisplay="long";break;case"unit-width-hidden":h(d);break;case"unit-width-iso-code":p.currencyDisplay="code";break;case"unit-width-narrow":p.currencyDisplay="narrowSymbol",p.unitDisplay="narrow";break;case"unit-width-short":p.currencyDisplay="symbol",p.unitDisplay="short"}switch(r){case"group-off":p.useGrouping=!1;break;case"group-auto":p.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":h(r),p.useGrouping=!0}if(s)switch(s.style){case"precision-fraction":{const{minFraction:t,maxFraction:e,minSignificant:n,maxSignificant:r,source:o}=s;"number"==typeof t&&(p.minimumFractionDigits=t,"number"==typeof n&&h("precision-fraction",o)),"number"==typeof e&&(p.maximumFractionDigits=e),"number"==typeof n&&(p.minimumSignificantDigits=n),"number"==typeof r&&(p.maximumSignificantDigits=r);break}case"precision-integer":p.maximumFractionDigits=0;break;case"precision-unlimited":p.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":p.trailingZeroDisplay=s.trailingZero;break;case"precision-currency-cash":h(s.style)}if(i)switch(i.style){case"compact-short":p.notation="compact",p.compactDisplay="short";break;case"compact-long":p.notation="compact",p.compactDisplay="long";break;case"notation-simple":p.notation="standard";break;case"scientific":case"engineering":{const{expDigits:t,expSign:e,source:n,style:r}=i;p.notation=r,(t&&t>1||e&&"sign-auto"!==e)&&h(r,n);break}}if(o){const{min:t,max:e,source:n}=o;t>0&&(p.minimumIntegerDigits=t),Number(e)>0&&(3!==e||"engineering"!==p.notation&&"scientific"!==p.notation?h("integer-width",n):p.notation="engineering")}switch(l){case"sign-auto":p.signDisplay="auto";break;case"sign-always":p.signDisplay="always";break;case"sign-except-zero":p.signDisplay="exceptZero";break;case"sign-never":p.signDisplay="never";break;case"sign-accounting":p.currencySign="accounting";break;case"sign-accounting-always":p.currencySign="accounting",p.signDisplay="always";break;case"sign-accounting-except-zero":p.currencySign="accounting",p.signDisplay="exceptZero"}return"decimal-always"===n&&h(n),a&&h(a),p}function A(t,e,n){const r=t[e];switch(r){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let o=1;for(;"¤"===t[++e];)++o;switch(o){case 1:return{char:r,currency:"default",width:o};case 2:return{char:r,currency:"iso-code",width:o};case 3:return{char:r,currency:"full-name",width:o};case 5:return{char:r,currency:"narrow",width:o};default:return n(new C("¤",`Invalid number (${o}) of ¤ chars in pattern`)),null}}case"*":{const n=t[e+1];if(n)return{char:r,pad:n,width:2};break}case"+":case"-":return{char:r,width:1};case"'":{let o=t[++e],i=2;if("'"===o)return{char:r,str:o,width:i};for(;;){const s=t[++e];if(++i,void 0===s)return n(new C("'",`Unterminated quoted literal in pattern: ${o}`)),{char:r,str:o,width:i};if("'"===s){if("'"!==t[++e])return{char:r,str:o,width:i};++i}o+=s}}}return null}const I=t=>t>="0"&&t<="9";function O(t,e){const n=t[e];if(I(n)){let r=n;for(;;){const n=t[++e];if(!I(n))return{char:"0",digits:r,width:r.length};r+=n}}switch(n){case"#":{let r=1;for(;"#"===t[++e];)++r;return{char:n,width:r}}case"@":{let r=1;for(;"@"===t[++e];)++r;let o=r;for(e-=1;"#"===t[++e];)++o;return{char:n,min:r,width:o}}case"E":{const r="+"===t[e+1];r&&++e;let o=0;for(;"0"===t[++e];)++o;if(o)return{char:n,expDigits:o,plus:r,width:(r?2:1)+o};break}case".":case",":return{char:n,width:1}}return null}function L(t,e,n){let r;var o;(o=r||(r={}))[o.Prefix=0]="Prefix",o[o.Number=1]="Number",o[o.Suffix=2]="Suffix";const i=[],s=[],a=[];let l=r.Prefix,c="";for(;e<t.length;){const o=t[e];if(";"===o){e+=1;break}switch(l){case r.Prefix:{const a=A(t,e,n);if(a)c&&(i.push({char:"'",str:c,width:c.length}),c=""),i.push(a),e+=a.width;else{const n=O(t,e);n?(c&&(i.push({char:"'",str:c,width:c.length}),c=""),l=r.Number,s.push(n),e+=n.width):(c+=o,e+=1)}break}case r.Number:{const n=O(t,e);n?(s.push(n),e+=n.width):l=r.Suffix;break}case r.Suffix:{const r=A(t,e,n);r?(c&&(a.push({char:"'",str:c,width:c.length}),c=""),a.push(r),e+=r.width):(c+=o,e+=1);break}}}return c&&a.push({char:"'",str:c,width:c.length}),{pattern:{prefix:i,number:s,suffix:a},pos:e}}function D(t,e,n,r,o){let i=!1,s="";for(const a of t)switch(a.char){case"%":e.unit={style:a.style},o?i=!0:s="";break;case"¤":if(!n){r(new C("¤","The ¤ pattern requires a currency"));break}switch(e.unit={style:"currency",currency:n},a.currency){case"iso-code":e.unitWidth="unit-width-iso-code";break;case"full-name":e.unitWidth="unit-width-full-name";break;case"narrow":e.unitWidth="unit-width-narrow"}o?i=!0:s="";break;case"*":break;case"+":i||(s+="+");break;case"'":i||(s+=a.str)}return s}function P(t,e){let n=!1,r="";for(const o of t)switch(o.char){case"%":case"¤":e?n=!0:r="";break;case"-":n||(r+="-");break;case"'":n||(r+=o.str)}return r}function R(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>{throw t};const{tokens:r,negative:o}=function(t,e){const{pattern:n,pos:r}=L(t,0,e);if(r<t.length){const{pattern:o}=L(t,r,e);return{tokens:n,negative:o}}return{tokens:n}}(t,n),i=function(t,e){const n={};let r=!1,o=!1,i=0,s="",a=-1,l="",c=0;for(let u=0;u<t.length;++u){const d=t[u];switch(d.char){case"#":-1===a?(s&&e(new C("#","Pattern has # after integer digits")),i+=d.width):c+=d.width;break;case"0":-1===a?s+=d.digits:(c&&e(new C("0","Pattern has digits after # in fraction")),l+=d.digits);break;case"@":n.precision&&e(new w("precision",n.precision)),n.precision={style:"precision-fraction",minSignificant:d.min,maxSignificant:d.width};break;case",":r=!0;break;case".":1===a&&e(new C(".","Pattern has more than one decimal separator")),a=u;break;case"E":o&&e(new w("exponent",n.notation)),r&&e(new C("E","Exponential patterns may not contain grouping separators")),n.notation={style:"scientific"},d.expDigits>1&&(n.notation.expDigits=d.expDigits),d.plus&&(n.notation.expSign="sign-always"),o=!0}}r?n.group="group-auto":i+s.length>3&&(n.group="group-off");const u=+`${s||"0"}.${l}`;if(u&&(n.precision={style:"precision-increment",increment:u}),o)if((!n.precision||u)&&(n.integerWidth=i?{min:1,max:i+s.length}:{min:Math.max(1,s.length)}),n.precision)u||(n.integerWidth={min:1,max:1});else{const t=s.length+l.length;-1===a?t>0&&(n.precision={style:"precision-fraction",maxSignificant:t}):(n.precision={style:"precision-fraction",maxSignificant:Math.max(1,t)+c},t>1&&(n.precision.minSignificant=t))}else s.length>1&&(n.integerWidth={min:s.length}),!n.precision&&(l.length||c)&&(n.precision={style:"precision-fraction",minFraction:l.length,maxFraction:l.length+c});return n}(r.number,n),s=D(r.prefix,i,e,n,!0),a=D(r.suffix,i,e,n,!1);if(o){const t=P(o.prefix,!0),e=P(o.suffix,!1);i.affix={pos:[s,a],neg:[t,e]},i.sign="sign-never"}else(s||a)&&(i.affix={pos:[s,a]});return i}function N(t){const[e]=t.split("-",1);return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(e)}const M={"compact-short":0,"compact-long":0,"notation-simple":0,scientific:2,engineering:2,percent:0,permille:0,"base-unit":0,currency:1,"measure-unit":1,"per-measure-unit":1,"unit-width-narrow":0,"unit-width-short":0,"unit-width-full-name":0,"unit-width-iso-code":0,"unit-width-hidden":0,"precision-integer":0,"precision-unlimited":0,"precision-currency-standard":1,"precision-currency-cash":0,"precision-increment":1,"rounding-mode-ceiling":0,"rounding-mode-floor":0,"rounding-mode-down":0,"rounding-mode-up":0,"rounding-mode-half-even":0,"rounding-mode-half-down":0,"rounding-mode-half-up":0,"rounding-mode-unnecessary":0,"integer-width":1,scale:1,"group-off":0,"group-min2":0,"group-auto":0,"group-on-aligned":0,"group-thousands":0,latin:0,"numbering-system":1,"sign-auto":0,"sign-always":0,"sign-never":0,"sign-accounting":0,"sign-accounting-always":0,"sign-except-zero":0,"sign-accounting-except-zero":0,"decimal-auto":0,"decimal-always":0},j={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function F(t,e){const n=t&&t.match("fraction"===e?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/);if(n){const t=n[1].length;switch(n[2].charAt(0)){case"":return{min:t,max:t};case"+":return{min:t,max:null};case"#":return{min:t,max:t+n[2].length}}}return null}class ${constructor(t){this.skeleton={},this.onError=t}badOption(t,e){this.onError(new b(t,e))}assertEmpty(t){const e=this.skeleton[t];e&&this.onError(new w(t,e))}parseToken(t,e){if(!function(t,e,n){if(function(t){return t in M}(t)){const r=M[t];if(e.length>r){if(0===r)for(const r of e)n(new b(t,r));else n(new _(t,e,r));return!1}if(function(t){return t in j}(t)&&e.length<j[t])return n(new S(t)),!1}return!0}(t,e,this.onError))return;const n=e[0],r=this.skeleton;switch(t){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),r.notation={style:t};break;case"scientific":case"engineering":{let n,o=null;for(const r of e)switch(r){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":n=r;break;default:/^\+e+$/.test(r)?o=r.length-1:this.badOption(t,r)}this.assertEmpty("notation");const i=e.join("/");r.notation=o&&n?{style:t,source:i,expDigits:o,expSign:n}:o?{style:t,source:i,expDigits:o}:n?{style:t,source:i,expSign:n}:{style:t,source:i};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),r.unit={style:t};break;case"currency":/^[A-Z]{3}$/.test(n)?(this.assertEmpty("unit"),r.unit={style:t,currency:n}):this.badOption(t,n);break;case"measure-unit":N(n)?(this.assertEmpty("unit"),r.unit={style:t,unit:n}):this.badOption(t,n);break;case"per-measure-unit":N(n)?(this.assertEmpty("unitPer"),r.unitPer=n):this.badOption(t,n);break;case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),r.unitWidth=t;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),r.precision={style:t};break;case"precision-currency-standard":this.assertEmpty("precision"),r.precision="w"===n?{style:t,trailingZero:"stripIfInteger"}:{style:t};break;case"precision-increment":{const e=Number(n);e>0?(this.assertEmpty("precision"),r.precision={style:t,increment:e}):this.badOption(t,n);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),r.roundingMode=t;break;case"integer-width":if(/^\+0*$/.test(n))this.assertEmpty("integerWidth"),r.integerWidth={source:n,min:n.length-1};else{const e=n.match(/^#*(0*)$/);e?(this.assertEmpty("integerWidth"),r.integerWidth={source:n,min:e[1].length,max:e[0].length}):this.badOption(t,n)}break;case"scale":{const e=Number(n);e>0?(this.assertEmpty("scale"),r.scale=e):this.badOption(t,n);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),r.group=t;break;case"latin":this.assertEmpty("numberingSystem"),r.numberingSystem="latn";break;case"numbering-system":!function(t){return-1!==["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(t)}(n)?this.badOption(t,n):(this.assertEmpty("numberingSystem"),r.numberingSystem=n);break;case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),r.sign=t;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),r.decimal=t;break;default:{const n=function(t,e,n){const r=F(t,"fraction");if(r){e.length>1&&n(new _(t,e,1));const o={style:"precision-fraction",source:t,minFraction:r.min};null!=r.max&&(o.maxFraction=r.max);const i=e[0],s=F(i,"significant");return s?(o.source=`${t}/${i}`,o.minSignificant=s.min,null!=s.max&&(o.maxSignificant=s.max)):i&&n(new b(t,i)),o}const o=F(t,"significant");if(o){for(const r of e)n(new b(t,r));const r={style:"precision-fraction",source:t,minSignificant:o.min};return null!=o.max&&(r.maxSignificant=o.max),r}return null}(t,e,this.onError);n?(this.assertEmpty("precision"),r.precision=n):this.onError(new v(t))}}}}function z(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>{throw t};const n=[];for(const e of t.split(" "))if(e){const t=e.split("/"),r=t.shift()||"";n.push({stem:r,options:t})}const r=new $(e);for(const{stem:t,options:e}of n)r.parseToken(t,e);return r.skeleton}var H,B,V,U=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},W={},G={},q={exports:{}};B=U,V=function(){var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,n="boolean"==typeof(new RegExp).sticky;function r(t){return t&&"[object RegExp]"===e.call(t)}function o(t){return t&&"object"==typeof t&&!r(t)&&!Array.isArray(t)}function i(t){return new RegExp("|"+t).exec("").length-1}function s(t){return"("+t+")"}function a(t){return t.length?"(?:"+t.map(function(t){return"(?:"+t+")"}).join("|")+")":"(?!)"}function l(t){if("string"==typeof t)return"(?:"+function(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}(t)+")";if(r(t)){if(t.ignoreCase)throw new Error("RegExp /i flag not allowed");if(t.global)throw new Error("RegExp /g flag is implied");if(t.sticky)throw new Error("RegExp /y flag is implied");if(t.multiline)throw new Error("RegExp /m flag is implied");return t.source}throw new Error("Not a pattern: "+t)}function c(t,e){return t.length>e?t:Array(e-t.length+1).join(" ")+t}function u(e,n){if(o(n)||(n={match:n}),n.include)throw new Error("Matching rules cannot also include states");var i={defaultType:e,lineBreaks:!!n.error||!!n.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var s in n)t.call(n,s)&&(i[s]=n[s]);if("string"==typeof i.type&&e!==i.type)throw new Error("Type transform cannot be a string (type '"+i.type+"' for token '"+e+"')");var a=i.match;return i.match=Array.isArray(a)?a:a?[a]:[],i.match.sort(function(t,e){return r(t)&&r(e)?0:r(e)?-1:r(t)?1:e.length-t.length}),i}function d(t){return Array.isArray(t)?function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(r.include)for(var o=[].concat(r.include),i=0;i<o.length;i++)e.push({include:o[i]});else{if(!r.type)throw new Error("Rule has no type: "+JSON.stringify(r));e.push(u(r.type,r))}}return e}(t):function(t){for(var e=Object.getOwnPropertyNames(t),n=[],r=0;r<e.length;r++){var i=e[r],s=[].concat(t[i]);if("include"!==i){var a=[];s.forEach(function(t){o(t)?(a.length&&n.push(u(i,a)),n.push(u(i,t)),a=[]):a.push(t)}),a.length&&n.push(u(i,a))}else for(var l=0;l<s.length;l++)n.push({include:s[l]})}return n}(t)}var h=u("error",{lineBreaks:!0,shouldThrow:!0});function p(t,e){for(var o=null,c=Object.create(null),u=!0,d=null,p=[],f=[],g=0;g<t.length;g++)t[g].fallback&&(u=!1);for(g=0;g<t.length;g++){var m=t[g];if(m.include)throw new Error("Inheritance is not allowed in stateless lexers");if(m.error||m.fallback){if(o)throw!m.fallback==!o.fallback?new Error("Multiple "+(m.fallback?"fallback":"error")+" rules not allowed (for token '"+m.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+m.defaultType+"')");o=m}var y=m.match.slice();if(u)for(;y.length&&"string"==typeof y[0]&&1===y[0].length;)c[y.shift().charCodeAt(0)]=m;if(m.pop||m.push||m.next){if(!e)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+m.defaultType+"')");if(m.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+m.defaultType+"')")}if(0!==y.length){u=!1,p.push(m);for(var b=0;b<y.length;b++){var v=y[b];if(r(v))if(null===d)d=v.unicode;else if(d!==v.unicode&&!1===m.fallback)throw new Error("If one rule is /u then all must be")}var w=a(y.map(l)),S=new RegExp(w);if(S.test(""))throw new Error("RegExp matches empty string: "+S);if(i(w)>0)throw new Error("RegExp has capture groups: "+S+"\nUse (?: … ) instead");if(!m.lineBreaks&&S.test("\n"))throw new Error("Rule should declare lineBreaks: "+S);f.push(s(w))}}var C=o&&o.fallback,_=n&&!C?"ym":"gm",k=n||C?"":"|";return!0===d&&(_+="u"),{regexp:new RegExp(a(f)+k,_),groups:p,fast:c,error:o||h}}function f(t,e,n){var r=t&&(t.push||t.next);if(r&&!n[r])throw new Error("Missing state '"+r+"' (in token '"+t.defaultType+"' of state '"+e+"')");if(t&&t.pop&&1!=+t.pop)throw new Error("pop must be 1 (in token '"+t.defaultType+"' of state '"+e+"')")}var g=function(t,e){this.startState=e,this.states=t,this.buffer="",this.stack=[],this.reset()};g.prototype.reset=function(t,e){return this.buffer=t||"",this.index=0,this.line=e?e.line:1,this.col=e?e.col:1,this.queuedToken=e?e.queuedToken:null,this.queuedText=e?e.queuedText:"",this.queuedThrow=e?e.queuedThrow:null,this.setState(e?e.state:this.startState),this.stack=e&&e.stack?e.stack.slice():[],this},g.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},g.prototype.setState=function(t){if(t&&this.state!==t){this.state=t;var e=this.states[t];this.groups=e.groups,this.error=e.error,this.re=e.regexp,this.fast=e.fast}},g.prototype.popState=function(){this.setState(this.stack.pop())},g.prototype.pushState=function(t){this.stack.push(this.state),this.setState(t)};var m=n?function(t,e){return t.exec(e)}:function(t,e){var n=t.exec(e);return 0===n[0].length?null:n};function y(){return this.value}if(g.prototype._getGroup=function(t){for(var e=this.groups.length,n=0;n<e;n++)if(void 0!==t[n+1])return this.groups[n];throw new Error("Cannot find token type for matched text")},g.prototype.next=function(){var t=this.index;if(this.queuedGroup){var e=this._token(this.queuedGroup,this.queuedText,t);return this.queuedGroup=null,this.queuedText="",e}var n=this.buffer;if(t!==n.length){if(s=this.fast[n.charCodeAt(t)])return this._token(s,n.charAt(t),t);var r=this.re;r.lastIndex=t;var o=m(r,n),i=this.error;if(null==o)return this._token(i,n.slice(t,n.length),t);var s=this._getGroup(o),a=o[0];return i.fallback&&o.index!==t?(this.queuedGroup=s,this.queuedText=a,this._token(i,n.slice(t,o.index),t)):this._token(s,a,t)}},g.prototype._token=function(t,e,n){var r=0;if(t.lineBreaks){var o=/\n/g,i=1;if("\n"===e)r=1;else for(;o.exec(e);)r++,i=o.lastIndex}var s={type:"function"==typeof t.type&&t.type(e)||t.defaultType,value:"function"==typeof t.value?t.value(e):e,text:e,toString:y,offset:n,lineBreaks:r,line:this.line,col:this.col},a=e.length;if(this.index+=a,this.line+=r,0!==r?this.col=a-i+1:this.col+=a,t.shouldThrow)throw new Error(this.formatError(s,"invalid syntax"));return t.pop?this.popState():t.push?this.pushState(t.push):t.next&&this.setState(t.next),s},typeof Symbol<"u"&&Symbol.iterator){var b=function(t){this.lexer=t};b.prototype.next=function(){var t=this.lexer.next();return{value:t,done:!t}},b.prototype[Symbol.iterator]=function(){return this},g.prototype[Symbol.iterator]=function(){return new b(this)}}return g.prototype.formatError=function(t,e){if(null==t){var n=this.buffer.slice(this.index);t={text:n,offset:this.index,lineBreaks:-1===n.indexOf("\n")?0:1,line:this.line,col:this.col}}var r=Math.max(t.line-2,1),o=String(t.line+2).length,i=function(t,e){for(var n=t.length,r=0;;){var o=t.lastIndexOf("\n",n-1);if(-1===o||(n=o,++r===e)||0===n)break}return t.substring(r<e?0:n+1).split("\n")}(this.buffer,this.line-t.line+2+1).slice(0,5),s=[];s.push(e+" at line "+t.line+" col "+t.col+":"),s.push("");for(var a=0;a<i.length;a++){var l=i[a],u=r+a;s.push(c(String(u),o)+" "+l),u===t.line&&s.push(c("",o+t.col+1)+"^")}return s.join("\n")},g.prototype.clone=function(){return new g(this.states,this.state)},g.prototype.has=function(t){return!0},{compile:function(t){var e=p(d(t));return new g({start:e},"start")},states:function(t,e){var n=t.$all?d(t.$all):[];delete t.$all;var r=Object.getOwnPropertyNames(t);e||(e=r[0]);for(var o=Object.create(null),i=0;i<r.length;i++)o[v=r[i]]=d(t[v]).concat(n);for(i=0;i<r.length;i++)for(var s=o[v=r[i]],a=Object.create(null),l=0;l<s.length;l++){var c=s[l];if(c.include){var u=[l,1];if(c.include!==v&&!a[c.include]){a[c.include]=!0;var h=o[c.include];if(!h)throw new Error("Cannot include nonexistent state '"+c.include+"' (in state '"+v+"')");for(var m=0;m<h.length;m++){var y=h[m];-1===s.indexOf(y)&&u.push(y)}}s.splice.apply(s,u),l--}}var b=Object.create(null);for(i=0;i<r.length;i++){var v;b[v=r[i]]=p(o[v],!0)}for(i=0;i<r.length;i++){var w=r[i],S=b[w],C=S.groups;for(l=0;l<C.length;l++)f(C[l],w,b);var _=Object.getOwnPropertyNames(S.fast);for(l=0;l<_.length;l++)f(S.fast[_[l]],w,b)}return new g(b,e)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(t){for(var e=typeof Map<"u",n=e?new Map:Object.create(null),r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++){var i=r[o],s=t[i];(Array.isArray(s)?s:[s]).forEach(function(t){if("string"!=typeof t)throw new Error("keyword must be string (in keyword '"+i+"')");e?n.set(t,i):n[t]=i})}return function(t){return e?n.get(t):n[t]}}}},(H=q).exports?H.exports=V():B.moo=V();var Q=q.exports;(function(t){var e=U&&U.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.lexer=t.states=void 0;const n=e(Q);t.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:t=>t.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:t=>t.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:t=>t.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:t=>t.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:t=>t.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:t=>t.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:t=>t.substring(0,t.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},t.lexer=n.default.states(t.states)})(G),Object.defineProperty(W,"__esModule",{value:!0});var Z=W.parse=W.ParseError=void 0;const X=G,Y=t=>({offset:t.offset,line:t.line,col:t.col,text:t.text,lineBreaks:t.lineBreaks}),K=t=>"plural"===t||"select"===t||"selectordinal"===t,J=["number","date","time","spellout","ordinal","duration"],tt=["zero","one","two","few","many","other"];class et extends Error{constructor(t,e){super(X.lexer.formatError(t,e))}}W.ParseError=et;class nt{constructor(t,e){var n,r,o,i;this.lexer=X.lexer.reset(t),this.cardinalKeys=null!==(n=e?.cardinal)&&void 0!==n?n:tt,this.ordinalKeys=null!==(r=e?.ordinal)&&void 0!==r?r:tt,this.strict=null!==(o=e?.strict)&&void 0!==o&&o,this.strictPluralKeys=null===(i=e?.strictPluralKeys)||void 0===i||i}parse(){return this.parseBody(!1,!0)}checkSelectKey(t,e,n){if("="===n[0]){if("select"===e)throw new et(t,`The case ${n} is not valid with select`)}else if("select"!==e){const r="plural"===e?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&r.length>0&&!r.includes(n))throw new et(t,`The ${e} case ${n} is not valid in this locale`)}}parseSelect(t,e,n,r){let{value:o}=t;const i={type:r,arg:o,cases:[],ctx:n};"plural"===r||"selectordinal"===r?e=!0:this.strict&&(e=!1);for(const t of this.lexer)switch(t.type){case"offset":if("select"===r)throw new et(t,"Unexpected plural offset for select");if(i.cases.length>0)throw new et(t,"Plural offset must be set before cases");i.pluralOffset=Number(t.value),n.text+=t.text,n.lineBreaks+=t.lineBreaks;break;case"case":this.checkSelectKey(t,r,t.value),i.cases.push({key:t.value,tokens:this.parseBody(e),ctx:Y(t)});break;case"end":return i;default:throw new et(t,`Unexpected lexer token: ${t.type}`)}throw new et(null,"Unexpected message end")}parseArgToken(t,e){const n=Y(t),r=this.lexer.next();if(!r)throw new et(null,"Unexpected message end");if(n.text+=r.text,n.lineBreaks+=r.lineBreaks,this.strict&&("func-simple"===r.type||"func-args"===r.type)&&!J.includes(r.value))throw new et(t,`Invalid strict mode function arg type: ${r.value}`);switch(r.type){case"end":return{type:"argument",arg:t.value,ctx:n};case"func-simple":{const e=this.lexer.next();if(!e)throw new et(null,"Unexpected message end");if("end"!==e.type)throw new et(e,`Unexpected lexer token: ${e.type}`);if(n.text+=e.text,K(r.value.toLowerCase()))throw new et(r,`Invalid type identifier: ${r.value}`);return{type:"function",arg:t.value,key:r.value,ctx:n}}case"func-args":{if(K(r.value.toLowerCase()))throw new et(r,`Invalid type identifier: ${r.value}`);let o=this.parseBody(!this.strict&&e);return this.strict&&o.length>0&&(o=function(t,e){let n="",r="";for(const o of e){const e=o.ctx.text;switch(r+=e,o.type){case"content":n+=o.value;break;case"argument":case"function":case"octothorpe":n+=e;break;default:throw new et(t,`Unsupported part in strict mode function arg style: ${e}`)}}return[{type:"content",value:n.trim(),ctx:Object.assign({},e[0].ctx,{text:r})}]}(t,o)),{type:"function",arg:t.value,key:r.value,param:o,ctx:n}}case"select":if(K(r.value))return this.parseSelect(t,e,n,r.value);throw new et(r,`Unexpected select type ${r.value}`);default:throw new et(r,`Unexpected lexer token: ${r.type}`)}}parseBody(t,e){const n=[];let r=null;for(const o of this.lexer)if("argument"===o.type)r&&(r=null),n.push(this.parseArgToken(o,t));else if("octothorpe"===o.type&&t)r&&(r=null),n.push({type:"octothorpe",ctx:Y(o)});else{if("end"===o.type&&!e)return n;{let e=o.value;if(!t&&"quoted"===o.type&&"#"===e[0]){if(e.includes("{"))throw new et(o,`Unsupported escape pattern: ${e}`);e=o.text}r?(r.value+=e,r.ctx.text+=o.text,r.ctx.lineBreaks+=o.lineBreaks):(r={type:"content",value:e,ctx:Y(o)},n.push(r))}}if(e)return n;throw new et(null,"Unexpected message end")}}function rt(t){return rt[t]||(rt[t]=new Intl.NumberFormat(t))}Z=W.parse=function(t){return new nt(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var ot=Object.freeze({__proto__:null,_nf:rt,number:function(t,e,n){return rt(t).format(e-n)},plural:function(t,e,n,r,o){if({}.hasOwnProperty.call(r,t))return r[t];e&&(t-=e);var i=n(t,o);return i in r?r[i]:r.other},reqArgs:function(t,e){for(var n=0;n<t.length;++n)if(!e||void 0===e[t[n]])throw new Error("Message requires argument '".concat(t[n],"'"))},select:function(t,e){return{}.hasOwnProperty.call(e,t)?e[t]:e.other},strictNumber:function(t,e,n,r){var o=e-n;if(isNaN(o))throw new Error("`"+r+"` or its offset is not a number");return rt(t).format(o)}}),it={};function st(t,e){var n=String(t)+JSON.stringify(e);return it[n]||(it[n]=new Intl.NumberFormat(t,e)),it[n]}var at=Object.freeze({__proto__:null,date:function(t,e,n){var r={day:"numeric",month:"short",year:"numeric"};switch(n){case"full":r.weekday="long";case"long":r.month="long";break;case"short":r.month="numeric"}return new Date(t).toLocaleDateString(e,r)},duration:function(t){if("number"!=typeof t&&(t=Number(t)),!isFinite(t))return String(t);var e="";t<0?(e="-",t=Math.abs(t)):t=Number(t);var n=t%60,r=[Math.round(n)===n?n:n.toFixed(3)];return t<60?r.unshift(0):(t=Math.round((t-Number(r[0]))/60),r.unshift(t%60),t>=60&&(t=Math.round((t-Number(r[0]))/60),r.unshift(t))),e+r.shift()+":"+r.map(function(t){return Number(t)<10?"0"+String(t):String(t)}).join(":")},numberCurrency:function(t,e,n){return st(e,{style:"currency",currency:n,minimumFractionDigits:2,maximumFractionDigits:2}).format(t)},numberFmt:function(t,e,n,r){var o=n&&n.split(":")||[],i=o[0],s=o[1];return st(e,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:s&&s.trim()||r,minimumFractionDigits:2,maximumFractionDigits:2}}[i]||{}).format(t)},numberInteger:function(t,e){return st(e,{maximumFractionDigits:0}).format(t)},numberPercent:function(t,e){return st(e,{style:"percent"}).format(t)},time:function(t,e,n){var r={second:"numeric",minute:"numeric",hour:"numeric"};switch(n){case"full":case"long":r.timeZoneName="short";break;case"short":delete r.second}return new Date(t).toLocaleTimeString(e,r)}}),lt=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}({ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}});function ct(t,e){e&&(t+=" "+function(t){let e=0;for(let n=0;n<t.length;++n)e=(e<<5)-e+t.charCodeAt(n),e|=0;return e}(t).toString(36));const n=t.trim().replace(/\W+/g,"_");return lt.ES3[n]||lt.ESnext[n]||/^\d/.test(n)?"_"+n:n}function ut(t,e){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(e)&&!lt.ES3[e])return t?t+"."+e:e;{const n=JSON.stringify(e);return t?t+"["+n+"]":n}}var dt=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^")),ht="@messageformat/runtime/lib/plurals",pt=function(){function n(t){this.arguments=[],this.runtime={},this.options=t}return n.prototype.compile=function(t,n,r){var o,i,s=this,a=this.options,l=a.localeCodeFromKey,c=a.requireAllArguments,u=a.strict,d=a.strictPluralKeys;if("object"==typeof t){var h={};try{for(var p=e(Object.keys(t)),f=p.next();!f.done;f=p.next()){var g=f.value,m=l?l(g):g;h[g]=this.compile(t[g],r&&m&&r[m]||n,r)}}catch(t){o={error:t}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}return h}this.plural=n;var y={cardinal:n.cardinals,ordinal:n.ordinals,strict:u,strictPluralKeys:d};this.arguments=[];var b=Z(t,y).map(function(t){return s.token(t,null)}),v=this.arguments.length>0,w=this.concatenate(b,!0);if(c&&v){this.setRuntimeFn("reqArgs");var S=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(S,", d); return ").concat(w,"; }")}return"(".concat(v?"d":"",") => ").concat(w)},n.prototype.cases=function(t,e){var n=this,r=!0,o=t.cases.map(function(t){var o=t.key;"other"===o&&(r=!1);var i=t.tokens.map(function(t){return n.token(t,e)});return"".concat(ut(null,o.replace(/^=/,"")),": ").concat(n.concatenate(i,!1))});if(r){var i=t.type,s=this.plural,a=s.ordinals;if("select"===i||"plural"===i&&s.cardinals.includes("other")||"selectordinal"===i&&a.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(t)))}return"{ ".concat(o.join(", ")," }")},n.prototype.concatenate=function(t,e){return"values"===this.options.returnType&&(e||t.length>1)?"["+t.join(", ")+"]":t.join(" + ")||'""'},n.prototype.token=function(t,e){if("content"===t.type)return JSON.stringify(t.value);var n,r,o=this.plural,i=o.id,s=o.lc;switch("arg"in t?(this.arguments.push(t.arg),n=[ut("d",t.arg)]):n=[],t.type){case"argument":return this.options.biDiSupport?function(t,e){var n=dt.test(e),r=JSON.stringify(n?"":"");return"".concat(r," + ").concat(t," + ").concat(r)}(String(n[0]),s):String(n[0]);case"select":r="select",e&&this.options.strict&&(e=null),n.push(this.cases(t,e)),this.setRuntimeFn("select");break;case"selectordinal":r="plural",n.push(t.pluralOffset||0,i,this.cases(t,t),1),this.setLocale(i,!0),this.setRuntimeFn("plural");break;case"plural":r="plural",n.push(t.pluralOffset||0,i,this.cases(t,t)),this.setLocale(i,!1),this.setRuntimeFn("plural");break;case"function":var a=this.options.customFormatters[t.key],l=a&&"module"in a&&"function"==typeof a.module;if(!a){if("date"===t.key){r=this.setDateFormatter(t,n,e);break}if("number"===t.key){r=this.setNumberFormatter(t,n,e);break}}if(n.push(JSON.stringify(this.plural.locale)),t.param){e&&this.options.strict&&(e=null);var c=this.getFormatterArg(t,e);c&&n.push(c)}r=l?ct("".concat(t.key,"__").concat(this.plural.locale)):t.key,this.setFormatter(r,t.key);break;case"octothorpe":if(!e)return'"#"';n=[JSON.stringify(this.plural.locale),ut("d",e.arg),e.pluralOffset||0],this.options.strict?(r="strictNumber",n.push(JSON.stringify(e.arg)),this.setRuntimeFn("strictNumber")):(r="number",this.setRuntimeFn("number"))}if(!r)throw new Error("Parser error for token "+JSON.stringify(t));return"".concat(r,"(").concat(n.join(", "),")")},n.prototype.runtimeIncludes=function(t,e){if(ct(t)!==t)throw new SyntaxError("Reserved word used as ".concat(e," identifier: ").concat(t));var n=this.runtime[t];if(!n||n.type===e)return n;throw new TypeError("Cannot override ".concat(n.type," runtime function as ").concat(e,": ").concat(t))},n.prototype.setLocale=function(t,e){var n,r,o,i=this.runtimeIncludes(t,"locale"),s=this.plural,a=s.getCardinal,l=s.getPlural,c=s.isDefault;if(!e&&c&&a){if(i)return;n=function(t){return a(t)},r="@messageformat/runtime/lib/cardinals",o=function(){return String(a)}}else{if(i&&(!c||i.module===ht))return;n=function(t,e){return l(t,e)},r=c?ht:l.module||null,o=function(){return String(l)}}this.runtime[t]=Object.assign(n,{id:t,module:r,toString:o,type:"locale"})},n.prototype.setRuntimeFn=function(t){this.runtimeIncludes(t,"runtime")||(this.runtime[t]=Object.assign(ot[t],{id:t,module:"@messageformat/runtime",type:"runtime"}))},n.prototype.getFormatterArg=function(t,n){var r,o,i,s,a=this,l=t.key,c=t.param,u=this.options.customFormatters[l]||ft(l)&&at[l];if(!u||!c)return null;var d="arg"in u&&u.arg||"string";if("options"===d){var h="";try{for(var p=e(c),f=p.next();!f.done;f=p.next()){var g=f.value;if("content"!==g.type)throw new SyntaxError("Expected literal options for ".concat(l," formatter"));h+=g.value}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}var m={};try{for(var y=e(h.split(",")),b=y.next();!b.done;b=y.next()){var v=b.value,w=v.indexOf(":");if(-1===w)m[v.trim()]=null;else{var S=v.substring(0,w).trim(),C=v.substring(w+1).trim();if("true"===C)m[S]=!0;else if("false"===C)m[S]=!1;else if("null"===C)m[S]=null;else{var _=Number(C);m[S]=Number.isFinite(_)?_:C}}}}catch(t){i={error:t}}finally{try{b&&!b.done&&(s=y.return)&&s.call(y)}finally{if(i)throw i.error}}return JSON.stringify(m)}var k=c.map(function(t){return a.token(t,n)});if("raw"===d)return"[".concat(k.join(", "),"]");var x=k.join(" + ");return x?"(".concat(x,").trim()"):'""'},n.prototype.setFormatter=function(e,n){if(!this.runtimeIncludes(e,"formatter")){var r=this.options.customFormatters[n||e];if(r){var o="function"==typeof r?{formatter:r}:r;this.runtime[e]=Object.assign(o.formatter.bind({}),t(t({},o.formatter.prototype),{toString:function(){return String(o.formatter)}}),{type:"formatter"},"module"in r&&r.module&&r.id?{id:ct(r.id),module:"function"==typeof r.module?r.module(this.plural.locale):r.module}:{id:null,module:null})}else{if(!ft(e))throw new Error("Formatting function not found: ".concat(e));this.runtime[e]=Object.assign(at[e],{type:"formatter"},{id:e,module:"@messageformat/runtime/lib/formatters"})}}},n.prototype.setDateFormatter=function(t,e,n){var r=this,o=t.param,i=this.plural.locale,s=o&&1===o.length&&o[0];if(s&&"content"===s.type&&/^\s*::/.test(s.value)){var a=s.value.trim().substr(2),l=ct("date_".concat(i,"_").concat(a),!0);if(!this.runtimeIncludes(l,"formatter")){var c=function(t,e,n,r){"string"==typeof e&&(e=m(e)),"function"==typeof n&&(r=n,n=void 0);const o=h(e,n,r),i=new Intl.DateTimeFormat(t,o);return t=>i.format(t)}(i,a,this.options.timeZone);this.runtime[l]=Object.assign(c,{id:l,module:null,toString:function(){return function(t,e,n,r){"string"==typeof e&&(e=m(e)),"function"==typeof n&&(r=n,n=void 0);const o=h(e,n,r);return["(function() {",`var opt = ${JSON.stringify(o)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(t)}, opt);`,"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(i,a,r.options.timeZone)},type:"formatter"})}return l}if(e.push(JSON.stringify(i)),o&&o.length>0){n&&this.options.strict&&(n=null);var u=o.map(function(t){return r.token(t,n)});e.push("("+(u.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},n.prototype.setNumberFormatter=function(t,e,n){var r=this,o=t.param,i=this.plural.locale;if(!o||0===o.length)return e.unshift(JSON.stringify(i)),e.push("0"),this.setRuntimeFn("number"),"number";if(e.push(JSON.stringify(i)),1===o.length&&"content"===o[0].type){var s=o[0].value.trim();switch(s){case"currency":return e.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var a=s.match(/^currency:([A-Z]+)$/);if(a)return e.push(JSON.stringify(a[1])),this.setFormatter("numberCurrency"),"numberCurrency";var l=ct("number_".concat(i,"_").concat(s),!0);if(!this.runtimeIncludes(l,"formatter")){var c=this.options.currency,u=function(t,e,n,r){"string"==typeof e&&(e=0===e.indexOf("::")?z(e.slice(2),r):R(e,n,r));const o=x(t,e),i=E(e,r),s=function(t){const e=T(t),{precision:n}=t;return n&&"precision-increment"===n.style?t=>function(t,e){const n=+t+e/2;return n-n%+e}(t,n.increment)*e:t=>t*e}(e),a=new Intl.NumberFormat(o,i);if(e.affix){const[t,n]=e.affix.pos,[r,o]=e.affix.neg||["",""];return e=>{const i=a.format(s(e));return e<0?`${r}${i}${o}`:`${t}${i}${n}`}}return t=>a.format(s(t))}(i,s,c);this.runtime[l]=Object.assign(u,{id:null,module:null,toString:function(){return function(t,e,n,r){"string"==typeof e&&(e=0===e.indexOf("::")?z(e.slice(2),r):R(e,n,r));const o=x(t,e),i=E(e,r),s=function(t){const e=T(t),{precision:n}=t;if(n&&"precision-increment"===n.style){let t=`x - (x % +${n.increment})`;return 1!==e&&(t=`(${t}) * ${e}`),`function(n) { var x = ${"+n + "+n.increment/2}; return ${t}; }`}return 1!==e?`function(n) { return n * ${e}; }`:null}(e),a=["(function() {",`var opt = ${JSON.stringify(i)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(o)}, opt);`];let l="nf.format(value)";if(s&&(a.push(`var mod = ${s};`),l="nf.format(mod(value))"),e.affix){const[t,n]=e.affix.pos.map(t=>JSON.stringify(t));if(e.affix.neg){const[r,o]=e.affix.neg.map(t=>JSON.stringify(t));l=`value < 0 ? ${r} + ${l} + ${o} : ${t} + ${l} + ${n}`}else l=`${t} + ${l} + ${n}`}return a.push(`return function(value) { return ${l}; }`),a.join("\n ")+"\n})()"}(i,s,c)},type:"formatter"})}return l}n&&this.options.strict&&(n=null);var d=o.map(function(t){return r.token(t,n)});return e.push("("+(d.join(" + ")||'""')+").trim()"),e.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},n}();function ft(t){return t in at}const gt=t=>1==t?"one":"other",mt=t=>0==t||1==t?"one":"other",yt=t=>t>=0&&t<=1?"one":"other",bt=t=>{const e=String(t).split(".");return 1!=t||e[1]?"other":"one"},vt=t=>"other",wt=t=>1==t?"one":2==t?"two":"other";var St=Object.freeze({__proto__:null,af:gt,ak:mt,am:yt,an:gt,ar:t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},ars:t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},as:yt,asa:gt,ast:bt,az:gt,bal:gt,be:t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-1),o=n&&e[0].slice(-2);return 1==r&&11!=o?"one":r>=2&&r<=4&&(o<12||o>14)?"few":n&&0==r||r>=5&&r<=9||o>=11&&o<=14?"many":"other"},bem:gt,bez:gt,bg:gt,bho:mt,bm:vt,bn:yt,bo:vt,br:t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-1),o=n&&e[0].slice(-2),i=n&&e[0].slice(-6);return 1==r&&11!=o&&71!=o&&91!=o?"one":2==r&&12!=o&&72!=o&&92!=o?"two":(3==r||4==r||9==r)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=t&&n&&0==i?"many":"other"},brx:gt,bs:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=n.slice(-2),a=r.slice(-1),l=r.slice(-2);return o&&1==i&&11!=s||1==a&&11!=l?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},ca:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 1==t&&r?"one":0!=n&&0==o&&r?"many":"other"},ce:gt,ceb:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=r.slice(-1);return o&&(1==n||2==n||3==n)||o&&4!=i&&6!=i&&9!=i||!o&&4!=s&&6!=s&&9!=s?"one":"other"},cgg:gt,chr:gt,ckb:gt,cs:t=>{const e=String(t).split("."),n=e[0],r=!e[1];return 1==t&&r?"one":n>=2&&n<=4&&r?"few":r?"other":"many"},cy:t=>0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other",da:t=>{const e=String(t).split("."),n=e[0],r=Number(e[0])==t;return 1!=t&&(r||0!=n&&1!=n)?"other":"one"},de:bt,doi:yt,dsb:t=>{const e=String(t).split("."),n=e[1]||"",r=!e[1],o=e[0].slice(-2),i=n.slice(-2);return r&&1==o||1==i?"one":r&&2==o||2==i?"two":r&&(3==o||4==o)||3==i||4==i?"few":"other"},dv:gt,dz:vt,ee:gt,el:gt,en:bt,eo:gt,es:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 1==t?"one":0!=n&&0==o&&r?"many":"other"},et:bt,eu:gt,fa:yt,ff:t=>t>=0&&t<2?"one":"other",fi:bt,fil:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=r.slice(-1);return o&&(1==n||2==n||3==n)||o&&4!=i&&6!=i&&9!=i||!o&&4!=s&&6!=s&&9!=s?"one":"other"},fo:gt,fr:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return t>=0&&t<2?"one":0!=n&&0==o&&r?"many":"other"},fur:gt,fy:bt,ga:t=>{const e=String(t).split("."),n=Number(e[0])==t;return 1==t?"one":2==t?"two":n&&t>=3&&t<=6?"few":n&&t>=7&&t<=10?"many":"other"},gd:t=>{const e=String(t).split("."),n=Number(e[0])==t;return 1==t||11==t?"one":2==t||12==t?"two":n&&t>=3&&t<=10||n&&t>=13&&t<=19?"few":"other"},gl:bt,gsw:gt,gu:yt,guw:mt,gv:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-1),i=n.slice(-2);return r&&1==o?"one":r&&2==o?"two":!r||0!=i&&20!=i&&40!=i&&60!=i&&80!=i?r?"other":"many":"few"},ha:gt,haw:gt,he:t=>{const e=String(t).split("."),n=e[0],r=!e[1];return 1==n&&r||0==n&&!r?"one":2==n&&r?"two":"other"},hi:yt,hnj:vt,hr:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=n.slice(-2),a=r.slice(-1),l=r.slice(-2);return o&&1==i&&11!=s||1==a&&11!=l?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},hsb:t=>{const e=String(t).split("."),n=e[1]||"",r=!e[1],o=e[0].slice(-2),i=n.slice(-2);return r&&1==o||1==i?"one":r&&2==o||2==i?"two":r&&(3==o||4==o)||3==i||4==i?"few":"other"},hu:gt,hy:t=>t>=0&&t<2?"one":"other",ia:bt,id:vt,ig:vt,ii:vt,io:bt,is:t=>{const e=String(t).split("."),n=e[0],r=(e[1]||"").replace(/0+$/,""),o=Number(e[0])==t,i=n.slice(-1),s=n.slice(-2);return o&&1==i&&11!=s||r%10==1&&r%100!=11?"one":"other"},it:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 1==t&&r?"one":0!=n&&0==o&&r?"many":"other"},iu:wt,ja:vt,jbo:vt,jgo:gt,jmc:gt,jv:vt,jw:vt,ka:gt,kab:t=>t>=0&&t<2?"one":"other",kaj:gt,kcg:gt,kde:vt,kea:vt,kk:gt,kkj:gt,kl:gt,km:vt,kn:yt,ko:vt,ks:gt,ksb:gt,ksh:t=>0==t?"zero":1==t?"one":"other",ku:gt,kw:t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-2),o=n&&e[0].slice(-3),i=n&&e[0].slice(-5),s=n&&e[0].slice(-6);return 0==t?"zero":1==t?"one":2==r||22==r||42==r||62==r||82==r||n&&0==o&&(i>=1e3&&i<=2e4||4e4==i||6e4==i||8e4==i)||0!=t&&1e5==s?"two":3==r||23==r||43==r||63==r||83==r?"few":1==t||1!=r&&21!=r&&41!=r&&61!=r&&81!=r?"other":"many"},ky:gt,lag:t=>{const e=String(t).split(".")[0];return 0==t?"zero":0!=e&&1!=e||0==t?"other":"one"},lb:gt,lg:gt,lij:bt,lkt:vt,ln:mt,lo:vt,lt:t=>{const e=String(t).split("."),n=e[1]||"",r=Number(e[0])==t,o=r&&e[0].slice(-1),i=r&&e[0].slice(-2);return 1==o&&(i<11||i>19)?"one":o>=2&&o<=9&&(i<11||i>19)?"few":0!=n?"many":"other"},lv:t=>{const e=String(t).split("."),n=e[1]||"",r=n.length,o=Number(e[0])==t,i=o&&e[0].slice(-1),s=o&&e[0].slice(-2),a=n.slice(-2),l=n.slice(-1);return o&&0==i||s>=11&&s<=19||2==r&&a>=11&&a<=19?"zero":1==i&&11!=s||2==r&&1==l&&11!=a||2!=r&&1==l?"one":"other"},mas:gt,mg:mt,mgo:gt,mk:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=n.slice(-2),a=r.slice(-1),l=r.slice(-2);return o&&1==i&&11!=s||1==a&&11!=l?"one":"other"},ml:gt,mn:gt,mo:t=>{const e=String(t).split("."),n=!e[1],r=Number(e[0])==t&&e[0].slice(-2);return 1==t&&n?"one":!n||0==t||1!=t&&r>=1&&r<=19?"few":"other"},mr:gt,ms:vt,mt:t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 1==t?"one":2==t?"two":0==t||n>=3&&n<=10?"few":n>=11&&n<=19?"many":"other"},my:vt,nah:gt,naq:wt,nb:gt,nd:gt,ne:gt,nl:bt,nn:gt,nnh:gt,no:gt,nqo:vt,nr:gt,nso:mt,ny:gt,nyn:gt,om:gt,or:gt,os:gt,osa:vt,pa:mt,pap:gt,pcm:yt,pl:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-1),i=n.slice(-2);return 1==t&&r?"one":r&&o>=2&&o<=4&&(i<12||i>14)?"few":r&&1!=n&&(0==o||1==o)||r&&o>=5&&o<=9||r&&i>=12&&i<=14?"many":"other"},prg:t=>{const e=String(t).split("."),n=e[1]||"",r=n.length,o=Number(e[0])==t,i=o&&e[0].slice(-1),s=o&&e[0].slice(-2),a=n.slice(-2),l=n.slice(-1);return o&&0==i||s>=11&&s<=19||2==r&&a>=11&&a<=19?"zero":1==i&&11!=s||2==r&&1==l&&11!=a||2!=r&&1==l?"one":"other"},ps:gt,pt:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 0==n||1==n?"one":0!=n&&0==o&&r?"many":"other"},pt_PT:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 1==t&&r?"one":0!=n&&0==o&&r?"many":"other"},rm:gt,ro:t=>{const e=String(t).split("."),n=!e[1],r=Number(e[0])==t&&e[0].slice(-2);return 1==t&&n?"one":!n||0==t||1!=t&&r>=1&&r<=19?"few":"other"},rof:gt,ru:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-1),i=n.slice(-2);return r&&1==o&&11!=i?"one":r&&o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||r&&o>=5&&o<=9||r&&i>=11&&i<=14?"many":"other"},rwk:gt,sah:vt,saq:gt,sat:wt,sc:bt,scn:bt,sd:gt,sdh:gt,se:wt,seh:gt,ses:vt,sg:vt,sh:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=n.slice(-2),a=r.slice(-1),l=r.slice(-2);return o&&1==i&&11!=s||1==a&&11!=l?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},shi:t=>{const e=String(t).split("."),n=Number(e[0])==t;return t>=0&&t<=1?"one":n&&t>=2&&t<=10?"few":"other"},si:t=>{const e=String(t).split(".");return 0==t||1==t||0==e[0]&&1==(e[1]||"")?"one":"other"},sk:t=>{const e=String(t).split("."),n=e[0],r=!e[1];return 1==t&&r?"one":n>=2&&n<=4&&r?"few":r?"other":"many"},sl:t=>{const e=String(t).split("."),n=!e[1],r=e[0].slice(-2);return n&&1==r?"one":n&&2==r?"two":n&&(3==r||4==r)||!n?"few":"other"},sma:wt,smi:wt,smj:wt,smn:wt,sms:wt,sn:gt,so:gt,sq:gt,sr:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=n.slice(-2),a=r.slice(-1),l=r.slice(-2);return o&&1==i&&11!=s||1==a&&11!=l?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},ss:gt,ssy:gt,st:gt,su:vt,sv:bt,sw:bt,syr:gt,ta:gt,te:gt,teo:gt,th:vt,ti:mt,tig:gt,tk:gt,tl:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=r.slice(-1);return o&&(1==n||2==n||3==n)||o&&4!=i&&6!=i&&9!=i||!o&&4!=s&&6!=s&&9!=s?"one":"other"},tn:gt,to:vt,tpi:vt,tr:gt,ts:gt,tzm:t=>{const e=String(t).split("."),n=Number(e[0])==t;return 0==t||1==t||n&&t>=11&&t<=99?"one":"other"},ug:gt,uk:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-1),i=n.slice(-2);return r&&1==o&&11!=i?"one":r&&o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||r&&o>=5&&o<=9||r&&i>=11&&i<=14?"many":"other"},und:vt,ur:bt,uz:gt,ve:gt,vec:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 1==t&&r?"one":0!=n&&0==o&&r?"many":"other"},vi:vt,vo:gt,vun:gt,wa:mt,wae:gt,wo:vt,xh:gt,xog:gt,yi:bt,yo:vt,yue:vt,zh:vt,zu:yt});const Ct="zero",_t="one",kt="two",xt="few",Tt="many",Et="other",At={cardinal:[_t,Et],ordinal:[Et]},It={cardinal:[_t,Et],ordinal:[_t,Et]},Ot={cardinal:[Et],ordinal:[Et]},Lt={cardinal:[_t,kt,Et],ordinal:[Et]};var Dt=Object.freeze({__proto__:null,af:At,ak:At,am:At,an:At,ar:{cardinal:[Ct,_t,kt,xt,Tt,Et],ordinal:[Et]},ars:{cardinal:[Ct,_t,kt,xt,Tt,Et],ordinal:[Et]},as:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Tt,Et]},asa:At,ast:At,az:{cardinal:[_t,Et],ordinal:[_t,xt,Tt,Et]},bal:It,be:{cardinal:[_t,xt,Tt,Et],ordinal:[xt,Et]},bem:At,bez:At,bg:At,bho:At,bm:Ot,bn:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Tt,Et]},bo:Ot,br:{cardinal:[_t,kt,xt,Tt,Et],ordinal:[Et]},brx:At,bs:{cardinal:[_t,xt,Et],ordinal:[Et]},ca:{cardinal:[_t,Tt,Et],ordinal:[_t,kt,xt,Et]},ce:At,ceb:At,cgg:At,chr:At,ckb:At,cs:{cardinal:[_t,xt,Tt,Et],ordinal:[Et]},cy:{cardinal:[Ct,_t,kt,xt,Tt,Et],ordinal:[Ct,_t,kt,xt,Tt,Et]},da:At,de:At,doi:At,dsb:{cardinal:[_t,kt,xt,Et],ordinal:[Et]},dv:At,dz:Ot,ee:At,el:At,en:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Et]},eo:At,es:{cardinal:[_t,Tt,Et],ordinal:[Et]},et:At,eu:At,fa:At,ff:At,fi:At,fil:It,fo:At,fr:{cardinal:[_t,Tt,Et],ordinal:[_t,Et]},fur:At,fy:At,ga:{cardinal:[_t,kt,xt,Tt,Et],ordinal:[_t,Et]},gd:{cardinal:[_t,kt,xt,Et],ordinal:[_t,kt,xt,Et]},gl:At,gsw:At,gu:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Tt,Et]},guw:At,gv:{cardinal:[_t,kt,xt,Tt,Et],ordinal:[Et]},ha:At,haw:At,he:Lt,hi:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Tt,Et]},hnj:Ot,hr:{cardinal:[_t,xt,Et],ordinal:[Et]},hsb:{cardinal:[_t,kt,xt,Et],ordinal:[Et]},hu:It,hy:It,ia:At,id:Ot,ig:Ot,ii:Ot,io:At,is:At,it:{cardinal:[_t,Tt,Et],ordinal:[Tt,Et]},iu:Lt,ja:Ot,jbo:Ot,jgo:At,jmc:At,jv:Ot,jw:Ot,ka:{cardinal:[_t,Et],ordinal:[_t,Tt,Et]},kab:At,kaj:At,kcg:At,kde:Ot,kea:Ot,kk:{cardinal:[_t,Et],ordinal:[Tt,Et]},kkj:At,kl:At,km:Ot,kn:At,ko:Ot,ks:At,ksb:At,ksh:{cardinal:[Ct,_t,Et],ordinal:[Et]},ku:At,kw:{cardinal:[Ct,_t,kt,xt,Tt,Et],ordinal:[_t,Tt,Et]},ky:At,lag:{cardinal:[Ct,_t,Et],ordinal:[Et]},lb:At,lg:At,lij:{cardinal:[_t,Et],ordinal:[Tt,Et]},lkt:Ot,ln:At,lo:{cardinal:[Et],ordinal:[_t,Et]},lt:{cardinal:[_t,xt,Tt,Et],ordinal:[Et]},lv:{cardinal:[Ct,_t,Et],ordinal:[Et]},mas:At,mg:At,mgo:At,mk:{cardinal:[_t,Et],ordinal:[_t,kt,Tt,Et]},ml:At,mn:At,mo:{cardinal:[_t,xt,Et],ordinal:[_t,Et]},mr:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Et]},ms:{cardinal:[Et],ordinal:[_t,Et]},mt:{cardinal:[_t,kt,xt,Tt,Et],ordinal:[Et]},my:Ot,nah:At,naq:Lt,nb:At,nd:At,ne:It,nl:At,nn:At,nnh:At,no:At,nqo:Ot,nr:At,nso:At,ny:At,nyn:At,om:At,or:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Tt,Et]},os:At,osa:Ot,pa:At,pap:At,pcm:At,pl:{cardinal:[_t,xt,Tt,Et],ordinal:[Et]},prg:{cardinal:[Ct,_t,Et],ordinal:[Et]},ps:At,pt:{cardinal:[_t,Tt,Et],ordinal:[Et]},pt_PT:{cardinal:[_t,Tt,Et],ordinal:[Et]},rm:At,ro:{cardinal:[_t,xt,Et],ordinal:[_t,Et]},rof:At,ru:{cardinal:[_t,xt,Tt,Et],ordinal:[Et]},rwk:At,sah:Ot,saq:At,sat:Lt,sc:{cardinal:[_t,Et],ordinal:[Tt,Et]},scn:{cardinal:[_t,Et],ordinal:[Tt,Et]},sd:At,sdh:At,se:Lt,seh:At,ses:Ot,sg:Ot,sh:{cardinal:[_t,xt,Et],ordinal:[Et]},shi:{cardinal:[_t,xt,Et],ordinal:[Et]},si:At,sk:{cardinal:[_t,xt,Tt,Et],ordinal:[Et]},sl:{cardinal:[_t,kt,xt,Et],ordinal:[Et]},sma:Lt,smi:Lt,smj:Lt,smn:Lt,sms:Lt,sn:At,so:At,sq:{cardinal:[_t,Et],ordinal:[_t,Tt,Et]},sr:{cardinal:[_t,xt,Et],ordinal:[Et]},ss:At,ssy:At,st:At,su:Ot,sv:It,sw:At,syr:At,ta:At,te:At,teo:At,th:Ot,ti:At,tig:At,tk:{cardinal:[_t,Et],ordinal:[xt,Et]},tl:It,tn:At,to:Ot,tpi:Ot,tr:At,ts:At,tzm:At,ug:At,uk:{cardinal:[_t,xt,Tt,Et],ordinal:[xt,Et]},und:Ot,ur:At,uz:At,ve:At,vec:{cardinal:[_t,Tt,Et],ordinal:[Tt,Et]},vi:{cardinal:[Et],ordinal:[_t,Et]},vo:At,vun:At,wa:At,wae:At,wo:Ot,xh:At,xog:At,yi:At,yo:Ot,yue:Ot,zh:Ot,zu:At});const Pt=(t,e)=>e?"other":1==t?"one":"other",Rt=(t,e)=>e?"other":0==t||1==t?"one":"other",Nt=(t,e)=>e?"other":t>=0&&t<=1?"one":"other",Mt=(t,e)=>{const n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},jt=(t,e)=>"other",Ft=(t,e)=>e?"other":1==t?"one":2==t?"two":"other";var $t=Object.freeze({__proto__:null,af:Pt,ak:Rt,am:Nt,an:Pt,ar:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ars:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},as:(t,e)=>e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",asa:Pt,ast:Mt,az:(t,e)=>{const n=String(t).split(".")[0],r=n.slice(-1),o=n.slice(-2),i=n.slice(-3);return e?1==r||2==r||5==r||7==r||8==r||20==o||50==o||70==o||80==o?"one":3==r||4==r||100==i||200==i||300==i||400==i||500==i||600==i||700==i||800==i||900==i?"few":0==n||6==r||40==o||60==o||90==o?"many":"other":1==t?"one":"other"},bal:(t,e)=>1==t?"one":"other",be:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return e?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"},bem:Pt,bez:Pt,bg:Pt,bho:Rt,bm:jt,bn:(t,e)=>e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",bo:jt,br:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2),s=r&&n[0].slice(-6);return e?"other":1==o&&11!=i&&71!=i&&91!=i?"one":2==o&&12!=i&&72!=i&&92!=i?"two":(3==o||4==o||9==o)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=t&&r&&0==s?"many":"other"},brx:Pt,bs:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return e?"other":i&&1==s&&11!=a||1==l&&11!=c?"one":i&&s>=2&&s<=4&&(a<12||a>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},ca:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?1==t||3==t?"one":2==t?"two":4==t?"few":"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},ce:Pt,ceb:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=o.slice(-1);return e?"other":i&&(1==r||2==r||3==r)||i&&4!=s&&6!=s&&9!=s||!i&&4!=a&&6!=a&&9!=a?"one":"other"},cgg:Pt,chr:Pt,ckb:Pt,cs:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1];return e?"other":1==t&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},cy:(t,e)=>e?0==t||7==t||8==t||9==t?"zero":1==t?"one":2==t?"two":3==t||4==t?"few":5==t||6==t?"many":"other":0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other",da:(t,e)=>{const n=String(t).split("."),r=n[0],o=Number(n[0])==t;return e||1!=t&&(o||0!=r&&1!=r)?"other":"one"},de:Mt,doi:Nt,dsb:(t,e)=>{const n=String(t).split("."),r=n[1]||"",o=!n[1],i=n[0].slice(-2),s=r.slice(-2);return e?"other":o&&1==i||1==s?"one":o&&2==i||2==s?"two":o&&(3==i||4==i)||3==s||4==s?"few":"other"},dv:Pt,dz:jt,ee:Pt,el:Pt,en:(t,e)=>{const n=String(t).split("."),r=!n[1],o=Number(n[0])==t,i=o&&n[0].slice(-1),s=o&&n[0].slice(-2);return e?1==i&&11!=s?"one":2==i&&12!=s?"two":3==i&&13!=s?"few":"other":1==t&&r?"one":"other"},eo:Pt,es:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?"other":1==t?"one":0!=r&&0==i&&o?"many":"other"},et:Mt,eu:Pt,fa:Nt,ff:(t,e)=>e?"other":t>=0&&t<2?"one":"other",fi:Mt,fil:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=o.slice(-1);return e?1==t?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=s&&6!=s&&9!=s||!i&&4!=a&&6!=a&&9!=a?"one":"other"},fo:Pt,fr:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?1==t?"one":"other":t>=0&&t<2?"one":0!=r&&0==i&&o?"many":"other"},fur:Pt,fy:Mt,ga:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?1==t?"one":"other":1==t?"one":2==t?"two":r&&t>=3&&t<=6?"few":r&&t>=7&&t<=10?"many":"other"},gd:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?1==t||11==t?"one":2==t||12==t?"two":3==t||13==t?"few":"other":1==t||11==t?"one":2==t||12==t?"two":r&&t>=3&&t<=10||r&&t>=13&&t<=19?"few":"other"},gl:Mt,gsw:Pt,gu:(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",guw:Rt,gv:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-1),s=r.slice(-2);return e?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=s&&20!=s&&40!=s&&60!=s&&80!=s?o?"other":"many":"few"},ha:Pt,haw:Pt,he:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1];return e?"other":1==r&&o||0==r&&!o?"one":2==r&&o?"two":"other"},hi:(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",hnj:jt,hr:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return e?"other":i&&1==s&&11!=a||1==l&&11!=c?"one":i&&s>=2&&s<=4&&(a<12||a>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},hsb:(t,e)=>{const n=String(t).split("."),r=n[1]||"",o=!n[1],i=n[0].slice(-2),s=r.slice(-2);return e?"other":o&&1==i||1==s?"one":o&&2==i||2==s?"two":o&&(3==i||4==i)||3==s||4==s?"few":"other"},hu:(t,e)=>e?1==t||5==t?"one":"other":1==t?"one":"other",hy:(t,e)=>e?1==t?"one":"other":t>=0&&t<2?"one":"other",ia:Mt,id:jt,ig:jt,ii:jt,io:Mt,is:(t,e)=>{const n=String(t).split("."),r=n[0],o=(n[1]||"").replace(/0+$/,""),i=Number(n[0])==t,s=r.slice(-1),a=r.slice(-2);return e?"other":i&&1==s&&11!=a||o%10==1&&o%100!=11?"one":"other"},it:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},iu:Ft,ja:jt,jbo:jt,jgo:Pt,jmc:Pt,jv:jt,jw:jt,ka:(t,e)=>{const n=String(t).split(".")[0],r=n.slice(-2);return e?1==n?"one":0==n||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==t?"one":"other"},kab:(t,e)=>e?"other":t>=0&&t<2?"one":"other",kaj:Pt,kcg:Pt,kde:jt,kea:jt,kk:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1);return e?6==o||9==o||r&&0==o&&0!=t?"many":"other":1==t?"one":"other"},kkj:Pt,kl:Pt,km:jt,kn:Nt,ko:jt,ks:Pt,ksb:Pt,ksh:(t,e)=>e?"other":0==t?"zero":1==t?"one":"other",ku:Pt,kw:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-2),i=r&&n[0].slice(-3),s=r&&n[0].slice(-5),a=r&&n[0].slice(-6);return e?r&&t>=1&&t<=4||o>=1&&o<=4||o>=21&&o<=24||o>=41&&o<=44||o>=61&&o<=64||o>=81&&o<=84?"one":5==t||5==o?"many":"other":0==t?"zero":1==t?"one":2==o||22==o||42==o||62==o||82==o||r&&0==i&&(s>=1e3&&s<=2e4||4e4==s||6e4==s||8e4==s)||0!=t&&1e5==a?"two":3==o||23==o||43==o||63==o||83==o?"few":1==t||1!=o&&21!=o&&41!=o&&61!=o&&81!=o?"other":"many"},ky:Pt,lag:(t,e)=>{const n=String(t).split(".")[0];return e?"other":0==t?"zero":0!=n&&1!=n||0==t?"other":"one"},lb:Pt,lg:Pt,lij:(t,e)=>{const n=String(t).split("."),r=!n[1],o=Number(n[0])==t;return e?11==t||8==t||o&&t>=80&&t<=89||o&&t>=800&&t<=899?"many":"other":1==t&&r?"one":"other"},lkt:jt,ln:Rt,lo:(t,e)=>e&&1==t?"one":"other",lt:(t,e)=>{const n=String(t).split("."),r=n[1]||"",o=Number(n[0])==t,i=o&&n[0].slice(-1),s=o&&n[0].slice(-2);return e?"other":1==i&&(s<11||s>19)?"one":i>=2&&i<=9&&(s<11||s>19)?"few":0!=r?"many":"other"},lv:(t,e)=>{const n=String(t).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==t,s=i&&n[0].slice(-1),a=i&&n[0].slice(-2),l=r.slice(-2),c=r.slice(-1);return e?"other":i&&0==s||a>=11&&a<=19||2==o&&l>=11&&l<=19?"zero":1==s&&11!=a||2==o&&1==c&&11!=l||2!=o&&1==c?"one":"other"},mas:Pt,mg:Rt,mgo:Pt,mk:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return e?1==s&&11!=a?"one":2==s&&12!=a?"two":7!=s&&8!=s||17==a||18==a?"other":"many":i&&1==s&&11!=a||1==l&&11!=c?"one":"other"},ml:Pt,mn:Pt,mo:(t,e)=>{const n=String(t).split("."),r=!n[1],o=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&r?"one":!r||0==t||1!=t&&o>=1&&o<=19?"few":"other"},mr:(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":"other":1==t?"one":"other",ms:(t,e)=>e&&1==t?"one":"other",mt:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":1==t?"one":2==t?"two":0==t||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},my:jt,nah:Pt,naq:Ft,nb:Pt,nd:Pt,ne:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?r&&t>=1&&t<=4?"one":"other":1==t?"one":"other"},nl:Mt,nn:Pt,nnh:Pt,no:Pt,nqo:jt,nr:Pt,nso:Rt,ny:Pt,nyn:Pt,om:Pt,or:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?1==t||5==t||r&&t>=7&&t<=9?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":1==t?"one":"other"},os:Pt,osa:jt,pa:Rt,pap:Pt,pcm:Nt,pl:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-1),s=r.slice(-2);return e?"other":1==t&&o?"one":o&&i>=2&&i<=4&&(s<12||s>14)?"few":o&&1!=r&&(0==i||1==i)||o&&i>=5&&i<=9||o&&s>=12&&s<=14?"many":"other"},prg:(t,e)=>{const n=String(t).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==t,s=i&&n[0].slice(-1),a=i&&n[0].slice(-2),l=r.slice(-2),c=r.slice(-1);return e?"other":i&&0==s||a>=11&&a<=19||2==o&&l>=11&&l<=19?"zero":1==s&&11!=a||2==o&&1==c&&11!=l||2!=o&&1==c?"one":"other"},ps:Pt,pt:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?"other":0==r||1==r?"one":0!=r&&0==i&&o?"many":"other"},pt_PT:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},rm:Pt,ro:(t,e)=>{const n=String(t).split("."),r=!n[1],o=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&r?"one":!r||0==t||1!=t&&o>=1&&o<=19?"few":"other"},rof:Pt,ru:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-1),s=r.slice(-2);return e?"other":o&&1==i&&11!=s?"one":o&&i>=2&&i<=4&&(s<12||s>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&s>=11&&s<=14?"many":"other"},rwk:Pt,sah:jt,saq:Pt,sat:Ft,sc:(t,e)=>{const n=String(t).split(".");return e?11==t||8==t||80==t||800==t?"many":"other":1!=t||n[1]?"other":"one"},scn:(t,e)=>{const n=String(t).split(".");return e?11==t||8==t||80==t||800==t?"many":"other":1!=t||n[1]?"other":"one"},sd:Pt,sdh:Pt,se:Ft,seh:Pt,ses:jt,sg:jt,sh:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return e?"other":i&&1==s&&11!=a||1==l&&11!=c?"one":i&&s>=2&&s<=4&&(a<12||a>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},shi:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?"other":t>=0&&t<=1?"one":r&&t>=2&&t<=10?"few":"other"},si:(t,e)=>{const n=String(t).split(".");return e?"other":0==t||1==t||0==n[0]&&1==(n[1]||"")?"one":"other"},sk:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1];return e?"other":1==t&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},sl:(t,e)=>{const n=String(t).split("."),r=!n[1],o=n[0].slice(-2);return e?"other":r&&1==o?"one":r&&2==o?"two":r&&(3==o||4==o)||!r?"few":"other"},sma:Ft,smi:Ft,smj:Ft,smn:Ft,sms:Ft,sn:Pt,so:Pt,sq:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return e?1==t?"one":4==o&&14!=i?"many":"other":1==t?"one":"other"},sr:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return e?"other":i&&1==s&&11!=a||1==l&&11!=c?"one":i&&s>=2&&s<=4&&(a<12||a>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},ss:Pt,ssy:Pt,st:Pt,su:jt,sv:(t,e)=>{const n=String(t).split("."),r=!n[1],o=Number(n[0])==t,i=o&&n[0].slice(-1),s=o&&n[0].slice(-2);return e?1!=i&&2!=i||11==s||12==s?"other":"one":1==t&&r?"one":"other"},sw:Mt,syr:Pt,ta:Pt,te:Pt,teo:Pt,th:jt,ti:Rt,tig:Pt,tk:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-1);return e?6==r||9==r||10==t?"few":"other":1==t?"one":"other"},tl:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=o.slice(-1);return e?1==t?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=s&&6!=s&&9!=s||!i&&4!=a&&6!=a&&9!=a?"one":"other"},tn:Pt,to:jt,tpi:jt,tr:Pt,ts:Pt,tzm:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?"other":0==t||1==t||r&&t>=11&&t<=99?"one":"other"},ug:Pt,uk:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=Number(n[0])==t,s=i&&n[0].slice(-1),a=i&&n[0].slice(-2),l=r.slice(-1),c=r.slice(-2);return e?3==s&&13!=a?"few":"other":o&&1==l&&11!=c?"one":o&&l>=2&&l<=4&&(c<12||c>14)?"few":o&&0==l||o&&l>=5&&l<=9||o&&c>=11&&c<=14?"many":"other"},und:jt,ur:Mt,uz:Pt,ve:Pt,vec:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},vi:(t,e)=>e&&1==t?"one":"other",vo:Pt,vun:Pt,wa:Rt,wae:Pt,wo:jt,xh:Pt,xog:Pt,yi:Mt,yo:jt,yue:jt,zh:jt,zu:Nt});function zt(t){if("string"!=typeof t||t.length<2)throw new RangeError("Invalid language tag: ".concat(t));if(t.startsWith("pt-PT"))return"pt-PT";var e=t.match(/.+?(?=[-_])/);return e?e[0]:t}function Ht(t){if("function"==typeof t){var e=zt(t.name);return{isDefault:!1,id:ct(e),lc:e,locale:t.name,getPlural:t,cardinals:t.cardinals||[],ordinals:t.ordinals||[]}}var n=zt(t),r=ct(n);return function(t){return t in $t}(r)?{isDefault:!0,id:r,lc:n,locale:t,getCardinal:St[r],getPlural:$t[r],cardinals:Dt[r].cardinal,ordinals:Dt[r].ordinal}:null}function Bt(t){return ct(zt(t))in $t}var Vt=function(){function o(t,e){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:e&&e.strictNumberSign||!1,strictPluralKeys:!0},e),"*"===t?this.plurals=function(t){var e=Object.keys($t).filter(function(e){return e!==t});return e.unshift(t),e.map(Ht)}(o.defaultLocale):Array.isArray(t)?this.plurals=t.map(Ht).filter(Boolean):t&&(n=Ht(t))&&(this.plurals=[n]),0===this.plurals.length){var n=Ht(o.defaultLocale);this.plurals=[n]}}return o.escape=function(t,e){var n=e?/[#{}]/g:/[{}]/g;return String(t).replace(n,"'$&'")},o.supportedLocalesOf=function(t){return(Array.isArray(t)?t:[t]).filter(Bt)},o.prototype.resolvedOptions=function(){return t(t({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},o.prototype.compile=function(t){var o,i,s=new pt(this.options),a="return "+s.compile(t,this.plurals[0]),l=[],c=[];try{for(var u=e(Object.entries(s.runtime)),d=u.next();!d.done;d=u.next()){var h=n(d.value,2),p=h[1];l.push(h[0]),c.push(p)}}catch(t){o={error:t}}finally{try{d&&!d.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return(new(Function.bind.apply(Function,r(r([void 0],n(l),!1),[a],!1)))).apply(void 0,r([],n(c),!1))},o.defaultLocale="en",o}();return Vt}()},3650(t){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=typeof e[5]<"u";return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);r&&s[u[0]]||(typeof i<"u"&&(typeof u[5]>"u"||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]&&(u[1]="@media ".concat(u[2]," {").concat(u[1],"}")),u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),e.push(u))}},e}},9593(t){t.exports=function(t){return t[1]}},1217(t,e,n){n.d(e,{t:()=>o});var r=n(8447);class o extends r.B{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}},1698(t,e,n){n.d(e,{c:()=>u});var r=n(1540),o=n(5710),i=n(2563),s=n(6742),a=n(3305),l=n(1126),c=n(4171);let u=(()=>{class t{constructor(t){t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const i=function(t){return t&&t instanceof r.vU||function(t){return t&&(0,l.T)(t.next)&&(0,l.T)(t.error)&&(0,l.T)(t.complete)}(t)&&(0,o.Uv)(t)}(t)?t:new r.Ms(t,e,n);return(0,c.Y)(()=>{const{operator:t,source:e}=this;i.add(t?t.call(i,e):e?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=d(e))((e,n)=>{const o=new r.Ms({next:e=>{try{t(e)}catch(t){n(t),o.unsubscribe()}},error:n,complete:e});this.subscribe(o)})}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[i.s](){return this}pipe(...t){return(0,s.m)(t)(this)}toPromise(t){return new(t=d(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function d(t){var e;return null!==(e=t??a.$.Promise)&&void 0!==e?e:Promise}},8447(t,e,n){n.d(e,{B:()=>l});var r=n(1698),o=n(5710);const i=(0,n(5644).L)(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var s=n(5891),a=n(4171);let l=(()=>{class t extends r.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new c(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new i}next(t){(0,a.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const e of this.currentObservers)e.next(t)}})}error(t){(0,a.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}})}complete(){(0,a.Y)(()=>{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:e,isStopped:n,observers:r}=this;return e||n?o.Kn:(this.currentObservers=null,r.push(t),new o.yU(()=>{this.currentObservers=null,(0,s.o)(r,t)}))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:n,isStopped:r}=this;e?t.error(n):r&&t.complete()}asObservable(){const t=new r.c;return t.source=this,t}}return t.create=(t,e)=>new c(t,e),t})();class c extends l{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:o.Kn}}},1540(t,e,n){n.d(e,{Ms:()=>m,vU:()=>h});var r=n(1126),o=n(5710),i=n(3305),s=n(191),a=n(850);const l=c("C",void 0,void 0);function c(t,e,n){return{kind:t,value:e,error:n}}var u=n(3695),d=n(4171);class h extends o.yU{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,(0,o.Uv)(t)&&t.add(this)):this.destination=v}static create(t,e,n){return new m(t,e,n)}next(t){this.isStopped?b(c("N",t,void 0),this):this._next(t)}error(t){this.isStopped?b(c("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?b(l,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const p=Function.prototype.bind;function f(t,e){return p.call(t,e)}class g{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(t){y(t)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(t){y(t)}else y(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(t){y(t)}}}class m extends h{constructor(t,e,n){let o;if(super(),(0,r.T)(t)||!t)o={next:t??void 0,error:e??void 0,complete:n??void 0};else{let e;this&&i.$.useDeprecatedNextContext?(e=Object.create(t),e.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&f(t.next,e),error:t.error&&f(t.error,e),complete:t.complete&&f(t.complete,e)}):o=t}this.destination=new g(o)}}function y(t){i.$.useDeprecatedSynchronousErrorHandling?(0,d.l)(t):(0,s.m)(t)}function b(t,e){const{onStoppedNotification:n}=i.$;n&&u.f.setTimeout(()=>n(t,e))}const v={closed:!0,next:a.l,error:function(t){throw t},complete:a.l}},5710(t,e,n){n.d(e,{Kn:()=>a,yU:()=>s,Uv:()=>l});var r=n(1126);const o=(0,n(5644).L)(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});var i=n(5891);class s{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:n}=this;if((0,r.T)(n))try{n()}catch(e){t=e instanceof o?e.errors:[e]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const e of i)try{c(e)}catch(e){t=t??[],e instanceof o?t=[...t,...e.errors]:t.push(e)}}if(t)throw new o(t)}}add(t){var e;if(t&&t!==this)if(this.closed)c(t);else{if(t instanceof s){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&(0,i.o)(e,t)}remove(t){const{_finalizers:e}=this;e&&(0,i.o)(e,t),t instanceof s&&t._removeParent(this)}}s.EMPTY=(()=>{const t=new s;return t.closed=!0,t})();const a=s.EMPTY;function l(t){return t instanceof s||t&&"closed"in t&&(0,r.T)(t.remove)&&(0,r.T)(t.add)&&(0,r.T)(t.unsubscribe)}function c(t){(0,r.T)(t)?t():t.unsubscribe()}},3305(t,e,n){n.d(e,{$:()=>r});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6627(t,e,n){n.d(e,{z:()=>h});var r=n(1698),o=n(3740),i=n(1787),s=n(9220),a=n(3759),l=n(4327),c=n(9321),u=n(2483),d=n(8266);function h(...t){const e=(0,l.lI)(t),n=(0,l.ms)(t),{args:d,keys:h}=(0,o.D)(t);if(0===d.length)return(0,i.H)([],e);const f=new r.c(function(t,e,n=s.D){return r=>{p(e,()=>{const{length:o}=t,s=new Array(o);let a=o,l=o;for(let c=0;c<o;c++)p(e,()=>{const o=(0,i.H)(t[c],e);let d=!1;o.subscribe((0,u._)(r,t=>{s[c]=t,d||(d=!0,l--),l||r.next(n(s.slice()))},()=>{--a||r.complete()}))},r)},r)}}(d,e,h?t=>(0,c.e)(h,t):s.D));return n?f.pipe((0,a.I)(n)):f}function p(t,e,n){t?(0,d.N)(n,t,e):e()}},6564(t,e,n){n.d(e,{w:()=>r});const r=new(n(1698).c)(t=>t.complete())},2653(t,e,n){n.d(e,{p:()=>u});var r=n(1698),o=n(3740),i=n(7225),s=n(4327),a=n(2483),l=n(3759),c=n(9321);function u(...t){const e=(0,s.ms)(t),{args:n,keys:u}=(0,o.D)(t),d=new r.c(t=>{const{length:e}=n;if(!e)return void t.complete();const r=new Array(e);let o=e,s=e;for(let l=0;l<e;l++){let e=!1;(0,i.Tg)(n[l]).subscribe((0,a._)(t,t=>{e||(e=!0,s--),r[l]=t},()=>o--,void 0,()=>{(!o||!e)&&(s||t.next(u?(0,c.e)(u,r):r),t.complete())}))}});return e?d.pipe((0,l.I)(e)):d}},1787(t,e,n){n.d(e,{H:()=>w});var r=n(7225),o=n(8266),i=n(5351),s=n(2483);function a(t,e=0){return(0,i.N)((n,r)=>{n.subscribe((0,s._)(r,n=>(0,o.N)(r,t,()=>r.next(n),e),()=>(0,o.N)(r,t,()=>r.complete(),e),n=>(0,o.N)(r,t,()=>r.error(n),e)))})}function l(t,e=0){return(0,i.N)((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}var c=n(1698),u=n(6952),d=n(1126);function h(t,e){if(!t)throw new Error("Iterable cannot be null");return new c.c(n=>{(0,o.N)(n,e,()=>{const r=t[Symbol.asyncIterator]();(0,o.N)(n,e,()=>{r.next().then(t=>{t.done?n.complete():n.next(t.value)})},0,!0)})})}var p=n(6600),f=n(6505),g=n(6786),m=n(4876),y=n(8394),b=n(8810),v=n(3173);function w(t,e){return e?function(t,e){if(null!=t){if((0,p.l)(t))return function(t,e){return(0,r.Tg)(t).pipe(l(e),a(e))}(t,e);if((0,g.X)(t))return function(t,e){return new c.c(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}(t,e);if((0,f.y)(t))return function(t,e){return(0,r.Tg)(t).pipe(l(e),a(e))}(t,e);if((0,y.T)(t))return h(t,e);if((0,m.x)(t))return function(t,e){return new c.c(n=>{let r;return(0,o.N)(n,e,()=>{r=t[u.l](),(0,o.N)(n,e,()=>{let t,e;try{({value:t,done:e}=r.next())}catch(t){return void n.error(t)}e?n.complete():n.next(t)},0,!0)}),()=>(0,d.T)(r?.return)&&r.return()})}(t,e);if((0,v.U)(t))return function(t,e){return h((0,v.C)(t),e)}(t,e)}throw(0,b.L)(t)}(t,e):(0,r.Tg)(t)}},7225(t,e,n){n.d(e,{Tg:()=>g});var r=n(1635),o=n(6786),i=n(6505),s=n(1698),a=n(6600),l=n(8394),c=n(8810),u=n(4876),d=n(3173),h=n(1126),p=n(191),f=n(2563);function g(t){if(t instanceof s.c)return t;if(null!=t){if((0,a.l)(t))return function(t){return new s.c(e=>{const n=t[f.s]();if((0,h.T)(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if((0,o.X)(t))return function(t){return new s.c(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}(t);if((0,i.y)(t))return function(t){return new s.c(e=>{t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,p.m)})}(t);if((0,l.T)(t))return m(t);if((0,u.x)(t))return function(t){return new s.c(e=>{for(const n of t)if(e.next(n),e.closed)return;e.complete()})}(t);if((0,d.U)(t))return function(t){return m((0,d.C)(t))}(t)}throw(0,c.L)(t)}function m(t){return new s.c(e=>{(function(t,e){var n,o,i,s;return(0,r.sH)(this,void 0,void 0,function*(){try{for(n=(0,r.xN)(t);!(o=yield n.next()).done;)if(e.next(o.value),e.closed)return}catch(t){i={error:t}}finally{try{o&&!o.done&&(s=n.return)&&(yield s.call(n))}finally{if(i)throw i.error}}e.complete()})})(t,e).catch(t=>e.error(t))})}},3016(t,e,n){n.d(e,{of:()=>i});var r=n(4327),o=n(1787);function i(...t){const e=(0,r.lI)(t);return(0,o.H)(t,e)}},2483(t,e,n){n.d(e,{_:()=>o});var r=n(1540);function o(t,e,n,r,o){return new i(t,e,n,r,o)}class i extends r.vU{constructor(t,e,n,r,o,i){super(t),this.onFinalize=o,this.shouldUnsubscribe=i,this._next=e?function(n){try{e(n)}catch(e){t.error(e)}}:super._next,this._error=r?function(e){try{r(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}},7178(t,e,n){n.d(e,{W:()=>s});var r=n(7225),o=n(2483),i=n(5351);function s(t){return(0,i.N)((e,n)=>{let i,a=null,l=!1;a=e.subscribe((0,o._)(n,void 0,void 0,o=>{i=(0,r.Tg)(t(o,s(t)(e))),a?(a.unsubscribe(),a=null,i.subscribe(n)):l=!0})),l&&(a.unsubscribe(),a=null,i.subscribe(n))})}},1459(t,e,n){n.d(e,{H:()=>i});var r=n(5823),o=n(1126);function i(t,e){return(0,o.T)(e)?(0,r.Z)(t,e,1):(0,r.Z)(t,1)}},1483(t,e,n){n.d(e,{p:()=>i});var r=n(5351),o=n(2483);function i(t,e){return(0,r.N)((n,r)=>{let i=0;n.subscribe((0,o._)(r,n=>t.call(e,n,i++)&&r.next(n)))})}},7947(t,e,n){n.d(e,{T:()=>i});var r=n(5351),o=n(2483);function i(t,e){return(0,r.N)((n,r)=>{let i=0;n.subscribe((0,o._)(r,n=>{r.next(t.call(e,n,i++))}))})}},1890(t,e,n){n.d(e,{U:()=>i});var r=n(5823),o=n(9220);function i(t=1/0){return(0,r.Z)(o.D,t)}},5823(t,e,n){n.d(e,{Z:()=>l});var r=n(7947),o=n(7225),i=n(5351),s=(n(8266),n(2483)),a=n(1126);function l(t,e,n=1/0){return(0,a.T)(e)?l((n,i)=>(0,r.T)((t,r)=>e(n,t,i,r))((0,o.Tg)(t(n,i))),n):("number"==typeof e&&(n=e),(0,i.N)((e,r)=>function(t,e,n,r){const i=[];let a=0,l=0,c=!1;const u=()=>{c&&!i.length&&!a&&e.complete()},d=t=>a<r?h(t):i.push(t),h=t=>{a++;let c=!1;(0,o.Tg)(n(t,l++)).subscribe((0,s._)(e,t=>{e.next(t)},()=>{c=!0},void 0,()=>{if(c)try{for(a--;i.length&&a<r;){const t=i.shift();h(t)}u()}catch(t){e.error(t)}}))};return t.subscribe((0,s._)(e,d,()=>{c=!0,u()})),()=>{}}(e,r,t,n)))}},2867(t,e,n){n.d(e,{n:()=>s});var r=n(7225),o=n(5351),i=n(2483);function s(t,e){return(0,o.N)((n,o)=>{let s=null,a=0,l=!1;const c=()=>l&&!s&&o.complete();n.subscribe((0,i._)(o,n=>{s?.unsubscribe();let l=0;const u=a++;(0,r.Tg)(t(n,u)).subscribe(s=(0,i._)(o,t=>o.next(e?e(n,t,u,l++):t),()=>{s=null,c()}))},()=>{l=!0,c()}))})}},7610(t,e,n){n.d(e,{s:()=>s});var r=n(6564),o=n(5351),i=n(2483);function s(t){return t<=0?()=>r.w:(0,o.N)((e,n)=>{let r=0;e.subscribe((0,i._)(n,e=>{++r<=t&&(n.next(e),t<=r&&n.complete())}))})}},5424(t,e,n){n.d(e,{Q:()=>a});var r=n(5351),o=n(2483),i=n(7225),s=n(850);function a(t){return(0,r.N)((e,n)=>{(0,i.Tg)(t).subscribe((0,o._)(n,()=>n.complete(),s.l)),!n.closed&&e.subscribe(n)})}},2040(t,e,n){n.d(e,{M:()=>a});var r=n(1126),o=n(5351),i=n(2483),s=n(9220);function a(t,e,n){const a=(0,r.T)(t)||e||n?{next:t,error:e,complete:n}:t;return a?(0,o.N)((t,e)=>{var n;null===(n=a.subscribe)||void 0===n||n.call(a);let r=!0;t.subscribe((0,i._)(e,t=>{var n;null===(n=a.next)||void 0===n||n.call(a,t),e.next(t)},()=>{var t;r=!1,null===(t=a.complete)||void 0===t||t.call(a),e.complete()},t=>{var n;r=!1,null===(n=a.error)||void 0===n||n.call(a,t),e.error(t)},()=>{var t,e;r&&(null===(t=a.unsubscribe)||void 0===t||t.call(a)),null===(e=a.finalize)||void 0===e||e.call(a)}))}):s.D}},3695(t,e,n){n.d(e,{f:()=>r});const r={setTimeout(t,e,...n){const{delegate:o}=r;return o?.setTimeout?o.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){const{delegate:e}=r;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0}},6952(t,e,n){n.d(e,{l:()=>r});const r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},2563(t,e,n){n.d(e,{s:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},8747(t,e,n){n.d(e,{G:()=>r});const r=(0,n(5644).L)(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})},4327(t,e,n){n.d(e,{lI:()=>a,ms:()=>s});var r=n(1126),o=n(9921);function i(t){return t[t.length-1]}function s(t){return(0,r.T)(i(t))?t.pop():void 0}function a(t){return(0,o.m)(i(t))?t.pop():void 0}},3740(t,e,n){n.d(e,{D:()=>a});const{isArray:r}=Array,{getPrototypeOf:o,prototype:i,keys:s}=Object;function a(t){if(1===t.length){const e=t[0];if(r(e))return{args:e,keys:null};if(function(t){return t&&"object"==typeof t&&o(t)===i}(e)){const t=s(e);return{args:t.map(t=>e[t]),keys:t}}}return{args:t,keys:null}}},5891(t,e,n){function r(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}n.d(e,{o:()=>r})},5644(t,e,n){function r(t){const e=t(t=>{Error.call(t),t.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}n.d(e,{L:()=>r})},9321(t,e,n){function r(t,e){return t.reduce((t,n,r)=>(t[n]=e[r],t),{})}n.d(e,{e:()=>r})},4171(t,e,n){n.d(e,{Y:()=>i,l:()=>s});var r=n(3305);let o=null;function i(t){if(r.$.useDeprecatedSynchronousErrorHandling){const e=!o;if(e&&(o={errorThrown:!1,error:null}),t(),e){const{errorThrown:t,error:e}=o;if(o=null,t)throw e}}else t()}function s(t){r.$.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=t)}},8266(t,e,n){function r(t,e,n,r=0,o=!1){const i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}n.d(e,{N:()=>r})},9220(t,e,n){function r(t){return t}n.d(e,{D:()=>r})},6786(t,e,n){n.d(e,{X:()=>r});const r=t=>t&&"number"==typeof t.length&&"function"!=typeof t},8394(t,e,n){n.d(e,{T:()=>o});var r=n(1126);function o(t){return Symbol.asyncIterator&&(0,r.T)(t?.[Symbol.asyncIterator])}},1126(t,e,n){function r(t){return"function"==typeof t}n.d(e,{T:()=>r})},6600(t,e,n){n.d(e,{l:()=>i});var r=n(2563),o=n(1126);function i(t){return(0,o.T)(t[r.s])}},4876(t,e,n){n.d(e,{x:()=>i});var r=n(6952),o=n(1126);function i(t){return(0,o.T)(t?.[r.l])}},6505(t,e,n){n.d(e,{y:()=>o});var r=n(1126);function o(t){return(0,r.T)(t?.then)}},3173(t,e,n){n.d(e,{C:()=>i,U:()=>s});var r=n(1635),o=n(1126);function i(t){return(0,r.AQ)(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:t,done:n}=yield(0,r.N3)(e.read());if(n)return yield(0,r.N3)(void 0);yield yield(0,r.N3)(t)}}finally{e.releaseLock()}})}function s(t){return(0,o.T)(t?.getReader)}},9921(t,e,n){n.d(e,{m:()=>o});var r=n(1126);function o(t){return t&&(0,r.T)(t.schedule)}},5351(t,e,n){n.d(e,{N:()=>o});var r=n(1126);function o(t){return e=>{if(function(t){return(0,r.T)(t?.lift)}(e))return e.lift(function(e){try{return t(e,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}},3759(t,e,n){n.d(e,{I:()=>i});var r=n(7947);const{isArray:o}=Array;function i(t){return(0,r.T)(e=>function(t,e){return o(e)?t(...e):t(e)}(t,e))}},850(t,e,n){function r(){}n.d(e,{l:()=>r})},6742(t,e,n){n.d(e,{F:()=>o,m:()=>i});var r=n(9220);function o(...t){return i(t)}function i(t){return 0===t.length?r.D:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},191(t,e,n){n.d(e,{m:()=>i});var r=n(3305),o=n(3695);function i(t){o.f.setTimeout(()=>{const{onUnhandledError:e}=r.$;if(!e)throw t;e(t)})}},8810(t,e,n){function r(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(e,{L:()=>r})},9408(){var t=Object.defineProperty,e=Object.defineProperties,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,s=(e,n,r)=>n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,a=(t,e)=>{for(var n in e||(e={}))o.call(e,n)&&s(t,n,e[n]);if(r)for(var n of r(e))i.call(e,n)&&s(t,n,e[n]);return t},l=(t,e,n)=>(s(t,"symbol"!=typeof e?e+"":e,n),n),c=globalThis;function u(t){return(c.__Zone_symbol_prefix||"__zone_symbol__")+t}var d=Object.getOwnPropertyDescriptor,h=Object.defineProperty,p=Object.getPrototypeOf,f=Object.create,g=Array.prototype.slice,m="addEventListener",y="removeEventListener",b=u(m),v=u(y),w="true",S="false",C=u("");function _(t,e){return Zone.current.wrap(t,e)}function k(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}var x=u,T=typeof window<"u",E=T?window:void 0,A=T&&E||globalThis;function I(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=_(t[n],e+"_"+n));return t}function O(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}var L=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,D=!("nw"in A)&&typeof A.process<"u"&&"[object process]"===A.process.toString(),P=!D&&!L&&!(!T||!E.HTMLElement),R=typeof A.process<"u"&&"[object process]"===A.process.toString()&&!L&&!(!T||!E.HTMLElement),N={},M=x("enable_beforeunload"),j=function(t){if(!(t=t||A.event))return;let e=N[t.type];e||(e=N[t.type]=x("ON_PROPERTY"+t.type));const n=this||t.target||A,r=n[e];let o;return P&&n===E&&"error"===t.type?(o=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===o&&t.preventDefault()):(o=r&&r.apply(this,arguments),"beforeunload"===t.type&&A[M]&&"string"==typeof o?t.returnValue=o:null!=o&&!o&&t.preventDefault()),o};function F(t,e,n){let r=d(t,e);if(!r&&n&&d(n,e)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const o=x("on"+e+"patched");if(t.hasOwnProperty(o)&&t[o])return;delete r.writable,delete r.value;const i=r.get,s=r.set,a=e.slice(2);let l=N[a];l||(l=N[a]=x("ON_PROPERTY"+a)),r.set=function(e){let n=this;!n&&t===A&&(n=A),n&&("function"==typeof n[l]&&n.removeEventListener(a,j),s?.call(n,null),n[l]=e,"function"==typeof e&&n.addEventListener(a,j,!1))},r.get=function(){let n=this;if(!n&&t===A&&(n=A),!n)return null;const o=n[l];if(o)return o;if(i){let t=i.call(this);if(t)return r.set.call(this,t),"function"==typeof n.removeAttribute&&n.removeAttribute(e),t}return null},h(t,e,r),t[o]=!0}function $(t,e,n){if(e)for(let r=0;r<e.length;r++)F(t,"on"+e[r],n);else{const e=[];for(const n in t)"on"==n.slice(0,2)&&e.push(n);for(let r=0;r<e.length;r++)F(t,e[r],n)}}var z=x("originalInstance");function H(t){const e=A[t];if(!e)return;A[x(t)]=e,A[t]=function(){const n=I(arguments,t);switch(n.length){case 0:this[z]=new e;break;case 1:this[z]=new e(n[0]);break;case 2:this[z]=new e(n[0],n[1]);break;case 3:this[z]=new e(n[0],n[1],n[2]);break;case 4:this[z]=new e(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},U(A[t],e);const n=new e(function(){});let r;for(r in n)"XMLHttpRequest"===t&&"responseBlob"===r||function(e){"function"==typeof n[e]?A[t].prototype[e]=function(){return this[z][e].apply(this[z],arguments)}:h(A[t].prototype,e,{set:function(n){"function"==typeof n?(this[z][e]=_(n,t+"."+e),U(this[z][e],n)):this[z][e]=n},get:function(){return this[z][e]}})}(r);for(r in e)"prototype"!==r&&e.hasOwnProperty(r)&&(A[t][r]=e[r])}function B(t,e,n){let r=t;for(;r&&!r.hasOwnProperty(e);)r=p(r);!r&&t[e]&&(r=t);const o=x(e);let i=null;if(r&&(!(i=r[o])||!r.hasOwnProperty(o))&&(i=r[o]=r[e],O(r&&d(r,e)))){const t=n(i,o,e);r[e]=function(){return t(this,arguments)},U(r[e],i)}return i}function V(t,e,n){let r=null;function o(t){const e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=B(t,e,t=>function(e,r){const i=n(e,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?k(i.name,r[i.cbIdx],i,o):t.apply(e,r)})}function U(t,e){t[x("OriginalDelegate")]=e}function W(t){return"function"==typeof t}function G(t){return"number"==typeof t}var q={useG:!0},Q={},Z={},X=new RegExp("^"+C+"(\\w+)(true|false)$"),Y=x("propagationStopped");function K(t,e){const n=(e?e(t):t)+S,r=(e?e(t):t)+w,o=C+n,i=C+r;Q[t]={},Q[t][S]=o,Q[t][w]=i}function J(t,r,o,i){const s=i&&i.add||m,l=i&&i.rm||y,c=i&&i.listeners||"eventListeners",u=i&&i.rmAll||"removeAllListeners",d=x(s),h="."+s+":",f="prependListener",g="."+f+":",b=function(t,e,n){if(t.isRemoved)return;const r=t.callback;let o;"object"==typeof r&&r.handleEvent&&(t.callback=t=>r.handleEvent(t),t.originalDelegate=r);try{t.invoke(t,e,[n])}catch(t){o=t}const i=t.options;return i&&"object"==typeof i&&i.once&&e[l].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,i),o};function v(e,n,o){if(!(n=n||t.event))return;const i=e||n.target||t,s=i[Q[n.type][o?w:S]];if(s){const t=[];if(1===s.length){const e=b(s[0],i,n);e&&t.push(e)}else{const e=s.slice();for(let r=0;r<e.length&&(!n||!0!==n[Y]);r++){const o=b(e[r],i,n);o&&t.push(o)}}if(1===t.length)throw t[0];for(let e=0;e<t.length;e++){const n=t[e];r.nativeScheduleMicroTask(()=>{throw n})}}}const _=function(t){return v(this,t,!1)},k=function(t){return v(this,t,!0)};function T(r,o){if(!r)return!1;let i=!0;o&&void 0!==o.useG&&(i=o.useG);const m=o&&o.vh;let y=!0;o&&void 0!==o.chkDup&&(y=o.chkDup);let b=!1;o&&void 0!==o.rt&&(b=o.rt);let v=r;for(;v&&!v.hasOwnProperty(s);)v=p(v);if(!v&&r[s]&&(v=r),!v||v[d])return!1;const T=o&&o.eventNameToString,E={},A=v[d]=v[s],I=v[x(l)]=v[l],O=v[x(c)]=v[c],L=v[x(u)]=v[u];let P;o&&o.prepend&&(P=v[x(o.prepend)]=v[o.prepend]);const R=i?function(t){if(!E.isExisting)return A.call(E.target,E.eventName,E.capture?k:_,E.options)}:function(t){return A.call(E.target,E.eventName,t.invoke,E.options)},N=i?function(t){if(!t.isRemoved){const e=Q[t.eventName];let n;e&&(n=e[t.capture?w:S]);const r=n&&t.target[n];if(r)for(let e=0;e<r.length;e++)if(r[e]===t){r.splice(e,1),t.isRemoved=!0,t.removeAbortListener&&(t.removeAbortListener(),t.removeAbortListener=null),0===r.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return I.call(t.target,t.eventName,t.capture?k:_,t.options)}:function(t){return I.call(t.target,t.eventName,t.invoke,t.options)},M=o?.diff||function(t,e){const n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},j=Zone[x("UNPATCHED_EVENTS")],F=t[x("PASSIVE_EVENTS")],$=function(r,s,l,c,u=!1,d=!1){return function(){const h=this||t;let p=arguments[0];o&&o.transferEventName&&(p=o.transferEventName(p));let f=arguments[1];if(!f)return r.apply(this,arguments);if(D&&"uncaughtException"===p)return r.apply(this,arguments);let g=!1;if("function"!=typeof f){if(!f.handleEvent)return r.apply(this,arguments);g=!0}if(m&&!m(r,f,h,arguments))return;const b=!!F&&-1!==F.indexOf(p),v=function(t){if("object"==typeof t&&null!==t){const e=a({},t);return t.signal&&(e.signal=t.signal),e}return t}(function(t,r){return r?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?(t=>e(t,n({passive:!0})))(a({},t)):t:{passive:!0}:t}(arguments[2],b)),C=v?.signal;if(C?.aborted)return;if(j)for(let t=0;t<j.length;t++)if(p===j[t])return b?r.call(h,p,f,v):r.apply(this,arguments);const _=!!v&&("boolean"==typeof v||v.capture),k=!(!v||"object"!=typeof v)&&v.once,x=Zone.current;let A=Q[p];A||(K(p,T),A=Q[p]);const I=A[_?w:S];let O,L=h[I],P=!1;if(L){if(P=!0,y)for(let t=0;t<L.length;t++)if(M(L[t],f))return}else L=h[I]=[];const R=h.constructor.name,N=Z[R];N&&(O=N[p]),O||(O=R+s+(T?T(p):p)),E.options=v,k&&(E.options.once=!1),E.target=h,E.capture=_,E.eventName=p,E.isExisting=P;const $=i?q:void 0;$&&($.taskData=E),C&&(E.options.signal=void 0);const z=x.scheduleEventTask(O,f,$,l,c);if(C){E.options.signal=C;const t=()=>z.zone.cancelTask(z);r.call(C,"abort",t,{once:!0}),z.removeAbortListener=()=>C.removeEventListener("abort",t)}return E.target=null,$&&($.taskData=null),k&&(E.options.once=!0),"boolean"!=typeof z.options&&(z.options=v),z.target=h,z.capture=_,z.eventName=p,g&&(z.originalDelegate=f),d?L.unshift(z):L.push(z),u?h:void 0}};return v[s]=$(A,h,R,N,b),P&&(v[f]=$(P,g,function(t){return P.call(E.target,E.eventName,t.invoke,E.options)},N,b,!0)),v[l]=function(){const e=this||t;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=arguments[2],i=!!r&&("boolean"==typeof r||r.capture),s=arguments[1];if(!s)return I.apply(this,arguments);if(m&&!m(I,s,e,arguments))return;const a=Q[n];let l;a&&(l=a[i?w:S]);const c=l&&e[l];if(c)for(let t=0;t<c.length;t++){const r=c[t];if(M(r,s))return c.splice(t,1),r.isRemoved=!0,0!==c.length||(r.allRemoved=!0,e[l]=null,i||"string"!=typeof n)||(e[C+"ON_PROPERTY"+n]=null),r.zone.cancelTask(r),b?e:void 0}return I.apply(this,arguments)},v[c]=function(){const e=this||t;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=[],i=tt(e,T?T(n):n);for(let t=0;t<i.length;t++){const e=i[t];r.push(e.originalDelegate?e.originalDelegate:e.callback)}return r},v[u]=function(){const e=this||t;let n=arguments[0];if(n){o&&o.transferEventName&&(n=o.transferEventName(n));const t=Q[n];if(t){const r=e[t[S]],o=e[t[w]];if(r){const t=r.slice();for(let e=0;e<t.length;e++){const r=t[e];this[l].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}if(o){const t=o.slice();for(let e=0;e<t.length;e++){const r=t[e];this[l].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}}}else{const t=Object.keys(e);for(let e=0;e<t.length;e++){const n=X.exec(t[e]);let r=n&&n[1];r&&"removeListener"!==r&&this[u].call(this,r)}this[u].call(this,"removeListener")}if(b)return this},U(v[s],A),U(v[l],I),L&&U(v[u],L),O&&U(v[c],O),!0}let E=[];for(let t=0;t<o.length;t++)E[t]=T(o[t],i);return E}function tt(t,e){if(!e){const n=[];for(let r in t){const o=X.exec(r);let i=o&&o[1];if(i&&(!e||i===e)){const e=t[r];if(e)for(let t=0;t<e.length;t++)n.push(e[t])}}return n}let n=Q[e];n||(K(e),n=Q[e]);const r=t[n[S]],o=t[n[w]];return r?o?r.concat(o):r.slice():o?o.slice():[]}function et(t,e){const n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",t=>function(e,n){e[Y]=!0,t&&t.apply(e,n)})}var nt=x("zoneTask");function rt(t,e,n,r){let o=null,i=null;n+=r;const s={};function a(e){const n=e.data;n.args[0]=function(){return e.invoke.apply(this,arguments)};const r=o.apply(t,n.args);return G(r)?n.handleId=r:(n.handle=r,n.isRefreshable=W(r.refresh)),e}function l(e){const{handle:n,handleId:r}=e.data;return i.call(t,n??r)}o=B(t,e+=r,n=>function(o,i){var c;if(W(i[0])){const t={isRefreshable:!1,isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},n=i[0];i[0]=function(){try{return n.apply(this,arguments)}finally{const{handle:e,handleId:n,isPeriodic:r,isRefreshable:o}=t;!r&&!o&&(n?delete s[n]:e&&(e[nt]=null))}};const o=k(e,i[0],t,a,l);if(!o)return o;const{handleId:u,handle:d,isRefreshable:h,isPeriodic:p}=o.data;if(u)s[u]=o;else if(d&&(d[nt]=o,h&&!p)){const t=d.refresh;d.refresh=function(){const{zone:e,state:n}=o;return"notScheduled"===n?(o._state="scheduled",e._updateTaskCount(o,1)):"running"===n&&(o._state="scheduling"),t.call(this)}}return null!=(c=d??u)?c:o}return n.apply(t,i)}),i=B(t,n,e=>function(n,r){const o=r[0];let i;G(o)?(i=s[o],delete s[o]):(i=o?.[nt],i?o[nt]=null:i=o),i?.type?i.cancelFn&&i.zone.cancelTask(i):e.apply(t,r)})}function ot(t,e,n){if(!n||0===n.length)return e;const r=n.filter(e=>e.target===t);if(0===r.length)return e;const o=r[0].ignoreProperties;return e.filter(t=>-1===o.indexOf(t))}function it(t,e,n,r){t&&$(t,ot(t,e,n),r)}function st(t){return Object.getOwnPropertyNames(t).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}function at(t,e,n,r,o){const i=Zone.__symbol__(r);if(e[i])return;const s=e[i]=e[r];e[r]=function(i,a,l){return a&&a.prototype&&o.forEach(function(e){const o=`${n}.${r}::`+e,i=a.prototype;try{if(i.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(i,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,o),t._redefineProperty(a.prototype,e,n)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}catch{}}),s.call(e,i,a,l)},t.attachOriginToPatched(e[r],s)}var lt,ct=function(){const t=globalThis,e=!0===t[u("forceDuplicateZoneCheck")];if(t.Zone&&(e||"function"!=typeof t.Zone.__symbol__))throw new Error("Zone already loaded.");return null!=t.Zone||(t.Zone=function(){const t=c.performance;function e(e){t&&t.mark&&t.mark(e)}function n(e,n){t&&t.measure&&t.measure(e,n)}e("Zone");const r=class t{constructor(t,e){l(this,"_parent"),l(this,"_name"),l(this,"_properties"),l(this,"_zoneDelegate"),this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new s(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(c.Promise!==L.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 e=t.current;for(;e.parent;)e=e.parent;return e}static get current(){return P.zone}static get currentTask(){return R}static __load_patch(r,o,i=!1){if(L.hasOwnProperty(r)){const t=!0===c[u("forceDuplicateZoneCheck")];if(!i&&t)throw Error("Already loaded patch: "+r)}else if(!c["__Zone_disable_"+r]){const i="Zone:"+r;e(i),L[r]=o(c,t,D),n(i,i)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}run(t,e,n,r){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{P=P.parent}}runGuarded(t,e=null,n,r){P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{P=P.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||S).name+"; Execution: "+this.name+")");const r=t,{type:o,data:{isPeriodic:i=!1,isRefreshable:s=!1}={}}=t;if(t.state===C&&(o===O||o===I))return;const a=t.state!=x;a&&r._transitionTo(x,k);const l=R;R=r,P={parent:P,zone:this};try{o==I&&t.data&&!i&&!s&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{const e=t.state;if(e!==C&&e!==E)if(o==O||i||s&&e===_)a&&r._transitionTo(k,x,_);else{const t=r._zoneDelegates;this._updateTaskCount(r,-1),a&&r._transitionTo(C,x,C),s&&(r._zoneDelegates=t)}P=P.parent,R=l}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(_,C);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(E,_,C),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==_&&t._transitionTo(k,_),t}scheduleMicroTask(t,e,n,r){return this.scheduleTask(new a(A,t,e,n,r,void 0))}scheduleMacroTask(t,e,n,r,o){return this.scheduleTask(new a(I,t,e,n,r,o))}scheduleEventTask(t,e,n,r,o){return this.scheduleTask(new a(O,t,e,n,r,o))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||S).name+"; Execution: "+this.name+")");if(t.state===k||t.state===x){t._transitionTo(T,k,x);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(E,T),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(C,T),t.runCount=-1,t}}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)}};l(r,"__symbol__",u);let o=r;const i={name:"",onHasTask:(t,e,n,r)=>t.hasTask(n,r),onScheduleTask:(t,e,n,r)=>t.scheduleTask(n,r),onInvokeTask:(t,e,n,r,o,i)=>t.invokeTask(n,r,o,i),onCancelTask:(t,e,n,r)=>t.cancelTask(n,r)};class s{constructor(t,e,n){l(this,"_zone"),l(this,"_taskCounts",{microTask:0,macroTask:0,eventTask:0}),l(this,"_forkDlgt"),l(this,"_forkZS"),l(this,"_forkCurrZone"),l(this,"_interceptDlgt"),l(this,"_interceptZS"),l(this,"_interceptCurrZone"),l(this,"_invokeDlgt"),l(this,"_invokeZS"),l(this,"_invokeCurrZone"),l(this,"_handleErrorDlgt"),l(this,"_handleErrorZS"),l(this,"_handleErrorCurrZone"),l(this,"_scheduleTaskDlgt"),l(this,"_scheduleTaskZS"),l(this,"_scheduleTaskCurrZone"),l(this,"_invokeTaskDlgt"),l(this,"_invokeTaskZS"),l(this,"_invokeTaskCurrZone"),l(this,"_cancelTaskDlgt"),l(this,"_cancelTaskZS"),l(this,"_cancelTaskCurrZone"),l(this,"_hasTaskDlgt"),l(this,"_hasTaskDlgtOwner"),l(this,"_hasTaskZS"),l(this,"_hasTaskCurrZone"),this._zone=t,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this._zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this._zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this._zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this._zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this._zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this._zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this._zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||e&&e._hasTaskZS)&&(this._hasTaskZS=r?n:i,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,n.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this._zone),n.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this._zone),n.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this._zone))}get zone(){return this._zone}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new o(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=A)throw new Error("Task is missing scheduleFn.");v(e)}return n}invokeTask(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(e){this.handleError(t,e)}}_updateTaskCount(t,e){const n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this._zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class a{constructor(t,e,n,r,o,i){if(l(this,"type"),l(this,"source"),l(this,"invoke"),l(this,"callback"),l(this,"data"),l(this,"scheduleFn"),l(this,"cancelFn"),l(this,"_zone",null),l(this,"runCount",0),l(this,"_zoneDelegates",null),l(this,"_state","notScheduled"),this.type=t,this.source=e,this.data=r,this.scheduleFn=o,this.cancelFn=i,!n)throw new Error("callback is not defined");this.callback=n;const s=this;this.invoke=t===O&&r&&r.useG?a.invokeTask:function(){return a.invokeTask.call(c,s,this,arguments)}}static invokeTask(t,e,n){t||(t=this),N++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1===N&&!c[f]&&w(),N--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(C,_)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==C&&(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 d=u("setTimeout"),h=u("Promise"),p=u("then"),f=u("enable_native_microtask_draining");let g,m=[],y=!1;function b(t){var e;!g&&c[h]&&(g=c[h].resolve(0)),g?(null!=(e=g[p])?e:g.then).call(g,t):c[d](t,0)}function v(t){const e=c[f];(e&&0===m.length&&!y||!e&&0===N&&0===m.length)&&b(w),t&&m.push(t)}function w(){if(!y){for(y=!0;m.length;){const t=m;m=[];for(const e of t)try{e.zone.runTask(e,null,null)}catch(t){D.onUnhandledError(t)}}c[f]?(y=!1,D.microtaskDrainDone()):(D.microtaskDrainDone(),y=!1)}}const S={name:"NO ZONE"},C="notScheduled",_="scheduling",k="scheduled",x="running",T="canceling",E="unknown",A="microTask",I="macroTask",O="eventTask",L={},D={symbol:u,currentZoneFrame:()=>P,onUnhandledError:M,microtaskDrainDone:M,scheduleMicroTask:v,showUncaughtError:()=>!o[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:M,patchMethod:()=>M,bindArguments:()=>[],patchThen:()=>M,patchMacroTask:()=>M,patchEventPrototype:()=>M,getGlobalObjects:()=>{},ObjectDefineProperty:()=>M,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>M,wrapWithCurrentZone:()=>M,filterProperties:()=>[],attachOriginToPatched:()=>M,_redefineProperty:()=>M,patchCallbacks:()=>M,nativeScheduleMicroTask:b};let P={parent:null,zone:new o(null,null)},R=null,N=0;function M(){}return n("Zone","Zone"),o}()),t.Zone}();(function(t){t.__load_patch("ZoneAwarePromise",(t,e,n)=>{const r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,s=[],a=!1!==t[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=i("Promise"),c=i("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;s.length;){const t=s.shift();try{t.zone.runGuarded(()=>{throw t.throwOriginal?t.rejection:t})}catch(t){d(t)}}};const u=i("unhandledPromiseRejectionHandler");function d(t){n.onUnhandledError(t);try{const n=e[u];"function"==typeof n&&n.call(this,t)}catch{}}function h(t){return t&&"function"==typeof t.then}function p(t){return t}function f(t){return D.reject(t)}const g=i("state"),m=i("value"),y=i("finally"),b=i("parentPromiseValue"),v=i("parentPromiseState"),w=null,S=!1;function C(t,e){return n=>{try{T(t,e,n)}catch(e){T(t,!1,e)}}}const _=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},k="Promise resolved with itself",x=i("currentTaskTrace");function T(t,r,i){const l=_();if(t===i)throw new TypeError(k);if(t[g]===w){let c=null;try{("object"==typeof i||"function"==typeof i)&&(c=i&&i.then)}catch(e){return l(()=>{T(t,!1,e)})(),t}if(r!==S&&i instanceof D&&i.hasOwnProperty(g)&&i.hasOwnProperty(m)&&i[g]!==w)A(i),T(t,i[g],i[m]);else if(r!==S&&"function"==typeof c)try{c.call(i,l(C(t,r)),l(C(t,!1)))}catch(e){l(()=>{T(t,!1,e)})()}else{t[g]=r;const l=t[m];if(t[m]=i,t[y]===y&&!0===r&&(t[g]=t[v],t[m]=t[b]),r===S&&i instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&o(i,x,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e<l.length;)I(t,l[e++],l[e++],l[e++],l[e++]);if(0==l.length&&r==S){t[g]=0;let r=i;try{throw new Error("Uncaught (in promise): "+function(t){return t&&t.toString===Object.prototype.toString?(t.constructor&&t.constructor.name||"")+": "+JSON.stringify(t):t?t.toString():Object.prototype.toString.call(t)}(i)+(i&&i.stack?"\n"+i.stack:""))}catch(t){r=t}a&&(r.throwOriginal=!0),r.rejection=i,r.promise=t,r.zone=e.current,r.task=e.currentTask,s.push(r),n.scheduleMicroTask()}}}return t}const E=i("rejectionHandledHandler");function A(t){if(0===t[g]){try{const n=e[E];n&&"function"==typeof n&&n.call(this,{rejection:t[m],promise:t})}catch{}t[g]=S;for(let e=0;e<s.length;e++)t===s[e].promise&&s.splice(e,1)}}function I(t,e,n,r,o){A(t);const i=t[g],s=i?"function"==typeof r?r:p:"function"==typeof o?o:f;e.scheduleMicroTask("Promise.then",()=>{try{const r=t[m],o=!!n&&y===n[y];o&&(n[b]=r,n[v]=i);const a=e.run(s,void 0,o&&s!==f&&s!==p?[]:[r]);T(n,!0,a)}catch(t){T(n,!1,t)}},n)}const O=function(){},L=t.AggregateError;class D{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return t instanceof D?t:T(new this(null),!0,t)}static reject(t){return T(new this(null),S,t)}static withResolvers(){const t={};return t.promise=new D((e,n)=>{t.resolve=e,t.reject=n}),t}static any(t){if(!t||"function"!=typeof t[Symbol.iterator])return Promise.reject(new L([],"All promises were rejected"));const e=[];let n=0;try{for(let r of t)n++,e.push(D.resolve(r))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(0===n)return Promise.reject(new L([],"All promises were rejected"));let r=!1;const o=[];return new D((t,i)=>{for(let s=0;s<e.length;s++)e[s].then(e=>{r||(r=!0,t(e))},t=>{o.push(t),n--,0===n&&(r=!0,i(new L(o,"All promises were rejected")))})})}static race(t){let e,n,r=new this((t,r)=>{e=t,n=r});function o(t){e(t)}function i(t){n(t)}for(let e of t)h(e)||(e=this.resolve(e)),e.then(o,i);return r}static all(t){return D.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof D?this:D).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,r,o=new this((t,e)=>{n=t,r=e}),i=2,s=0;const a=[];for(let o of t){h(o)||(o=this.resolve(o));const t=s;try{o.then(r=>{a[t]=e?e.thenCallback(r):r,i--,0===i&&n(a)},o=>{e?(a[t]=e.errorCallback(o),i--,0===i&&n(a)):r(o)})}catch(t){r(t)}i++,s++}return i-=2,0===i&&n(a),o}constructor(t){const e=this;if(!(e instanceof D))throw new Error("Must be an instanceof Promise.");e[g]=w,e[m]=[];try{const n=_();t&&t(n(C(e,!0)),n(C(e,S)))}catch(t){T(e,!1,t)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return D}then(t,n){var r;let o=null==(r=this.constructor)?void 0:r[Symbol.species];(!o||"function"!=typeof o)&&(o=this.constructor||D);const i=new o(O),s=e.current;return this[g]==w?this[m].push(s,i,t,n):I(this,s,i,t,n),i}catch(t){return this.then(null,t)}finally(t){var n;let r=null==(n=this.constructor)?void 0:n[Symbol.species];(!r||"function"!=typeof r)&&(r=D);const o=new r(O);o[y]=y;const i=e.current;return this[g]==w?this[m].push(i,o,t,t):I(this,i,o,t,t),o}}D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;const P=t[l]=t.Promise;t.Promise=D;const R=i("thenPatched");function N(t){const e=t.prototype,n=r(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const o=e.then;e[c]=o,t.prototype.then=function(t,e){return new D((t,e)=>{o.call(this,t,e)}).then(t,e)},t[R]=!0}if(n.patchThen=N,P){N(P);const e=P.try;e&&"function"==typeof e&&(D.try=e),B(t,"fetch",t=>function(t){return function(e,n){let r=t.apply(e,n);if(r instanceof D)return r;let o=r.constructor;return o[R]||N(o),r}}(t))}return Promise[e.__symbol__("uncaughtPromiseErrors")]=s,D})})(lt=ct),function(t){t.__load_patch("toString",t=>{const e=Function.prototype.toString,n=x("OriginalDelegate"),r=x("Promise"),o=x("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=t[r];if(n)return e.call(n)}if(this===Error){const n=t[o];if(n)return e.call(n)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;const s=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":s.call(this)}})}(lt),function(t){t.__load_patch("util",(t,e,n)=>{const r=st(t);n.patchOnProperties=$,n.patchMethod=B,n.bindArguments=I,n.patchMacroTask=V;const o=e.__symbol__("BLACK_LISTED_EVENTS"),i=e.__symbol__("UNPATCHED_EVENTS");t[i]&&(t[o]=t[i]),t[o]&&(e[o]=e[i]=t[o]),n.patchEventPrototype=et,n.patchEventTarget=J,n.ObjectDefineProperty=h,n.ObjectGetOwnPropertyDescriptor=d,n.ObjectCreate=f,n.ArraySlice=g,n.patchClass=H,n.wrapWithCurrentZone=_,n.filterProperties=ot,n.attachOriginToPatched=U,n._redefineProperty=Object.defineProperty,n.patchCallbacks=at,n.getGlobalObjects=()=>({globalSources:Z,zoneSymbolEventNames:Q,eventNames:r,isBrowser:P,isMix:R,isNode:D,TRUE_STR:w,FALSE_STR:S,ZONE_SYMBOL_PREFIX:C,ADD_EVENT_LISTENER_STR:m,REMOVE_EVENT_LISTENER_STR:y})})}(lt),function(t){t.__load_patch("timers",t=>{const e="clear";rt(t,"set",e,"Timeout"),rt(t,"set",e,"Interval"),rt(t,"set",e,"Immediate")}),t.__load_patch("requestAnimationFrame",t=>{rt(t,"request","cancel","AnimationFrame"),rt(t,"mozRequest","mozCancel","AnimationFrame"),rt(t,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++)B(t,n[r],(n,r,o)=>function(r,i){return e.current.run(n,t,i,o)})}),t.__load_patch("EventTarget",(t,e,n)=>{(function(t,e){e.patchEventPrototype(t,e)})(t,n),function(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:o,FALSE_STR:i,ZONE_SYMBOL_PREFIX:s}=e.getGlobalObjects();for(let t=0;t<n.length;t++){const e=n[t],a=s+(e+i),l=s+(e+o);r[e]={},r[e][i]=a,r[e][o]=l}const a=t.EventTarget;a&&a.prototype&&e.patchEventTarget(t,e,[a&&a.prototype])}(t,n);const r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,n,[r.prototype])}),t.__load_patch("MutationObserver",(t,e,n)=>{H("MutationObserver"),H("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(t,e,n)=>{H("IntersectionObserver")}),t.__load_patch("FileReader",(t,e,n)=>{H("FileReader")}),t.__load_patch("on_property",(t,e,n)=>{!function(t,e){if(D&&!R||Zone[t.symbol("patchEvents")])return;const n=e.__Zone_ignore_on_properties;let r=[];if(P){const t=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]),it(t,st(t),n,p(t))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let t=0;t<r.length;t++){const o=e[r[t]];o?.prototype&&it(o.prototype,st(o.prototype),n)}}(n,t)}),t.__load_patch("customElements",(t,e,n)=>{!function(t,e){const{isBrowser:n,isMix:r}=e.getGlobalObjects();(n||r)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,n)}),t.__load_patch("XHR",(t,e)=>{!function(t){const l=t.XMLHttpRequest;if(!l)return;const c=l.prototype;let u=c[b],d=c[v];if(!u){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;u=t[b],d=t[v]}}const h="readystatechange",p="scheduled";function f(t){const r=t.data,s=r.target;s[i]=!1,s[a]=!1;const l=s[o];u||(u=s[b],d=s[v]),l&&d.call(s,h,l);const c=s[o]=()=>{if(s.readyState===s.DONE)if(!r.aborted&&s[i]&&t.state===p){const n=s[e.__symbol__("loadfalse")];if(0!==s.status&&n&&n.length>0){const o=t.invoke;t.invoke=function(){const n=s[e.__symbol__("loadfalse")];for(let e=0;e<n.length;e++)n[e]===t&&n.splice(e,1);!r.aborted&&t.state===p&&o.call(t)},n.push(t)}else t.invoke()}else!r.aborted&&!1===s[i]&&(s[a]=!0)};return u.call(s,h,c),s[n]||(s[n]=t),C.apply(s,r.args),s[i]=!0,t}function g(){}function m(t){const e=t.data;return e.aborted=!0,_.apply(e.target,e.args)}const y=B(c,"open",()=>function(t,e){return t[r]=0==e[2],t[s]=e[1],y.apply(t,e)}),w=x("fetchTaskAborting"),S=x("fetchTaskScheduling"),C=B(c,"send",()=>function(t,n){if(!0===e.current[S]||t[r])return C.apply(t,n);{const e={target:t,url:t[s],isPeriodic:!1,args:n,aborted:!1},r=k("XMLHttpRequest.send",g,e,f,m);t&&!0===t[a]&&!e.aborted&&r.state===p&&r.invoke()}}),_=B(c,"abort",()=>function(t,r){const o=function(t){return t[n]}(t);if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===e.current[w])return _.apply(t,r)})}(t);const n=x("xhrTask"),r=x("xhrSync"),o=x("xhrListener"),i=x("xhrScheduled"),s=x("xhrURL"),a=x("xhrErrorBeforeScheduled")}),t.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,e){const n=t.constructor.name;for(let r=0;r<e.length;r++){const o=e[r],i=t[o];if(i){if(!O(d(t,o)))continue;t[o]=(t=>{const e=function(){return t.apply(this,I(arguments,n+"."+o))};return U(e,t),e})(i)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){tt(t,e).forEach(r=>{const o=t.PromiseRejectionEvent;if(o){const t=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(t)}})}}t.PromiseRejectionEvent&&(e[x("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[x("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(t,e,n)=>{!function(t,e){e.patchMethod(t,"queueMicrotask",t=>function(t,e){Zone.current.scheduleMicroTask("queueMicrotask",e[0])})}(t,n)})}(ct)},6148(t,e,n){n.d(e,{A:()=>a});var r=n(9593),o=n.n(r),i=n(3650),s=n.n(i)()(o());s.push([t.id,"/* You can add global styles to this file, and also import other style files */\n.p-button.p-button-link {\n text-decoration-line: underline;\n text-decoration-style: dotted;\n text-decoration-thickness: var(--link-decoration-thickness);\n text-underline-offset: var(--link-underline-offset);\n}",""]);const a=s},5072(t){var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var i={},s=[],a=0;a<t.length;a++){var l=t[a],c=r.base?l[0]+r.base:l[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var h=n(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==h)e[h].references++,e[h].updater(p);else{var f=o(p,r);r.byIndex=a,e.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function o(t,e){var n=e.domAPI(e);return n.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var i=r(t=t||[],o=o||{});return function(t){t=t||[];for(var s=0;s<i.length;s++){var a=n(i[s]);e[a].references--}for(var l=r(t,o),c=0;c<i.length;c++){var u=n(i[c]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}i=l}}},7659(t){var e={};t.exports=function(t,n){var r=function(t){if(typeof e[t]>"u"){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch{n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540(t){t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},5056(t,e,n){t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},7825(t){t.exports=function(t){if(typeof document>"u")return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=typeof n.layer<"u";o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&typeof btoa<"u"&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},1113(t){t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},7154(t,e,n){var r;t.exports=(n.d(r={},{ApplicationSettingsStorageService:()=>Tr.ApplicationSettingsStorageService,AuthenticationService:()=>Tr.AuthenticationService,AuthenticationStorageService:()=>Tr.AuthenticationStorageService,AutocompleteService:()=>Tr.AutocompleteService,BuildUtil:()=>Tr.BuildUtil,ConfigurationContextService:()=>Tr.ConfigurationContextService,ConnectorBuildStatus:()=>Tr.ConnectorBuildStatus,ConnectorsService:()=>Tr.ConnectorsService,DateUtil:()=>Tr.DateUtil,EventName:()=>Tr.EventName,EventService:()=>Tr.EventService,GraphConfigService:()=>Tr.GraphConfigService,HttpErrorResponse:()=>Tr.HttpErrorResponse,LanguageContextService:()=>Tr.LanguageContextService,LanguageService:()=>Tr.LanguageService,Loggers:()=>Tr.Loggers,MonitoringService:()=>Tr.MonitoringService,NamespaceMap:()=>Tr.NamespaceMap,NamespacesService:()=>Tr.NamespacesService,NavigationContextService:()=>Tr.NavigationContextService,ObjectUtil:()=>Tr.ObjectUtil,OntoToastrService:()=>Tr.OntoToastrService,OpenidStorageService:()=>Tr.OpenidStorageService,ParentWindowMessageService:()=>Tr.ParentWindowMessageService,ProductInfoContextService:()=>Tr.ProductInfoContextService,REPOSITORY_ID_PARAM:()=>Tr.REPOSITORY_ID_PARAM,Rdf4jRepositoryService:()=>Tr.Rdf4jRepositoryService,RepositoryContextService:()=>Tr.RepositoryContextService,RepositoryStorageService:()=>Tr.RepositoryStorageService,RuntimeConfigurationContextService:()=>Tr.RuntimeConfigurationContextService,SavedQuery:()=>Tr.SavedQuery,SecurityContextService:()=>Tr.SecurityContextService,SecurityService:()=>Tr.SecurityService,ServiceProvider:()=>Tr.ServiceProvider,SparqlService:()=>Tr.SparqlService,SparqlStorageService:()=>Tr.SparqlStorageService,SubscriptionList:()=>Tr.SubscriptionList,ThemeService:()=>Tr.ThemeService,UrlPathParams:()=>Tr.UrlPathParams,WindowService:()=>Tr.WindowService,getBasePath:()=>Tr.getBasePath,getCurrentRoute:()=>Tr.getCurrentRoute,isLoginPage:()=>Tr.isLoginPage,navigateTo:()=>Tr.navigateTo,openInNewTab:()=>Tr.openInNewTab,service:()=>Tr.service}),r)},6868(t,e,n){n.d(e,{B3:()=>v,MD:()=>S,OI:()=>h,Sq:()=>f,T3:()=>w,YU:()=>d,bT:()=>m,fw:()=>l});var r=n(6860),o=n(6268),i=n(6817),s=(n(5697),n(5487)),a=n(83);let l=(()=>{class t extends s.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,e){super(),this._platformLocation=t,null!=e&&(this._baseHref=e)}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}path(t=!1){const e=this._platformLocation.hash??"#";return e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=(0,s.om)(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){const o=this.prepareExternalUrl(n+(0,s.Q)(r))||this._platformLocation.pathname;this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,r){const o=this.prepareExternalUrl(n+(0,s.Q)(r))||this._platformLocation.pathname;this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static ɵfac=function(e){return new(e||t)(i.KVO(a.Vw),i.KVO(s.kB,8))};static ɵprov=i.jDH({token:t,factory:t.ɵfac})}return t})();const c=/\s+/,u=[];let d=(()=>{class t{_ngEl;_renderer;initialClasses=u;rawClass;stateMap=new Map;constructor(t,e){this._ngEl=t,this._renderer=e}set klass(t){this.initialClasses=null!=t?t.trim().split(c):u}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(c):t}ngDoCheck(){for(const t of this.initialClasses)this._updateState(t,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const e of t)this._updateState(e,!0);else if(null!=t)for(const e of Object.keys(t))this._updateState(e,!!t[e]);this._applyStateDiff()}_updateState(t,e){const n=this.stateMap.get(t);void 0!==n?(n.enabled!==e&&(n.changed=!0,n.enabled=e),n.touched=!0):this.stateMap.set(t,{enabled:e,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const e=t[0],n=t[1];n.changed?(this._toggleClass(e,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(e,!1),this.stateMap.delete(e)),n.touched=!1}}_toggleClass(t,e){(t=t.trim()).length>0&&t.split(c).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}static ɵfac=function(e){return new(e||t)(o.rXU(o.aKT),o.rXU(o.sFG))};static ɵdir=o.FsC({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),h=(()=>{class t{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return void 0!==t.ngComponentOutletNgModule}_needToReCreateComponentInstance(t){return void 0!==t.ngComponentOutlet||void 0!==t.ngComponentOutletContent||void 0!==t.ngComponentOutletInjector||void 0!==t.ngComponentOutletEnvironmentInjector||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,o.w6W)(this.ngComponentOutletNgModule,function(t){return t.get(o.Ab1).injector}(e)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:e,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(const[e,n]of this._inputsUsed)n?(t.setInput(e,this.ngComponentOutletInputs[e]),this._inputsUsed.set(e,!1)):(t.setInput(e,void 0),this._inputsUsed.delete(e))}static ɵfac=function(e){return new(e||t)(o.rXU(o.c1b))};static ɵdir=o.FsC({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[o.OA$]})}return t})();class p{$implicit;ngForOf;index;count;constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let f=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=this._viewContainer;t.forEachOperation((t,n,r)=>{if(null==t.previousIndex)e.createEmbeddedView(this._template,new p(t.item,this._ngForOf,-1,-1),null===r?void 0:r);else if(null==r)e.remove(null===n?void 0:n);else if(null!==n){const o=e.get(n);e.move(o,r),g(o,t)}});for(let t=0,n=e.length;t<n;t++){const r=e.get(t).context;r.index=t,r.count=n,r.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{g(e.get(t.currentIndex),t)})}static ngTemplateContextGuard(t,e){return!0}static ɵfac=function(e){return new(e||t)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(r._q3))};static ɵdir=o.FsC({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function g(t,e){t.context.$implicit=e.item}let m=(()=>{class t{_viewContainer;_context=new y;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,e){this._viewContainer=t,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){b(t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){b(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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,e){return!0}static ɵfac=function(e){return new(e||t)(o.rXU(o.c1b),o.rXU(o.C4Q))};static ɵdir=o.FsC({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})();class y{$implicit=null;ngIf=null}function b(t,e){if(t&&!t.createEmbeddedView)throw new i.buA(2020,!1)}let v=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split("."),i=-1===n.indexOf("-")?void 0:o.czy.DashCase;null!=e?this._renderer.setStyle(this._ngEl.nativeElement,n,r?`${e}${r}`:e,i):this._renderer.removeStyle(this._ngEl.nativeElement,n,i)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}static ɵfac=function(e){return new(e||t)(o.rXU(o.aKT),o.rXU(r.MKu),o.rXU(o.sFG))};static ɵdir=o.FsC({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),w=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=(0,i.WQX)(i.zZn);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const e=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,e,{injector:this._getInjector()})}}_getInjector(){return"outlet"===this.ngTemplateOutletInjector?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,e,n)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,e,n),get:(t,e,n)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,e,n)}})}static ɵfac=function(e){return new(e||t)(o.rXU(o.c1b))};static ɵdir=o.FsC({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[o.OA$]})}return t})(),S=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=o.$C({type:t});static ɵinj=i.G2t({})}return t})()},5487(t,e,n){n.d(e,{Q:()=>l,Sm:()=>d,aZ:()=>h,hb:()=>c,kB:()=>u,om:()=>s});var r=n(6817),o=n(8447),i=n(83);function s(t,e){return t?e?t.endsWith("/")?e.startsWith("/")?t+e.slice(1):t+e:e.startsWith("/")?t+e:`${t}/${e}`:t:e}function a(t){const e=t.search(/#|\?|$/);return"/"===t[e-1]?t.slice(0,e-1)+t.slice(e):t}function l(t){return t&&"?"!==t[0]?`?${t}`:t}let c=(()=>{class t{historyGo(t){throw new Error("")}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:()=>(0,r.WQX)(d),providedIn:"root"})}return t})();const u=new r.nKC("");let d=(()=>{class t extends c{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,e){super(),this._platformLocation=t,this._baseHref=e??this._platformLocation.getBaseHrefFromDOM()??(0,r.WQX)(r.qQL).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 s(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+l(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const o=this.prepareExternalUrl(n+l(r));this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,r){const o=this.prepareExternalUrl(n+l(r));this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static ɵfac=function(e){return new(e||t)(r.KVO(i.Vw),r.KVO(u,8))};static ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),h=(()=>{class t{_subject=new o.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;const e=this._locationStrategy.getBaseHref();this._basePath=function(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(a(p(e))),this._locationStrategy.onPopState(t=>{this._subject.next({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+l(e))}normalize(e){return t.stripTrailingSlash(function(t,e){if(!t||!e.startsWith(t))return e;const n=e.substring(t.length);return""===n||["/",";","?","#"].includes(n[0])?n:e}(this._basePath,p(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._locationStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+l(e)),n)}replaceState(t,e="",n=null){this._locationStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+l(e)),n)}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.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{const e=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(e,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e??void 0,complete:n??void 0})}static normalizeQueryParams=l;static joinWithSlash=s;static stripTrailingSlash=a;static ɵfac=function(e){return new(e||t)(r.KVO(c))};static ɵprov=r.jDH({token:t,factory:()=>new h((0,r.KVO)(c)),providedIn:"root"})}return t})();function p(t){return t.replace(/\/index.html$/,"")}},83(t,e,n){n.d(e,{Vw:()=>l,hj:()=>c,ig:()=>s,qj:()=>a,rb:()=>i,tl:()=>u});var r=n(6817);let o=null;function i(){return o}function s(t){o??=t}class a{}let l=(()=>{class t{historyGo(t){throw new Error("")}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:()=>(0,r.WQX)(u),providedIn:"platform"})}return t})();const c=new r.nKC("");let u=(()=>{class t extends l{_location;_history;_doc=(0,r.WQX)(r.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(t){const e=i().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=i().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.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,e,n){this._history.pushState(t,e,n)}replaceState(t,e,n){this._history.replaceState(t,e,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:()=>new t,providedIn:"platform"})}return t})()},4460(t,e,n){n.d(e,{AJ:()=>s,UE:()=>a,Vy:()=>l,Xr:()=>c,kt:()=>g}),n(467);var r=n(6268),o=n(6817),i=n(6860);const s="browser";function a(t){return t===s}function l(t){return"server"===t}let c=(()=>{class t{static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>new u((0,o.WQX)(o.qQL),window)})}return t})();class u{document;window;offset=()=>[0,0];constructor(t,e){this.document=t,this.window=e}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,e){this.window.scrollTo({...e,left:t[0],top:t[1]})}scrollToAnchor(t,e){const n=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const t=r.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n,e),n.focus({preventScroll:!0}))}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn((0,o.OsK)(2400,!1))}}scrollToElement(t,e){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo({...e,left:r-i[0],top:o-i[1]})}}const d=t=>t.src,h=new o.nKC("",{factory:()=>d}),p=/^((\s*\d+w\s*(,|$)){1,})$/,f=[1,2];let g=(()=>{class t{imageLoader=(0,o.WQX)(h);config=function(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((t,e)=>t-e)),Object.assign({},r.mY,t,e)}((0,o.WQX)(r.VeQ));renderer=(0,o.WQX)(r.sFG);imgElement=(0,o.WQX)(r.aKT).nativeElement;injector=(0,o.WQX)(o.zZn);destroyRef=(0,o.WQX)(o.abz);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,"loading")})}ngOnInit(){(0,r._jY)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true"),this.updateSrcAndSrcset(),this.sizes?"lazy"===this.getLoadingBehavior()?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&p.test(this.ngSrcset)&&"lazy"===this.getLoadingBehavior()&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){t.ngSrc&&!t.ngSrc.isFirstChange()&&this.updateSrcAndSrcset(!0)}getAspectRatio(){return this.width&&this.height&&0!==this.height?this.width/this.height:null}callImageLoader(t){let e=t;this.loaderParams&&(e.loaderParams=this.loaderParams);const n=this.getAspectRatio();return null!==n&&e.width&&(e.height=Math.round(e.width/n)),this.imageLoader(e)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const t=p.test(this.ngSrcset);return this.ngSrcset.split(",").filter(t=>""!==t).map(e=>{e=e.trim();const n=t?parseFloat(e):parseFloat(e)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:n})} ${e}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:t}=this.config;let e=t;return"100vw"===this.sizes?.trim()&&(e=t.filter(t=>t>=640)),e.map(t=>`${this.callImageLoader({src:this.ngSrc,width:t})} ${t}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);const e=this.getRewrittenSrc();let n;return this.setHostAttribute("src",e),this.ngSrcset?n=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(n=this.getAutomaticSrcset()),n&&this.setHostAttribute("srcset",n),n}getFixedSrcset(){return f.map(t=>`${this.callImageLoader({src:this.ngSrc,width:this.width*t})} ${t}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==d&&!t}generatePlaceholder(t){const{placeholderResolution:e}=this.config;return!0===t?`url("${y(this.callImageLoader({src:this.ngSrc,width:e,isPlaceholder:!0}))}")`:"string"==typeof t?`url("${y(t)}")`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")||!!t.blur}removePlaceholderOnLoad(t){const e=()=>{const t=this.injector.get(i.gRc);n(),r(),this.placeholder=!1,t.markForCheck()},n=this.renderer.listen(t,"load",e),r=this.renderer.listen(t,"error",e);this.destroyRef.onDestroy(()=>{n(),r()}),function(t,e){t.complete&&t.naturalWidth&&e()}(t,e)}setHostAttribute(t,e){this.renderer.setAttribute(this.imgElement,t,e)}static ɵfac=function(e){return new(e||t)};static ɵdir=r.FsC({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(t,e){2&t&&r.xc7("position",e.fill?"absolute":null)("width",e.fill?"100%":null)("height",e.fill?"100%":null)("inset",e.fill?"0":null)("background-size",e.placeholder?"cover":null)("background-position",e.placeholder?"50% 50%":null)("background-repeat",e.placeholder?"no-repeat":null)("background-image",e.placeholder?e.generatePlaceholder(e.placeholder):null)("filter",e.placeholder&&e.shouldBlurPlaceholder(e.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",m],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",i.Udg],height:[2,"height","height",i.Udg],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",i.L39],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",i.L39],fill:[2,"fill","fill",i.L39],placeholder:[2,"placeholder","placeholder",b],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[r.OA$]})}return t})();function m(t){return"string"==typeof t?t:(0,r.aCM)(t)}function y(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function b(t){return"string"==typeof t&&"true"!==t&&"false"!==t&&""!==t?t:(0,i.L39)(t)}},6268(t,e,n){n.d(e,{$C:()=>za,$Ln:()=>Ql,$o8:()=>ie,AVh:()=>Wd,Ab1:()=>Ia,Aen:()=>Gd,Agw:()=>ae,Avn:()=>du,B4B:()=>Nn,BIS:()=>ce,BMQ:()=>Lc,C4Q:()=>Si,C5r:()=>Jh,C6U:()=>_d,C7A:()=>Vl,Co$:()=>Pa,CsU:()=>Gl,DH7:()=>kh,DNE:()=>ll,DUP:()=>qr,DkB:()=>wu,EBC:()=>Un,EFF:()=>lh,EJ8:()=>Ua,Ef8:()=>H,FsC:()=>Va,FuF:()=>va,GBs:()=>wd,H1s:()=>nc,HbH:()=>Qd,Hgh:()=>nu,Hps:()=>Ul,JRh:()=>vh,Jt5:()=>mu,Jv_:()=>Mh,KED:()=>op,Lme:()=>Sh,NAR:()=>yd,NCX:()=>wi,NOj:()=>qn,NSC:()=>bu,NYb:()=>Xl,NyB:()=>xd,OA$:()=>R,OR8:()=>es,Ocv:()=>fp,Ol2:()=>Ma,PLl:()=>se,PYt:()=>Oa,QR4:()=>Dc,QTQ:()=>hs,Ql9:()=>cp,R50:()=>_h,R7$:()=>pr,RV6:()=>uu,SdG:()=>bd,SpI:()=>wh,TFI:()=>lc,UQu:()=>ap,VBU:()=>Fa,VeQ:()=>de,Vt3:()=>tl,VwU:()=>pd,VzW:()=>Ra,XpG:()=>gd,Y8G:()=>Qc,YEm:()=>ne,Zhj:()=>_a,_9s:()=>Yi,_9u:()=>ee,_jY:()=>Yr,_qm:()=>jt,_ys:()=>eo,a8H:()=>Zr,aCM:()=>Ge,aKT:()=>zt,bH1:()=>Na,bIt:()=>hd,bMT:()=>Xh,bVm:()=>iu,bc$:()=>le,c1b:()=>qs,cDI:()=>Bl,cdK:()=>Jl,cf$:()=>Kr,czy:()=>yr,d80:()=>up,dOL:()=>ql,dfE:()=>Gn,e6s:()=>xu,eHC:()=>Us,eq3:()=>zh,eu8:()=>su,eux:()=>eu,gXe:()=>Me,hnC:()=>ba,i5U:()=>Yh,iLQ:()=>rc,j41:()=>Xc,jOp:()=>Oc,k0s:()=>Kc,kBR:()=>gu,kS0:()=>It,lJ4:()=>$h,lJT:()=>sc,l_i:()=>Hh,lsd:()=>Cd,mGM:()=>Sd,mNQ:()=>Eh,mS5:()=>V,mU9:()=>ya,mY:()=>ue,mal:()=>no,mxI:()=>xh,n$t:()=>$n,nI1:()=>Zh,nI4:()=>oo,nM4:()=>Qa,nVh:()=>zc,npT:()=>Pn,nrm:()=>Jc,o8S:()=>ac,ozJ:()=>ks,phd:()=>ec,pl0:()=>oc,qBF:()=>pe,qex:()=>ou,rXU:()=>ds,rj2:()=>tu,rpG:()=>hp,sFG:()=>Ki,sMw:()=>Bh,sZ2:()=>re,sdS:()=>Td,sgu:()=>xa,tvf:()=>me,uiO:()=>S,utN:()=>xs,vDg:()=>Ts,vxM:()=>Bc,vzT:()=>Pc,w6W:()=>La,wEZ:()=>kd,wni:()=>vd,xGo:()=>Tt,xc7:()=>Ud,xe9:()=>pp,yLl:()=>Kl,ypd:()=>ic,ziy:()=>to,zoo:()=>Jr});var r=n(467),o=n(6817),i=n(6499),s=n(8447),a=n(5710),l=n(7947);function c(t){return{toString:t}.toString()}const u="__annotations__",d="__parameters__",h="__prop__metadata__";function p(t,e,n,r,o){return c(()=>{const r=f(e);function i(...t){if(this instanceof i)return r.call(this,...t),this;const e=new i(...t);return function(n){return o&&o(n,...t),(n.hasOwnProperty(u)?n[u]:Object.defineProperty(n,u,{value:[]})[u]).push(e),n}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function f(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}function g(t,e,n){return c(()=>{const n=f(e);function r(...t){if(this instanceof r)return n.apply(this,t),this;const e=new r(...t);return o.annotation=e,o;function o(t,n,r){const o=t.hasOwnProperty(d)?t[d]:Object.defineProperty(t,d,{value:[]})[d];for(;o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(e),t}}return r.prototype.ngMetadataName=t,r.annotationCls=r,r})}const m=(0,o.z6V)(g("Inject",t=>({token:t})),-1),y=(0,o.z6V)(g("Optional"),8),b=(0,o.z6V)(g("Self"),2),v=(0,o.z6V)(g("SkipSelf"),4),w=(0,o.z6V)(g("Host"),1);function S(t){const e=o.laP.ng;if(e&&e.ɵcompilerFacade)return e.ɵcompilerFacade;throw new Error("JIT compiler unavailable")}const C={ɵɵdefineInjectable:o.jDH,ɵɵdefineInjector:o.G2t,ɵɵinject:o.KVO,ɵɵinvalidFactoryDep:o.dmw,resolveForwardRef:o.nl4},_=Function;function k(t){return"function"==typeof t}const x=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,T=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,E=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,A=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class I{_reflect;constructor(t){this._reflect=t||o.laP.Reflect}factory(t){return(...e)=>new t(...e)}_zipTypesAndAnnotations(t,e){let n;n=(0,o.WfI)(typeof t>"u"?e.length:t.length);for(let r=0;r<n.length;r++)n[r]=typeof t>"u"?[]:t[r]&&t[r]!=Object?[t[r]]:[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n}_ownParameters(t,e){if(n=t.toString(),x.test(n)||A.test(n)||T.test(n)&&!E.test(n))return null;var n;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;const r=t.ctorParameters;if(r&&r!==e.ctorParameters){const t="function"==typeof r?r():r,e=t.map(t=>t&&t.type),n=t.map(t=>t&&O(t.decorators));return this._zipTypesAndAnnotations(e,n)}const i=t.hasOwnProperty(d)&&t[d],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return s||i?this._zipTypesAndAnnotations(s,i):(0,o.WfI)(t.length)}parameters(t){if(!k(t))return[];const e=L(t);let n=this._ownParameters(t,e);return!n&&e!==Object&&(n=this.parameters(e)),n||[]}_ownAnnotations(t,e){if(t.annotations&&t.annotations!==e.annotations){let e=t.annotations;return"function"==typeof e&&e.annotations&&(e=e.annotations),e}return t.decorators&&t.decorators!==e.decorators?O(t.decorators):t.hasOwnProperty(u)?t[u]:null}annotations(t){if(!k(t))return[];const e=L(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)}_ownPropMetadata(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){let e=t.propMetadata;return"function"==typeof e&&e.propMetadata&&(e=e.propMetadata),e}if(t.propDecorators&&t.propDecorators!==e.propDecorators){const e=t.propDecorators,n={};return Object.keys(e).forEach(t=>{n[t]=O(e[t])}),n}return t.hasOwnProperty(h)?t[h]:null}propMetadata(t){if(!k(t))return{};const e=L(t),n={};if(e!==Object){const t=this.propMetadata(e);Object.keys(t).forEach(e=>{n[e]=t[e]})}const r=this._ownPropMetadata(t,e);return r&&Object.keys(r).forEach(t=>{const e=[];n.hasOwnProperty(t)&&e.push(...n[t]),e.push(...r[t]),n[t]=e}),n}ownPropMetadata(t){return k(t)&&this._ownPropMetadata(t,L(t))||{}}hasLifecycleHook(t,e){return t instanceof _&&e in t.prototype}}function O(t){return t?t.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function L(t){const e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}function D(t,e,n,r){null!==e?e.applyValueToInputSignal(e,r):t[n]=r}class P{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}const R=(()=>{const t=()=>N;return t.ngInherit=!0,t})();function N(t){return t.type.prototype.ngOnChanges&&(t.setInput=j),M}function M(){const t=$(this),e=t?.current;if(e){const n=t.previous;if(n===o.MZA)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function j(t,e,n,r,i){const s=this.declaredInputs[r],a=$(t)||function(t,e){return t[F]=e}(t,{previous:o.MZA,current:null}),l=a.current||(a.current={}),c=a.previous,u=c[s];l[s]=new P(u&&u.currentValue,n,c===o.MZA),D(t,e,i,n)}const F="__ngSimpleChanges__";function $(t){return t[F]||null}const z=[],H=function(t,e=null,n){for(let r=0;r<z.length;r++)(0,z[r])(t,e,n)};var B,V=((B=V||{})[B.TemplateCreateStart=0]="TemplateCreateStart",B[B.TemplateCreateEnd=1]="TemplateCreateEnd",B[B.TemplateUpdateStart=2]="TemplateUpdateStart",B[B.TemplateUpdateEnd=3]="TemplateUpdateEnd",B[B.LifecycleHookStart=4]="LifecycleHookStart",B[B.LifecycleHookEnd=5]="LifecycleHookEnd",B[B.OutputStart=6]="OutputStart",B[B.OutputEnd=7]="OutputEnd",B[B.BootstrapApplicationStart=8]="BootstrapApplicationStart",B[B.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",B[B.BootstrapComponentStart=10]="BootstrapComponentStart",B[B.BootstrapComponentEnd=11]="BootstrapComponentEnd",B[B.ChangeDetectionStart=12]="ChangeDetectionStart",B[B.ChangeDetectionEnd=13]="ChangeDetectionEnd",B[B.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",B[B.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",B[B.AfterRenderHooksStart=16]="AfterRenderHooksStart",B[B.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",B[B.ComponentStart=18]="ComponentStart",B[B.ComponentEnd=19]="ComponentEnd",B[B.DeferBlockStateStart=20]="DeferBlockStateStart",B[B.DeferBlockStateEnd=21]="DeferBlockStateEnd",B[B.DynamicComponentStart=22]="DynamicComponentStart",B[B.DynamicComponentEnd=23]="DynamicComponentEnd",B[B.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",B[B.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",B);function U(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:i,ngAfterViewChecked:s,ngOnDestroy:a}=e;r&&(t.contentHooks??=[]).push(-n,r),o&&((t.contentHooks??=[]).push(n,o),(t.contentCheckHooks??=[]).push(n,o)),i&&(t.viewHooks??=[]).push(-n,i),s&&((t.viewHooks??=[]).push(n,s),(t.viewCheckHooks??=[]).push(n,s)),null!=a&&(t.destroyHooks??=[]).push(n,a)}}function W(t,e,n){Q(t,e,3,n)}function G(t,e,n,r){(3&t[o.Wg1])===n&&Q(t,e,n,r)}function q(t,e){let n=t[o.Wg1];(3&n)===e&&(n&=16383,n+=1,t[o.Wg1]=n)}function Q(t,e,n,r){const i=r??-1,s=e.length-1;let a=0;for(let l=void 0!==r?65535&t[o.wVl]:0;l<s;l++)if("number"==typeof e[l+1]){if(a=e[l],null!=r&&a>=r)break}else e[l]<0&&(t[o.wVl]+=65536),(a<i||-1==i)&&(X(t,n,e,l),t[o.wVl]=(4294901760&t[o.wVl])+l+2),l++}function Z(t,e){H(V.LifecycleHookStart,t,e);const n=(0,i.Ht)(null);try{e.call(t)}finally{(0,i.Ht)(n),H(V.LifecycleHookEnd,t,e)}}function X(t,e,n,r){const i=n[r]<0,s=n[r+1],a=t[i?-n[r]:n[r]];i?t[o.Wg1]>>14<t[o.wVl]>>16&&(3&t[o.Wg1])===e&&(t[o.Wg1]+=16384,Z(a,s)):Z(a,s)}class Y{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n,r){this.factory=t,this.name=r,this.canSeeViewProviders=e,this.injectImpl=n}}function K(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function J(t){return 3===t||4===t||6===t}function tt(t){return 64===t.charCodeAt(0)}function et(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?n=o:0===n||nt(t,n,o,0,-1===n||2===n?e[++r]:null)}}return t}function nt(t,e,n,r,o){let i=0,s=t.length;if(-1===e)s=-1;else for(;i<t.length;){const n=t[i++];if("number"==typeof n){if(n===e){s=-1;break}if(n>e){s=i-1;break}}}for(;i<t.length;){const e=t[i];if("number"==typeof e)break;if(e===n)return void(null!==o&&(t[i+1]=o));i++,null!==o&&i++}-1!==s&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,n),null!==o&&t.splice(i++,0,o)}function rt(t){return-1!==t}function ot(t){return 32767&t}function it(t,e){let n=function(t){return t>>16}(t),r=e;for(;n>0;)r=r[o.X5O],n--;return r}let st=!0;function at(t){const e=st;return st=t,e}let lt=0;const ct={};function ut(t,e){const n=ht(t,e);if(-1!==n)return n;const r=e[o.eDl];r.firstCreatePass&&(t.injectorIndex=e.length,dt(r.data,t),dt(e,null),dt(r.blueprint,null));const i=pt(t,e),s=t.injectorIndex;if(rt(i)){const t=ot(i),n=it(i,e),r=n[o.eDl].data;for(let o=0;o<8;o++)e[s+o]=n[t+o]|r[t+o]}return e[s+8]=i,s}function dt(t,e){t.push(0,0,0,0,0,0,0,0,e)}function ht(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function pt(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){if(r=At(i),null===r)return-1;if(n++,i=i[o.X5O],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ft(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(o.p9y)&&(r=n[o.p9y]),null==r&&(r=n[o.p9y]=lt++);const i=255&r;e.data[t+(i>>5)]|=1<<i}(t,e,n)}function gt(t,e,n){if(8&n||void 0!==t)return t;(0,o.$Hz)(e,"NodeInjector")}function mt(t,e,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const i=t[o.YEL],s=(0,o.a2B)(void 0);try{return i?i.get(e,r,8&n):(0,o.MzJ)(e,r,8&n)}finally{(0,o.a2B)(s)}}return gt(r,e,n)}function yt(t,e,n,r=0,i){if(null!==t){if(2048&e[o.Wg1]&&!(2&r)){const i=function(t,e,n,r,i){let s=t,a=e;for(;null!==s&&null!==a&&2048&a[o.Wg1]&&!(0,o.EFk)(a);){const t=bt(s,a,n,2|r,ct);if(t!==ct)return t;let e=s.parent;if(!e){const t=a[o.oMQ];if(t){const e=t.get(n,ct,-5&r);if(e!==ct)return e}e=At(a),a=a[o.X5O]}s=e}return i}(t,e,n,r,ct);if(i!==ct)return i}const i=bt(t,e,n,r,ct);if(i!==ct)return i}return mt(e,n,r,i)}function bt(t,e,n,r,i){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(o.p9y)?t[o.p9y]:void 0;return"number"==typeof e?e>=0?255&e:xt:e}(n);if("function"==typeof s){if(!(0,o.ihb)(e,t,r))return 1&r?gt(i,n,r):mt(e,n,r,i);try{let t;if(t=s(r),null!=t||8&r)return t;(0,o.$Hz)(n)}finally{(0,o.niQ)()}}else if("number"==typeof s){let i=null,a=ht(t,e),l=-1,c=1&r?e[o.b5C][o.qlT]:null;for((-1===a||4&r)&&(l=-1===a?pt(t,e):e[a+8],-1!==l&&_t(r,!1)?(i=e[o.eDl],a=ot(l),e=it(l,e)):a=-1);-1!==a;){const t=e[o.eDl];if(Ct(s,a,t.data)){const t=vt(a,e,n,i,r,c);if(t!==ct)return t}l=e[a+8],-1!==l&&_t(r,e[o.eDl].data[a+8]===c)&&Ct(s,a,e)?(i=t,a=ot(l),e=it(l,e)):a=-1}}return i}function vt(t,e,n,r,i,s){const a=e[o.eDl],l=a.data[t+8],c=wt(l,a,n,null==r?(0,o.Qs1)(l)&&st:r!=a&&!!(3&l.type),1&i&&s===l);return null!==c?St(e,a,c,l,i):ct}function wt(t,e,n,r,i){const s=t.providerIndexes,a=e.data,l=1048575&s,c=t.directiveStart,u=s>>20,d=i?l+u:t.directiveEnd;for(let t=r?l:l+u;t<d;t++){const e=a[t];if(t<c&&n===e||t>=c&&e.type===n)return t}if(i){const t=a[c];if(t&&(0,o.JlV)(t)&&t.type===n)return c}return null}function St(t,e,n,r,i){let s=t[n];const a=e.data;if(s instanceof Y){const l=s;if(l.resolving)throw(0,o.PQT)("");const c=at(l.canSeeViewProviders);l.resolving=!0;const u=l.injectImpl?(0,o.a2B)(l.injectImpl):null;(0,o.ihb)(t,r,0);try{s=t[n]=l.factory(void 0,i,a,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){const r=N(e);(n.preOrderHooks??=[]).push(t,r),(n.preOrderCheckHooks??=[]).push(t,r)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}(n,a[n],e)}finally{null!==u&&(0,o.a2B)(u),at(c),l.resolving=!1,(0,o.niQ)()}}return s}function Ct(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function _t(t,e){return!(2&t||1&t&&e)}class kt{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return yt(this._tNode,this._lView,t,(0,o.hjC)(n),e)}}function xt(){return new kt((0,o.Mx4)(),(0,o.OAn)())}function Tt(t){return c(()=>{const e=t.prototype.constructor,n=e[o.zSs]||Et(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[o.zSs]||Et(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}function Et(t){return(0,o.Jzi)(t)?()=>{const e=Et((0,o.nl4)(t));return e&&e()}:(0,o.wGu)(t)}function At(t){const e=t[o.eDl],n=e.type;return 2===n?e.declTNode:1===n?t[o.qlT]:null}function It(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const o=n[r];if(J(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(o===e)return n[r+1];r+=2}}}return null}((0,o.Mx4)(),t)}const Ot=g("Attribute",t=>({attributeName:t,__NG_ELEMENT_ID__:()=>It(t)}));let Lt=null;function Dt(t){return Pt((Lt=Lt||new I).parameters(t))}function Pt(t){return t.map(t=>function(t){const e={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let n=0;n<t.length;n++){const r=t[n];if(void 0===r)continue;const i=Object.getPrototypeOf(r);if(r instanceof y||"Optional"===i.ngMetadataName)e.optional=!0;else if(r instanceof v||"SkipSelf"===i.ngMetadataName)e.skipSelf=!0;else if(r instanceof b||"Self"===i.ngMetadataName)e.self=!0;else if(r instanceof w||"Host"===i.ngMetadataName)e.host=!0;else if(r instanceof m)e.token=r.token;else if(r instanceof Ot){if(void 0===r.attributeName)throw new o.buA(-204,!1);e.attribute=r.attributeName}else e.token=r}else e.token=void 0===t||Array.isArray(t)&&0===t.length?null:t;return e}(t))}const Rt=(0,o.kLh)({provide:String,useValue:o.kLh});function Nt(t){return void 0!==t.useClass}function Mt(t){return void 0!==t.useFactory}const jt=p("Injectable",void 0,void 0,0,(t,e)=>function(t,e){let n=null,r=null;t.hasOwnProperty(o.yAH)||Object.defineProperty(t,o.yAH,{get:()=>(null===n&&(n=S().compileInjectable(C,`ng:///${t.name}/ɵprov.js`,function(t,e){const n=e||{providedIn:null},r={name:t.name,type:t,typeArgumentCount:0,providedIn:n.providedIn};return(Nt(n)||Mt(n))&&void 0!==n.deps&&(r.deps=Pt(n.deps)),Nt(n)?r.useClass=n.useClass:function(t){return Rt in t}(n)?r.useValue=n.useValue:Mt(n)?r.useFactory=n.useFactory:function(t){return void 0!==t.useExisting}(n)&&(r.useExisting=n.useExisting),r}(t,e))),n)}),t.hasOwnProperty(o.zSs)||Object.defineProperty(t,o.zSs,{get:()=>{if(null===r){const e=S();r=e.compileFactory(C,`ng:///${t.name}/ɵfac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:Dt(t),target:e.FactoryTarget.Injectable})}return r},configurable:!0})}(t,e));function Ft(){return $t((0,o.Mx4)(),(0,o.OAn)())}function $t(t,e){return new zt((0,o.d31)(t,e))}let zt=class{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=Ft};function Ht(t){return t instanceof zt?t.nativeElement:t}function Bt(){return this._results[Symbol.iterator]()}class Vt{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new s.B}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const n=(0,o.Bqz)(t);(this._changesDetected=!(0,o.ng7)(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Bt}function Ut(t){return!(128&~t.flags)}var Wt=function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t}(Wt||{});const Gt=new Map;let qt=0;function Qt(t){Gt.delete(t[o.ID])}const Zt="__ngContext__";function Xt(t,e){(0,o.q$2)(e)?(t[Zt]=e[o.ID],function(t){Gt.set(t[o.ID],t)}(e)):t[Zt]=e}function Yt(t){return Jt(t[o.EJG])}function Kt(t){return Jt(t[o.K29])}function Jt(t){for(;null!==t&&!(0,o.A0l)(t);)t=t[o.K29];return t}let te;function ee(t){te=t}function ne(){if(void 0!==te)return te;if(typeof document<"u")return document;throw new o.buA(210,!1)}const re=new o.nKC("",{factory:()=>oe}),oe="ng",ie={provide:o.Z63,multi:!0,useValue:()=>{const t=(0,o.WQX)(re);if(!/^[a-zA-Z0-9\-_]+$/.test(t))throw new o.buA(211,`APP_ID value "${t}" is not alphanumeric. The APP_ID must be a string of alphanumeric characters. (a-zA-Z0-9), hyphens (-) and underscores (_) are allowed.`)}},se=new o.nKC(""),ae=new o.nKC("",{providedIn:"platform",factory:()=>"unknown"}),le=new o.nKC(""),ce=new o.nKC("",{factory:()=>(0,o.WQX)(o.qQL).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ue={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},de=new o.nKC("",{factory:()=>ue});let he=(()=>{class t{static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>{const e=new t;return e.store=function(t,e){const n=t.getElementById(e+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return{}}((0,o.WQX)(o.qQL),(0,o.WQX)(re)),e}});store={};onSerializeCallbacks={};get(t,e){return void 0!==this.store[t]?this.store[t]:e}set(t,e){this.store[t]=e}remove(t){delete this.store[t]}hasKey(t){return this.store.hasOwnProperty(t)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(t,e){this.onSerializeCallbacks[t]=e}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}return t})();const pe=new o.nKC(""),fe=new o.nKC("",{factory:()=>!1}),ge=new o.nKC(""),me=new o.nKC(""),ye={passive:!0,capture:!0},be=new WeakMap,ve=new WeakMap,we=new WeakMap,Se=["click","keydown"],Ce=["mouseenter","mouseover","focusin"],_e=new Map;class ke{callbacks=new Set;listener=()=>{for(const t of this.callbacks)t()}}function xe(t,e){let n=ve.get(t);if(!n){n=new ke,ve.set(t,n);for(const e of Se)t.addEventListener(e,n.listener,ye)}return n.callbacks.add(e),()=>{const{callbacks:r,listener:o}=n;if(r.delete(e),0===r.size){ve.delete(t);for(const e of Se)t.removeEventListener(e,o,ye)}}}function Te(t,e){let n=be.get(t);if(!n){n=new ke,be.set(t,n);for(const e of Ce)t.addEventListener(e,n.listener,ye)}return n.callbacks.add(e),()=>{const{callbacks:r,listener:o}=n;if(r.delete(e),0===r.size){for(const e of Ce)t.removeEventListener(e,o,ye);be.delete(t)}}}function Ee(t){return t?`${t.rootMargin}/${"number"==typeof t.threshold?t.threshold:t.threshold?.join("\n")}`:""}const Ae=new WeakMap,Ie=new o.nKC("");function Oe(t){return!(32&~t.flags)}function Le(t){let e=t._lView;return 2===e[o.eDl].type?null:((0,o.EFk)(e)&&(e=e[o.Yw1]),e)}function De(t){return t.get(ge,!1,{optional:!0})}function Pe(t,e){const n=t.contentQueries;if(null!==n){const r=(0,i.Ht)(null);try{for(let r=0;r<n.length;r+=2){const i=n[r+1];if(-1!==i){const s=t.data[i];(0,o.GA0)(n[r]),s.contentQueries(2,e[i],i)}}}finally{(0,i.Ht)(r)}}}function Re(t,e,n){(0,o.GA0)(0);const r=(0,i.Ht)(null);try{e(t,n)}finally{(0,i.Ht)(r)}}function Ne(t,e,n){if((0,o.srX)(e)){const r=(0,i.Ht)(null);try{const r=e.directiveEnd;for(let o=e.directiveStart;o<r;o++){const e=t.data[o];e.contentQueries&&e.contentQueries(1,n[o],o)}}finally{(0,i.Ht)(r)}}}var Me=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t}(Me||{});let je,Fe;function $e(){if(void 0===je&&(je=null,o.laP.trustedTypes))try{je=o.laP.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return je}function ze(t){return $e()?.createHTML(t)||t}function He(){if(void 0===Fe&&(Fe=null,o.laP.trustedTypes))try{Fe=o.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Fe}function Be(t){return He()?.createHTML(t)||t}function Ve(t){return He()?.createScript(t)||t}function Ue(t){return He()?.createScriptURL(t)||t}class We{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${o.ok8})`}}function Ge(t){return t instanceof We?t.changingThisBreaksApplicationSecurity:t}function qe(t,e){const n=function(t){return t instanceof We&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${o.ok8})`)}return n===e}function Qe(t){const e=new Xe(t);return function(){try{return!!(new window.DOMParser).parseFromString(ze(""),"text/html")}catch{return!1}}()?new Ze(e):e}class Ze{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(ze(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}}class Xe{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=ze(t),e}}const Ye=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ke(t){return(t=String(t)).match(Ye)?t:"unsafe:"+t}function Je(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function tn(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const en=Je("area,br,col,hr,img,wbr"),nn=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rn=Je("rp,rt"),on=tn(en,tn(nn,Je("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")),tn(rn,Je("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")),tn(rn,nn)),sn=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),an=tn(sn,Je("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"),Je("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")),ln=Je("script,style,template");class cn{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let e=t.firstChild,n=!0,r=[];for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)r.push(e),e=dn(e);else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=un(e);if(t){e=t;break}e=r.pop()}return this.buf.join("")}startElement(t){const e=hn(t).toLowerCase();if(!on.hasOwnProperty(e))return this.sanitizedSomething=!0,!ln.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let t=0;t<n.length;t++){const e=n.item(t),r=e.name,o=r.toLowerCase();if(!an.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let i=e.value;sn[o]&&(i=Ke(i)),this.buf.push(" ",r,'="',mn(i),'"')}return this.buf.push(">"),!0}endElement(t){const e=hn(t).toLowerCase();on.hasOwnProperty(e)&&!en.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(mn(t))}}function un(t){const e=t.nextSibling;if(e&&t!==e.previousSibling)throw pn(e);return e}function dn(t){const e=t.firstChild;if(e&&function(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,e))throw pn(e);return e}function hn(t){const e=t.nodeName;return"string"==typeof e?e:"FORM"}function pn(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const fn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gn=/([^\#-~ |!])/g;function mn(t){return t.replace(/&/g,"&").replace(fn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(gn,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let yn;function bn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const vn=/^>|^->|<!--|-->|--!>|<!-$/g,wn=/(<|>)/g;function Sn(t,e){return t.createText(e)}function Cn(t,e,n){t.setValue(e,n)}function _n(t,e){return t.createComment(function(t){return t.replace(vn,t=>t.replace(wn,"$1"))}(e))}function kn(t,e,n){return t.createElement(e,n)}function xn(t,e,n,r,o){t.insertBefore(e,n,r,o)}function Tn(t,e,n){t.appendChild(e,n)}function En(t,e,n,r,o){null!==r?xn(t,e,n,r,o):Tn(t,e,n)}function An(t,e,n,r){t.removeChild(null,e,n,r)}function In(t,e,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&function(t,e,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];t.setAttribute(e,s,a,i)}else{const i=o,s=n[++r];tt(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),r++}}}(t,e,r),null!==o&&function(t,e,n){""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}(t,e,o),null!==i&&function(t,e,n){t.setAttribute(e,"style",n)}(t,e,i)}var On=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t}(On||{});let Ln;function Dn(t,e,n){for(const[r,o]of n){let n=e&&"*"!==r&&"unknown"!==r?`:${e}:${r}`:r;n=n.toLowerCase();for(const e of o)Ln[`${n}|${e.toLowerCase()}`]=t}}function Pn(t){const e=zn();return e?Be(e.sanitize(On.HTML,t)||""):qe(t,"HTML")?Be(Ge(t)):function(t,e){let n=null;try{yn=yn||Qe(t);let r=e?String(e):"";n=yn.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=yn.getInertBodyElement(r)}while(r!==i);return ze((new cn).sanitizeChildren(bn(n)||n))}finally{if(n){const t=bn(n)||n;for(;t.firstChild;)t.firstChild.remove()}}}(ne(),(0,o.eFE)(t))}function Rn(t){const e=zn();return e?e.sanitize(On.STYLE,t)||"":qe(t,"Style")?Ge(t):(0,o.eFE)(t)}function Nn(t){const e=zn();return e?e.sanitize(On.URL,t)||"":qe(t,"URL")?Ge(t):Ke((0,o.eFE)(t))}function Mn(t){const e=zn();if(e)return Ue(e.sanitize(On.RESOURCE_URL,t)||"");if(qe(t,"ResourceURL"))return Ue(Ge(t));throw new o.buA(904,!1)}function jn(t){const e=zn();if(e)return Ve(e.sanitize(On.SCRIPT,t)||"");if(qe(t,"Script"))return Ve(Ge(t));throw new o.buA(905,!1)}const Fn={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function $n(t,e,n){return function(t,e){return!0===Fn[t.toLowerCase()]?.[e.toLowerCase()]?Mn:Nn}(e,n)(t)}function zn(){const t=(0,o.OAn)();return t&&t[o.M0L].sanitizer}const Hn=new Set(["href","xlink:href"]),Bn={iframe:{sandbox:!0,allow:!0,allowfullscreen:!0,referrerpolicy:!0,csp:!0,fetchpriority:!0},":svg:animate":{attributename:!0,to:Hn,values:Hn,from:Hn},":svg:set":{attributename:!0,to:Hn},":svg:animatemotion":{attributename:!0},":svg:animatetransform":{attributename:!0}};function Vn(t,e,n){const r=e.toLowerCase(),i=n.toLowerCase(),s=-1===(0,o._px)()?null:(0,o.CpD)();if(s&&2!==s.type)return t;const a=":"!==r[0]&&s?.namespace?`:${s.namespace}:${r}`:r,l=Bn[a]?.[i];if(!l)return t;const c=(0,o.OAn)();if(s&&"iframe"===r&&function(t){const e=(0,o.OAn)();t.src="",t.srcdoc=ze(""),An(e[o.GpT],t)}((0,o.d31)(s,c)),":"===e[0]&&e.split(":").pop(),"boolean"!=typeof l){if(!s)throw new o.buA(-910,!1);const e=(0,o.d31)(s,c).getAttribute("attributeName");if(e&&l.has(e.toLowerCase()))throw new o.buA(-910,!1);return t}throw new o.buA(-910,!1)}function Un(t){return t.ownerDocument}function Wn(t){return t instanceof Function?t():t}function Gn(t){if(qn(t),!(0,o.xUg)(t).standalone)throw new o.buA(907,`The ${(0,o.PP7)(t)} component is not marked as standalone, but Angular expects to have a standalone component here. Please make sure the ${(0,o.PP7)(t)} component does not have the \`standalone: false\` flag in the decorator.`)}function qn(t){if(!(0,o.xUg)(t))throw new o.buA(906,`The ${(0,o.PP7)(t)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function Qn(t,e,n){let r=t.length;for(;;){const o=t.indexOf(e,n);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const n=e.length;if(o+n===r||t.charCodeAt(o+n)<=32)return o}n=o+1}}const Zn="ng-template";function Xn(t,e,n,r){let o=0;if(r){for(;o<e.length&&"string"==typeof e[o];o+=2)if("class"===e[o]&&-1!==Qn(e[o+1].toLowerCase(),n,0))return!0}else if(Yn(t))return!1;if(o=e.indexOf(1,o),o>-1){let t;for(;++o<e.length&&"string"==typeof(t=e[o]);)if(t.toLowerCase()===n)return!0}return!1}function Yn(t){return 4===t.type&&t.value!==Zn}function Kn(t,e,n){return e===(4!==t.type||n?t.value:Zn)}function Jn(t,e,n){let r=4;const o=t.attrs,i=null!==o?function(t){for(let e=0;e<t.length;e++)if(J(t[e]))return e;return t.length}(o):0;let s=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!Kn(t,l,n)||""===l&&1===e.length){if(tr(r))return!1;s=!0}}else if(8&r){if(null===o||!Xn(t,o,l,n)){if(tr(r))return!1;s=!0}}else{const c=e[++a],u=er(l,o,Yn(t),n);if(-1===u){if(tr(r))return!1;s=!0;continue}if(""!==c){let t;if(t=u>i?"":o[u+1].toLowerCase(),2&r&&c!==t){if(tr(r))return!1;s=!0}}}}else{if(!s&&!tr(r)&&!tr(l))return!1;if(s&&tr(l))continue;s=!1,r=l|1&r}}return tr(r)||s}function tr(t){return!(1&t)}function er(t,e,n,r){if(null===e)return-1;let o=0;if(r||!n){let n=!1;for(;o<e.length;){const r=e[o];if(r===t)return o;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++o];for(;"string"==typeof t;)t=e[++o];continue}if(4===r)break;if(0===r){o+=4;continue}}o+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function nr(t,e,n=!1){for(let r=0;r<e.length;r++)if(Jn(t,e[r],n))return!0;return!1}function rr(t,e){t:for(let n=0;n<e.length;n++){const r=e[n];if(t.length===r.length){for(let e=0;e<t.length;e++)if(t[e]!==r[e])continue t;return!0}}return!1}function or(t,e){return t?":not("+e.trim()+")":e}function ir(t){let e=t[0],n=1,r=2,o="",i=!1;for(;n<t.length;){let s=t[n];if("string"==typeof s)if(2&r){const e=t[++n];o+="["+s+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!tr(s)&&(e+=or(i,o),o=""),r=s,i=i||!tr(r);n++}return""!==o&&(e+=or(i,o)),e}const sr={};function ar(t,e,n,r,i,s,a,l,c,u,d){const h=o.Yw1+r,p=h+i,f=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:sr);return n}(h,p),g="function"==typeof u?u():u;return f[o.eDl]={type:t,blueprint:f,template:n,queries:null,viewQuery:l,declTNode:e,data:f.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:p,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 s?s():s,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:d}}function lr(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=ar(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function cr(t,e,n,r,i,s,a,l,c,u,d){const h=e.blueprint.slice();return h[o.jgP]=i,h[o.Wg1]=1228|r,(null!==u||t&&2048&t[o.Wg1])&&(h[o.Wg1]|=2048),(0,o.HUe)(h),h[o.f7T]=h[o.X5O]=t,h[o.SKP]=n,h[o.M0L]=a||t&&t[o.M0L],h[o.GpT]=l||t&&t[o.GpT],h[o.YEL]=c||t&&t[o.YEL]||null,h[o.qlT]=s,h[o.ID]=qt++,h[o.tcA]=d,h[o.oMQ]=u,h[o.b5C]=2==e.type?t[o.b5C]:h,h}function ur(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function dr(t,e,n,r){if(0===n)return-1;const o=e.length;for(let o=0;o<n;o++)e.push(r),t.blueprint.push(r),t.data.push(null);return o}function hr(t,e){return t[o.EJG]?t[o.Yrj][o.K29]=e:t[o.EJG]=e,t[o.Yrj]=e,e}function pr(t=1){fr((0,o.klJ)(),(0,o.OAn)(),(0,o._px)()+t,!1)}function fr(t,e,n,r){if(!r)if(3&~e[o.Wg1]){const r=t.preOrderHooks;null!==r&&G(e,r,0,n)}else{const r=t.preOrderCheckHooks;null!==r&&W(e,r,n)}(0,o.ypq)(n)}var gr=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(gr||{});function mr(t,e,n,r){const o=(0,i.Ht)(null);try{const[o,s,a]=t.inputs[n];let l=null;0!==(s&gr.SignalBased)&&(l=e[o][i.bh]),null!==l&&void 0!==l.transformFn?r=l.transformFn(r):null!==a&&(r=a.call(e,r)),null!==t.setInput?t.setInput(e,l,r,n,o):D(e,l,o,r)}finally{(0,i.Ht)(o)}}var yr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(yr||{});let br;function vr(t,e){return br(t,e)}const wr=new o.nKC("",{factory:()=>!1}),Sr=new o.nKC("",{factory:()=>Cr}),Cr=4e3,_r=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function kr(t){return t[o.YEL].get(wr,!1)}function xr(t){const e=Er.get(t);if(e){for(const t of e.cleanupFns)t();Er.delete(t)}Ar.delete(t)}const Tr=()=>{},Er=new WeakMap,Ar=new WeakMap,Ir=new WeakMap,Or=new WeakSet;function Lr(t,e){const n=Ir.get(t);if(n&&n.length>0){const t=n.findIndex(t=>t===e);t>-1&&n.splice(t,1)}0===n?.length&&Ir.delete(t)}function Dr(t,e){const n=Ir.get(t);n?n.includes(e)||n.push(e):Ir.set(t,[e])}function Pr(t){const e=t[o.Isx]??={};return e.enter??=new Map}function Rr(t){const e=t[o.Isx]??={};return e.leave??=new Map}function Nr(t){const e="function"==typeof t?t():t;let n=Array.isArray(e)?e:null;return"string"==typeof e&&(n=e.trim().split(/\s+/).filter(t=>t)),n}function Mr(t){return t.composedPath?t.composedPath()[0]:t.target}function jr(t,e){const n=Ar.get(e);return void 0===n||e===Mr(t)&&(void 0!==n.animationName&&t.animationName===n.animationName||void 0!==n.propertyName&&("all"===n.propertyName||t.propertyName===n.propertyName))}function Fr(t,e,n){const r=t.get(e.index)??{animateFns:[]};r.animateFns.push(n),t.set(e.index,r)}function $r(t,e){if(t)for(const e of t)e();for(const t of e)t()}function zr(t,e){const n=Rr(t).get(e.index);n&&(n.resolvers=void 0)}function Hr(t,e,n,r,o){Lr(e,n),$r(r,o),zr(t,e)}function Br(t){if(!t)return 0;const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function Vr(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function Ur(t,e){return void 0!==t&&t.duration>e.duration}function Wr(t){return(null!=t.animationName||null!=t.propertyName)&&t.duration>0}function Gr(t,e,n){if(!n)return;const r=t.getAnimations();return 0===r.length?function(t,e){const n=getComputedStyle(t),r=function(t){const e=Vr(t,"animation-name"),n=Vr(t,"animation-delay"),r=Vr(t,"animation-duration"),o=Vr(t,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let t=0;t<e.length;t++){const s=Br(n[t])+Br(r[t]);s>i.duration&&"infinite"!==o[t]&&(i.animationName=e[t],i.duration=s)}return i}(n),o=function(t){const e=Vr(t,"transition-property"),n=Vr(t,"transition-duration"),r=Vr(t,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let t=0;t<e.length;t++){const i=Br(r[t])+Br(n[t]);i>o.duration&&(o.propertyName=e[t],o.duration=i)}return o}(n),i=r.duration>o.duration?r:o;Ur(e.get(t),i)||Wr(i)&&e.set(t,i)}(t,e):function(t,e,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(const t of n){const e=t.effect?.getTiming();if(e?.iterations===1/0)continue;const n="number"==typeof e?.duration?e.duration:0;let o=(e?.delay??0)+n;const i=t.playbackRate;let s,a;void 0!==i&&0!==i&&1!==i&&(o/=Math.abs(i)),t.animationName?a=t.animationName:s=t.transitionProperty,o>=r.duration&&(r={animationName:a,propertyName:s,duration:o})}Ur(e.get(t),r)||Wr(r)&&e.set(t,r)}(t,e,r)}const qr=new Set;var Qr=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Qr||{});const Zr=new o.nKC(""),Xr=new Set;function Yr(t){Xr.has(t)||(Xr.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}let Kr=(()=>{class t{impl=null;execute(){this.impl?.execute()}static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();const Jr=[0,1,2,3];let to=(()=>{class t{ngZone=(0,o.WQX)(o.SKi);scheduler=(0,o.WQX)(o.hk6);errorHandler=(0,o.WQX)(o.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,o.WQX)(Zr,{optional:!0})}execute(){const t=this.sequences.size>0;t&&H(V.AfterRenderHooksStart),this.executing=!0;for(const t of Jr)for(const e of this.sequences)if(!e.erroredOrDestroyed&&e.hooks[t])try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,e.hooks[t])(e.pipelinedValue),e.snapshot))}catch(t){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(t)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&H(V.AfterRenderHooksEnd)}register(t){const{view:e}=t;void 0!==e?((e[o.JEi]??=[]).push(t),(0,o.blu)(e),e[o.Wg1]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,e){return e?e.run(Qr.AFTER_NEXT_RENDER,t):t()}static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();class eo{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,e,n,r,o,i=null){this.impl=t,this.hooks=e,this.view=n,this.once=r,this.snapshot=i,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[o.JEi];t&&(this.view[o.JEi]=t.filter(t=>t!==this))}}function no(t,e){const n=e?.injector??(0,o.WQX)(o.zZn);return Yr("NgAfterNextRender"),ro(t,n,e,!0)}function ro(t,e,n,r){const i=e.get(Kr);i.impl??=e.get(to);const s=e.get(Zr,null,{optional:!0}),a=!0!==n?.manualCleanup?e.get(o.abz):null,l=e.get(o.r4V,null,{optional:!0}),c=new eo(i.impl,function(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t),l?.view,r,a,s?.snapshot(null));return i.impl.register(c),c}const oo={destroy(){}},io=new o.nKC("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:(0,o.WQX)(o.uvJ)})});function so(t,e,n){const r=t.get(io);if(Array.isArray(e))for(const t of e)r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);else r.queue.add(e),n?.detachedLeaveAnimationFns?.push(e);r.scheduler&&r.scheduler(t)}function ao(t){const e=t.get(io);e.isScheduled||(no(()=>{e.isScheduled=!1;for(let t of e.queue)t();e.queue.clear()},{injector:e.injector}),e.isScheduled=!0)}function lo(t){const e=t.get(io);e.scheduler=ao,e.scheduler(t)}function co(t,e){for(const[n,r]of e)so(t,r.animateFns)}function uo(t,e,n,r){const i=t?.[o.Isx]?.enter;null!==e&&i&&i.has(n.index)&&co(r,i)}function ho(t,e,n,r,i,s,a,l){if(null!=i){let c,u=!1;(0,o.A0l)(i)?c=i:(0,o.q$2)(i)&&(u=!0,i=i[o.jgP]);const d=(0,o.IvY)(i);0===t&&null!==r?(uo(l,r,s,n),null==a?Tn(e,r,d):xn(e,r,d,a||null,!0)):1===t&&null!==r?(uo(l,r,s,n),xn(e,r,d,a||null,!0),function(t,e){const n=Ir.get(t);if(!n||0===n.length)return;const r=e.parentNode,o=e.previousSibling;for(let t=n.length-1;t>=0;t--){const i=n[t],s=i.parentNode;i===e?(n.splice(t,1),Or.add(i),i.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&i===o||s&&r&&s!==r)&&(n.splice(t,1),i.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),i.parentNode?.removeChild(i))}}(s,d)):2===t?(l?.[o.Isx]?.leave?.has(s.index)&&Dr(s,d),Or.delete(d),bo(l,s,n,t=>{Or.has(d)?Or.delete(d):An(e,d,u,t)})):3===t&&(Or.delete(d),bo(l,s,n,()=>{e.destroyNode(d)})),null!=c&&function(t,e,n,r,i,s,a){const l=r[o.s6P];l!==(0,o.IvY)(r)&&ho(e,t,n,s,l,i,a);for(let n=o.Y20;n<r.length;n++){const i=r[n];Lo(i[o.eDl],i,t,e,s,l)}}(e,t,n,c,s,r,a)}}function po(t,e){fo(t,e),e[o.jgP]=null,e[o.qlT]=null}function fo(t,e){e[o.M0L].changeDetectionScheduler?.notify(9),Lo(t,e,e[o.GpT],2,null,null)}function go(t,e){const n=t[o.nfM],r=n.indexOf(e);n.splice(r,1)}function mo(t,e){if((0,o.EPY)(e))return;const n=e[o.GpT];n.destroyNode&&Lo(t,e,n,3,null,null),function(t){let e=t[o.EJG];if(!e)return yo(t[o.eDl],t);for(;e;){let n=null;if((0,o.q$2)(e))n=e[o.EJG];else{const t=e[o.Y20];t&&(n=t)}if(!n){for(;e&&!e[o.K29]&&e!==t;)(0,o.q$2)(e)&&yo(e[o.eDl],e),e=e[o.f7T];null===e&&(e=t),(0,o.q$2)(e)&&yo(e[o.eDl],e),n=e&&e[o.K29]}e=n}}(e)}function yo(t,e){if((0,o.EPY)(e))return;const n=(0,i.Ht)(null);try{e[o.Wg1]&=-129,e[o.Wg1]|=256,e[o.Iaj]&&(0,i.XR)(e[o.Iaj]),function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let t=0;t<n.length;t+=2){const r=e[n[t]];if(!(r instanceof Y)){const e=n[t+1];if(Array.isArray(e))for(let t=0;t<e.length;t+=2){const n=r[e[t]],o=e[t+1];H(V.LifecycleHookStart,n,o);try{o.call(n)}finally{H(V.LifecycleHookEnd,n,o)}}else{H(V.LifecycleHookStart,r,e);try{e.call(r)}finally{H(V.LifecycleHookEnd,r,e)}}}}}(t,e),function(t,e){const n=t.cleanup,r=e[o.VVG];if(null!==n)for(let t=0;t<n.length-1;t+=2)if("string"==typeof n[t]){const e=n[t+3];e>=0?r[e]():r[-e].unsubscribe(),t+=2}else n[t].call(r[n[t+1]]);null!==r&&(e[o.VVG]=null);const i=e[o.Czx];if(null!==i){e[o.Czx]=null;for(let t=0;t<i.length;t++)(0,i[t])()}const s=e[o.tQN];if(null!==s){e[o.tQN]=null;for(const t of s)t.destroy()}}(t,e),1===e[o.eDl].type&&e[o.GpT].destroy();const n=e[o.rQE];if(null!==n&&(0,o.A0l)(e[o.f7T])){n!==e[o.f7T]&&go(n,e);const r=e[o.Ds7];null!==r&&r.detachView(t)}Qt(e)}finally{(0,i.Ht)(n)}}function bo(t,e,n,r){const i=t?.[o.Isx];if(null==i||null==i.leave||!i.leave.has(e.index))return r(!1);t&&qr.add(t[o.ID]),so(n,()=>{if(i.leave&&i.leave.has(e.index)){const n=i.leave.get(e.index),s=[];if(n){for(let t=0;t<n.animateFns.length;t++){const e=n.animateFns[t],{promise:r}=e();s.push(r)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(s),function(t,e){const n=t[o.Isx]?.running;n?n.then(()=>{t[o.Isx].running=void 0,qr.delete(t[o.ID]),e(!0)}):e(!1)}(t,r)}else t&&qr.delete(t[o.ID]),r(!1)},i)}function vo(t,e,n){return wo(t,e.parent,n)}function wo(t,e,n){let r=e;for(;null!==r&&168&r.type;)r=(e=r).parent;if(null===r)return n[o.jgP];if((0,o.Qs1)(r)){const{encapsulation:e}=t.data[r.directiveStart+r.componentOffset];if(e===Me.None||e===Me.Emulated)return null}return(0,o.d31)(r,n)}function So(t,e,n){return ko(t,e,n)}function Co(t,e,n){return 40&t.type?(0,o.d31)(t,n):null}let _o,ko=Co;function xo(t,e){ko=t,_o=e}function To(t,e,n,r){const i=vo(t,r,e),s=e[o.GpT],a=So(r.parent||e[o.qlT],r,e);if(null!=i)if(Array.isArray(n))for(let t=0;t<n.length;t++)En(s,i,n[t],a,!1);else En(s,i,n,a,!1);void 0!==_o&&_o(s,r,e,n,i)}function Eo(t,e){if(null!==e){const n=e.type;if(3&n)return(0,o.d31)(e,t);if(4&n)return Io(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return Eo(t,n);{const n=t[e.index];return(0,o.A0l)(n)?Io(-1,n):(0,o.IvY)(n)}}if(128&n)return Eo(t,e.next);if(32&n)return vr(e,t)()||(0,o.IvY)(t[e.index]);{const n=Ao(t,e);return null!==n?Array.isArray(n)?n[0]:Eo((0,o._0$)(t[o.b5C]),n):Eo(t,e.next)}}return null}function Ao(t,e){return null!==e?t[o.b5C][o.qlT].projection[e.projection]:null}function Io(t,e){const n=o.Y20+t+1;if(n<e.length){const t=e[n],r=t[o.eDl].firstChild;if(null!==r)return Eo(t,r)}return e[o.s6P]}function Oo(t,e,n,r,i,s,a){for(;null!=n;){const l=r[o.YEL];if(128===n.type){n=n.next;continue}const c=r[n.index],u=n.type;if(a&&0===e&&(c&&Xt((0,o.IvY)(c),r),n.flags|=2),!Oe(n))if(8&u)Oo(t,e,n.child,r,i,s,!1),ho(e,t,l,i,c,n,s,r);else if(32&u){const o=vr(n,r);let a;for(;a=o();)ho(e,t,l,i,a,n,s,r);ho(e,t,l,i,c,n,s,r)}else 16&u?Do(t,e,r,n,i,s):ho(e,t,l,i,c,n,s,r);n=a?n.projectionNext:n.next}}function Lo(t,e,n,r,o,i){Oo(n,r,t.firstChild,e,o,i,!1)}function Do(t,e,n,r,i,s){const a=n[o.b5C],l=a[o.qlT].projection[r.projection];if(Array.isArray(l))for(let a=0;a<l.length;a++)ho(e,t,n[o.YEL],i,l[a],r,s,n);else{let n=l;const c=a[o.f7T];Ut(r)&&(n.flags|=128),Oo(t,e,n,c,i,s,!0)}}function Po(t,e,n,r,i){const s=(0,o._px)(),a=2&r;try{(0,o.ypq)(-1),a&&e.length>o.Yw1&&fr(t,e,o.Yw1,!1),H(a?V.TemplateUpdateStart:V.TemplateCreateStart,i,n),n(r,i)}finally{(0,o.ypq)(s),H(a?V.TemplateUpdateEnd:V.TemplateCreateEnd,i,n)}}function Ro(t,e,n){(function(t,e,n){const r=n.directiveStart,i=n.directiveEnd;(0,o.Qs1)(n)&&function(t,e,n){const r=(0,o.d31)(e,t),i=lr(n),s=t[o.M0L].rendererFactory,a=hr(t,cr(t,i,null,ur(n),r,e,null,s.createRenderer(r,n),null,null,null));t[e.index]=a}(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||ut(n,e);const s=n.initialInputs;for(let a=r;a<i;a++){const i=t.data[a],l=St(e,t,a,n);Xt(l,e),null!==s&&Bo(0,a-r,l,i,0,s),(0,o.JlV)(i)&&((0,o.KdJ)(n.index,e)[o.SKP]=St(e,t,a,n))}})(t,e,n),!(64&~n.flags)&&function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=(0,o.Z9v)();try{(0,o.ypq)(s);for(let n=r;n<i;n++){const r=t.data[n],i=e[n];(0,o.RZ9)(n),(null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs)&&$o(r,i)}}finally{(0,o.ypq)(-1),(0,o.RZ9)(a)}}(t,e,n)}function No(t,e,n=o.d31){const r=e.localNames;if(null!==r){let o=e.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(e,t):t[s];t[o++]=a}}}function Mo(t,e,n,r,i,s){qo(t,e[o.eDl],e,n,r)?(0,o.Qs1)(t)&&Fo(e,t.index):(3&t.type&&(n=function(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(n)),jo(t,e,n,r,i,s))}function jo(t,e,n,r,i,s){if(3&t.type){const a=(0,o.d31)(t,e);r=null!=s?s(r,t.value||"",n):r,i.setProperty(a,n,r)}}function Fo(t,e){const n=(0,o.KdJ)(e,t);16&n[o.Wg1]||(n[o.Wg1]|=64)}function $o(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function zo(t,e){const n=t.directiveRegistry;let r=null;if(n)for(let t=0;t<n.length;t++){const i=n[t];nr(e,i.selectors,!1)&&(r??=[],(0,o.JlV)(i)?r.unshift(i):r.push(i))}return r}function Ho(t,e,n,r,i,s,a){if(null==s)t.removeAttribute(e,i,n);else{const l=null==a?(0,o.eFE)(s):a(s,r||"",i);t.setAttribute(e,i,l,n)}}function Bo(t,e,n,r,o,i){const s=i[e];if(null!==s)for(let t=0;t<s.length;t+=2)mr(r,n,s[t],s[t+1])}function Vo(t,e,n,r,i){const s=o.Yw1+n,a=e[o.eDl],l=i(a,e,t,r,n);e[s]=l,(0,o.iMd)(t,!0);const c=2===t.type;return c?(In(e[o.GpT],l,t),(0===(0,o.znI)()||(0,o.yoD)(t))&&Xt(l,e),(0,o.Fje)()):Xt(l,e),(0,o.SX7)()&&(!c||!Oe(t))&&To(a,e,l,t),t}function Uo(t){let e=t;return(0,o.YWB)()?(0,o.Pfq)():(e=e.parent,(0,o.iMd)(e,!1)),e}function Wo(t,e,n){return(null===t||(0,o.JlV)(t))&&(n=(0,o.zAe)(n[e.index])),n[o.GpT]}function Go(t,e){const n=t[o.YEL];if(!n)return;let r;try{r=n.get(o.ZTf,null)}catch{r=null}r?.(e)}function qo(t,e,n,r,o){const i=t.inputs?.[r],s=t.hostDirectiveInputs?.[r];let a=!1;if(s)for(let t=0;t<s.length;t+=2){const r=s[t];mr(e.data[r],n[r],s[t+1],o),a=!0}if(i)for(const t of i)mr(e.data[t],n[t],r,o),a=!0;return a}function Qo(t,e){const n=(0,o.KdJ)(e,t),r=n[o.eDl];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),null!==n[o.jgP]&&null===n[o.tcA]&&(n[o.tcA]=null),H(V.ComponentStart);try{Zo(r,n,n[o.SKP])}finally{H(V.ComponentEnd,n[o.SKP])}}function Zo(t,e,n){(0,o.ID8)(e);try{const r=t.viewQuery;null!==r&&Re(1,r,n);const i=t.template;null!==i&&Po(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[o.Ds7]?.finishViewCreation(t),t.staticContentQueries&&Pe(t,e),t.staticViewQueries&&Re(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)Qo(t,e[n])}(e,s)}catch(e){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),e}finally{e[o.Wg1]&=-5,(0,o.bll)()}}function Xo(t,e,n,r){const s=(0,i.Ht)(null);try{const i=e.tView,s=cr(t,i,n,4096&t[o.Wg1]?4096:16,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);s[o.rQE]=t[e.index];const a=t[o.Ds7];return null!==a&&(s[o.Ds7]=a.createEmbeddedView(i)),Zo(i,s,n),s}finally{(0,i.Ht)(s)}}function Yo(t,e){return!e||null===e.firstChild||Ut(t)}function Ko(t,e,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const s=e[n.index];null!==s&&r.push((0,o.IvY)(s)),(0,o.A0l)(s)&&Jo(s,r);const a=n.type;if(8&a)Ko(t,e,n.child,r);else if(32&a){const t=vr(n,e);let o;for(;o=t();)r.push(o)}else if(16&a){const t=Ao(e,n);if(Array.isArray(t))r.push(...t);else{const n=(0,o._0$)(e[o.b5C]);Ko(n[o.eDl],n,t,r,!0)}}n=i?n.projectionNext:n.next}return r}function Jo(t,e){for(let n=o.Y20;n<t.length;n++){const r=t[n],i=r[o.eDl].firstChild;null!==i&&Ko(r[o.eDl],r,i,e)}t[o.s6P]!==t[o.jgP]&&e.push(t[o.s6P])}function ti(t){if(null!==t[o.JEi]){for(const e of t[o.JEi])e.impl.addSequence(e);t[o.JEi].length=0}}let ei=[];const ni={...i.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{(0,o.blu)(t.lView)},consumerOnSignalRead(){this.lView[o.Iaj]=this}},ri={...i.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=(0,o._0$)(t.lView);for(;e&&!oi(e[o.eDl]);)e=(0,o._0$)(e);e&&(0,o.HAh)(e)},consumerOnSignalRead(){this.lView[o.Iaj]=this}};function oi(t){return 2!==t.type}function ii(t){if(null===t[o.tQN])return;let e=!0;for(;e;){let n=!1;for(const e of t[o.tQN])e.dirty&&(n=!0,null===e.zone||Zone.current===e.zone?e.run():e.zone.run(()=>e.run()));e=n&&!!(8192&t[o.Wg1])}}function si(t,e=0){const n=t[o.M0L].rendererFactory;n.begin?.();try{!function(t,e){const n=(0,o.yP_)();try{(0,o.cBl)(!0),di(t,e);let n=0;for(;(0,o.dMS)(t);){if(100===n)throw new o.buA(103,!1);n++,di(t,1)}}finally{(0,o.cBl)(n)}}(t,e)}finally{n.end?.()}}function ai(t,e,n,r){if((0,o.EPY)(e))return;const s=e[o.Wg1];(0,o.ID8)(e);let a=!0,l=null,c=null;oi(t)?(c=function(t){return t[o.Iaj]??function(t){const e=ei.pop()??Object.create(ni);return e.lView=t,e}(t)}(e),l=(0,i.Bg)(c)):null===(0,i.nR)()?(a=!1,c=function(t){const e=t[o.Iaj]??Object.create(ri);return e.lView=t,e}(e),l=(0,i.Bg)(c)):e[o.Iaj]&&((0,i.XR)(e[o.Iaj]),e[o.Iaj]=null);try{(0,o.HUe)(e),(0,o.Kw3)(t.bindingStartIndex),null!==n&&Po(t,e,n,2,r);const i=!(3&~s);if(i){const n=t.preOrderCheckHooks;null!==n&&W(e,n,null)}else{const n=t.preOrderHooks;null!==n&&G(e,n,0,null),q(e,0)}if(function(t){for(let e=Yt(t);null!==e;e=Kt(e)){if(!(2&e[o.Wg1]))continue;const t=e[o.nfM];for(let e=0;e<t.length;e++)(0,o.HAh)(t[e])}}(e),ii(e),li(e,0),null!==t.contentQueries&&Pe(t,e),i){const n=t.contentCheckHooks;null!==n&&W(e,n)}else{const n=t.contentHooks;null!==n&&G(e,n,1),q(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const r=n[t];if(r<0)(0,o.ypq)(~r);else{const i=r,s=n[++t],a=n[++t];(0,o.vQI)(s,i);const l=e[i];H(V.HostBindingsUpdateStart,l);try{a(2,l)}finally{H(V.HostBindingsUpdateEnd,l)}}}}finally{(0,o.ypq)(-1)}}(t,e);const a=t.components;null!==a&&hi(e,a,0);const l=t.viewQuery;if(null!==l&&Re(2,l,r),i){const n=t.viewCheckHooks;null!==n&&W(e,n)}else{const n=t.viewHooks;null!==n&&G(e,n,2),q(e,2)}if(!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),e[o.pcR]){for(const t of e[o.pcR])t();e[o.pcR]=null}ti(e),e[o.Wg1]&=-73}catch(t){throw(0,o.blu)(e),t}finally{null!==c&&((0,i.Wu)(c,l),a&&function(t){t.lView[o.Iaj]!==t&&(t.lView=null,ei.push(t))}(c)),(0,o.bll)()}}function li(t,e){for(let n=Yt(t);null!==n;n=Kt(n))for(let t=o.Y20;t<n.length;t++)ui(n[t],e)}function ci(t,e,n){H(V.ComponentStart);const r=(0,o.KdJ)(e,t);try{ui(r,n)}finally{H(V.ComponentEnd,r[o.SKP])}}function ui(t,e){(0,o.F1c)(t)&&di(t,e)}function di(t,e){const n=t[o.eDl],r=t[o.Wg1],s=t[o.Iaj];let a=!!(0===e&&16&r);if(a||=!!(64&r&&0===e),a||=!!(1024&r),a||=!(!s?.dirty||!(0,i.si)(s)),a||=!1,s&&(s.dirty=!1),t[o.Wg1]&=-9217,a)ai(n,t,n.template,t[o.SKP]);else if(8192&r){const e=(0,i.Ht)(null);try{ii(t),li(t,1);const e=n.components;null!==e&&hi(t,e,1),ti(t)}finally{(0,i.Ht)(e)}}}function hi(t,e,n){for(let r=0;r<e.length;r++)ci(t,e[r],n)}function pi(t,e){const n=(0,o.yP_)()?64:1088;for(t[o.M0L].changeDetectionScheduler?.notify(e);t;){t[o.Wg1]|=n;const e=(0,o._0$)(t);if((0,o.EFk)(t)&&!e)return t;t=e}return null}function fi(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function gi(t,e){const n=o.Y20+e;if(n<t.length)return t[n]}function mi(t,e,n,r=!0){const i=e[o.eDl];if(function(t,e,n,r){const i=o.Y20+r,s=n.length;r>0&&(n[i-1][o.K29]=e),r<s-o.Y20?(e[o.K29]=n[i],(0,o.EYC)(n,o.Y20+r,e)):(n.push(e),e[o.K29]=null),e[o.f7T]=n;const a=e[o.rQE];null!==a&&n!==a&&vi(a,e);const l=e[o.Ds7];null!==l&&l.insertView(t),(0,o._gW)(e),e[o.Wg1]|=128}(i,e,t,n),r){const r=Io(n,t),s=e[o.GpT],a=s.parentNode(t[o.s6P]);null!==a&&function(t,e,n,r,i,s){r[o.jgP]=i,r[o.qlT]=e,Lo(t,r,n,1,i,s)}(i,t[o.qlT],s,e,a,r)}const s=e[o.tcA];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function yi(t,e){const n=bi(t,e);return void 0!==n&&mo(n[o.eDl],n),n}function bi(t,e){if(t.length<=o.Y20)return;const n=o.Y20+e,r=t[n];if(r){const i=r[o.rQE];null!==i&&i!==t&&go(i,r),e>0&&(t[n-1][o.K29]=r[o.K29]);const s=(0,o.E6O)(t,o.Y20+e);po(r[o.eDl],r);const a=s[o.Ds7];null!==a&&a.detachView(s[o.eDl]),r[o.f7T]=null,r[o.K29]=null,r[o.Wg1]&=-129}return r}function vi(t,e){const n=t[o.nfM],r=e[o.f7T];((0,o.q$2)(r)||e[o.b5C]!==r[o.f7T][o.b5C])&&(t[o.Wg1]|=2),null===n?t[o.nfM]=[e]:n.push(e)}class wi{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,e=t[o.eDl];return Ko(e,t,e.firstChild,[])}constructor(t,e){this._lView=t,this._cdRefInjectingView=e}get context(){return this._lView[o.SKP]}set context(t){this._lView[o.SKP]=t}get destroyed(){return(0,o.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[o.f7T];if((0,o.A0l)(t)){const e=t[o.bm_],n=e?e.indexOf(this):-1;n>-1&&(bi(t,n),(0,o.E6O)(e,n))}this._attachedToViewContainer=!1}mo(this._lView[o.eDl],this._lView)}onDestroy(t){(0,o.ik5)(this._lView,t)}markForCheck(){pi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[o.Wg1]&=-129}reattach(){(0,o._gW)(this._lView),this._lView[o.Wg1]|=128}detectChanges(){this._lView[o.Wg1]|=1024,si(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new o.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=(0,o.EFk)(this._lView),e=this._lView[o.rQE];null!==e&&!t&&go(e,this._lView),fo(this._lView[o.eDl],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new o.buA(902,!1);this._appRef=t;const e=(0,o.EFk)(this._lView),n=this._lView[o.rQE];null!==n&&!e&&vi(n,this._lView),(0,o._gW)(this._lView)}}let Si=class{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Ci;constructor(t,e,n){this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,n){const r=Xo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:n});return new wi(r)}};function Ci(){return _i((0,o.Mx4)(),(0,o.OAn)())}function _i(t,e){return 4&t.type?new Si(e,t,$t(t,e)):null}function ki(t,e,n){const r=e.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?Co(t,0,n):(0,o.IvY)(n[i])}function xi(t,e,n,r,o){const i=e.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(3&e.type||(a=s,s=o),null!==s&&-1===e.componentOffset)for(let e=1;e<i.length;e++)xn(t,s,n[i[e]],a,!1)}}function Ti(t,e,n,r,i){let s=t.data[e];if(null===s)s=Ei(t,e,n,r,i),(0,o.JjR)()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const t=(0,o.Ab)();s.injectorIndex=null===t?-1:t.injectorIndex}return(0,o.iMd)(s,!0),s}function Ei(t,e,n,r,i){const s=(0,o.veI)(),a=(0,o.YWB)(),l=t.data[e]=function(t,e,n,r,i,s){let a=e?e.injectorIndex:-1,l=0;return(0,o.KtD)()&&(l|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:l,providerIndexes:0,value:i,namespace:(0,o.UaU)(),attrs:s,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?s:s&&s.parent,n,e,r,i);return function(t,e,n,r){null===t.firstChild&&(t.firstChild=e),null!==n&&(r?null==n.child&&null!==e.parent&&(n.child=e):null===n.next&&(n.next=e,e.prev=n))}(t,l,s,a),l}function Ai(t,e){if(t.push(e),t.length>1)for(let n=t.length-2;n>=0;n--){const r=t[n];Ii(r)||Oi(r,e)&&null===Li(r)&&Di(r,e.index)}}function Ii(t){return!(64&t.type)}function Oi(t,e){return Ii(e)||t.index>e.index}function Li(t){const e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function Di(t,e){const n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(xo(ki,xi),t.insertBeforeIndex=e)}function Pi(t,e){const n=t.data[e];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Ri(t,e,n){const r=Ei(t,n,64,null,null);return Ai(e,r),r}function Ni(t,e){const n=e[t.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Mi(t){return t>>>17}function ji(t){return(131070&t)>>>1}function Fi(t,e,n){t.index=0;const r=Ni(e,n);t.removes=null!==r?e.remove[r]:o.Mlv}function $i(t){if(t.index<t.removes.length){const e=t.removes[t.index++];return e>0?t.lView[e]:(t.stack.push(t.index,t.removes),Fi(t,t.lView[o.eDl].data[~e],t.lView),$i(t))}return 0===t.stack.length?(t.lView=void 0,null):(t.removes=t.stack.pop(),t.index=t.stack.pop(),$i(t))}function zi(){const t={stack:[],index:-1};return function(e,n){for(t.lView=n;t.stack.length;)t.stack.pop();return Fi(t,e.value,n),$i.bind(null,t)}}function Hi(t,e,n){for(const r of n.node.cases[n.case]){const n=e.get(r.index-o.Yw1);n&&An(t,n,!1)}}function Bi(t){const e=t[o.qFA]??[],n=t[o.f7T][o.GpT],r=[];for(const t of e)void 0!==t.data.di?r.push(t):Ui(t,n);t[o.qFA]=r}function Vi(t){const{lContainer:e}=t,n=e[o.qFA];if(null===n)return;const r=e[o.f7T][o.GpT];for(const t of n)Ui(t,r)}function Ui(t,e){let n=0,r=t.firstChild;if(r){const o=t.data.r;for(;n<o;){const t=r.nextSibling;An(e,r,!1),r=t,n++}}}function Wi(t){Bi(t);const e=t[o.jgP];(0,o.q$2)(e)&&Gi(e);for(let e=o.Y20;e<t.length;e++)Gi(t[e])}function Gi(t){!function(t){const e=t[o.tcA];if(e){const{i18nNodes:n,dehydratedIcuData:r}=e;if(n&&r){const e=t[o.GpT];for(const t of r.values())Hi(e,n,t)}e.i18nNodes=void 0,e.dehydratedIcuData=void 0}}(t);const e=t[o.eDl];for(let n=o.Yw1;n<e.bindingStartIndex;n++)(0,o.A0l)(t[n])?Wi(t[n]):(0,o.q$2)(t[n])&&Gi(t[n])}let qi=class{},Qi=class{};class Zi{resolveComponentFactory(t){throw new o.buA(917,!1)}}let Xi=class{static NULL=new Zi};class Yi{}let Ki=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>function(){const t=(0,o.OAn)(),e=(0,o.Mx4)(),n=(0,o.KdJ)(e.index,t);return((0,o.q$2)(n)?n:t)[o.GpT]}()},Ji=(()=>{class t{static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>null})}return t})();function ts(t){return void 0!==t.ngModule}function es(t){return!!(0,o.phH)(t)}function ns(t){return!!(0,o.oyA)(t)}function rs(t){return!!(0,o.HaV)(t)}function os(t){return!!(0,o.xUg)(t)}function is(t,e){if((0,o.Jzi)(t)&&!(t=(0,o.nl4)(t)))throw new Error(`Expected forwardRef function, imported from "${(0,o.PP7)(e)}", to return a standalone entity or NgModule but got "${(0,o.PP7)(t)||t}".`);if(null==(0,o.phH)(t)){const n=(0,o.xUg)(t)||(0,o.HaV)(t)||(0,o.oyA)(t);if(null==n)throw ts(t)?new Error(`A module with providers was imported from "${(0,o.PP7)(e)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,o.PP7)(t)}" type, imported from "${(0,o.PP7)(e)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!n.standalone){const n=function(t){return(0,o.xUg)(t)?"component":(0,o.HaV)(t)?"directive":(0,o.oyA)(t)?"pipe":"type"}(t);throw new Error(`The "${(0,o.PP7)(t)}" ${n}, imported from "${(0,o.PP7)(e)}", is not standalone. Does the ${n} have the standalone: false flag?`)}}}function ss(t,e){for(const n of t)e.add(n)}const as=new class{ownerNgModule=new WeakMap;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new WeakMap;standaloneComponentsScopeCache=new WeakMap;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const e=(0,o.phH)(t);if(e?.declarations)for(const n of Wn(e.declarations))os(n)&&this.ownerNgModule.set(n,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,e){this.resolveNgModulesDecls();const n=(0,o.xUg)(t);if(null===n)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(n.standalone){const n=this.getStandaloneComponentScope(t,e);return n.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...n.compilation.directives,...n.compilation.pipes,...n.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const e=this.getNgModuleScope(this.ownerNgModule.get(t));return e.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...e.compilation.directives,...e.compilation.pipes]}}}registerNgModule(t,e){if(!es(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const e=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,e),e}computeNgModuleScope(t){const e=(0,o.WbQ)(t),n={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const t of Wn(e.imports))if(es(t)){const e=this.getNgModuleScope(t);ss(e.exported.directives,n.compilation.directives),ss(e.exported.pipes,n.compilation.pipes)}else{if(!(0,o.QuC)(t)){n.compilation.isPoisoned=!0;break}if(rs(t)||os(t))n.compilation.directives.add(t);else{if(!ns(t))throw new o.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");n.compilation.pipes.add(t)}}if(!n.compilation.isPoisoned)for(const t of Wn(e.declarations)){if(es(t)||(0,o.QuC)(t)){n.compilation.isPoisoned=!0;break}ns(t)?n.compilation.pipes.add(t):n.compilation.directives.add(t)}for(const t of Wn(e.exports))if(es(t)){const e=this.getNgModuleScope(t);ss(e.exported.directives,n.exported.directives),ss(e.exported.pipes,n.exported.pipes),ss(e.exported.directives,n.compilation.directives),ss(e.exported.pipes,n.compilation.pipes)}else ns(t)?n.exported.pipes.add(t):n.exported.directives.add(t);return n}getStandaloneComponentScope(t,e){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const n=this.computeStandaloneComponentScope(t,e);return this.standaloneComponentsScopeCache.set(t,n),n}computeStandaloneComponentScope(t,e){const n={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const r of(0,o.Bqz)(e??[])){const e=(0,o.nl4)(r);try{is(e,t)}catch{return n.compilation.isPoisoned=!0,n}if(es(e)){n.compilation.ngModules.add(e);const t=this.getNgModuleScope(e);if(t.exported.isPoisoned)return n.compilation.isPoisoned=!0,n;ss(t.exported.directives,n.compilation.directives),ss(t.exported.pipes,n.compilation.pipes)}else if(ns(e))n.compilation.pipes.add(e);else{if(!rs(e)&&!os(e))return n.compilation.isPoisoned=!0,n;n.compilation.directives.add(e)}}return n}isOrphanComponent(t){const e=(0,o.xUg)(t);return!(!e||e.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}},ls={};class cs{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){const r=this.injector.get(t,ls,n);return r!==ls||e===ls?r:this.parentInjector.get(t,e,n)}}function us(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(null!==e)for(let t=0;t<e.length;t++){const n=e[t];if("number"==typeof n)s=n;else if(1==s)i=(0,o.n$e)(i,n);else if(2==s){const i=e[++t];r=(0,o.n$e)(r,n+": "+i+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function ds(t,e=0){const n=(0,o.OAn)();return null===n?(0,o.KVO)(t,e):yt((0,o.Mx4)(),n,(0,o.nl4)(t),e)}function hs(){throw new Error("invalid")}function ps(t,e,n,r,i){const s=null===r?null:{"":-1},a=i(t,n);if(null!==a){let r=a,i=null,l=null;for(const t of a)if(null!==t.resolveHostDirectives){[r,i,l]=t.resolveHostDirectives(a);break}!function(t,e,n,r,i,s,a){const l=r.length;let c=null;for(let i=0;i<l;i++){const s=r[i];null===c&&(0,o.JlV)(s)&&(c=s,fs(t,n,i)),ft(ut(n,e),t,s.type)}(function(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e})(n,t.data.length,l),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let t=0;t<l;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let u=!1,d=!1,h=dr(t,e,l,null);l>0&&(n.directiveToIndex=new Map);for(let o=0;o<l;o++){const l=r[o];if(n.mergedAttrs=et(n.mergedAttrs,l.hostAttrs),vs(t,n,e,h,l),ws(h,l,i),null!==a&&a.has(l)){const[t,e]=a.get(l);n.directiveToIndex.set(l.type,[h,t+n.directiveStart,e+n.directiveStart])}else(null===s||!s.has(l))&&n.directiveToIndex.set(l.type,h);null!==l.contentQueries&&(n.flags|=4),(null!==l.hostBindings||null!==l.hostAttrs||0!==l.hostVars)&&(n.flags|=64);const c=l.type.prototype;!u&&(c.ngOnChanges||c.ngOnInit||c.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),u=!0),!d&&(c.ngOnChanges||c.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),d=!0),h++}!function(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){const o=t.data[r];if(null!==n&&n.has(o)){const t=n.get(o);ms(0,e,t,r),ms(1,e,t,r),bs(e,r,!0)}else gs(0,e,o,r),gs(1,e,o,r),bs(e,r,!1)}}(t,n,s)}(t,e,n,r,s,i,l)}null!==s&&null!==r&&function(t,e,n){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new o.buA(-301,!1);r.push(e[t],i)}}(n,r,s)}function fs(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function gs(t,e,n,r){const o=0===t?n.inputs:n.outputs;for(const n in o)if(o.hasOwnProperty(n)){let o;o=0===t?e.inputs??={}:e.outputs??={},o[n]??=[],o[n].push(r),ys(e,n)}}function ms(t,e,n,r){const o=0===t?n.inputs:n.outputs;for(const n in o)if(o.hasOwnProperty(n)){const i=o[n];let s;s=0===t?e.hostDirectiveInputs??={}:e.hostDirectiveOutputs??={},s[i]??=[],s[i].push(r,n),ys(e,i)}}function ys(t,e){"class"===e?t.flags|=8:"style"===e&&(t.flags|=16)}function bs(t,e,n){const{attrs:r,inputs:o,hostDirectiveInputs:i}=t;if(null===r||!n&&null===o||n&&null===i||Yn(t))return t.initialInputs??=[],void t.initialInputs.push(null);let s=null,a=0;for(;a<r.length;){const t=r[a];if(0!==t)if(5!==t){if("number"==typeof t)break;if(!n&&o.hasOwnProperty(t)){const n=o[t];for(const o of n)if(o===e){s??=[],s.push(t,r[a+1]);break}}else if(n&&i.hasOwnProperty(t)){const n=i[t];for(let t=0;t<n.length;t+=2)if(n[t]===e){s??=[],s.push(n[t+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}t.initialInputs??=[],t.initialInputs.push(s)}function vs(t,e,n,r,i){t.data[r]=i;const s=i.factory||(i.factory=(0,o.wGu)(i.type,!0)),a=new Y(s,(0,o.JlV)(i),ds,null);t.blueprint[r]=a,n[r]=a,function(t,e,n,r,o){const i=o.hostBindings;if(i){let o=t.hostBindingOpCodes;null===o&&(o=t.hostBindingOpCodes=[]);const s=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(o)!=s&&o.push(s),o.push(n,r,i)}}(t,e,r,dr(t,n,i.hostVars,sr),i)}function ws(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;(0,o.JlV)(e)&&(n[""]=t)}}function Ss(t,e,n,r,i,s,a,l){const c=e[o.eDl],u=c.consts,d=Ti(c,t,n,r,(0,o.db4)(u,a));return s&&ps(c,e,d,(0,o.db4)(u,l),i),d.mergedAttrs=et(d.mergedAttrs,d.attrs),null!==d.attrs&&us(d,d.attrs,!1),null!==d.mergedAttrs&&us(d,d.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,d),d}function Cs(t,e){U(t,e),(0,o.srX)(e)&&t.queries.elementEnd(e)}function _s(t,e,n,r,i,s){const a=e.consts,l=Ti(e,t,n,r,(0,o.db4)(a,i));if(l.mergedAttrs=et(l.mergedAttrs,l.attrs),null!=s){const t=(0,o.db4)(a,s);l.localNames=[];for(let e=0;e<t.length;e+=2)l.localNames.push(t[e],-1)}return null!==l.attrs&&us(l,l.attrs,!1),null!==l.mergedAttrs&&us(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}function ks(t){return!!Ts(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function xs(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Symbol.iterator]();let r;for(;!(r=n.next()).done;)e(r.value)}}function Ts(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Es(t,e,n){return t[e]=n}function As(t,e){return t[e]}function Is(t,e,n){return n!==sr&&!Object.is(t[e],n)&&(t[e]=n,!0)}function Os(t,e,n,r){const o=Is(t,e,n);return Is(t,e+1,r)||o}function Ls(t,e,n,r,o){const i=Os(t,e,n,r);return Is(t,e+2,o)||i}function Ds(t,e,n,r,o,i){const s=Os(t,e,n,r);return Os(t,e+2,o,i)||s}function Ps(t,e,n){return function r(i){const s=r.__ngNativeEl__;void 0!==s&&function(t,e){if(null==t||"object"!=typeof t)return;let n=Ae.get(t);n||(n=new WeakSet,Ae.set(t,n)),n.add(e)}(i,s),pi((0,o.Qs1)(t)?(0,o.KdJ)(t.index,e):e,5);const a=e[o.SKP];let l=Rs(e,a,n,i),c=r.__ngNextListenerFn__;for(;c;)l=Rs(e,a,c,i)&&l,c=c.__ngNextListenerFn__;return l}}function Rs(t,e,n,r){const o=(0,i.Ht)(null);try{return H(V.OutputStart,e,n),!1!==n(r)}catch(e){return Go(t,e),!1}finally{H(V.OutputEnd,e,n),(0,i.Ht)(o)}}function Ns(t,e,n,r,i,s,a,l){const c=(0,o.yoD)(t);let u=!1,d=null;if(!r&&c&&(d=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let t=0;t<i.length-1;t+=2){const s=i[t];if(s===n&&i[t+1]===r){const n=e[o.VVG],r=i[t+2];return n&&n.length>r?n[r]:null}"string"==typeof s&&(t+=2)}return null}(e,n,s,t.index)),null!==d)(d.__ngLastListenerFn__||d).__ngNextListenerFn__=a,d.__ngLastListenerFn__=a,u=!0;else{const a=(0,o.d31)(t,n),c=r?r(a):a;r||(l.__ngNativeEl__=a);const u=i.listen(c,s,l);(function(t){return t.startsWith("animation")||t.startsWith("transition")})(s)||Ms(r?e=>r((0,o.IvY)(e[t.index])):t.index,e,n,s,l,u,!1)}return u}function Ms(t,e,n,r,i,s,a){const l=e.firstCreatePass?(0,o.vNG)(e):null,c=(0,o.d_l)(n),u=c.length;c.push(i,s),l&&l.push(r,t,u,(u+1)*(a?-1:1))}function js(t,e,n,r,i,s){const a=e[o.eDl],l=e[n][a.data[n].outputs[r]].subscribe(s);Ms(t.index,a,e,i,s,l,!0)}class Fs{lView;tView;tNode;hasPassThrough;constructor(t,e,n){this.lView=t,this.tView=e,this.tNode=n,this.hasPassThrough=!!(4096&n.flags)}get customControl(){return-1!==this.tNode.customControlIndex?this.lView[this.tNode.customControlIndex]:void 0}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,e){zs(this.tView.data[this.tNode.customControlIndex],t)&&js(this.tNode,this.lView,this.tNode.customControlIndex,t,t,Ps(this.tNode,this.lView,e))}listenToCustomControlModel(t){const e=1024&this.tNode.flags?"valueChange":"checkedChange";js(this.tNode,this.lView,this.tNode.customControlIndex,e,e,Ps(this.tNode,this.lView,t))}listenToDom(t,e){Ns(this.tNode,this.tView,this.lView,void 0,this.lView[o.GpT],t,e,Ps(this.tNode,this.lView,e))}setInputOnDirectives(t,e){const n=this.tNode.inputs?.[t],r=this.tNode.hostDirectiveInputs?.[t];if(!n&&!r)return!1;if(n)for(const r of n)mr(this.tView.data[r],this.lView[r],t,e);if(r)for(let t=0;t<r.length;t+=2){const n=r[t];mr(this.tView.data[n],this.lView[n],r[t+1],e)}return!0}setCustomControlModelInput(t){mr(this.tView.data[this.tNode.customControlIndex],this.lView[this.tNode.customControlIndex],1024&this.tNode.flags?"value":"checked",t)}customControlHasInput(t){return-1!==this.tNode.customControlIndex&&null!=this.tView.data[this.tNode.customControlIndex].inputs[t]}}function $s(t,e){return function(t,e){return e in t.inputs}(t,e)&&zs(t,e+"Change")}function zs(t,e){return e in t.outputs}const Hs=Symbol("BINDING");function Bs(t){return t.debugInfo?.className||t.type.name||null}class Vs extends Xi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=(0,o.xUg)(t);return new Us(e,this.ngModule)}}class Us extends Qi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function(t){return Object.keys(t).map(e=>{const[n,r,o]=t[e],i={propName:n,templateName:e,isSignal:0!==(r&gr.SignalBased)};return o&&(i.transform=o),i})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function(t){return t.map(ir).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,n,r,s,a){H(V.DynamicComponentStart);const l=(0,i.Ht)(null);try{const i=this.componentDef,l=function(t,e,n){let r=e instanceof o.uvJ?e:e?.injector;return r&&null!==t.getStandaloneInjector&&(r=t.getStandaloneInjector(r)||r),r?new cs(n,r):n}(i,r||this.ngModule,t),c=function(t){const e=t.get(Yi,null);if(null===e)throw new o.buA(407,!1);return{rendererFactory:e,sanitizer:t.get(Ji,null),changeDetectionScheduler:t.get(o.hk6,null),ngReflect:!1,tracingService:t.get(Zr,null,{optional:!0})}}(l),u=c.tracingService;return u&&u.componentCreate?u.componentCreate(Bs(i),()=>this.createComponentRef(c,l,e,n,s,a)):this.createComponentRef(c,l,e,n,s,a)}finally{(0,i.Ht)(l)}}createComponentRef(t,e,n,r,i,s){const a=this.componentDef,l=function(t,e,n,r){const i=t?["ng-version","21.2.15"]:function(t){const e=[],n=[];let r=1,o=2;for(;r<t.length;){let i=t[r];if("string"==typeof i)2===o?""!==i&&e.push(i,t[++r]):8===o&&n.push(i);else{if(!tr(o))break;o=i}r++}return n.length&&e.push(1,...n),e}(e.selectors[0]);let s=null,a=null,l=0;if(n)for(const t of n)l+=t[Hs].requiredVars,t.create&&(t.targetIdx=0,(s??=[]).push(t)),t.update&&(t.targetIdx=0,(a??=[]).push(t));if(r)for(let t=0;t<r.length;t++){const e=r[t];if("function"!=typeof e)for(const n of e.bindings){l+=n[Hs].requiredVars;const e=t+1;n.create&&(n.targetIdx=e,(s??=[]).push(n)),n.update&&(n.targetIdx=e,(a??=[]).push(n))}}const c=[e];if(r)for(const t of r){const e=(0,o.HaV)("function"==typeof t?t:t.type);c.push(e)}return ar(0,null,function(t,e){return t||e?n=>{if(1&n&&t)for(const e of t)e.create();if(2&n&&e)for(const t of e)t.update()}:null}(s,a),1,l,c,null,null,null,[i],null)}(r,a,s,i),c=t.rendererFactory.createRenderer(null,a),u=r?function(t,e,n,r){const i=r.get(fe,!1)||n===Me.ShadowDom||n===Me.ExperimentalIsolatedShadowDom,s=t.selectRootElement(e,i);if("script"===s.tagName.toLowerCase())throw new o.buA(905,!1);return s}(c,r,a.encapsulation,e):function(t,e){const n=function(t){return(t.selectors[0][0]||"div").toLowerCase()}(t);return kn(e,n,"svg"===n?o.jNX:"math"===n?o.rJ1:null)}(a,c),d=s?.some(Ws)||i?.some(t=>"function"!=typeof t&&t.bindings.some(Ws)),h=cr(null,l,null,512|ur(a),null,null,t,c,e,null,null);h[o.Yw1]=u,(0,o.ID8)(h);let p=null;try{const t=Ss(o.Yw1,h,2,"#host",()=>l.directiveRegistry,!0,0);In(c,u,t),Xt(u,h),Ro(l,h,t),Ne(l,t,h),Cs(l,t),void 0!==n&&function(t,e,n){const r=t.projection=[];for(let t=0;t<e.length;t++){const e=n[t];r.push(null!=e&&e.length?Array.from(e):null)}}(t,this.ngContentSelectors,n),p=(0,o.KdJ)(t.index,h),h[o.SKP]=p[o.SKP],Zo(l,h,null)}catch(t){throw null!==p&&Qt(p),Qt(h),t}finally{H(V.DynamicComponentEnd),(0,o.bll)()}return new Gs(this.componentType,h,!!d)}}function Ws(t){const e=t[Hs].kind;return"input"===e||"twoWay"===e}class Gs extends qi{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e,n){super(),this._rootLView=e,this._hasInputBindings=n,this._tNode=(0,o.XRZ)(e[o.eDl],o.Yw1),this.location=$t(this._tNode,e),this.instance=(0,o.KdJ)(this._tNode.index,e)[o.SKP],this.hostView=this.changeDetectorRef=new wi(e,void 0),this.componentType=t}setInput(t,e){const n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;const r=this._rootLView;qo(n,r[o.eDl],r,t,e),this.previousInputValues.set(t,e),pi((0,o.KdJ)(n.index,r),1)}get injector(){return new kt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let qs=class{static __NG_ELEMENT_ID__=Qs};function Qs(){return Ks((0,o.Mx4)(),(0,o.OAn)())}class Zs extends qs{_lContainer;_hostTNode;_hostLView;constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return $t(this._hostTNode,this._hostLView)}get injector(){return new kt(this._hostTNode,this._hostLView)}get parentInjector(){const t=pt(this._hostTNode,this._hostLView);if(rt(t)){const e=it(t,this._hostLView),n=ot(t);return new kt(e[o.eDl].data[n+8],e)}return new kt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Xs(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-o.Y20}createEmbeddedView(t,e,n){let r,o;"number"==typeof n?r=n:null!=n&&(r=n.index,o=n.injector);const i=t.createEmbeddedViewImpl(e||{},o,null);return this.insertImpl(i,r,Yo(this._hostTNode,null)),i}createComponent(t,e,n,r,i,s,a){const l=t&&!k(t);let c;if(l)c=e;else{const t=e||{};c=t.index,n=t.injector,r=t.projectableNodes,i=t.environmentInjector||t.ngModuleRef,s=t.directives,a=t.bindings}const u=l?t:new Us((0,o.xUg)(t)),d=n||this.parentInjector;if(!i&&null==u.ngModule){const t=(l?d:this.parentInjector).get(o.uvJ,null);t&&(i=t)}(0,o.xUg)(u.componentType??{});const h=u.create(d,r,null,i,s,a);return this.insertImpl(h.hostView,c,Yo(this._hostTNode,null)),h}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,n){const r=t._lView;if((0,o.ITl)(r)){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=r[o.f7T],n=new Zs(e,e[o.qlT],e[o.f7T]);n.detach(n.indexOf(t))}}const i=this._adjustIndex(e),s=this._lContainer;return mi(s,r,i,n),t.attachToViewContainerRef(),(0,o.EYC)(Ys(s),i,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Xs(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=bi(this._lContainer,e);n&&((0,o.E6O)(Ys(this._lContainer),e),mo(n[o.eDl],n))}detach(t){const e=this._adjustIndex(t,-1),n=bi(this._lContainer,e);return n&&null!=(0,o.E6O)(Ys(this._lContainer),e)?new wi(n):null}_adjustIndex(t,e=0){return t??this.length+e}}function Xs(t){return t[o.bm_]}function Ys(t){return t[o.bm_]||(t[o.bm_]=[])}function Ks(t,e){let n;const r=e[t.index];return(0,o.A0l)(r)?n=r:(n=fi(r,e,null,t),e[t.index]=n,hr(e,n)),Js(n,e,t,r),new Zs(n,t,e)}let Js=function(t,e,n,r){if(t[o.s6P])return;let i;i=8&n.type?(0,o.IvY)(r):function(t,e){const n=t[o.GpT],r=n.createComment(""),i=(0,o.d31)(e,t),s=n.parentNode(i);return xn(n,s,r,n.nextSibling(i),!1),r}(e,n),t[o.s6P]=i};class ta{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new ta(this.queryList)}setDirty(){this.queryList.setDirty()}}class ea{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new ea(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==fa(t,e).matches&&this.queries[e].setDirty()}}class na{flags;read;predicate;constructor(t,e,n=null){this.flags=e,this.read=n,this.predicate="string"==typeof t?function(t){return t.split(",").map(t=>t.trim())}(t):t}}class ra{queries;constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,o=this.getByIndex(n).embeddedTView(t,r);o&&(o.indexInDeclarationView=n,null!==e?e.push(o):e=[o])}return null!==e?new ra(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class oa{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,e=-1){this.metadata=t,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new oa(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const o=n[r];this.matchTNodeWithReadOption(t,e,ia(e,o)),this.matchTNodeWithReadOption(t,e,wt(e,t,o,!1,!1))}else n===Si?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,wt(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===zt||r===qs||r===Si&&4&e.type)this.addMatch(e.index,-2);else{const n=wt(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function ia(t,e){const n=t.localNames;if(null!==n)for(let t=0;t<n.length;t+=2)if(n[t]===e)return n[t+1];return null}function sa(t,e,n,r){return-1===n?function(t,e){return 11&t.type?$t(t,e):4&t.type?_i(t,e):null}(e,t):-2===n?function(t,e,n){return n===zt?$t(e,t):n===Si?_i(e,t):n===qs?Ks(e,t):void 0}(t,e,r):St(t,t[o.eDl],n,e)}function aa(t,e,n,r){const i=e[o.Ds7].queries[r];if(null===i.matches){const r=t.data,o=n.matches,s=[];for(let t=0;null!==o&&t<o.length;t+=2){const i=o[t];s.push(i<0?null:sa(e,r[i],o[t+1],n.metadata.read))}i.matches=s}return i.matches}function la(t,e,n,r){const i=t.queries.getByIndex(n),s=i.matches;if(null!==s){const a=aa(t,e,i,n);for(let t=0;t<s.length;t+=2){const n=s[t];if(n>0)r.push(a[t/2]);else{const i=s[t+1],a=e[-n];for(let t=o.Y20;t<a.length;t++){const e=a[t];e[o.rQE]===e[o.f7T]&&la(e[o.eDl],e,i,r)}if(null!==a[o.nfM]){const t=a[o.nfM];for(let e=0;e<t.length;e++){const n=t[e];la(n[o.eDl],n,i,r)}}}}}return r}function ca(t,e){return t[o.Ds7].queries[e].queryList}function ua(t,e,n){const r=new Vt(!(4&~n));return(0,o.B22)(t,e,r,r.destroy),(e[o.Ds7]??=new ea).queries.push(new ta(r))-1}function da(t,e,n){const r=(0,o.klJ)();return r.firstCreatePass&&(pa(r,new na(t,e,n),-1),!(2&~e)&&(r.staticViewQueries=!0)),ua(r,(0,o.OAn)(),e)}function ha(t,e,n,r){const i=(0,o.klJ)();if(i.firstCreatePass){const s=(0,o.Mx4)();pa(i,new na(e,n,r),s.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(i,t),!(2&~n)&&(i.staticContentQueries=!0)}return ua(i,(0,o.OAn)(),n)}function pa(t,e,n){null===t.queries&&(t.queries=new ra),t.queries.track(new oa(e,n))}function fa(t,e){return t.queries.getByIndex(e)}function ga(t,e){const n=t[o.eDl],r=fa(n,e);return r.crossesNgTemplate?la(n,t,e,[]):aa(n,t,r,e)}function ma(t,e,n){let r;const s=(0,i.KZ)(()=>{r._dirtyCounter();const n=function(t,e){const n=t._lView,r=t._queryIndex;if(void 0===n||void 0===r||4&n[o.Wg1])return e?void 0:o.Mlv;const i=ca(n,r),s=ga(n,r);return i.reset(s,Ht),e?i.first:i._changesDetected||void 0===t._flatValue?t._flatValue=i.toArray():t._flatValue}(r,t);if(e&&void 0===n)throw new o.buA(-951,!1);return n});return r=s[i.bh],r._dirtyCounter=(0,o.vPA)(0),r._flatValue=void 0,s}function ya(t){return ma(!0,!1)}function ba(t){return ma(!0,!0)}function va(t){return ma(!1,!1)}function wa(t,e){const n=t[i.bh];n._lView=(0,o.OAn)(),n._queryIndex=e,n._queryList=ca(n._lView,e),n._queryList.onDirty(()=>n._dirtyCounter.update(t=>t+1))}let Sa=new Map;const Ca=new Set;function _a(t){return ka.apply(this,arguments)}function ka(){return ka=(0,r.A)(function*(t){const e=Sa;Sa=new Map;const n=new Map;function o(e){const r=n.get(e);if(r)return r;const o=t(e).then(t=>function(t,e){return Ta.apply(this,arguments)}(e,t));return n.set(e,o),o}const i=Array.from(e).map((s=(0,r.A)(function*([t,e]){if(e.styleUrl&&e.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");const n=[];e.templateUrl&&n.push(o(e.templateUrl).then(t=>{e.template=t}));const r="string"==typeof e.styles?[e.styles]:e.styles??[];e.styles=r;let{styleUrl:i,styleUrls:s}=e;if(i&&(s=[i],e.styleUrl=void 0),s?.length){const t=Promise.all(s.map(t=>o(t))).then(t=>{r.push(...t),e.styleUrls=void 0});n.push(t)}yield Promise.all(n),Ca.delete(t)}),function(t){return s.apply(this,arguments)}));var s;yield Promise.all(i)}),ka.apply(this,arguments)}function xa(){return 0===Sa.size}function Ta(){return(Ta=(0,r.A)(function*(t,e){if("string"==typeof e)return e;if(void 0!==e.status&&200!==e.status)throw new o.buA(918,!1);return e.text()})).apply(this,arguments)}const Ea=new Map;function Aa(t,e){(function(t,e,n){if(e&&e!==n)throw new o.buA(921,!1)})(0,Ea.get(e)||null,t),Ea.set(e,t)}let Ia=class{},Oa=class{};function La(t,e){return new Da(t,e??null,[])}class Da extends Ia{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Vs(this);constructor(t,e,n,r=!0){super(),this.ngModuleType=t,this._parent=e;const i=(0,o.phH)(t);this._bootstrapComponents=Wn(i.bootstrap),this._r3Injector=(0,o.Pz9)(t,e,[{provide:Ia,useValue:this},{provide:Xi,useValue:this.componentFactoryResolver},...n],(0,o.AsM)(t),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Pa extends Oa{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Da(this.moduleType,t,[])}}function Ra(t,e,n){return new Da(t,e,n,!1)}class Na extends Ia{injector;componentFactoryResolver=new Vs(this);instance=null;constructor(t){super();const e=new o.e5P([...t.providers,{provide:Ia,useValue:this},{provide:Xi,useValue:this.componentFactoryResolver}],t.parent||(0,o.WB9)(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Ma(t,e,n=null){return new Na({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}let ja=(()=>{class t{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const e=(0,o.jXY)(!1,t.type),n=e.length>0?Ma([e],this._injector,""):null;this.cachedInjectors.set(t,n)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=(0,o.jDH)({token:t,providedIn:"environment",factory:()=>new t((0,o.KVO)(o.uvJ))})}return t})();function Fa(t){return c(()=>{const e=Wa(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Wt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?t=>t.get(ja).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Me.Emulated,styles:t.styles||o.Mlv,_:null,schemas:t.schemas||null,tView:null,id:""};e.standalone&&Yr("NgStandalone"),Ga(n);const r=t.dependencies;return n.directiveDefs=qa(r,$a),n.pipeDefs=qa(r,o.oyA),n.id=function(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,"function"==typeof t.consts?"":t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(const t of n.join("|"))e=Math.imul(31,e)+t.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n})}function $a(t){return(0,o.xUg)(t)||(0,o.HaV)(t)}function za(t){return c(()=>({type:t.type,bootstrap:t.bootstrap||o.Mlv,declarations:t.declarations||o.Mlv,imports:t.imports||o.Mlv,exports:t.exports||o.Mlv,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Ha(t,e){if(null==t)return o.MZA;const n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];let i,s,a,l;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,l=o[3]||null):(i=o,s=o,a=gr.None,l=null),n[i]=[r,a,l],e[i]=s}return n}function Ba(t){if(null==t)return o.MZA;const e={};for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function Va(t){return c(()=>{const e=Wa(t);return Ga(e),e})}function Ua(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Wa(t){const e={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputConfig:t.inputs||o.MZA,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:!0===t.signals,selectors:t.selectors||o.Mlv,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:Ha(t.inputs,e),outputs:Ba(t.outputs),debugInfo:null}}function Ga(t){t.features?.forEach(e=>e(t))}function qa(t,e){return t?()=>{const n="function"==typeof t?t():t,r=[];for(const t of n){const n=e(t);null!==n&&r.push(n)}return r}:null}function Qa(t){const e=e=>{const n=Array.isArray(t);null===e.hostDirectives?(e.resolveHostDirectives=Za,e.hostDirectives=n?t.map(Ka):[t]):n?e.hostDirectives.unshift(...t.map(Ka)):e.hostDirectives.unshift(t)};return e.ngInherit=!0,e}function Za(t){const e=[];let n=!1,r=null,i=null;for(let s=0;s<t.length;s++){const a=t[s];if(null!==a.hostDirectives){const t=e.length;r??=new Map,i??=new Map,Xa(a,e,r),i.set(a,[t,e.length-1])}0===s&&(0,o.JlV)(a)&&(n=!0,e.push(a))}for(let r=n?1:0;r<t.length;r++)e.push(t[r]);return[e,r,i]}function Xa(t,e,n){if(null!==t.hostDirectives)for(const r of t.hostDirectives)if("function"==typeof r){const t=r();for(const r of t)Ya(Ka(r),e,n)}else Ya(r,e,n)}function Ya(t,e,n){const r=(0,o.HaV)(t.directive);(function(t,e){for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=t[n])})(r.declaredInputs,t.inputs),Xa(r,e,n),n.set(r,t),e.push(r)}function Ka(t){return"function"==typeof t?{directive:(0,o.nl4)(t),inputs:o.MZA,outputs:o.MZA}:{directive:(0,o.nl4)(t.directive),inputs:Ja(t.inputs),outputs:Ja(t.outputs)}}function Ja(t){if(void 0===t||0===t.length)return o.MZA;const e={};for(let n=0;n<t.length;n+=2)e[t[n]]=t[n+1];return e}function tl(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const r=[t];for(;e;){let i;if((0,o.JlV)(t))i=e.ɵcmp||e.ɵdir;else{if(e.ɵcmp)throw new o.buA(903,!1);i=e.ɵdir}if(i){if(n){r.push(i);const e=t;e.inputs=nl(t.inputs),e.declaredInputs=nl(t.declaredInputs),e.outputs=nl(t.outputs);const n=i.hostBindings;n&&il(t,n);const s=i.viewQuery,a=i.contentQueries;if(s&&rl(t,s),a&&ol(t,a),el(t,i),(0,o.dwj)(t.outputs,i.outputs),(0,o.JlV)(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let r=0;r<e.length;r++){const o=e[r];o&&o.ngInherit&&o(t),o===tl&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=et(o.hostAttrs,n=et(n,o.hostAttrs))}}(r)}function el(t,e){for(const n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;const r=e.inputs[n];void 0!==r&&(t.inputs[n]=r,t.declaredInputs[n]=e.declaredInputs[n])}}function nl(t){return t===o.MZA?{}:t===o.Mlv?[]:t}function rl(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function ol(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,o)=>{e(t,r,o),n(t,r,o)}:e}function il(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}function sl(t,e,n,r,i,s,a,l){if(n.firstCreatePass){t.mergedAttrs=et(t.mergedAttrs,t.attrs);const e=t.tView=ar(2,t,i,s,a,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,t),e.queries=n.queries.embeddedTView(t))}l&&(t.flags|=l),(0,o.iMd)(t,!1);const c=cl(n,e,t,r);(0,o.SX7)()&&To(n,e,c,t),Xt(c,e);const u=fi(c,e,c,t);e[r+o.Yw1]=u,hr(e,u)}function al(t,e,n,r,i,s,a,l,c,u,d){const h=n+o.Yw1;let p;if(e.firstCreatePass){if(p=Ti(e,h,4,a||null,l||null),null!=u){const t=(0,o.db4)(e.consts,u);p.localNames=[];for(let e=0;e<t.length;e+=2)p.localNames.push(t[e],-1)}}else p=e.data[h];return sl(p,t,e,n,r,i,s,c),null!=u&&No(t,p,d),p}function ll(t,e,n,r,i,s,a,l){const c=(0,o.OAn)(),u=(0,o.klJ)();return function(t,e,n,r,i,s,a,l,c,u,d){const h=n+o.Yw1;let p;e.firstCreatePass?(p=Ti(e,h,4,a||null,l||null),(0,o.ckz)()&&ps(e,t,p,(0,o.db4)(e.consts,u),zo),U(e,p)):p=e.data[h],sl(p,t,e,n,r,i,s,void 0),(0,o.yoD)(p)&&Ro(e,t,p),null!=u&&No(t,p,d)}(c,u,t,e,n,r,i,(0,o.db4)(u.consts,s),0,a,l),ll}let cl=function(t,e,n,r){return(0,o.m7n)(!0),e[o.GpT].createComment("")};var ul=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(ul||{}),dl=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(dl||{}),hl=function(t){return t[t.Initial=-1]="Initial",t}(hl||{}),pl=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(pl||{});function fl(t,e,n){const r=yl(t);null===e[r]&&(e[r]=[]),e[r].push(n)}function gl(t,e){const n=yl(t),r=e[n];if(null!==r){for(const t of r)t();e[n]=null}}function ml(t){gl(1,t),gl(0,t),gl(2,t)}function yl(t){let e=4;return 1===t?e=5:2===t&&(e=9),e}function bl(t){return t+1}function vl(t,e){return t[bl(e.index)]}function wl(t,e){const n=bl(e.index);return t.data[n]}function Sl(t,e){return e===dl.Placeholder?t.placeholderBlockConfig?.[0]??null:e===dl.Loading?t.loadingBlockConfig?.[0]??null:null}function Cl(t){return t.loadingBlockConfig?.[1]??null}function _l(t,e){if(!t||0===t.length)return e;const n=new Set(t);for(const t of e)n.add(t);return t.length===n.size?t:Array.from(n)}function kl(t,e,n,r){const i=n.get(o.SKi);return function(t,e,n,r){const o=Ee(r);let i=we.get(t)?.get(o);_e.has(o)||_e.set(o,{observer:n(r),count:0});const s=_e.get(o);if(!i){i=new ke,s.observer.observe(t);let e=we.get(t);e?e.set(o,i):(e=new Map,we.set(t,e)),e.set(o,i),s.count++}return i.callbacks.add(e),()=>{if(we.get(t)?.has(o)){if(i.callbacks.delete(e),0===i.callbacks.size){s.observer.unobserve(t),s.count--;const e=we.get(t);e&&(e.delete(o),0===e.size&&we.delete(t))}0===s.count&&(s.observer.disconnect(),_e.delete(o))}}}(t,()=>i.run(e),t=>i.runOutsideAngular(()=>function(t){const e=Ee(t);return new IntersectionObserver(t=>{for(const n of t)n.isIntersecting&&we.has(n.target)&&we.get(n.target)?.get(e)?.listener()},t)}(t)),r)}function xl(t,e,n,r,i,s,a,l){const c=t[o.YEL],u=c.get(o.SKi);let d;d=function(t,e){const n=e?.injector??(0,o.WQX)(o.zZn);return Yr("NgAfterRender"),ro(t,n,e,!1)}({read:function(){if((0,o.EPY)(t))return void d.destroy();const h=vl(t,e),p=h[1];if(p!==hl.Initial&&p!==dl.Placeholder)return void d.destroy();const f=function(t,e,n){return null==n?t:n>=0?(0,o.jRZ)(n,t):t[e.index][o.Y20]??null}(t,e,r);if(!f||(d.destroy(),(0,o.EPY)(f)))return;const g=function(t,e){return(0,o.vaC)(o.Yw1+e,t)}(f,n),m=i(g,()=>{u.run(()=>{t!==f&&(0,o.DyX)(f,m),s()})},c,l);t!==f&&(0,o.ik5)(f,m),fl(a,h,m)}},{injector:c})}function Tl(t,e){const n=e.get(El);return n.add(t),()=>n.remove(t)}let El=(()=>{class t{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,o.WQX)(o.SKi);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(t){(this.executingCallbacks?this.deferred:this.current).add(t),null===this.idleId&&this.scheduleIdleCallback()}remove(t){const{current:e,deferred:n}=this;e.delete(t),n.delete(t),0===e.size&&0===n.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const t=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const t of this.current)t();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const t of this.deferred)this.current.add(t);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(t))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();function Al(t){return(e,n)=>Il(t,e,n)}function Il(t,e,n){const r=n.get(Ol),i=n.get(o.SKi);return r.add(t,e,i),()=>r.remove(e)}let Ol=(()=>{class t{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(t,e,n){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+t,e),this.scheduleTimer(n)}remove(t){const{current:e,deferred:n}=this;-1===this.removeFromQueue(e,t)&&this.removeFromQueue(n,t),0===e.length&&0===n.length&&this.clearTimeout()}addToQueue(t,e,n){let r=t.length;for(let n=0;n<t.length;n+=2)if(t[n]>e){r=n;break}(0,o.llW)(t,r,e,n)}removeFromQueue(t,e){let n=-1;for(let r=0;r<t.length;r+=2)if(t[r+1]===e){n=r;break}return n>-1&&(0,o.gsJ)(t,n,2),n}scheduleTimer(t){const e=()=>{this.clearTimeout(),this.executingCallbacks=!0;const e=[...this.current],n=Date.now();for(let t=0;t<e.length;t+=2){const r=e[t+1];if(!(e[t]<=n))break;r()}let r=-1;for(let t=0;t<this.current.length&&this.current[t]<=n;t+=2)r=t+1;if(r>=0&&(0,o.gsJ)(this.current,0,r+1),this.executingCallbacks=!1,this.deferred.length>0){for(let t=0;t<this.deferred.length;t+=2)this.addToQueue(this.current,this.deferred[t],this.deferred[t+1]);this.deferred.length=0}this.scheduleTimer(t)};if(this.current.length>0){const n=Date.now(),r=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-r>16){this.clearTimeout();const o=Math.max(r-n,16);this.invokeTimerAt=r,this.timeoutId=t.runOutsideAngular(()=>setTimeout(()=>t.run(e),o))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ll=(()=>{class t{cachedInjectors=new Map;getOrCreateInjector(t,e,n,r){if(!this.cachedInjectors.has(t)){const o=n.length>0?Ma(n,e,r):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 ɵprov=(0,o.jDH)({token:t,providedIn:"environment",factory:()=>new t})}return t})();const Dl=new o.nKC("");function Pl(t,e,n){return t.get(Ll).getOrCreateInjector(e,t,n,"")}function Rl(t,e,n,r=!1){const i=n[o.f7T],s=i[o.eDl];if((0,o.EPY)(i))return;const a=vl(i,e),l=a[7];if(!(null!==l&&t<l)&&Fl(a[1],t)&&Fl(a[0]??-1,t)){const o=wl(s,e),l=r||null===Cl(o)&&null===Sl(o,dl.Loading)&&!Sl(o,dl.Placeholder)?Nl:Hl;try{l(t,a,n,e,i)}catch(t){Go(i,t)}}}function Nl(t,e,n,r,i){H(V.DeferBlockStateStart);const s=function(t,e,n){const r=wl(e[o.eDl],n);switch(t){case dl.Complete:return r.primaryTmplIndex;case dl.Loading:return r.loadingTmplIndex;case dl.Error:return r.errorTmplIndex;case dl.Placeholder:return r.placeholderTmplIndex;default:return null}}(t,i,r);if(null!==s){e[1]=t;const a=i[o.eDl],l=(0,o.XRZ)(a,s+o.Yw1),c=0;let u;if(yi(n,c),t===dl.Complete){const t=wl(a,r),e=t.providers;e&&e.length>0&&(u=function(t,e,n){if(t instanceof cs){const r=t.injector,o=Pl(t.parentInjector,e,n);return new cs(r,o)}const r=t.get(o.uvJ);if(r!==t){const o=Pl(r,e,n);return new cs(t,o)}return Pl(t,e,n)}(i[o.YEL],t,e))}const{dehydratedView:d,dehydratedViewIx:h}=function(t,e){const n=t[o.qFA]?.findIndex(t=>t.data.s===e[1])??-1;return{dehydratedView:n>-1?t[o.qFA][n]:null,dehydratedViewIx:n}}(n,e),p=Xo(i,l,null,{injector:u,dehydratedView:d});if(mi(n,p,c,Yo(l,d)),pi(p,2),h>-1&&n[o.qFA]?.splice(h,1),(t===dl.Complete||t===dl.Error)&&Array.isArray(e[8])){for(const t of e[8])t();e[8]=null}}H(V.DeferBlockStateEnd)}function Ml(t,e,n,r,i){const s=Date.now(),a=wl(i[o.eDl],r);if(null===e[2]||e[2]<=s){e[2]=null;const o=Cl(a),l=null!==e[3];if(t!==dl.Loading||null===o||l){t>dl.Loading&&l&&(e[3](),e[3]=null,e[0]=null),Nl(t,e,n,r,i);const o=Sl(a,t);null!==o&&(e[2]=s+o,jl(o,e,r,n,i))}else{e[0]=t;const s=jl(o,e,r,n,i);e[3]=s}}else e[0]=t}function jl(t,e,n,r,i){return Il(t,()=>{const t=e[0];e[2]=null,e[0]=null,null!==t&&Rl(t,n,r)},i[o.YEL])}function Fl(t,e){return t<e}function $l(t,e){Rl(dl.Placeholder,e,t[e.index])}function zl(t,e,n){t.loadingPromise.then(()=>{t.loadingState===ul.COMPLETE?Rl(dl.Complete,e,n):t.loadingState===ul.FAILED&&Rl(dl.Error,e,n)})}let Hl=null;function Bl(t,e,n,r){return c(()=>{const o=t;null!==e&&(o.hasOwnProperty("decorators")&&void 0!==o.decorators?o.decorators.push(...e):o.decorators=e),null!==n&&(o.ctorParameters=n),null!==r&&(o.propDecorators=o.hasOwnProperty("propDecorators")&&void 0!==o.propDecorators?{...o.propDecorators,...r}:r)})}let Vl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"platform"})}return t})();function Ul(t){return"function"==typeof t&&void 0!==t[i.bh]}function Wl(t){return Ul(t)&&"function"==typeof t.set}function Gl(t,e){!function(t,e){if(typeof COMPILED>"u"||!COMPILED){const n=o.laP;n.ng??={},n.ng[t]=e}}(t,e)}const ql=new o.nKC(""),Ql=new o.nKC("");let Zl,Xl=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,e,n){this._ngZone=t,this.registry=e,(0,o.M6u)()&&(this._destroyRef=(0,o.WQX)(o.abz,{optional:!0})??void 0),Zl||(function(t){Zl=t}(n),n.addToWindow(e)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),e=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{o.SKi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),e.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t()},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!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,e,n),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,e,n){return[]}static ɵfac=function(e){return new(e||t)((0,o.KVO)(o.SKi),(0,o.KVO)(Yl),(0,o.KVO)(Ql))};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac})}return t})(),Yl=(()=>{class t{_applications=new Map;registerApplication(t,e){this._applications.set(t,e)}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,e=!0){return Zl?.findTestabilityInTree(this,t,e)??null}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"platform"})}return t})();function Kl(t){return!!t&&"function"==typeof t.then}function Jl(t){return!!t&&"function"==typeof t.subscribe}const tc=new o.nKC("");function ec(t){return(0,o.EmA)([{provide:tc,multi:!0,useValue:t}])}let nc=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e});appInits=(0,o.WQX)(tc,{optional:!0})??[];injector=(0,o.WQX)(o.zZn);constructor(){}runInitializers(){if(this.initialized)return;const t=[];for(const e of this.appInits){const n=(0,o.N4e)(this.injector,e);if(Kl(n))t.push(n);else if(Jl(n)){const e=new Promise((t,e)=>{n.subscribe({complete:t,error:e})});t.push(e)}}const e=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const rc=new o.nKC("");function oc(){}function ic(){(0,i.KO)(()=>{throw new o.buA(600,"")})}function sc(t,e){return Array.isArray(e)?e.reduce(sc,t):{...t,...e}}let ac=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,o.WQX)(o.ZTf);afterRenderManager=(0,o.WQX)(Kr);zonelessEnabled=(0,o.WQX)(o.Evm);rootEffectScheduler=(0,o.WQX)(o.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new s.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,o.WQX)(o.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,l.T)(t=>!t))}constructor(){(0,o.WQX)(Zr,{optional:!0})}whenStable(){let t;return new Promise(e=>{t=this.isStable.subscribe({next:t=>{t&&e()}})}).finally(()=>{t.unsubscribe()})}_injector=(0,o.WQX)(o.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,e){return this.bootstrapImpl(t,e)}bootstrapImpl(t,e,n=o.zZn.NULL){return this._injector.get(o.SKi).run(()=>{H(V.BootstrapComponentStart);const r=t instanceof Qi;if(!this._injector.get(nc).done)throw new o.buA(405,"");let i;i=r?t:this._injector.get(Xi).resolveComponentFactory(t),this.componentTypes.push(i.componentType);const s=function(t){return t.isBoundToModule}(i)?void 0:this._injector.get(Ia),a=i.create(n,[],e||i.selector,s),l=a.location.nativeElement,c=a.injector.get(ql,null);return c?.registerApplication(l),a.onDestroy(()=>{this.detachView(a.hostView),lc(this.components,a),c?.unregisterApplication(l)}),this._loadComponent(a),H(V.BootstrapComponentEnd,a),a})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){H(V.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(Qr.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw H(V.ChangeDetectionEnd),new o.buA(101,!1);const t=(0,i.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,i.Ht)(t),this.afterTick.next(),H(V.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Yi,null,{optional:!0}));let t=0;for(;0!==this.dirtyFlags&&t++<10;){H(V.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{H(V.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(7&this.dirtyFlags){const e=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:n}of this.allViews)(e||(0,o.dMS)(n))&&(si(n,e&&!this.zonelessEnabled?0:1),t=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>(0,o.dMS)(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;lc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(t){this.internalErrorHandler(t)}this.components.push(t),this._injector.get(rc,[]).forEach(e=>e(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._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>lc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new o.buA(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function lc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function cc(){let t,e;return{promise:new Promise((n,r)=>{t=n,e=r}),resolve:t,reject:e}}function uc(t){const e=(0,o.OAn)(),n=(0,o.Mx4)();if($l(e,n),!gc(0,e))return;const r=e[o.YEL];fl(0,vl(e,n),t(()=>mc(0,e,n),r))}function dc(t){const e=(0,o.OAn)(),n=e[o.YEL],r=(0,o.Mx4)(),i=wl(e[o.eDl],r);i.loadingState===ul.NOT_STARTED&&fl(1,vl(e,r),t(()=>pc(i,e,r),n))}function hc(t,e,n){const r=e[o.YEL],i=vl(e,n),s=i[6];fl(2,i,t(()=>yc(r,s),r))}function pc(t,e,n){fc(t,e,n)}function fc(t,e,n){const r=e[o.YEL],i=e[o.eDl];if(t.loadingState!==ul.NOT_STARTED)return t.loadingPromise??Promise.resolve();const s=vl(e,n),a=function(t,e){return(0,o.XRZ)(t,e.primaryTmplIndex+o.Yw1)}(i,t);t.loadingState=ul.IN_PROGRESS,gl(1,s);let l=t.dependencyResolverFn;const c=r.get(o.u5s).add();return l?(t.loadingPromise=Promise.allSettled(l()).then(n=>{let r=!1,i=null;const s=[],l=[];for(let t=0;t<n.length;t++){const e=n[t];if("fulfilled"!==e.status){r=!0,i=e.reason instanceof Error?e.reason:new Error(String(e.reason));break}{const t=e.value,n=(0,o.xUg)(t)||(0,o.HaV)(t);if(n)s.push(n);else{const e=(0,o.oyA)(t);e&&l.push(e)}}}if(r){if(t.loadingState=ul.FAILED,null===t.errorTmplIndex){const t=new o.buA(-750,"");Go(e,t)}}else{t.loadingState=ul.COMPLETE;const e=a.tView;if(s.length>0){e.directiveRegistry=_l(e.directiveRegistry,s);const n=s.map(t=>t.type),r=(0,o.jXY)(!1,...n);t.providers=r}l.length>0&&(e.pipeRegistry=_l(e.pipeRegistry,l))}}),t.loadingPromise.finally(()=>{t.loadingPromise=null,c()})):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=ul.COMPLETE,c()}),t.loadingPromise)}function gc(t,e){return e[o.YEL].get(Dl,null,{optional:!0})?.behavior!==pl.Manual}function mc(t,e,n){const r=e[o.eDl],i=e[n.index];if(!gc(0,e))return;const s=vl(e,n),a=wl(r,n);switch(ml(s),a.loadingState){case ul.NOT_STARTED:Rl(dl.Loading,n,i),fc(a,e,n),a.loadingState===ul.IN_PROGRESS&&zl(a,n,i);break;case ul.IN_PROGRESS:Rl(dl.Loading,n,i),zl(a,n,i);break;case ul.COMPLETE:Rl(dl.Complete,n,i);break;case ul.FAILED:Rl(dl.Error,n,i)}}function yc(t,e,n){return bc.apply(this,arguments)}function bc(){return(bc=(0,r.A)(function*(t,e,n){const o=t.get(Ie);if(o.hydrating.has(e))return;const{parentBlockPromise:i,hydrationQueue:s}=function(t,e){const n=e.get(Ie),r=e.get(he).get("__nghDeferData__",{});let o=!1,i=t,s=null;const a=[];for(;!o&&i;){o=n.has(i);const t=n.hydrating.get(i);if(null===s&&null!=t){s=t.promise;break}a.unshift(i),i=r[i].p}return{parentBlockPromise:s,hydrationQueue:a}}(e,t);if(0===s.length)return;null!==i&&s.shift(),function(t,e){for(let n of e)t.hydrating.set(n,cc())}(o,s),null!==i&&(yield i);const a=s[0];o.has(a)?yield vc(t,s,n):o.awaitParentBlock(a,(0,r.A)(function*(){return yield vc(t,s,n)}))})).apply(this,arguments)}function vc(t,e,n){return wc.apply(this,arguments)}function wc(){return(wc=(0,r.A)(function*(t,e,n){const r=t.get(Ie),i=r.hydrating,s=t.get(o.rev),a=s.add();for(let n=0;n<e.length;n++){const o=e[n],s=r.get(o);if(null==s){Cc(n,e,r),_c(e.slice(n),r);break}if(yield xc(s),yield kc(t),Sc(s)){Vi(s),_c(e.slice(n),r);break}i.get(o).resolve()}const l=e[e.length-1];yield i.get(l)?.promise,s.remove(a),n&&n(e),function(t,e,n,r){null!==t&&(n.cleanup(e),Wi(t.lContainer),function(t){const e=t._views;for(const t of e){const e=Le(t);null!==e&&null!==e[o.jgP]&&((0,o.q$2)(e)?Gi(e):Wi(e))}}(r))}(r.get(l),e,r,t.get(ac))})).apply(this,arguments)}function Sc(t){return vl(t.lView,t.tNode)[1]===dl.Error}function Cc(t,e,n){const r=t-1,o=r>-1?n.get(e[r]):null;o&&Wi(o.lContainer)}function _c(t,e){const n=e.hydrating;for(const e in t)n.get(e)?.reject();e.cleanup(t)}function kc(t){return new Promise(e=>no(e,{injector:t}))}function xc(t){return Tc.apply(this,arguments)}function Tc(){return(Tc=(0,r.A)(function*(t){const{tNode:e,lView:n}=t,r=vl(n,e);return new Promise(t=>{(function(t,e){Array.isArray(t[8])||(t[8]=[]),t[8].push(e)})(r,t),mc(0,n,e)})})).apply(this,arguments)}function Ec(t,e,n){return 0===t?Ac(e,n):2!==t||!Ac(e,n)}function Ac(t,e){const n=t[o.YEL],r=wl(t[o.eDl],e),i=De(n),s=function(t){return null!=t&&!(1&~t)}(r.flags),a=null!==vl(t,e)[6];return!(s&&a&&i)}function Ic(t,e){const n=wl(t,e);return n.hydrateTriggers??=new Map}function Oc(t,e){const n=(0,o.OAn)();if(Is(n,(0,o.xbp)(),e)){const r=(0,o.klJ)(),i=(0,o.CpD)();if(qo(i,r,n,t,e))(0,o.Qs1)(i)&&Fo(n,i.index);else{const r=(0,o.d31)(i,n);Ho(n[o.GpT],r,null,i.value,t,e,null)}}return Oc}function Lc(t,e,n,r){const i=(0,o.OAn)();return Is(i,(0,o.xbp)(),e)&&((0,o.klJ)(),function(t,e,n,r,i,s){const a=(0,o.d31)(t,e);Ho(e[o.GpT],a,s,t.value,n,r,i)}((0,o.CpD)(),i,t,e,n,r)),Lc}function Dc(t){if(Yr("NgAnimateEnter"),!_r)return Dc;const e=(0,o.OAn)();if(kr(e))return Dc;const n=(0,o.Mx4)(),r=e[o.YEL].get(o.SKi);return Fr(Pr(e),n,()=>function(t,e,n,r){const i=(0,o.d31)(e,t),s=t[o.GpT],a=Nr(n),l=[];let c=!1;const u=t=>{if(Mr(t)!==i)return;const e=t instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{s.listen(i,e,d)})},d=t=>{Mr(t)===i&&(jr(t,i)&&(c=!0),function(t,e,n){const r=Er.get(e);if(Mr(t)===e&&r&&jr(t,e)){t.stopPropagation();for(const t of r.classList)n.removeClass(e,t);xr(e)}}(t,i,s))};if(a&&a.length>0){r.runOutsideAngular(()=>{l.push(s.listen(i,"animationstart",u)),l.push(s.listen(i,"transitionstart",u))}),function(t,e,n){const r=Er.get(t);if(r){for(const t of e)r.classList.push(t);for(const t of n)r.cleanupFns.push(t)}else Er.set(t,{classList:e,cleanupFns:n})}(i,a,l);for(const t of a)s.addClass(i,t);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(Gr(i,Ar,_r),!Ar.has(i))){for(const t of a)s.removeClass(i,t);xr(i)}})})}}(e,n,t,r)),lo(e[o.YEL]),co(e[o.YEL],Pr(e)),Dc}function Pc(t){if(Yr("NgAnimateLeave"),!_r)return Pc;const e=(0,o.OAn)();if(kr(e))return Pc;const n=(0,o.Mx4)(),r=e[o.YEL].get(o.SKi);return Fr(Rr(e),n,()=>function(t,e,n,r){const{promise:i,resolve:s}=cc(),a=(0,o.d31)(e,t),l=t[o.GpT];qr.add(t[o.ID]),(Rr(t).get(e.index).resolvers??=[]).push(s);const c=Nr(n);return c&&c.length>0?function(t,e,n,r,o,i){!function(t,e){if(!_r)return;const n=Er.get(t);if(n&&n.classList.length>0&&function(t,e){for(const n of e)if(t.classList.contains(n))return!0;return!1}(t,n.classList))for(const r of n.classList)e.removeClass(t,r);xr(t)}(t,o);const s=[],a=Rr(n).get(e.index)?.resolvers;let l,c=!1;const u=i=>{if((Mr(i)===t||"animation-fallback"===i.type)&&("animation-fallback"===i.type||jr(i,t))){if(c=!0,l&&clearTimeout(l),"animation-fallback"!==i.type&&i.stopPropagation(),Ar.delete(t),Lr(e,t),Array.isArray(e.projection))for(const e of r)o.removeClass(t,e);$r(a,s),zr(n,e)}};i.runOutsideAngular(()=>{s.push(o.listen(t,"animationend",u)),s.push(o.listen(t,"transitionend",u))}),Dr(e,t);for(const e of r)o.addClass(t,e);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(c)return;Gr(t,Ar,_r);const r=Ar.get(t);r?(l=setTimeout(()=>{u(new CustomEvent("animation-fallback"))},r.duration+50),s.push(()=>clearTimeout(l))):(Lr(e,t),$r(a,s),zr(n,e))})})}(a,e,t,c,l,r):s(),{promise:i,resolve:s}}(e,n,t,r)),lo(e[o.YEL]),Pc}class Rc{destroy(t){}updateValue(t,e){}swap(t,e){const n=Math.min(t,e),r=Math.max(t,e),o=this.detach(r);if(r-n>1){const t=this.detach(n);this.attach(n,o),this.attach(r,t)}else this.attach(n,o)}move(t,e){this.attach(e,this.detach(t))}}function Nc(t,e,n,r,o){return t===n&&Object.is(e,r)?1:Object.is(o(t,e),o(n,r))?-1:0}function Mc(t,e,n,r){return!(void 0===e||!e.has(r)||(t.attach(n,e.get(r)),e.delete(r),0))}function jc(t,e,n,r,o){if(Mc(t,e,r,n(r,o)))t.updateValue(r,o);else{const e=t.create(r,o);t.attach(r,e)}}function Fc(t,e,n,r){const o=new Set;for(let i=e;i<=n;i++)o.add(r(i,t.at(i)));return o}class $c{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const e=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let n=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,n]of this.kvMap)if(t(n,e),void 0!==this._vMap){const r=this._vMap;for(;r.has(n);)n=r.get(n),t(n,e)}}}function zc(t,e,n,r,i,s,a,l){Yr("NgControlFlow");const c=(0,o.OAn)(),u=(0,o.klJ)();return al(c,u,t,e,n,r,i,(0,o.db4)(u.consts,s),256,a,l),Hc}function Hc(t,e,n,r,i,s,a,l){Yr("NgControlFlow");const c=(0,o.OAn)(),u=(0,o.klJ)();return al(c,u,t,e,n,r,i,(0,o.db4)(u.consts,s),512,a,l),Hc}function Bc(t,e){Yr("NgControlFlow");const n=(0,o.OAn)(),r=(0,o.xbp)(),s=n[r]!==sr?n[r]:-1,a=-1!==s?Gc(n,o.Yw1+s):void 0;if(Is(n,r,t)){const r=(0,i.Ht)(null);try{if(void 0!==a&&yi(a,0),-1!==t){const r=o.Yw1+t,i=Gc(n,r),s=qc(n[o.eDl],r),a=null;mi(i,Xo(n,s,e,{dehydratedView:a}),0,Yo(s,a))}}finally{(0,i.Ht)(r)}}else if(void 0!==a){const t=gi(a,0);void 0!==t&&(t[o.SKP]=e)}}class Vc{lContainer;$implicit;$index;constructor(t,e,n){this.lContainer=t,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-o.Y20}}class Uc{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,n){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n}}class Wc extends Rc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,e,n){super(),this.lContainer=t,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-o.Y20}at(t){return this.getLView(t)[o.SKP].$implicit}attach(t,e){const n=e[o.tcA];this.needsIndexUpdate||=t!==this.length,mi(this.lContainer,e,t,Yo(this.templateTNode,n)),function(t,e){if(t.length<=o.Y20)return;const n=t[o.Y20+e],r=n?n[o.Isx]:void 0;n&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0&&(function(t,e){const n=t.get(io);if(e.detachedLeaveAnimationFns){for(const t of e.detachedLeaveAnimationFns)n.queue.delete(t);e.detachedLeaveAnimationFns=void 0}}(n[o.YEL],r),qr.delete(n[o.ID]),r.detachedLeaveAnimationFns=void 0)}(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function(t,e){if(t.length<=o.Y20)return;const n=t[o.Y20+e],r=n?n[o.Isx]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}(this.lContainer,t),function(t,e){return bi(t,e)}(this.lContainer,t)}create(t,e){return Xo(this.hostLView,this.templateTNode,new Vc(this.lContainer,e,t),{dehydratedView:null})}destroy(t){mo(t[o.eDl],t)}updateValue(t,e){this.getLView(t)[o.SKP].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[o.SKP].$index=t}getLView(t){return function(t,e){return gi(t,e)}(this.lContainer,t)}}function Gc(t,e){return t[e]}function qc(t,e){return(0,o.XRZ)(t,e)}function Qc(t,e,n){const r=(0,o.OAn)();return Is(r,(0,o.xbp)(),e)&&((0,o.klJ)(),Mo((0,o.CpD)(),r,t,e,r[o.GpT],n)),Qc}function Zc(t,e,n,r,o){qo(e,t,n,o?"class":"style",r)}function Xc(t,e,n,r){const i=(0,o.OAn)(),s=i[o.eDl],a=t+o.Yw1,l=s.firstCreatePass?Ss(a,i,2,e,zo,(0,o.ckz)(),n,r):s.data[a];if((0,o.Qs1)(l)){const n=i[o.M0L].tracingService;if(n&&n.componentCreate)return n.componentCreate(Bs(s.data[l.directiveStart+l.componentOffset]),()=>(Yc(t,e,i,l,r),Xc))}return Yc(t,e,i,l,r),Xc}function Yc(t,e,n,r,i){if(Vo(r,n,t,e,ru),(0,o.yoD)(r)){const t=n[o.eDl];Ro(t,n,r),Ne(t,r,n)}null!=i&&No(n,r)}function Kc(){const t=(0,o.klJ)(),e=Uo((0,o.Mx4)());return t.firstCreatePass&&Cs(t,e),(0,o.UhH)(e)&&(0,o.krE)(),(0,o.N79)(),null!=e.classesWithoutHost&&function(t){return!!(8&t.flags)}(e)&&Zc(t,e,(0,o.OAn)(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return!!(16&t.flags)}(e)&&Zc(t,e,(0,o.OAn)(),e.stylesWithoutHost,!1),Kc}function Jc(t,e,n,r){return Xc(t,e,n,r),Kc(),Jc}function tu(t,e,n,r){const i=(0,o.OAn)(),s=i[o.eDl],a=t+o.Yw1,l=s.firstCreatePass?_s(a,s,2,e,n,r):s.data[a];return Vo(l,i,t,e,ru),null!=r&&No(i,l),tu}function eu(){const t=Uo((0,o.Mx4)());return(0,o.UhH)(t)&&(0,o.krE)(),(0,o.N79)(),eu}function nu(t,e,n,r){return tu(t,e,n,r),eu(),nu}let ru=(t,e,n,r,i)=>((0,o.m7n)(!0),kn(e[o.GpT],r,(0,o.UaU)()));function ou(t,e,n){const r=(0,o.OAn)(),i=r[o.eDl],s=t+o.Yw1,a=i.firstCreatePass?Ss(s,r,8,"ng-container",zo,(0,o.ckz)(),e,n):i.data[s];if(Vo(a,r,t,"ng-container",cu),(0,o.yoD)(a)){const t=r[o.eDl];Ro(t,r,a),Ne(t,a,r)}return null!=n&&No(r,a),ou}function iu(){const t=(0,o.klJ)(),e=Uo((0,o.Mx4)());return t.firstCreatePass&&Cs(t,e),iu}function su(t,e,n){return ou(t,e,n),iu(),su}function au(t,e,n){const r=(0,o.OAn)(),i=r[o.eDl],s=t+o.Yw1,a=i.firstCreatePass?_s(s,i,8,"ng-container",e,n):i.data[s];return Vo(a,r,t,"ng-container",cu),null!=n&&No(r,a),au}function lu(){return Uo((0,o.Mx4)()),iu}let cu=(t,e,n,r,i)=>((0,o.m7n)(!0),_n(e[o.GpT],""));function uu(){return(0,o.OAn)()}function du(t,e,n){const r=(0,o.OAn)();return Is(r,(0,o.xbp)(),e)&&((0,o.klJ)(),jo((0,o.CpD)(),r,t,e,r[o.GpT],n)),du}const hu=void 0;var pu=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],hu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],hu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",hu,hu,hu],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let fu={};function gu(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=yu(e);if(n)return n;const r=e.split("-")[0];if(n=yu(r),n)return n;if("en"===r)return pu;throw new o.buA(701,!1)}function mu(t){return gu(t)[bu.PluralCase]}function yu(t){return t in fu||(fu[t]=o.laP.ng&&o.laP.ng.common&&o.laP.ng.common.locales&&o.laP.ng.common.locales[t]),fu[t]}var bu=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(bu||{});const vu=["zero","one","two","few","many"],wu="en-US",Su={marker:"element"},Cu={marker:"ICU"};var _u=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(_u||{});let ku=wu;function xu(t){"string"==typeof t&&(ku=t.toLowerCase().replace(/_/g,"-"))}let Tu=0,Eu=0,Au=(t,e,n,r)=>((0,o.m7n)(!0),function(t,e,n){const r=t[o.GpT];switch(n){case Node.COMMENT_NODE:return _n(r,e);case Node.TEXT_NODE:return Sn(r,e);case Node.ELEMENT_NODE:return kn(r,e,null)}}(t,n,r));function Iu(t,e,n,r){const i=n[o.GpT];let s,a=null;for(let l=0;l<e.length;l++){const c=e[l];if("string"==typeof c){const t=e[++l];null===n[t]&&(n[t]=Au(n,0,c,Node.TEXT_NODE))}else if("number"==typeof c)switch(1&c){case 0:const u=Mi(c);let d,h;if(null===a&&(a=u,s=i.parentNode(r)),u===a?(d=r,h=s):(d=null,h=(0,o.IvY)(n[u])),null!==h){const e=ji(c);xn(i,h,n[e],d,!1);const r=Pi(t,e);if(null!==r&&"object"==typeof r){const e=Ni(r,n);null!==e&&Iu(t,r.create[e],n,n[r.anchorIdx])}}break;case 1:const p=e[++l],f=e[++l];Ho(i,(0,o.vaC)(c>>>1,n),null,null,p,f,null)}else switch(c){case Cu:const t=e[++l],r=e[++l];null===n[r]&&Xt(n[r]=Au(n,0,t,Node.COMMENT_NODE),n);break;case Su:const o=e[++l],i=e[++l];null===n[i]&&Xt(n[i]=Au(n,0,o,Node.ELEMENT_NODE),n)}}}function Ou(t,e,n,r,i){for(let s=0;s<n.length;s++){const a=n[s],l=n[++s];if(a&i){let i="";for(let a=s+1;a<=s+l;a++){const s=n[a];if("string"==typeof s)i+=s;else if("number"==typeof s)if(s<0)i+=(0,o.eFE)(e[r-s]);else{const l=s>>>2;switch(3&s){case 1:const s=n[++a],c=n[++a],u=t.data[l];if("string"==typeof u)Ho(e[o.GpT],e[l],null,u,s,i,c);else{const t=(0,o._px)();(0,o.ypq)(l);try{Mo(u,e,s,i,e[o.GpT],c)}finally{(0,o.ypq)(t)}}break;case 0:const d=e[l];null!==d&&Cn(e[o.GpT],d,i);break;case 2:Du(t,Pi(t,l),e,i);break;case 3:Lu(t,Pi(t,l),r,e)}}}}else{const o=n[s+1];if(o>0&&!(3&~o)){const n=Pi(t,o>>>2);e[n.currentCaseLViewIndex]<0&&Lu(t,n,r,e)}}s+=l}}function Lu(t,e,n,r){let o=r[e.currentCaseLViewIndex];if(null!==o){let i=Tu;o<0&&(o=r[e.currentCaseLViewIndex]=~o,i=-1),Ou(t,r,e.update[o],n,i)}}function Du(t,e,n,r){const o=function(t,e){let n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:{const r=function(t,e){const n=mu(e)(parseInt(t,10)),r=vu[n];return void 0!==r?r:"other"}(e,ku);n=t.cases.indexOf(r),-1===n&&"other"!==r&&(n=t.cases.indexOf("other"));break}case 0:n=t.cases.indexOf("other")}return-1===n?null:n}(e,r);if(Ni(e,n)!==o&&(Pu(t,e,n),n[e.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const r=n[e.anchorIdx];r&&Iu(t,e.create[o],n,r)}}function Pu(t,e,n){let r=Ni(e,n);if(null!==r){const i=e.remove[r];for(let e=0;e<i.length;e++){const r=i[e];if(r>0){const t=(0,o.vaC)(r,n);null!==t&&An(n[o.GpT],t)}else Pu(t,Pi(t,~r),n)}}}const Ru=/\ufffd(\d+):?\d*\ufffd/gi,Nu=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Mu=/\ufffd(\d+)\ufffd/,ju=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Fu=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,$u=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,zu=/\uE500/g;function Hu(t,e,n,r,i,s,a){const l=dr(t,r,1,null);let c=l<<_u.SHIFT,u=(0,o.Ab)();e===u&&(u=null),null===u&&(c|=_u.APPEND_EAGERLY),a&&(c|=_u.COMMENT,function(t){void 0===br&&(br=t())}(zi)),i.push(c,null===s?"":s);const d=Ei(t,l,a?32:1,null===s?"":s,null);Ai(n,d);const h=d.index;return(0,o.iMd)(d,!1),null!==u&&e!==u&&function(t,e){let n=t.insertBeforeIndex;null===n?(xo(ki,xi),n=t.insertBeforeIndex=[null,e]):((0,o.Xln)(Array.isArray(n),!0,"Expecting array here"),n.push(e))}(u,h),d}function Bu(t,e,n,r,o,i,s,a){const l=a.match(Ru),c=Hu(e,n,r,s,o,l?null:a,!1).index;l&&Vu(i,a,c,null,0,null),t.push({kind:0,index:c})}function Vu(t,e,n,r,o,i){const s=t.length,a=s+1;t.push(null,null);const l=s+2,c=e.split(Ru);let u=0;for(let e=0;e<c.length;e++){const n=c[e];if(1&e){const e=o+parseInt(n,10);t.push(-1-e),u|=Wu(e)}else""!==n&&t.push(n)}return t.push(n<<2|(r?1:0)),r&&t.push(r,i),t[s]=u,t[a]=t.length-l,u}function Uu(t){let e=0;for(let n=0;n<t.length;n++){const r=t[n];"number"==typeof r&&r<0&&e++}return e}function Wu(t){return 1<<Math.min(t,31)}function Gu(t){let e,n,r="",o=0,i=!1;for(;null!==(e=Fu.exec(t));)i?e[0]===`�/*${n}�`&&(o=e.index,i=!1):(r+=t.substring(o,e.index+e[0].length),n=e[1],i=!0);return r+=t.slice(o),r}function qu(t,e,n,r,o,i,s){let a=0;const l={type:i.type,currentCaseLViewIndex:dr(e,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};(function(t,e,n){t.push(Wu(e.mainBinding),2,-1-e.mainBinding,n<<2|2)})(r,i,s),function(t,e,n){const r=t.data[e];null===r?t.data[e]=n:r.value=n}(e,s,l);const c=i.values,u=[];for(let t=0;t<c.length;t++){const s=c[t],d=[];for(let t=0;t<s.length;t++){const e=s[t];if("string"!=typeof e){const n=d.push(e)-1;s[t]=`\x3c!--�${n}�--\x3e`}}const h=[];u.push(h),a=Xu(h,e,l,n,r,o,i.cases[t],s.join(""),d)|a}a&&function(t,e,n){t.push(e,1,n<<2|3)}(r,a,s),t.push({kind:3,index:s,cases:u,currentCaseLViewIndex:l.currentCaseLViewIndex})}function Qu(t){const e=[],n=[];let r=1,o=0;const i=Zu(t=t.replace(ju,function(t,e,n){return r="select"===n?0:1,o=parseInt(e.slice(1),10),""}));for(let t=0;t<i.length;){let o=i[t++].trim();1===r&&(o=o.replace(/\s*(?:=)?(\w+)\s*/,"$1")),o.length&&e.push(o);const s=Zu(i[t++]);e.length>n.length&&n.push(s)}return{type:r,mainBinding:o,cases:e,values:n}}function Zu(t){if(!t)return[];let e=0;const n=[],r=[],o=/[{}]/g;let i;for(o.lastIndex=0;i=o.exec(t);){const o=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const n=t.substring(e,o);ju.test(n)?r.push(Qu(n)):r.push(n),e=o+1}}else{if(0==n.length){const n=t.substring(e,o);r.push(n),e=o+1}n.push("{")}}const s=t.substring(e);return r.push(s),r}function Xu(t,e,n,r,o,i,s,a,l){const c=[],u=[],d=[];n.cases.push(s),n.create.push(c),n.remove.push(u),n.update.push(d);const h=Qe(ne()).getInertBodyElement(a),p=bn(h)||h;return p?Yu(t,e,n,r,o,c,u,d,p,i,l,0):0}function Yu(t,e,n,r,o,i,s,a,l,c,u,d){let h=0,p=l.firstChild;for(;p;){const l=dr(e,r,1,null);switch(p.nodeType){case Node.ELEMENT_NODE:const f=p,g=f.tagName.toLowerCase();if(on.hasOwnProperty(g)){td(i,Su,g,c,l),e.data[l]=g;const m=f.attributes;for(let t=0;t<m.length;t++){const e=m.item(t),n=e.name.toLowerCase(),r=!!e.value.match(Ru),o=f.namespaceURI,s="http://www.w3.org/2000/svg"===o?`:svg:${g}`:"http://www.w3.org/1998/Math/MathML"===o?`:math:${g}`:g;if(r)an.hasOwnProperty(n)&&Vu(a,e.value,l,e.name,0,nd(n,s));else if(an[n]){let t=e.value;nd(n,s)?ed(i,l,e.name,"unsafe:blocked"):ed(i,l,e.name,t)}}const y={kind:1,index:l,children:[]};t.push(y),h=Yu(y.children,e,n,r,o,i,s,a,p,l,u,d+1)|h,Ku(s,l,d)}break;case Node.TEXT_NODE:const m=p.textContent||"",y=m.match(Ru);td(i,null,y?"":m,c,l),Ku(s,l,d),y&&(h=Vu(a,m,l,null,0,null)|h),t.push({kind:0,index:l});break;case Node.COMMENT_NODE:const b=Mu.exec(p.textContent||"");if(b){const n=u[parseInt(b[1],10)];td(i,Cu,"",c,l),qu(t,e,r,o,c,n,l),Ju(s,l,d)}}p=p.nextSibling}return h}function Ku(t,e,n){0===n&&t.push(e)}function Ju(t,e,n){0===n&&(t.push(~e),t.push(e))}function td(t,e,n,r,o){null!==e&&t.push(e),t.push(n,o,function(t,e,n){return e<<17|n<<1}(0,r,o))}function ed(t,e,n,r){t.push(e<<1|1,n,r)}function nd(t,e){const n=t.toLowerCase(),r=e?function(t){const e=t.toLowerCase(),[n,r]=function(t,e=!0){if(":"!=t[0])return[null,t];const n=t.indexOf(":",1);if(-1===n){if(e)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,n),t.slice(n+1)]}(e,!1);return n===o.jNX||n===o.rJ1?`:${n}:${r}`:r}(e):"*",i=(Ln||(Ln={},Dn(On.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Dn(On.STYLE,void 0,[["*",["style"]]]),Dn(On.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Dn(On.URL,"math",[["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),Dn(On.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Dn(On.URL,"svg",[["a",["href","xlink:href"]]]),Dn(On.ATTRIBUTE_NO_BINDING,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Dn(On.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),Ln);switch(i[`${r}|${n}`]||i[`*|${n}`]||On.NONE){case On.HTML:return Pn;case On.STYLE:return Rn;case On.SCRIPT:return jn;case On.URL:return Ke;case On.RESOURCE_URL:return Mn;case On.ATTRIBUTE_NO_BINDING:return Vn;default:return null}}const rd=/\[(\ufffd.+?\ufffd?)\]/,od=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,id=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,sd=/{([A-Z0-9_]+)}/g,ad=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,ld=/\/\*/,cd=/\d+\:(\d+)/;function ud(t,e,n=-1){const r=(0,o.klJ)(),i=(0,o.OAn)(),s=o.Yw1+t,a=(0,o.db4)(r.consts,e),l=(0,o.Ab)();r.firstCreatePass&&function(t,e,n,r,i,s){const a=(0,o.Ab)(),l=[],c=[],u=[[]],d=[[]];i=function(t,e){if(function(t){return-1===t}(e))return Gu(t);{const n=t.indexOf(`:${e}�`)+2+e.toString().length,r=t.search(new RegExp(`�\\/\\*\\d+:${e}�`));return Gu(t.substring(n,r))}}(i,s);const h=function(t){return t.replace(zu," ")}(i).split($u);for(let r=0;r<h.length;r++){let s=h[r];if(1&r){const e=47===s.charCodeAt(0),n=s.charCodeAt(e?1:0),r=o.Yw1+Number.parseInt(s.substring(e?2:1));if(e)u.shift(),d.shift(),(0,o.iMd)((0,o.Ab)(),!1);else{const e=Ri(t,u[0],r);u.unshift([]),(0,o.iMd)(e,!0);const i={kind:2,index:r,children:[],type:35===n?0:1};d[0].push(i),d.unshift(i.children)}}else{const r=Zu(s);for(let o=0;o<r.length;o++){let s=r[o];if(1&o){const r=s;if("object"!=typeof r)throw new Error(`Unable to parse ICU expression in "${i}" message.`);const o=Hu(t,a,u[0],n,l,"",!0).index;qu(d[0],t,n,c,e,r,o)}else""!==s&&Bu(d[0],t,a,u[0],l,c,n,s)}}}t.data[r]={create:l,update:c,ast:d[0],parentTNodeIndex:e}}(r,null===l?0:l.index,i,s,a,n),2===r.type?i[o.b5C][o.Wg1]|=32:i[o.Wg1]|=32;const c=r.data[s],u=wo(r,l===i[o.qlT]?null:l,i);(function(t,e,n,r){const i=t[o.GpT];for(let s=0;s<e.length;s++){const a=e[s++],l=(a&_u.APPEND_EAGERLY)===_u.APPEND_EAGERLY,c=a>>>_u.SHIFT;let u=t[c],d=!1;null===u&&(u=t[c]=Au(t,0,e[s],(a&_u.COMMENT)===_u.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),d=(0,o.SX7)()),l&&null!==n&&d&&xn(i,n,u,r,!1)}})(i,c.create,u,l&&8&l.type?i[l.index]:null),(0,o.xyx)(!0)}function dd(){(0,o.xyx)(!1)}function hd(t,e,n){const r=(0,o.OAn)(),i=(0,o.klJ)(),s=(0,o.Mx4)();return fd(i,r,r[o.GpT],s,t,e,n),hd}function pd(t,e,n){const r=(0,o.OAn)(),i=(0,o.klJ)(),s=(0,o.Mx4)();return(3&s.type||n)&&Ns(s,i,r,n,r[o.GpT],t,e,Ps(s,r,e)),pd}function fd(t,e,n,r,o,i,s){let a=!0,l=null;if((3&r.type||s)&&(l??=Ps(r,e,i),Ns(r,t,e,s,n,o,i,l)&&(a=!1)),a){const t=r.outputs?.[o],n=r.hostDirectiveOutputs?.[o];if(n&&n.length)for(let t=0;t<n.length;t+=2){const s=n[t],a=n[t+1];l??=Ps(r,e,i),js(r,e,s,a,o,l)}if(t&&t.length)for(const n of t)l??=Ps(r,e,i),js(r,e,n,o,o,l)}}function gd(t=1){return(0,o.jvu)(t)}function md(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(t);for(let o=0;o<e.length;o++){const i=e[o];if("*"!==i){if(null===r?nr(t,i,!0):rr(r,i))return o}else n=o}return n}function yd(t){const e=(0,o.OAn)()[o.b5C][o.qlT];if(!e.projection){const n=e.projection=(0,o.WfI)(t?t.length:1,null),r=n.slice();let i=e.child;for(;null!==i;){if(128!==i.type){const e=t?md(i,t):0;null!==e&&(r[e]?r[e].projectionNext=i:n[e]=i,r[e]=i)}i=i.next}}}function bd(t,e=0,n,r,i,s){const a=(0,o.OAn)(),l=(0,o.klJ)(),c=r?t+1:null;null!==c&&al(a,l,c,r,i,s,null,n);const u=Ti(l,o.Yw1+t,16,null,n||null);null===u.projection&&(u.projection=e),(0,o.Pfq)();const d=!a[o.tcA]||(0,o.KtD)();null===a[o.b5C][o.qlT].projection[u.projection]&&null!==c?function(t,e,n){const r=o.Yw1+n,i=e.data[r];mi(t[r],Xo(t,i,void 0,{dehydratedView:null}),0,Yo(i,null))}(a,l,c):d&&!Oe(u)&&function(t,e,n){Do(e[o.GpT],0,e,n,vo(t,n,e),So(n.parent||e[o.qlT],n,e))}(l,a,u)}function vd(t,e,n,r){return ha(t,e,n,r),vd}function wd(t,e,n){return da(t,e,n),wd}function Sd(t){const e=(0,o.OAn)(),n=(0,o.klJ)(),r=(0,o.w7Z)();(0,o.GA0)(r+1);const i=fa(n,r);if(t.dirty&&(0,o.vOT)(e)===!(2&~i.metadata.flags)){if(null===i.matches)t.reset([]);else{const n=ga(e,r);t.reset(n,Ht),t.notifyOnChanges()}return!0}return!1}function Cd(){return ca((0,o.OAn)(),(0,o.w7Z)())}function _d(t,e,n,r,o){return wa(e,ha(t,n,r,o)),_d}function kd(t,e,n,r){return wa(t,da(e,n,r)),kd}function xd(t=1){(0,o.GA0)((0,o.w7Z)()+t)}function Td(t){const e=(0,o.VPL)();return(0,o.Hh6)(e,o.Yw1+t)}function Ed(t,e){return t<<17|e<<2}function Ad(t){return t>>17&32767}function Id(t){return 2|t}function Od(t){return(131068&t)>>2}function Ld(t,e){return-131069&t|e<<2}function Dd(t){return 1|t}function Pd(t,e,n,r){const o=t[n+1],i=null===e;let s=r?Ad(o):Od(o),a=!1;for(;0!==s&&(!1===a||i);){const n=t[s+1];Rd(t[s],e)&&(a=!0,t[s+1]=r?Dd(n):Id(n)),s=r?Ad(n):Od(n)}a&&(t[n+1]=r?Id(o):Dd(o))}function Rd(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&(0,o.FRF)(t,e)>=0}const Nd={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Md(t){return t.substring(Nd.key,Nd.keyEnd)}function jd(t){return t.substring(Nd.value,Nd.valueEnd)}function Fd(t,e){const n=Nd.textEnd;return n===e?-1:(e=Nd.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Nd.key=e,n),Hd(t,e,n))}function $d(t,e){const n=Nd.textEnd;let r=Nd.key=Hd(t,e,n);return n===r?-1:(r=Nd.keyEnd=function(t,e,n){let r;for(;e<n&&(45===(r=t.charCodeAt(e))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)e++;return e}(t,r,n),r=Bd(t,r,n),r=Nd.value=Hd(t,r,n),r=Nd.valueEnd=function(t,e,n){let r=-1,o=-1,i=-1,s=e,a=s;for(;s<n;){const l=t.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=Vd(t,l,s,n):e===s-4&&85===i&&82===o&&76===r&&40===l?a=s=Vd(t,41,s,n):l>32&&(a=s),i=o,o=r,r=-33&l}return a}(t,r,n),Bd(t,r,n))}function zd(t){Nd.key=0,Nd.keyEnd=0,Nd.value=0,Nd.valueEnd=0,Nd.textEnd=t.length}function Hd(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Bd(t,e,n,r){return(e=Hd(t,e,n))<n&&e++,e}function Vd(t,e,n,r){let o=-1,i=n;for(;i<r;){const n=t.charCodeAt(i++);if(n==e&&92!==o)return i;o=92==n&&92===o?0:n}throw new Error}function Ud(t,e,n){return Xd(t,e,n,!1),Ud}function Wd(t,e){return Xd(t,e,null,!0),Wd}function Gd(t){Yd(nh,qd,t,!1)}function qd(t,e){for(let n=function(t){return zd(t),$d(t,Hd(t,0,Nd.textEnd))}(e);n>=0;n=$d(e,n))nh(t,Md(e),jd(e))}function Qd(t){Yd(rh,Zd,t,!0)}function Zd(t,e){for(let n=function(t){return zd(t),Fd(t,Hd(t,0,Nd.textEnd))}(e);n>=0;n=Fd(e,n))(0,o.ezK)(t,Md(e),!0)}function Xd(t,e,n,r){const i=(0,o.OAn)(),s=(0,o.klJ)(),a=(0,o.b$O)(2);s.firstUpdatePass&&Jd(s,t,a,r),e!==sr&&Is(i,a,e)&&oh(s,s.data[(0,o._px)()],i,i[o.GpT],t,i[a+1]=function(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=(0,o.AsM)(Ge(t)))),t}(e,n),r,a)}function Yd(t,e,n,r){const i=(0,o.klJ)(),s=(0,o.b$O)(2);i.firstUpdatePass&&Jd(i,null,s,r);const a=(0,o.OAn)();if(n!==sr&&Is(a,s,n)){const l=i.data[(0,o._px)()];if(ah(l,r)&&!Kd(i,s)){let t=r?l.classesWithoutHost:l.stylesWithoutHost;null!==t&&(n=(0,o.n$e)(t,n||"")),Zc(i,l,a,n,r)}else!function(t,e,n,r,i,s,a,l){i===sr&&(i=o.Mlv);let c=0,u=0,d=0<i.length?i[0]:null,h=0<s.length?s[0]:null;for(;null!==d||null!==h;){const o=c<i.length?i[c+1]:void 0,p=u<s.length?s[u+1]:void 0;let f,g=null;d===h?(c+=2,u+=2,o!==p&&(g=h,f=p)):null===h||null!==d&&d<h?(c+=2,g=d):(u+=2,g=h,f=p),null!==g&&oh(t,e,n,r,g,f,a,l),d=c<i.length?i[c]:null,h=u<s.length?s[u]:null}}(i,l,a,a[o.GpT],a[s+1],a[s+1]=function(t,e,n){if(null==n||""===n)return o.Mlv;const r=[],i=Ge(n);if(Array.isArray(i))for(let e=0;e<i.length;e++)t(r,i[e],!0);else if(i instanceof Set)for(const e of i)t(r,e,!0);else if("object"==typeof i)for(const e in i)i.hasOwnProperty(e)&&t(r,e,i[e]);else"string"==typeof i&&e(r,i);return r}(t,e,n),r,s)}}function Kd(t,e){return e>=t.expandoStartIndex}function Jd(t,e,n,r){const i=t.data;if(null===i[n+1]){const s=i[(0,o._px)()],a=Kd(t,n);ah(s,r)&&null===e&&!a&&(e=!1),e=function(t,e,n,r){const i=(0,o.MT)(t);let s=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=eh(n=th(null,t,e,n,r),e.attrs,r),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==i)if(n=th(i,t,e,n,r),null===s){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Od(r))return t[Ad(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=th(null,t,e,n[1],r),n=eh(n,e.attrs,r),function(t,e,n,r){t[Ad(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else s=function(t,e,n){let r;const o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++)r=eh(r,t[i].hostAttrs,n);return eh(r,e.attrs,n)}(t,e,r)}return void 0!==s&&(r?e.residualClasses=s:e.residualStyles=s),n}(i,s,e,r),function(t,e,n,r,i,s){let a=s?e.classBindings:e.styleBindings,l=Ad(a),c=Od(a);t[r]=n;let u,d=!1;if(Array.isArray(n)?(u=n[1],(null===u||(0,o.FRF)(n,u)>0)&&(d=!0)):u=n,i)if(0!==c){const e=Ad(t[l+1]);t[r+1]=Ed(e,l),0!==e&&(t[e+1]=Ld(t[e+1],r)),t[l+1]=function(t,e){return 131071&t|e<<17}(t[l+1],r)}else t[r+1]=Ed(l,0),0!==l&&(t[l+1]=Ld(t[l+1],r)),l=r;else t[r+1]=Ed(c,0),0===l?l=r:t[c+1]=Ld(t[c+1],r),c=r;d&&(t[r+1]=Id(t[r+1])),Pd(t,u,r,!0),Pd(t,u,r,!1),function(t,e,n,r,i){const s=i?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&(0,o.FRF)(s,e)>=0&&(n[r+1]=Dd(n[r+1]))}(e,u,t,r,s),a=Ed(l,c),s?e.classBindings=a:e.styleBindings=a}(i,s,e,n,a,r)}}function th(t,e,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=e[a],r=eh(r,i.hostAttrs,o),i!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function eh(t,e,n){const r=n?1:2;let i=-1;if(null!==e)for(let s=0;s<e.length;s++){const a=e[s];"number"==typeof a?i=a:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),(0,o.ezK)(t,a,!!n||e[++s]))}return void 0===t?null:t}function nh(t,e,n){(0,o.ezK)(t,e,Ge(n))}function rh(t,e,n){const r=String(e);""!==r&&!r.includes(" ")&&(0,o.ezK)(t,r,n)}function oh(t,e,n,r,i,s,a,l){if(!(3&e.type))return;const c=t.data,u=c[l+1],d=function(t){return!(1&~t)}(u)?ih(c,e,n,i,Od(u),a):void 0;sh(d)||(sh(s)||function(t){return!(2&~t)}(u)&&(s=ih(c,null,n,i,l,a)),function(t,e,n,r,o){if(e)o?t.addClass(n,r):t.removeClass(n,r);else{let e=-1===r.indexOf("-")?void 0:yr.DashCase;null==o?t.removeStyle(n,r,e):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),e|=yr.Important),t.setStyle(n,r,o,e))}}(r,a,(0,o.vaC)((0,o._px)(),n),i,s))}function ih(t,e,n,r,i,s){const a=null===e;let l;for(;i>0;){const e=t[i],s=Array.isArray(e),c=s?e[1]:e,u=null===c;let d=n[i+1];d===sr&&(d=u?o.Mlv:void 0);let h=u?(0,o.K7h)(d,r):c===r?d:void 0;if(s&&!sh(h)&&(h=(0,o.K7h)(e,r)),sh(h)&&(l=h,a))return l;const p=t[i+1];i=a?Ad(p):Od(p)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(l=(0,o.K7h)(t,r))}return l}function sh(t){return void 0!==t}function ah(t,e){return!!(t.flags&(e?8:16))}function lh(t,e=""){const n=(0,o.OAn)(),r=(0,o.klJ)(),i=t+o.Yw1,s=r.firstCreatePass?Ti(r,i,1,e,null):r.data[i],a=ch(r,n,s,e);n[i]=a,(0,o.SX7)()&&To(r,n,a,s),(0,o.iMd)(s,!1)}let ch=(t,e,n,r)=>((0,o.m7n)(!0),Sn(e[o.GpT],r));function uh(t,e){let n=!1,r=(0,o.c$7)();for(let o=1;o<e.length;o+=2)n=Is(t,r++,e[o])||n;if((0,o.Kw3)(r),!n)return sr;let i=e[0];for(let t=1;t<e.length;t+=2)i+=(0,o.eFE)(e[t])+(t+1!==e.length?e[t+1]:"");return i}function dh(t,e,n,r=""){return Is(t,(0,o.xbp)(),n)?e+(0,o.eFE)(n)+r:sr}function hh(t,e,n,r,i,s=""){const a=Os(t,(0,o.c$7)(),n,i);return(0,o.b$O)(2),a?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s:sr}function ph(t,e,n,r,i,s,a,l=""){const c=Ls(t,(0,o.c$7)(),n,i,a);return(0,o.b$O)(3),c?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l:sr}function fh(t,e,n,r,i,s,a,l,c,u=""){const d=Ds(t,(0,o.c$7)(),n,i,a,c);return(0,o.b$O)(4),d?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l+(0,o.eFE)(c)+u:sr}function gh(t,e,n,r,i,s,a,l,c,u,d,h=""){const p=(0,o.c$7)();let f=Ds(t,p,n,i,a,c);return f=Is(t,p+4,d)||f,(0,o.b$O)(5),f?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l+(0,o.eFE)(c)+u+(0,o.eFE)(d)+h:sr}function mh(t,e,n,r,i,s,a,l,c,u,d,h,p,f=""){const g=(0,o.c$7)();let m=Ds(t,g,n,i,a,c);return m=Os(t,g+4,d,p)||m,(0,o.b$O)(6),m?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l+(0,o.eFE)(c)+u+(0,o.eFE)(d)+h+(0,o.eFE)(p)+f:sr}function yh(t,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m=""){const y=(0,o.c$7)();let b=Ds(t,y,n,i,a,c);return b=Ls(t,y+4,d,p,g)||b,(0,o.b$O)(7),b?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l+(0,o.eFE)(c)+u+(0,o.eFE)(d)+h+(0,o.eFE)(p)+f+(0,o.eFE)(g)+m:sr}function bh(t,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m,y,b=""){const v=(0,o.c$7)();let w=Ds(t,v,n,i,a,c);return w=Ds(t,v+4,d,p,g,y)||w,(0,o.b$O)(8),w?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l+(0,o.eFE)(c)+u+(0,o.eFE)(d)+h+(0,o.eFE)(p)+f+(0,o.eFE)(g)+m+(0,o.eFE)(y)+b:sr}function vh(t){return wh("",t),vh}function wh(t,e,n){const r=(0,o.OAn)(),i=dh(r,t,e,n);return i!==sr&&Ch(r,(0,o._px)(),i),wh}function Sh(t,e,n,r,i){const s=(0,o.OAn)(),a=hh(s,t,e,n,r,i);return a!==sr&&Ch(s,(0,o._px)(),a),Sh}function Ch(t,e,n){const r=(0,o.vaC)(e,t);Cn(t[o.GpT],r,n)}function _h(t,e,n){Wl(e)&&(e=e());const r=(0,o.OAn)();return Is(r,(0,o.xbp)(),e)&&((0,o.klJ)(),Mo((0,o.CpD)(),r,t,e,r[o.GpT],n)),_h}function kh(t,e){const n=Wl(t);return n&&t.set(e),n}function xh(t,e){const n=(0,o.OAn)(),r=(0,o.klJ)(),i=(0,o.Mx4)();return fd(r,n,n[o.GpT],i,t,e),xh}const Th={};function Eh(t){return Is((0,o.OAn)(),(0,o.xbp)(),t)?(0,o.eFE)(t):sr}function Ah(t,e,n){const r=(0,o.klJ)();r.firstCreatePass&&Ih(e,r.data,r.blueprint,(0,o.JlV)(t),n)}function Ih(t,e,n,r,i){if(t=(0,o.nl4)(t),Array.isArray(t))for(let o=0;o<t.length;o++)Ih(t[o],e,n,r,i);else{const s=(0,o.klJ)(),a=(0,o.OAn)(),l=(0,o.Mx4)();let c=(0,o.Y3W)(t)?t:(0,o.nl4)(t.provide);const u=(0,o.Rc9)(t),d=1048575&l.providerIndexes,h=l.directiveStart,p=l.providerIndexes>>20;if((0,o.Y3W)(t)||!t.multi){const r=new Y(u,i,ds,null),o=Dh(c,e,i?d:d+p,h);-1===o?(ft(ut(l,a),s,c),Oh(s,t,e.length),e.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(r),a.push(r)):(n[o]=r,a[o]=r)}else{const o=Dh(c,e,d+p,h),f=Dh(c,e,d,d+p),g=f>=0&&n[f];if(i&&!g||!i&&!(o>=0&&n[o])){ft(ut(l,a),s,c);const o=function(t,e,n,r,o){const i=new Y(t,n,ds,null);return i.multi=[],i.index=e,i.componentProviders=0,Lh(i,o,r&&!n),i}(i?Rh:Ph,n.length,i,r,u);!i&&g&&(n[f].providerFactory=o),Oh(s,t,e.length,0),e.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(o),a.push(o)}else Oh(s,t,o>-1?o:f,Lh(n[i?f:o],u,!i&&r));!i&&r&&g&&n[f].componentProviders++}}}function Oh(t,e,n,r){const i=(0,o.Y3W)(e),s=(0,o.MME)(e);if(i||s){const a=(s?(0,o.nl4)(e.useClass):e).prototype.ngOnDestroy;if(a){const o=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,a]):o[t+1].push(r,a)}else o.push(n,a)}}}function Lh(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Dh(t,e,n,r){for(let o=n;o<r;o++)if(e[o]===t)return o;return-1}function Ph(t,e,n,r,o){return Nh(this.multi,[])}function Rh(t,e,n,r,i){const s=this.multi;let a;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=St(r,r[o.eDl],this.providerFactory.index,i);a=e.slice(0,t),Nh(s,a);for(let n=t;n<e.length;n++)a.push(e[n])}else a=[],Nh(s,a);return a}function Nh(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function Mh(t,e){return n=>{n.providersResolver=(e,n)=>Ah(e,n?n(t):t,!1),e&&(n.viewProvidersResolver=(t,n)=>Ah(t,n?n(e):e,!0))}}function jh(t){if("function"==typeof t)return t;const e=(0,o.Bqz)(t);return e.some(o.Jzi)?()=>e.map(o.nl4).map(Fh):e.map(Fh)}function Fh(t){return ts(t)?t.ngModule:t}function $h(t,e){const n=(0,o.gxQ)()+t,r=(0,o.OAn)();return r[n]===sr?Es(r,n,e()):As(r,n)}function zh(t,e,n){return Uh((0,o.OAn)(),(0,o.gxQ)(),t,e,n)}function Hh(t,e,n,r){return Wh((0,o.OAn)(),(0,o.gxQ)(),t,e,n,r)}function Bh(t,e,n,r,i){return Gh((0,o.OAn)(),(0,o.gxQ)(),t,e,n,r,i)}function Vh(t,e){const n=t[e];return n===sr?void 0:n}function Uh(t,e,n,r,o,i){const s=e+n;return Is(t,s,o)?Es(t,s+1,i?r.call(i,o):r(o)):Vh(t,s+1)}function Wh(t,e,n,r,o,i,s){const a=e+n;return Os(t,a,o,i)?Es(t,a+2,s?r.call(s,o,i):r(o,i)):Vh(t,a+2)}function Gh(t,e,n,r,o,i,s,a){const l=e+n;return Ls(t,l,o,i,s)?Es(t,l+3,a?r.call(a,o,i,s):r(o,i,s)):Vh(t,l+3)}function qh(t,e,n,r,o,i,s,a,l){const c=e+n;return Ds(t,c,o,i,s,a)?Es(t,c+4,l?r.call(l,o,i,s,a):r(o,i,s,a)):Vh(t,c+4)}function Qh(t,e,n,r,o,i){let s=e+n,a=!1;for(let e=0;e<o.length;e++)Is(t,s++,o[e])&&(a=!0);return a?Es(t,s,r.apply(i,o)):Vh(t,s)}function Zh(t,e){const n=(0,o.klJ)();let r;const i=t+o.Yw1;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=(0,o.wGu)(r.type,!0)),a=(0,o.a2B)(ds);try{const t=at(!1),e=s();return at(t),(0,o.M_e)(n,(0,o.OAn)(),i,e),e}finally{(0,o.a2B)(a)}}function Xh(t,e,n){const r=t+o.Yw1,i=(0,o.OAn)(),s=(0,o.Hh6)(i,r);return Kh(i,r)?Uh(i,(0,o.gxQ)(),e,s.transform,n,s):s.transform(n)}function Yh(t,e,n,r){const i=t+o.Yw1,s=(0,o.OAn)(),a=(0,o.Hh6)(s,i);return Kh(s,i)?Wh(s,(0,o.gxQ)(),e,a.transform,n,r,a):a.transform(n,r)}function Kh(t,e){return t[o.eDl].data[e].pure}function Jh(t,e){return _i(t,e)}function tp(t,e,n,r,i){const s=i[o.eDl];if(s!==r.tView)for(let a=o.Yw1;a<s.bindingStartIndex;a++){const s=i[a];if((0,o.A0l)(s)){(0,o.q$2)(s[o.jgP])&&tp(t,e,n,r,s[o.jgP]);for(let i=o.Y20;i<s.length;i++)tp(t,e,n,r,s[i])}else(0,o.q$2)(s)&&tp(t,e,n,r,s)}else!function(t,e,n,r,i){const s=i[o.SKP];let a=i[o.jgP];const l=i[o.f7T],c=i[o.qlT],u=i[o.YEL].get(o.SKi,null),d=()=>{if(r.encapsulation===Me.ShadowDom||r.encapsulation===Me.ExperimentalIsolatedShadowDom){const t=a.cloneNode(!1);a.replaceWith(t),a=t}const t=lr(n),e=cr(l,t,s,ur(n),a,c,null,null,null,null,null);(function(t,e,n,r){for(let r=o.Yw1;r<t[o.eDl].bindingStartIndex;r++){const i=t[r];if(((0,o.q$2)(i)||(0,o.A0l)(i))&&i[o.K29]===e){i[o.K29]=n;break}}t[o.EJG]===e&&(t[o.EJG]=n),t[o.Yrj]===e&&(t[o.Yrj]=n),n[o.K29]=e[o.K29],e[o.K29]=null,t[r]=n})(l,i,e,c.index),mo(i[o.eDl],i),Gi(i);const u=i[o.M0L].rendererFactory;(function(t,e){t.componentReplaced?.(e.id)})(u,r),e[o.GpT]=u.createRenderer(a,n),po(i[o.eDl],i),function(t){if(null!==t.projection){for(const e of t.projection)K(e)&&(e.projectionNext=null,e.flags&=-3);t.projection=null}}(c),Zo(t,e,s),ai(t,e,t.template,s)};null===u?ep(t,e,d):u.run(()=>ep(t,e,d))}(t,e,n,r,i)}function ep(t,e,n){try{n()}catch(n){if(null!==e&&n.message){const r=n.message+(n.stack?"\n"+n.stack:"");t?.hot?.send?.("angular:invalidate",{id:e,message:r,error:!0})}throw n}}const np={ɵɵanimateEnter:Dc,ɵɵanimateEnterListener:function t(e){if(Yr("NgAnimateEnter"),!_r)return t;const n=(0,o.OAn)();if(kr(n))return t;const r=(0,o.Mx4)();return Fr(Pr(n),r,()=>function(t,e,n){const r=(0,o.d31)(e,t);n.call(t[o.SKP],{target:r,animationComplete:Tr})}(n,r,e)),lo(n[o.YEL]),co(n[o.YEL],Pr(n)),t},ɵɵanimateLeave:Pc,ɵɵanimateLeaveListener:function t(e){if(Yr("NgAnimateLeave"),!_r)return t;const n=(0,o.OAn)(),r=(0,o.Mx4)();qr.add(n[o.ID]);const i=n[o.YEL].get(o.SKi),s=n[o.YEL].get(Sr);return Fr(Rr(n),r,()=>function(t,e,n,r,i){const{promise:s,resolve:a}=cc(),l=(0,o.d31)(e,t),c=[],u=t[o.GpT],d=kr(t);(Rr(t).get(e.index).resolvers??=[]).push(a);const h=Rr(t).get(e.index)?.resolvers;if(d)Hr(t,e,l,h,c);else{const s=setTimeout(()=>Hr(t,e,l,h,c),i),a={target:l,animationComplete:()=>{Hr(t,e,l,h,c),clearTimeout(s)}};Dr(e,l),r.runOutsideAngular(()=>{c.push(u.listen(l,"animationend",()=>{Hr(t,e,l,h,c),clearTimeout(s)},{once:!0}))}),n.call(t[o.SKP],a)}return{promise:s,resolve:a}}(n,r,e,i,s)),lo(n[o.YEL]),t},ɵɵattribute:Lc,ɵɵdefineComponent:Fa,ɵɵdefineDirective:Va,ɵɵdefineInjectable:o.jDH,ɵɵdefineInjector:o.G2t,ɵɵdefineNgModule:za,ɵɵdefinePipe:Ua,ɵɵdirectiveInject:ds,ɵɵgetInheritedFactory:Tt,ɵɵinject:o.KVO,ɵɵinjectAttribute:It,ɵɵinvalidFactory:hs,ɵɵinvalidFactoryDep:o.dmw,ɵɵtemplateRefExtractor:Jh,ɵɵresetView:o.Njj,ɵɵHostDirectivesFeature:Qa,ɵɵNgOnChangesFeature:R,ɵɵControlFeature:function(t){return e=>{e.controlDef={create:(t,e)=>{t?.ɵngControlCreate(e)},update:(t,e)=>{t?.ɵngControlUpdate?.(e)},passThroughInput:t}}},ɵɵProvidersFeature:Mh,ɵɵInheritDefinitionFeature:tl,ɵɵExternalStylesFeature:function(t){return e=>{t.length<1||(e.getExternalStyles=n=>t.map(t=>t+"?ngcomp"+(n?"="+encodeURIComponent(n):"")+"&e="+e.encapsulation))}},ɵɵnextContext:gd,ɵɵnamespaceHTML:o.joV,ɵɵnamespaceMathML:o.By9,ɵɵnamespaceSVG:o.qSk,ɵɵenableBindings:o.cSN,ɵɵdisableBindings:o.fuf,ɵɵelementStart:Xc,ɵɵelementEnd:Kc,ɵɵelement:Jc,ɵɵelementContainerStart:ou,ɵɵelementContainerEnd:iu,ɵɵdomElement:nu,ɵɵdomElementStart:tu,ɵɵdomElementEnd:eu,ɵɵdomElementContainer:function t(e,n,r){return au(e,n,r),lu(),t},ɵɵdomElementContainerStart:au,ɵɵdomElementContainerEnd:lu,ɵɵdomTemplate:function t(e,n,r,i,s,a,l,c){const u=(0,o.OAn)(),d=(0,o.klJ)();return al(u,d,e,n,r,i,s,(0,o.db4)(d.consts,a),void 0,l,c),t},ɵɵdomListener:pd,ɵɵelementContainer:su,ɵɵpureFunction0:$h,ɵɵpureFunction1:zh,ɵɵpureFunction2:Hh,ɵɵpureFunction3:Bh,ɵɵpureFunction4:function(t,e,n,r,i,s,a){return qh((0,o.OAn)(),(0,o.gxQ)(),t,e,n,r,i,s)},ɵɵpureFunction5:function(t,e,n,r,i,s,a){const l=(0,o.gxQ)()+t,c=(0,o.OAn)(),u=Ds(c,l,n,r,i,s);return Is(c,l+4,a)||u?Es(c,l+5,e(n,r,i,s,a)):As(c,l+5)},ɵɵpureFunction6:function(t,e,n,r,i,s,a,l){const c=(0,o.gxQ)()+t,u=(0,o.OAn)(),d=Ds(u,c,n,r,i,s);return Os(u,c+4,a,l)||d?Es(u,c+6,e(n,r,i,s,a,l)):As(u,c+6)},ɵɵpureFunction7:function(t,e,n,r,i,s,a,l,c){const u=(0,o.gxQ)()+t,d=(0,o.OAn)();let h=Ds(d,u,n,r,i,s);return Ls(d,u+4,a,l,c)||h?Es(d,u+7,e(n,r,i,s,a,l,c)):As(d,u+7)},ɵɵpureFunction8:function(t,e,n,r,i,s,a,l,c,u){const d=(0,o.gxQ)()+t,h=(0,o.OAn)(),p=Ds(h,d,n,r,i,s);return Ds(h,d+4,a,l,c,u)||p?Es(h,d+8,e(n,r,i,s,a,l,c,u)):As(h,d+8)},ɵɵpureFunctionV:function(t,e,n){return Qh((0,o.OAn)(),(0,o.gxQ)(),t,e,n)},ɵɵgetCurrentView:uu,ɵɵrestoreView:o.eBV,ɵɵlistener:hd,ɵɵprojection:bd,ɵɵsyntheticHostProperty:function t(e,n,r){const i=(0,o.OAn)();if(Is(i,(0,o.xbp)(),n)){const t=(0,o.klJ)(),s=(0,o.CpD)();jo(s,i,e,n,Wo((0,o.MT)(t.data),s,i),r)}return t},ɵɵsyntheticHostListener:function t(e,n){const r=(0,o.Mx4)(),i=(0,o.OAn)(),s=(0,o.klJ)();return fd(s,i,Wo((0,o.MT)(s.data),r,i),r,e,n),t},ɵɵpipeBind1:Xh,ɵɵpipeBind2:Yh,ɵɵpipeBind3:function(t,e,n,r,i){const s=t+o.Yw1,a=(0,o.OAn)(),l=(0,o.Hh6)(a,s);return Kh(a,s)?Gh(a,(0,o.gxQ)(),e,l.transform,n,r,i,l):l.transform(n,r,i)},ɵɵpipeBind4:function(t,e,n,r,i,s){const a=t+o.Yw1,l=(0,o.OAn)(),c=(0,o.Hh6)(l,a);return Kh(l,a)?qh(l,(0,o.gxQ)(),e,c.transform,n,r,i,s,c):c.transform(n,r,i,s)},ɵɵpipeBindV:function(t,e,n){const r=t+o.Yw1,i=(0,o.OAn)(),s=(0,o.Hh6)(i,r);return Kh(i,r)?Qh(i,(0,o.gxQ)(),e,s.transform,n,s):s.transform.apply(s,n)},ɵɵprojectionDef:yd,ɵɵdomProperty:du,ɵɵariaProperty:Oc,ɵɵproperty:Qc,ɵɵcontrol:function(){!function(){const t=(0,o.OAn)(),e=(0,o.klJ)(),n=(0,o.CpD)();-1!==n.controlDirectiveIndex&&e.data[n.controlDirectiveIndex].controlDef.update(t[n.controlDirectiveIndex],new Fs(t,e,n))}()},ɵɵcontrolCreate:function(){!function(){const t=(0,o.OAn)(),e=(0,o.klJ)(),n=(0,o.Mx4)();e.firstCreatePass&&function(t,e){for(let n=e.directiveStart;n<e.directiveEnd;n++)if(t.data[n].controlDef){e.controlDirectiveIndex=n;break}if(-1===e.controlDirectiveIndex)return;const n=t.data[e.controlDirectiveIndex].controlDef;n.passThroughInput&&(e.inputs?.[n.passThroughInput]?.length??0)>1?e.flags|=4096:function(t,e){for(let n=e.directiveStart;n<e.directiveEnd;n++){const r=t.data[n];if($s(r,"value"))return e.flags|=1024,void(e.customControlIndex=n);if($s(r,"checked"))return e.flags|=2048,void(e.customControlIndex=n)}}(t,e)}(e,n),-1!==n.controlDirectiveIndex&&(Yr("NgSignalForms"),e.data[n.controlDirectiveIndex].controlDef.create(t[n.controlDirectiveIndex],new Fs(t,e,n)))}()},ɵɵpipe:Zh,ɵɵqueryRefresh:Sd,ɵɵqueryAdvance:xd,ɵɵviewQuery:wd,ɵɵviewQuerySignal:kd,ɵɵloadQuery:Cd,ɵɵcontentQuery:vd,ɵɵcontentQuerySignal:_d,ɵɵreference:Td,ɵɵclassMap:Qd,ɵɵstyleMap:Gd,ɵɵstyleProp:Ud,ɵɵclassProp:Wd,ɵɵadvance:pr,ɵɵtemplate:ll,ɵɵconditional:Bc,ɵɵconditionalCreate:zc,ɵɵconditionalBranchCreate:Hc,ɵɵdefer:function(t,e,n,r,i,s,a,l,c,u){const d=(0,o.OAn)(),h=(0,o.klJ)(),p=t+o.Yw1,f=al(d,h,t,null,0,0),g=d[o.YEL],m=De(g);if(h.firstCreatePass){Yr("NgDefer");const t={primaryTmplIndex:e,loadingTmplIndex:r??null,placeholderTmplIndex:i??null,errorTmplIndex:s??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ul.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:u??0};c?.(h,t,l,a),function(t,e,n){const r=bl(e);t.data[r]=n}(h,p,t)}const y=d[p];let b=null,v=null;if(y[o.qFA]?.length>0){const t=y[o.qFA][0].data;v=t.di??null,b=t.s}const w=[null,hl.Initial,null,null,null,null,v,b,null,null];!function(t,e,n){t[bl(e)]=n}(d,p,w);let S=null;null!==v&&m&&(S=g.get(Ie),S.add(v,{lView:d,tNode:f,lContainer:y}));const C=()=>{ml(w),null!==v&&S?.cleanup([v])};fl(0,w,()=>(0,o.DyX)(d,C)),(0,o.ik5)(d,C)},ɵɵdeferWhen:function(t){const e=(0,o.OAn)(),n=(0,o.CpD)();if(Ec(0,e,n)&&Is(e,(0,o.xbp)(),t)){const r=(0,i.Ht)(null);try{const r=!!t,o=vl(e,n)[1];!1===r&&o===hl.Initial?$l(e,n):!0===r&&(o===hl.Initial||o===dl.Placeholder)&&mc(0,e,n)}finally{(0,i.Ht)(r)}}},ɵɵdeferOnIdle:function(){Ec(0,(0,o.OAn)(),(0,o.Mx4)())&&uc(Tl)},ɵɵdeferOnImmediate:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(0,t,e)&&(null===wl(t[o.eDl],e).loadingTmplIndex&&$l(t,e),mc(0,t,e))},ɵɵdeferOnTimer:function(t){Ec(0,(0,o.OAn)(),(0,o.Mx4)())&&uc(Al(t))},ɵɵdeferOnHover:function(t,e){const n=(0,o.OAn)(),r=(0,o.Mx4)();Ec(0,n,r)&&($l(n,r),xl(n,r,t,e,Te,()=>mc(0,n,r),0))},ɵɵdeferOnInteraction:function(t,e){const n=(0,o.OAn)(),r=(0,o.Mx4)();Ec(0,n,r)&&($l(n,r),xl(n,r,t,e,xe,()=>mc(0,n,r),0))},ɵɵdeferOnViewport:function(t,e,n){const r=(0,o.OAn)(),i=(0,o.Mx4)();Ec(0,r,i)&&($l(r,i),xl(r,i,t,e,kl,()=>mc(0,r,i),0,n))},ɵɵdeferPrefetchWhen:function(t){const e=(0,o.OAn)(),n=(0,o.CpD)();if(Ec(1,e,n)&&Is(e,(0,o.xbp)(),t)){const r=(0,i.Ht)(null);try{const r=!!t,i=wl(e[o.eDl],n);!0===r&&i.loadingState===ul.NOT_STARTED&&pc(i,e,n)}finally{(0,i.Ht)(r)}}},ɵɵdeferPrefetchOnIdle:function(){Ec(1,(0,o.OAn)(),(0,o.Mx4)())&&dc(Tl)},ɵɵdeferPrefetchOnImmediate:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();if(!Ec(1,t,e))return;const n=wl(t[o.eDl],e);n.loadingState===ul.NOT_STARTED&&fc(n,t,e)},ɵɵdeferPrefetchOnTimer:function(t){Ec(1,(0,o.OAn)(),(0,o.Mx4)())&&dc(Al(t))},ɵɵdeferPrefetchOnHover:function(t,e){const n=(0,o.OAn)(),r=(0,o.Mx4)();if(!Ec(1,n,r))return;const i=wl(n[o.eDl],r);i.loadingState===ul.NOT_STARTED&&xl(n,r,t,e,Te,()=>pc(i,n,r),1)},ɵɵdeferPrefetchOnInteraction:function(t,e){const n=(0,o.OAn)(),r=(0,o.Mx4)();if(!Ec(1,n,r))return;const i=wl(n[o.eDl],r);i.loadingState===ul.NOT_STARTED&&xl(n,r,t,e,xe,()=>pc(i,n,r),1)},ɵɵdeferPrefetchOnViewport:function(t,e,n){const r=(0,o.OAn)(),i=(0,o.Mx4)();if(!Ec(1,r,i))return;const s=wl(r[o.eDl],i);s.loadingState===ul.NOT_STARTED&&xl(r,i,t,e,kl,()=>pc(s,r,i),1,n)},ɵɵdeferHydrateWhen:function(t){const e=(0,o.OAn)(),n=(0,o.CpD)();if(!Ec(2,e,n))return;const r=(0,o.xbp)();if(Ic((0,o.klJ)(),n).set(6,null),Is(e,r,t)){const r=e[o.YEL],s=(0,i.Ht)(null);try{1==!!t&&yc(r,vl(e,n)[6])}finally{(0,i.Ht)(s)}}},ɵɵdeferHydrateNever:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(2,t,e)&&Ic((0,o.klJ)(),e).set(7,null)},ɵɵdeferHydrateOnIdle:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(2,t,e)&&(Ic((0,o.klJ)(),e).set(0,null),hc(Tl,t,e))},ɵɵdeferHydrateOnImmediate:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(2,t,e)&&(Ic((0,o.klJ)(),e).set(1,null),yc(t[o.YEL],vl(t,e)[6]))},ɵɵdeferHydrateOnTimer:function(t){const e=(0,o.OAn)(),n=(0,o.Mx4)();Ec(2,e,n)&&(Ic((0,o.klJ)(),n).set(5,{type:5,delay:t}),hc(Al(t),e,n))},ɵɵdeferHydrateOnHover:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(2,t,e)&&Ic((0,o.klJ)(),e).set(4,null)},ɵɵdeferHydrateOnInteraction:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(2,t,e)&&Ic((0,o.klJ)(),e).set(3,null)},ɵɵdeferHydrateOnViewport:function(t){const e=(0,o.OAn)(),n=(0,o.Mx4)();Ec(2,e,n)&&Ic((0,o.klJ)(),n).set(2,t?{type:2,intersectionObserverOptions:t}:null)},ɵɵdeferEnableTimerScheduling:function(t,e,n,r){const i=t.consts;null!=n&&(e.placeholderBlockConfig=(0,o.db4)(i,n)),null!=r&&(e.loadingBlockConfig=(0,o.db4)(i,r)),null===Hl&&(Hl=Ml)},ɵɵrepeater:function(t){const e=(0,i.Ht)(null),n=(0,o._px)();try{const r=(0,o.OAn)(),s=r[o.eDl],a=r[n],l=n+1,c=Gc(r,l);if(void 0===a.liveCollection){const t=qc(s,l);a.liveCollection=new Wc(c,r,t)}else a.liveCollection.reset();const u=a.liveCollection;if(function(t,e,n,r){let o,s,a=0,l=t.length-1;if(Array.isArray(e)){(0,i.Ht)(r);let c=e.length-1;for((0,i.Ht)(null);a<=l&&a<=c;){const r=t.at(a),i=e[a],u=Nc(a,r,a,i,n);if(0!==u){u<0&&t.updateValue(a,i),a++;continue}const d=t.at(l),h=e[c],p=Nc(l,d,c,h,n);if(0!==p){p<0&&t.updateValue(l,h),l--,c--;continue}const f=n(a,r),g=n(l,d),m=n(a,i);if(Object.is(m,g)){const e=n(c,h);Object.is(e,f)?(t.swap(a,l),t.updateValue(l,h),c--,l--):t.move(l,a),t.updateValue(a,i),a++;continue}if(o??=new $c,s??=Fc(t,a,l,n),Mc(t,o,a,m))t.updateValue(a,i),a++,l++;else if(s.has(m))o.set(f,t.detach(a)),l--;else{const n=t.create(a,e[a]);t.attach(a,n),a++,l++}}for(;a<=c;)jc(t,o,n,a,e[a]),a++}else if(null!=e){(0,i.Ht)(r);const c=e[Symbol.iterator]();(0,i.Ht)(null);let u=c.next();for(;!u.done&&a<=l;){const e=t.at(a),r=u.value,i=Nc(a,e,a,r,n);if(0!==i)i<0&&t.updateValue(a,r),a++,u=c.next();else{o??=new $c,s??=Fc(t,a,l,n);const i=n(a,r);if(Mc(t,o,a,i))t.updateValue(a,r),a++,l++,u=c.next();else if(s.has(i)){const r=n(a,e);o.set(r,t.detach(a)),l--}else t.attach(a,t.create(a,r)),a++,l++,u=c.next()}}for(;!u.done;)jc(t,o,n,t.length,u.value),u=c.next()}for(;a<=l;)t.destroy(t.detach(l--));o?.forEach(e=>{t.destroy(e)})}(u,t,a.trackByFn,e),u.updateIndexes(),a.hasEmptyBlock){const t=(0,o.xbp)(),e=0===u.length;if(Is(r,t,e)){const t=n+2,o=Gc(r,t);if(e){const e=qc(s,t),n=null;mi(o,Xo(r,e,void 0,{dehydratedView:n}),0,Yo(e,n))}else s.firstUpdatePass&&Bi(o),yi(o,0)}}}finally{(0,i.Ht)(e)}},ɵɵrepeaterCreate:function(t,e,n,r,i,s,a,l,c,u,d,h,p){Yr("NgControlFlow");const f=(0,o.OAn)(),g=(0,o.klJ)(),m=void 0!==c,y=(0,o.OAn)(),b=l?a.bind(y[o.b5C][o.SKP]):a,v=new Uc(m,b);y[o.Yw1+t]=v,al(f,g,t+1,e,n,r,i,(0,o.db4)(g.consts,s),256),m&&al(f,g,t+2,c,u,d,h,(0,o.db4)(g.consts,p),512)},ɵɵrepeaterTrackByIndex:function(t){return t},ɵɵrepeaterTrackByIdentity:function(t,e){return e},ɵɵcomponentInstance:function(){return(0,o.OAn)()[o.b5C][o.SKP]},ɵɵtext:lh,ɵɵtextInterpolate:vh,ɵɵtextInterpolate1:wh,ɵɵtextInterpolate2:Sh,ɵɵtextInterpolate3:function t(e,n,r,i,s,a,l){const c=(0,o.OAn)(),u=ph(c,e,n,r,i,s,a,l);return u!==sr&&Ch(c,(0,o._px)(),u),t},ɵɵtextInterpolate4:function t(e,n,r,i,s,a,l,c,u){const d=(0,o.OAn)(),h=fh(d,e,n,r,i,s,a,l,c,u);return h!==sr&&Ch(d,(0,o._px)(),h),t},ɵɵtextInterpolate5:function t(e,n,r,i,s,a,l,c,u,d,h){const p=(0,o.OAn)(),f=gh(p,e,n,r,i,s,a,l,c,u,d,h);return f!==sr&&Ch(p,(0,o._px)(),f),t},ɵɵtextInterpolate6:function t(e,n,r,i,s,a,l,c,u,d,h,p,f){const g=(0,o.OAn)(),m=mh(g,e,n,r,i,s,a,l,c,u,d,h,p,f);return m!==sr&&Ch(g,(0,o._px)(),m),t},ɵɵtextInterpolate7:function t(e,n,r,i,s,a,l,c,u,d,h,p,f,g,m){const y=(0,o.OAn)(),b=yh(y,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m);return b!==sr&&Ch(y,(0,o._px)(),b),t},ɵɵtextInterpolate8:function t(e,n,r,i,s,a,l,c,u,d,h,p,f,g,m,y,b){const v=(0,o.OAn)(),w=bh(v,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m,y,b);return w!==sr&&Ch(v,(0,o._px)(),w),t},ɵɵtextInterpolateV:function t(e){const n=(0,o.OAn)(),r=uh(n,e);return r!==sr&&Ch(n,(0,o._px)(),r),t},ɵɵi18n:function(t,e,n){ud(t,e,n),dd()},ɵɵi18nAttributes:function(t,e){const n=(0,o.klJ)(),r=(0,o.db4)(n.consts,e);!function(t,e,n){const r=(0,o.Mx4)(),i=r.index,s=[];if(t.firstCreatePass&&null===t.data[e]){for(let t=0;t<n.length;t+=2){const e=n[t],o=n[t+1];if(""!==o){if(Nu.test(o))throw new Error(`ICU expressions are not supported in attributes. Message: "${o}".`);const t=r.namespace?`:${r.namespace}:${r.value}`:r.value;Vu(s,o,i,e,Uu(s),nd(e,t))}}t.data[e]=s}}(n,t+o.Yw1,r)},ɵɵi18nExp:function t(e){return function(t){t&&(Tu|=1<<Math.min(Eu,31)),Eu++}(Is((0,o.OAn)(),(0,o.xbp)(),e)),t},ɵɵi18nStart:ud,ɵɵi18nEnd:dd,ɵɵi18nApply:function(t){!function(t,e,n){try{if(Eu>0){const r=t.data[n];Ou(t,e,Array.isArray(r)?r:r.update,(0,o.c$7)()-Eu-1,Tu)}}finally{Tu=0,Eu=0}}((0,o.klJ)(),(0,o.OAn)(),t+o.Yw1)},ɵɵi18nPostprocess:function(t,e={}){return function(t,e={}){let n=t;if(rd.test(t)){const t={},e=[0];n=n.replace(od,(n,r,o)=>{const i=r||o,s=t[i]||[];if(s.length||(i.split("|").forEach(t=>{const e=t.match(cd),n=e?parseInt(e[1],10):0,r=ld.test(t);s.push([n,r,t])}),t[i]=s),!s.length)throw new Error(`i18n postprocess: unmatched placeholder - ${i}`);const a=e[e.length-1];let l=0;for(let t=0;t<s.length;t++)if(s[t][0]===a){l=t;break}const[c,u,d]=s[l];return u?e.pop():a!==c&&e.push(c),s.splice(l,1),d})}return Object.keys(e).length&&(n=n.replace(id,(t,n,r,o,i,s)=>e.hasOwnProperty(r)?`${n}${e[r]}${s}`:t),n=n.replace(sd,(t,n)=>e.hasOwnProperty(n)?e[n]:t),n=n.replace(ad,(t,n)=>{if(e.hasOwnProperty(n)){const r=e[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${t} with key: ${n}`);return r.shift()}return t})),n}(t,e)},ɵɵresolveWindow:function(t){return t.ownerDocument.defaultView},ɵɵresolveDocument:Un,ɵɵresolveBody:function(t){return t.ownerDocument.body},ɵɵsetComponentScope:function(t,e,n){const r=t.ɵcmp;r.directiveDefs=qa(e,$a),r.pipeDefs=qa(n,o.oyA)},ɵɵsetNgModuleScope:function(t,e){return c(()=>{const n=(0,o.WbQ)(t);n.declarations=jh(e.declarations||o.Mlv),n.imports=jh(e.imports||o.Mlv),n.exports=jh(e.exports||o.Mlv),e.bootstrap&&(n.bootstrap=jh(e.bootstrap)),as.registerNgModule(t,e)})},ɵɵregisterNgModuleType:Aa,ɵɵgetComponentDepsFactory:function(t,e){return()=>{try{return as.getComponentDependencies(t,e).dependencies}catch(e){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,e),e}}},ɵsetClassDebugInfo:function(t,e){const n=(0,o.xUg)(t);null!==n&&(n.debugInfo=e)},ɵɵdeclareLet:function t(e){Yr("NgLet");const n=(0,o.klJ)(),r=(0,o.OAn)(),i=e+o.Yw1,s=Ti(n,i,128,null,null);return(0,o.iMd)(s,!1),(0,o.M_e)(n,r,i,Th),t},ɵɵstoreLet:function(t){const e=(0,o.klJ)(),n=(0,o.OAn)(),r=(0,o._px)();return(0,o.M_e)(e,n,r,t),t},ɵɵarrowFunction:function(t,e,n){const r=(0,o.gxQ)()+t,i=(0,o.OAn)();return i[r]===sr?Es(i,r,e(n,i)):As(i,r)},ɵɵreadContextLet:function(t){const e=(0,o.VPL)(),n=(0,o.Hh6)(e,o.Yw1+t);if(n===Th)throw new o.buA(314,!1);return n},ɵɵattachSourceLocations:function(t,e){const n=(0,o.klJ)(),r=(0,o.OAn)(),i=r[o.GpT],s="data-ng-source-location";for(const[a,l,c,u]of e){(0,o.XRZ)(n,a+o.Yw1);const e=(0,o.vaC)(a+o.Yw1,r);e.hasAttribute(s)||i.setAttribute(e,s,`${t}@o:${l},l:${c},c:${u}`)}},ɵɵinterpolate:Eh,ɵɵinterpolate1:function(t,e,n=""){return dh((0,o.OAn)(),t,e,n)},ɵɵinterpolate2:function(t,e,n,r,i=""){return hh((0,o.OAn)(),t,e,n,r,i)},ɵɵinterpolate3:function(t,e,n,r,i,s,a=""){return ph((0,o.OAn)(),t,e,n,r,i,s,a)},ɵɵinterpolate4:function(t,e,n,r,i,s,a,l,c=""){return fh((0,o.OAn)(),t,e,n,r,i,s,a,l,c)},ɵɵinterpolate5:function(t,e,n,r,i,s,a,l,c,u,d=""){return gh((0,o.OAn)(),t,e,n,r,i,s,a,l,c,u,d)},ɵɵinterpolate6:function(t,e,n,r,i,s,a,l,c,u,d,h,p=""){return mh((0,o.OAn)(),t,e,n,r,i,s,a,l,c,u,d,h,p)},ɵɵinterpolate7:function(t,e,n,r,i,s,a,l,c,u,d,h,p,f,g=""){return yh((0,o.OAn)(),t,e,n,r,i,s,a,l,c,u,d,h,p,f,g)},ɵɵinterpolate8:function(t,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m,y=""){return bh((0,o.OAn)(),t,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m,y)},ɵɵinterpolateV:function(t){return uh((0,o.OAn)(),t)},ɵɵsanitizeHtml:Pn,ɵɵsanitizeStyle:Rn,ɵɵsanitizeResourceUrl:Mn,ɵɵsanitizeScript:jn,ɵɵvalidateAttribute:Vn,ɵɵsanitizeUrl:Nn,ɵɵsanitizeUrlOrResourceUrl:$n,ɵɵtrustConstantHtml:function(t){return ze(t[0])},ɵɵtrustConstantResourceUrl:function(t){return function(t){return $e()?.createScriptURL(t)||t}(t[0])},forwardRef:o.Rfq,resolveForwardRef:o.nl4,ɵɵtwoWayProperty:_h,ɵɵtwoWayBindingSet:kh,ɵɵtwoWayListener:xh,ɵɵreplaceMetadata:function(t,e,n,r,i=null,s=null){const a=(0,o.xUg)(t);e.apply(null,[t,n,...r]);const{newDef:l,oldDef:c}=function(t,e){const n={...t};return{newDef:Object.assign(t,e,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type}),oldDef:n}}(a,(0,o.xUg)(t));if(t[o.CQl]=l,c.tView){const t=Gt.values();for(const e of t)(0,o.EFk)(e)&&null===e[o.f7T]&&tp(i,s,l,c,e)}},ɵɵgetReplaceMetadataURL:function(t,e,n){const r=`./@ng/component?c=${t}&t=${encodeURIComponent(e)}`;return new URL(r,n).href}};let rp=null;function op(t){null!==rp&&(t.defaultEncapsulation!==rp.defaultEncapsulation||t.preserveWhitespaces!==rp.preserveWhitespaces)||(rp=t)}const ip=[];function sp(t){return ts(t)?t.ngModule:t}const ap=p("NgModule",t=>t,void 0,0,(t,e)=>function(t,e={}){(function(t,e){const n=(0,o.Bqz)(e.declarations||o.Mlv);let r=null;Object.defineProperty(t,o.hmW,{configurable:!0,get:()=>(null===r&&(r=S().compileNgModule(np,`ng:///${t.name}/ɵmod.js`,{type:t,bootstrap:(0,o.Bqz)(e.bootstrap||o.Mlv).map(o.nl4),declarations:n.map(o.nl4),imports:(0,o.Bqz)(e.imports||o.Mlv).map(o.nl4).map(sp),exports:(0,o.Bqz)(e.exports||o.Mlv).map(o.nl4).map(sp),schemas:e.schemas?(0,o.Bqz)(e.schemas):null,id:e.id||null}),r.schemas||(r.schemas=[])),r)});let i=null;Object.defineProperty(t,o.zSs,{get:()=>{if(null===i){const e=S();i=e.compileFactory(np,`ng:///${t.name}/ɵfac.js`,{name:t.name,type:t,deps:Dt(t),target:e.FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!1});let s=null;Object.defineProperty(t,o.ONQ,{get:()=>{if(null===s){const n={name:t.name,type:t,providers:e.providers||o.Mlv,imports:[(e.imports||o.Mlv).map(o.nl4),(e.exports||o.Mlv).map(o.nl4)]};s=S().compileInjector(np,`ng:///${t.name}/ɵinj.js`,n)}return s},configurable:!1})})(t,e),void 0!==e.id&&Aa(t,e.id),function(t,e){ip.push({moduleType:t,ngModule:e})}(t,e)}(t,e));class lp{ngModuleFactory;componentFactories;constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let cp=(()=>{class t{compileModuleSync(t){return new Pa(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const e=this.compileModuleSync(t),n=Wn((0,o.phH)(t).declarations).reduce((t,e)=>{const n=(0,o.xUg)(e);return n&&t.push(new Us(n)),t},[]);return new lp(e,n)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const up=new o.nKC("");let dp=(()=>{class t{applicationErrorHandler=(0,o.WQX)(o.ZTf);appRef=(0,o.WQX)(ac);taskService=(0,o.WQX)(o.rev);ngZone=(0,o.WQX)(o.SKi);zonelessEnabled=(0,o.WQX)(o.Evm);tracing=(0,o.WQX)(Zr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new a.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(o.AbJ):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,o.WQX)(o.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const t=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(t)):this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const e=this.useMicrotaskScheduler?o.uiq:o.l4E;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>e(()=>this.tick())):this.ngZone.runOutsideAngular(()=>e(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(o.AbJ+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(t){this.applicationErrorHandler(t)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function hp(){return[{provide:o.hk6,useExisting:dp},{provide:o.SKi,useClass:o.myG},{provide:o.Evm,useValue:!0}]}const pp=new o.nKC("",{factory:()=>(0,o.WQX)(pp,{optional:!0,skipSelf:!0})||typeof $localize<"u"&&$localize.locale||wu}),fp=new o.nKC("",{factory:()=>"USD"})},6499(t,e,n){n.d(e,{Ag:()=>E,Bg:()=>y,EF:()=>I,H8:()=>x,Ht:()=>a,JC:()=>h,KE:()=>c,KO:()=>P,KZ:()=>T,Ny:()=>A,TO:()=>m,Wu:()=>b,XR:()=>w,a7:()=>k,bh:()=>s,j2:()=>N,lh:()=>$,mC:()=>M,mK:()=>d,n5:()=>R,nR:()=>l,pL:()=>u,s0:()=>j,si:()=>v,vX:()=>F});let r=null,o=!1,i=1;const s=Symbol("SIGNAL");function a(t){const e=r;return r=t,e}function l(){return r}function c(){return o}const u={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function d(t){if(o)throw new Error("");if(null===r)return;r.consumerOnSignalRead(t);const e=r.producersTail;if(void 0!==e&&e.producer===t)return;let n;const i=r.recomputing;if(i&&(n=void 0!==e?e.nextProducer:r.producers,void 0!==n&&n.producer===t))return r.producersTail=n,void(n.lastReadVersion=t.version);const s=t.consumersTail;if(void 0!==s&&s.consumer===r&&(!i||function(t,e){const n=e.producersTail;if(void 0!==n){let r=e.producers;do{if(r===t)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(s,r)))return;const a=_(r),l={producer:t,consumer:r,nextProducer:n,prevConsumer:s,lastReadVersion:t.version,nextConsumer:void 0};r.producersTail=l,void 0!==e?e.nextProducer=l:r.producers=l,a&&S(t,l)}function h(t){if((!_(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==i)){if(!t.producerMustRecompute(t)&&!v(t))return void m(t);t.producerRecomputeValue(t),m(t)}}function p(t){if(void 0===t.consumers)return;const e=o;o=!0;try{for(let e=t.consumers;void 0!==e;e=e.nextConsumer){const t=e.consumer;t.dirty||g(t)}}finally{o=e}}function f(){return!1!==r?.consumerAllowSignalWrites}function g(t){t.dirty=!0,p(t),t.consumerMarkedDirty?.(t)}function m(t){t.dirty=!1,t.lastCleanEpoch=i}function y(t){return t&&function(t){t.producersTail=void 0,t.recomputing=!0}(t),a(t)}function b(t,e){a(e),t&&function(t){t.recomputing=!1;const e=t.producersTail;let n=void 0!==e?e.nextProducer:t.producers;if(void 0!==n){if(_(t))do{n=C(n)}while(void 0!==n);void 0!==e?e.nextProducer=void 0:t.producers=void 0}}(t)}function v(t){for(let e=t.producers;void 0!==e;e=e.nextProducer){const t=e.producer,n=e.lastReadVersion;if(n!==t.version||(h(t),n!==t.version))return!0}return!1}function w(t){if(_(t)){let e=t.producers;for(;void 0!==e;)e=C(e)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function S(t,e){const n=t.consumersTail,r=_(t);if(void 0!==n?(e.nextConsumer=n.nextConsumer,n.nextConsumer=e):(e.nextConsumer=void 0,t.consumers=e),e.prevConsumer=n,t.consumersTail=e,!r)for(let e=t.producers;void 0!==e;e=e.nextProducer)S(e.producer,e)}function C(t){const e=t.producer,n=t.nextProducer,r=t.nextConsumer,o=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,void 0!==r?r.prevConsumer=o:e.consumersTail=o,void 0!==o)o.nextConsumer=r;else if(e.consumers=r,!_(e)){let t=e.producers;for(;void 0!==t;)t=C(t)}return n}function _(t){return t.consumerIsAlwaysLive||void 0!==t.consumers}function k(t){}function x(t,e){return Object.is(t,e)}function T(t,e){const n=Object.create(O);n.computation=t,void 0!==e&&(n.equal=e);const r=()=>{if(h(n),d(n),n.value===I)throw n.error;return n.value};return r[s]=n,r}const E=Symbol("UNSET"),A=Symbol("COMPUTING"),I=Symbol("ERRORED"),O={...u,value:E,dirty:!0,error:null,equal:x,kind:"computed",producerMustRecompute:t=>t.value===E||t.value===A,producerRecomputeValue(t){if(t.value===A)throw new Error("");const e=t.value;t.value=A;const n=y(t);let r,o=!1;try{r=t.computation(),a(null),o=e!==E&&e!==I&&r!==I&&t.equal(e,r)}catch(e){r=I,t.error=e}finally{b(t,n)}o?t.value=e:(t.value=r,t.version++)}};let L=function(){throw new Error};function D(t){L(t)}function P(t){L=t}function R(t,e){const n=Object.create(j);n.value=t,void 0!==e&&(n.equal=e);const r=()=>function(t){return d(t),t.value}(n);return r[s]=n,[r,t=>N(n,t),t=>M(n,t)]}function N(t,e){f()||D(t),t.equal(t.value,e)||(t.value=e,function(t){t.version++,i++,p(t)}(t))}function M(t,e){f()||D(t),N(t,e(t.value))}const j={...u,equal:x,value:void 0,kind:"signal"},F={...u,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function $(t){if(t.dirty=!1,t.version>0&&!v(t))return;t.version++;const e=y(t);try{t.cleanup(),t.fn()}finally{b(t,e)}}},6817(t,e,n){n.d(e,{JEi:()=>bn,Isx:()=>vn,EJG:()=>on,Yrj:()=>sn,VVG:()=>Je,Y20:()=>xn,SKP:()=>tn,hk6:()=>fi,eVN:()=>Ar,b5C:()=>ln,rQE:()=>cn,X5O:()=>an,qFA:()=>Sn,qQL:()=>Fo,dUD:()=>g,abz:()=>$o,tQN:()=>mn,pcR:()=>gn,oMQ:()=>pn,Mlv:()=>me,MZA:()=>ge,M0L:()=>nn,Z63:()=>ye,Ap:()=>m,dTm:()=>Si,VML:()=>vi,uvJ:()=>Me,zcH:()=>si,bkB:()=>Wo,Wg1:()=>Qe,Yw1:()=>wn,jgP:()=>Ge,tcA:()=>Ke,ID:()=>hn,YEL:()=>en,B9r:()=>ve,GBX:()=>Le,ZTf:()=>ai,nKC:()=>et,zZn:()=>jo,rJ1:()=>tr,nfM:()=>kn,s6P:()=>Cn,K29:()=>Xe,CQl:()=>mt,p9y:()=>St,zSs:()=>wt,ONQ:()=>tt,hmW:()=>vt,yAH:()=>J,SKi:()=>Ko,myG:()=>oi,oTH:()=>we,Czx:()=>fn,f7T:()=>Ze,wVl:()=>un,GYQ:()=>mi,u5s:()=>bi,rev:()=>Uo,Ds7:()=>dn,e5P:()=>je,Iaj:()=>yn,GpT:()=>rn,buA:()=>b,AQb:()=>yi,kHH:()=>Bo,jNX:()=>Jn,eDl:()=>qe,qlT:()=>Ye,bm_:()=>_n,RxE:()=>p,r4V:()=>hi,ok8:()=>y,Evm:()=>gi,laP:()=>w,EYC:()=>ae,AbJ:()=>Xo,ng7:()=>oe,llW:()=>de,gsJ:()=>ue,GZS:()=>$n,iYM:()=>H,PEr:()=>Gn,z7f:()=>V,LZP:()=>U,Xln:()=>R,yzR:()=>Un,TWe:()=>Wn,LIA:()=>P,GWr:()=>$,pbo:()=>z,bBq:()=>Hn,Af3:()=>We,zQk:()=>qn,oZy:()=>Qn,tF7:()=>W,ZFY:()=>Wt,cP4:()=>Bn,MdC:()=>Vn,XvL:()=>F,KET:()=>zn,Tkx:()=>Kn,iw4:()=>N,tdH:()=>di,pr_:()=>q,IAh:()=>j,U45:()=>O,WrV:()=>L,kNT:()=>G,MI:()=>Yn,biv:()=>Xn,ZQF:()=>M,Cv0:()=>D,W0r:()=>Fn,R2n:()=>jn,O8q:()=>Nn,VKj:()=>Rn,Rom:()=>Mn,z6V:()=>ee,n$e:()=>x,hjC:()=>Jt,Pz9:()=>Mo,PQT:()=>jt,VX4:()=>Ft,_Z$:()=>Pt,N79:()=>Pr,xLP:()=>se,QZP:()=>Ci,A7J:()=>pt,BI7:()=>ht,U7d:()=>ut,uXy:()=>dt,nZS:()=>ct,ihb:()=>yo,ID8:()=>bo,gv8:()=>li,dwj:()=>_,Bqz:()=>ie,OsK:()=>v,Rfq:()=>E,c$7:()=>ro,gxQ:()=>no,ckz:()=>Rr,kLh:()=>C,xUg:()=>xt,KdJ:()=>cr,db4:()=>pr,VPL:()=>Xr,MT:()=>po,Z9v:()=>uo,Ab:()=>Gr,w7Z:()=>fo,Mx4:()=>Ur,veI:()=>Wr,HaV:()=>Et,Agf:()=>Tt,znI:()=>Lr,wGu:()=>re,ebl:()=>K,OAn:()=>zr,_0$:()=>Cr,UaU:()=>Lo,vaC:()=>rr,d31:()=>or,ZRn:()=>ir,phH:()=>_t,WbQ:()=>kt,WB9:()=>Ne,d_l:()=>_r,vNG:()=>kr,oyA:()=>At,_px:()=>xo,CpD:()=>Eo,XRZ:()=>sr,klJ:()=>Hr,Fje:()=>Dr,b$O:()=>so,SMZ:()=>S,WQX:()=>Kt,MzJ:()=>Ut,jXY:()=>_e,MME:()=>Oe,JlV:()=>Ln,Qs1:()=>In,srX:()=>An,vOT:()=>ur,YWB:()=>Qr,EPY:()=>Pn,yoD:()=>On,P3H:()=>Kr,Jzi:()=>I,rFz:()=>Yr,JjR:()=>ao,M6u:()=>Ue,KtD:()=>Nr,muV:()=>Y,A0l:()=>En,q$2:()=>Tn,yP_:()=>to,EFk:()=>Dn,UhH:()=>Mr,QuC:()=>Ot,Y3W:()=>Ie,K7h:()=>pe,FRF:()=>fe,ezK:()=>he,m7n:()=>Ro,niQ:()=>Co,krE:()=>$r,bll:()=>_o,Hh6:()=>ar,EmA:()=>Se,blu:()=>vr,HAh:()=>gr,WfI:()=>ce,xbp:()=>io,jvu:()=>ko,Rc9:()=>$e,E6O:()=>le,DyX:()=>Sr,eFE:()=>Lt,dMS:()=>yr,HUe:()=>fr,nl4:()=>A,N4e:()=>Ve,XaM:()=>ft,uiq:()=>Qo,l4E:()=>qo,Kw3:()=>oo,vQI:()=>co,RZ9:()=>ho,GA0:()=>go,iMd:()=>qr,Pfq:()=>Zr,xyx:()=>lo,a2B:()=>Vt,kcM:()=>at,DFp:()=>ot,P2g:()=>Jr,cBl:()=>eo,ypq:()=>To,vPA:()=>ci,HO5:()=>ui,M_e:()=>lr,B22:()=>xr,ik5:()=>wr,AsM:()=>k,PP7:()=>Dt,$8:()=>B,$Hz:()=>$t,zAe:()=>nr,IvY:()=>er,_gW:()=>br,F1c:()=>dr,ITl:()=>hr,brz:()=>xe,jRZ:()=>mr,SX7:()=>Po,jDH:()=>Q,G2t:()=>Z,fuf:()=>Fr,cSN:()=>jr,KVO:()=>Xt,dmw:()=>Yt,joV:()=>Oo,By9:()=>Io,qSk:()=>Ao,Njj:()=>Vr,eBV:()=>Br});var r=n(6499),o=n(1217),i=n(1698),s=n(8447),a=n(5710);let l;function c(){return l}function u(t){const e=l;return l=t,e}const d=Symbol("NotFound");function h(t){return t===d||"ɵNotFound"===t?.name}Error;class p{full;major;minor;patch;constructor(t){this.full=t;const e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}}const f=new p("21.2.15"),g=(()=>{const t=f.full;return`https://${t.includes("-next")||t.includes("-rc")||"0.0.0-PLACEHOLDER"===t?"next":`v${f.major}`}.angular.dev`})(),m=`${g}/errors`,y="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class b extends Error{code;constructor(t,e){super(v(t,e)),this.code=t}}function v(t,e){return`${function(t){return`NG0${Math.abs(t)}`}(t)}${e?": "+e:""}`}const w=globalThis;function S(){return!1}function C(t){for(let e in t)if(t[e]===C)return e;throw Error("")}function _(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function k(t){if("string"==typeof t)return t;if(Array.isArray(t))return`[${t.map(k).join(", ")}]`;if(null==t)return""+t;const e=t.overriddenName||t.name;if(e)return`${e}`;const n=t.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function x(t,e){return t?e?`${t} ${e}`:t:e||""}const T=C({__forward_ref__:C});function E(t){return t.__forward_ref__=E,t}function A(t){return I(t)?t():t}function I(t){return"function"==typeof t&&t.hasOwnProperty(T)&&t.__forward_ref__===E}function O(t,e){"number"!=typeof t&&B(e,typeof t,"number","===")}function L(t,e,n){O(t,"Expected a number"),function(t,e){t<=e||B("Expected number to be less than or equal to",t,e,"<=")}(t,n),z(t,e,"Expected number to be greater than or equal to")}function D(t,e){"string"!=typeof t&&B(e,null===t?"null":typeof t,"string","===")}function P(t,e){"function"!=typeof t&&B(e,null===t?"null":typeof t,"function","===")}function R(t,e,n){t!=e&&B(n,t,e,"==")}function N(t,e,n){t==e&&B(n,t,e,"!=")}function M(t,e,n){t!==e&&B(n,t,e,"===")}function j(t,e,n){t===e&&B(n,t,e,"!==")}function F(t,e,n){t<e||B(n,t,e,"<")}function $(t,e,n){t>e||B(n,t,e,">")}function z(t,e,n){t>=e||B(n,t,e,">=")}function H(t,e){null==t&&B(e,t,null,"!=")}function B(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function V(t){t instanceof Node||B(`The provided value must be an instance of a DOM Node but got ${k(t)}`)}function U(t){t instanceof Element||B(`The provided value must be an element but got ${k(t)}`)}function W(t,e){H(t,"Array must be defined.");const n=t.length;(e<0||e>=n)&&B(`Index expected to be less than ${n} but got ${e}`)}function G(t,...e){if(-1!==e.indexOf(t))return!0;B(`Expected value to be one of ${JSON.stringify(e)} but was ${JSON.stringify(t)}.`)}function q(t){null!==(0,r.nR)()&&B(`${t}() should never be called in a reactive context.`)}function Q(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Z(t){return{providers:t.providers||[],imports:t.imports||[]}}function X(t){return function(t,e){return t.hasOwnProperty(e)&&t[e]||null}(t,J)}function Y(t){return null!==X(t)}function K(t){return t&&t.hasOwnProperty(tt)?t[tt]:null}const J=C({ɵprov:C}),tt=C({ɵinj:C});class et{_desc;ngMetadataName="InjectionToken";ɵprov;constructor(t,e){this._desc=t,this.ɵprov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ɵprov=Q({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let nt;function rt(){return B("getInjectorProfilerContext should never be called in production mode"),nt}function ot(t){B("setInjectorProfilerContext should never be called in production mode");const e=nt;return nt=t,e}const it=[],st=()=>{};function at(t){return B("setInjectorProfiler should never be called in production mode"),null!==t?(it.includes(t)||it.push(t),()=>function(t){const e=it.indexOf(t);-1!==e&&it.splice(e,1)}(t)):(it.length=0,st)}function lt(t){B("Injector profiler should never be called in production mode");for(let e=0;e<it.length;e++)(0,it[e])(t)}function ct(t,e=!1){let n;B("Injector profiler should never be called in production mode"),n="function"==typeof t||t instanceof et?t:A(t.provide);let r=t;t instanceof et&&(r=t.ɵprov||t),lt({type:2,context:rt(),providerRecord:{token:n,provider:r,isViewProvider:e}})}function ut(t){B("Injector profiler should never be called in production mode"),lt({type:5,context:rt(),token:t})}function dt(t){B("Injector profiler should never be called in production mode"),lt({type:1,context:rt(),instance:{value:t}})}function ht(t,e,n){B("Injector profiler should never be called in production mode"),lt({type:0,context:rt(),service:{token:t,value:e,flags:n}})}function pt(t){B("Injector profiler should never be called in production mode"),lt({type:4,context:rt(),effectPhase:t})}function ft(t,e,n){B("runInInjectorProfilerContext should never be called in production mode");const r=ot({injector:t,token:e});try{n()}finally{ot(r)}}function gt(t){return t&&!!t.ɵproviders}const mt=C({ɵcmp:C}),yt=C({ɵdir:C}),bt=C({ɵpipe:C}),vt=C({ɵmod:C}),wt=C({ɵfac:C}),St=C({__NG_ELEMENT_ID__:C}),Ct=C({__NG_ENV_ID__:C});function _t(t){return It(t),t[vt]||null}function kt(t){const e=_t(t);if(!e)throw new b(915,!1);return e}function xt(t){return It(t),t[mt]||null}function Tt(t){const e=Et(t);if(!e)throw new b(916,!1);return e}function Et(t){return It(t),t[yt]||null}function At(t){return It(t),t[bt]||null}function It(t,e){if(null==t)throw new b(-919,!1)}function Ot(t){const e=xt(t)||Et(t)||At(t);return null!==e&&e.standalone}function Lt(t){return"string"==typeof t?t:null==t?"":String(t)}function Dt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Lt(t)}function Pt(t){const e=xt(t);return null!==e&&e.debugInfo?function(t){return t.filePath&&t.lineNumber?`${t.className} (at ${t.filePath}:${t.lineNumber})`:t.className}(e.debugInfo):Dt(t)}const Rt=C({ngErrorCode:C}),Nt=C({ngErrorMessage:C}),Mt=C({ngTokenPath:C});function jt(t,e){return zt("",-200,e)}function Ft(t,e){return function(t){return t.message=function(t,e,n=[],r=null){let o="";return n&&n.length>1&&(o=` Path: ${n.join(" -> ")}.`),v(e,`${t}${r?` Source: ${r}.`:""}${o}`)}(t[Nt]||t.message,t[Rt],t[Mt],null),t}(jt(0,e))}function $t(t,e){throw new b(-201,!1)}function zt(t,e,n){const r=new b(e,t);return r[Rt]=e,r[Nt]=t,n&&(r[Mt]=n),r}let Ht;function Bt(){return Ht}function Vt(t){const e=Ht;return Ht=t,e}function Ut(t,e,n){const r=X(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==e?e:void $t()}function Wt(t){}const Gt={},qt="__NG_DI_FLAG__";class Qt{injector;constructor(t){this.injector=t}retrieve(t,e){const n=Jt(e)||0;try{return this.injector.get(t,8&n?null:Gt,n)}catch(t){if(h(t))return t;throw t}}}function Zt(t,e=0){const n=c();if(void 0===n)throw new b(-203,!1);if(null===n)return Ut(t,void 0,e);{const r=function(t){return{optional:!!(8&t),host:!!(1&t),self:!!(2&t),skipSelf:!!(4&t)}}(e),o=n.retrieve(t,r);if(h(o)){if(r.optional)return null;throw o}return o}}function Xt(t,e=0){return(Bt()||Zt)(A(t),e)}function Yt(t){throw new b(202,!1)}function Kt(t,e){return Xt(t,Jt(e))}function Jt(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function te(t){const e=[];for(let n=0;n<t.length;n++){const r=A(t[n]);if(Array.isArray(r)){if(0===r.length)throw new b(900,!1);let t,n=0;for(let e=0;e<r.length;e++){const o=r[e],i=ne(o);"number"==typeof i?-1===i?t=o.token:n|=i:t=o}e.push(Xt(t,n))}else e.push(Xt(r))}return e}function ee(t,e){return t[qt]=e,t.prototype[qt]=e,t}function ne(t){return t[qt]}function re(t,e){return t.hasOwnProperty(wt)?t[wt]:null}function oe(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let o=t[r],i=e[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function ie(t){return t.flat(Number.POSITIVE_INFINITY)}function se(t,e){t.forEach(t=>Array.isArray(t)?se(t,e):e(t))}function ae(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function le(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ce(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}function ue(t,e,n){const r=t.length-n;for(;e<r;)t[e]=t[e+n],e++;for(;n--;)t.pop()}function de(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(1===o)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;)t[o]=t[o-2],o--;t[e]=n,t[e+1]=r}}function he(t,e,n){let r=fe(t,e);return r>=0?t[1|r]=n:(r=~r,de(t,r,e,n)),r}function pe(t,e){const n=fe(t,e);if(n>=0)return t[1|n]}function fe(t,e){return function(t,e){let n=0,r=t.length>>1;for(;r!==n;){const o=n+(r-n>>1),i=t[o<<1];if(e===i)return o<<1;i>e?r=o:n=o+1}return~(r<<1)}(t,e)}const ge={},me=[],ye=new et(""),be=new et("",-1),ve=new et("");class we{get(t,e=Gt){if(e===Gt){const t=zt("",-201);throw t.name="ɵNotFound",t}return e}}function Se(t){return{ɵproviders:t}}function Ce(...t){return{ɵproviders:_e(0,t),ɵfromNgModule:!0}}function _e(t,...e){const n=[],r=new Set;let o;const i=t=>{n.push(t)};return se(e,t=>{const e=t;xe(e,i,[],r)&&(o||=[],o.push(e))}),void 0!==o&&ke(o,i),n}function ke(t,e){for(let n=0;n<t.length;n++){const{ngModule:r,providers:o}=t[n];Te(o,t=>{e(t,r)})}}function xe(t,e,n,r){if(!(t=A(t)))return!1;let o=null,i=K(t);const s=!i&&xt(t);if(i||s){if(s&&!s.standalone)return!1;o=t}else{const e=t.ngModule;if(i=K(e),!i)return!1;o=e}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const t="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const o of t)xe(o,e,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let t;r.add(o),se(i.imports,o=>{xe(o,e,n,r)&&(t||=[],t.push(o))}),void 0!==t&&ke(t,e)}if(!a){const t=re(o)||(()=>new o);e({provide:o,useFactory:t,deps:me},o),e({provide:ve,useValue:o,multi:!0},o),e({provide:ye,useValue:()=>Xt(o),multi:!0},o)}const s=i.providers;if(null!=s&&!a){const n=t;Te(s,t=>{e(t,n)})}}}return o!==t&&void 0!==t.providers}function Te(t,e){for(let n of t)gt(n)&&(n=n.ɵproviders),Array.isArray(n)?Te(n,e):e(n)}const Ee=C({provide:String,useValue:C});function Ae(t){return null!==t&&"object"==typeof t&&Ee in t}function Ie(t){return"function"==typeof t}function Oe(t){return!!t.useClass}const Le=new et(""),De={},Pe={};let Re;function Ne(){return void 0===Re&&(Re=new we),Re}class Me{}class je extends Me{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,Be(t,t=>this.processProvider(t)),this.records.set(be,He(void 0,this)),r.has("environment")&&this.records.set(Me,He(void 0,this));const o=this.records.get(Le);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(ve,me,{self:!0}))}retrieve(t,e){const n=Jt(e)||0;try{return this.get(t,Gt,n)}catch(t){if(h(t))return t;throw t}}destroy(){ze(this),this._destroyed=!0;const t=(0,r.Ht)(null);try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of t)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,r.Ht)(t)}}onDestroy(t){return ze(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ze(this);const e=u(this),n=Vt(void 0);try{return t()}finally{u(e),Vt(n)}}get(t,e=Gt,n){if(ze(this),t.hasOwnProperty(Ct))return t[Ct](this);const r=Jt(n),o=u(this),i=Vt(void 0);try{if(!(4&r)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&"InjectionToken"===s.ngMetadataName)&&X(t);e=n&&this.injectableDefInScope(n)?He(Fe(t),De):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e,r)}return(2&r?Ne():this.parent).get(t,e=8&r&&e===Gt?null:e)}catch(t){const e=function(t){return t[Rt]}(t);throw-200===e||-201===e?new b(e,null):t}finally{Vt(i),u(o)}var s}resolveInjectorInitializers(){const t=(0,r.Ht)(null),e=u(this),n=Vt(void 0);try{const t=this.get(ye,me,{self:!0});for(const e of t)e()}finally{u(e),Vt(n),(0,r.Ht)(t)}}toString(){return"R3Injector[...]"}processProvider(t){let e=Ie(t=A(t))?t:A(t&&t.provide);const n=Ae(r=t)?He(void 0,r.useValue):He($e(r),De);var r;if(!Ie(t)&&!0===t.multi){let n=this.records.get(e);n||(n=He(void 0,De,!0),n.factory=()=>te(n.multi),this.records.set(e,n)),e=t,n.multi.push(t)}this.records.set(e,n)}hydrate(t,e,n){const o=(0,r.Ht)(null);try{if(e.value===Pe)throw jt();return e.value===De&&(e.value=Pe,e.value=e.factory(void 0,n)),"object"==typeof e.value&&e.value&&null!==(i=e.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this._ngOnDestroyHooks.add(e.value),e.value}finally{(0,r.Ht)(o)}var i}injectableDefInScope(t){if(!t.providedIn)return!1;const e=A(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function Fe(t){const e=X(t),n=null!==e?e.factory:re(t);if(null!==n)return n;if(t instanceof et)throw new b(-204,!1);if(t instanceof Function)return function(t){if(t.length>0)throw new b(-204,!1);const e=function(t){return(t?.[J]??null)||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new b(-204,!1)}function $e(t,e,n){let r;if(Ie(t)){const e=A(t);return re(e)||Fe(e)}if(Ae(t))r=()=>A(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...te(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=(e,n)=>Xt(A(t.useExisting),void 0!==n&&8&n?8:void 0);else{const e=A(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return re(e)||Fe(e);r=()=>new e(...te(t.deps))}return r}function ze(t){if(t.destroyed)throw new b(-205,!1)}function He(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Be(t,e){for(const n of t)Array.isArray(n)?Be(n,e):n&>(n)?Be(n.ɵproviders,e):e(n)}function Ve(t,e){let n;t instanceof je?(ze(t),n=t):n=new Qt(t);const r=u(n),o=Vt(void 0);try{return e()}finally{u(r),Vt(o)}}function Ue(){return void 0!==Bt()||null!=c()}function We(t){if(!Ue())throw new b(-203,!1)}const Ge=0,qe=1,Qe=2,Ze=3,Xe=4,Ye=5,Ke=6,Je=7,tn=8,en=9,nn=10,rn=11,on=12,sn=13,an=14,ln=15,cn=16,un=17,dn=18,hn=19,pn=20,fn=21,gn=22,mn=23,yn=24,bn=25,vn=26,wn=27,Sn=6,Cn=7,_n=8,kn=9,xn=10;function Tn(t){return Array.isArray(t)&&"object"==typeof t[1]}function En(t){return Array.isArray(t)&&!0===t[1]}function An(t){return!!(4&t.flags)}function In(t){return t.componentOffset>-1}function On(t){return!(1&~t.flags)}function Ln(t){return!!t.template}function Dn(t){return!!(512&t[Qe])}function Pn(t){return!(256&~t[Qe])}function Rn(t,e){Mn(t,e[qe])}function Nn(t,e){const n=e+wn;W(t,n),F(n,t[qe].bindingStartIndex,"TNodes should be created before any bindings")}function Mn(t,e){jn(t);const n=e.data;for(let e=wn;e<n.length;e++)if(n[e]===t)return;B("This TNode does not belong to this TView.")}function jn(t){H(t,"TNode must be defined"),t&&"object"==typeof t&&t.hasOwnProperty("directiveStylingLast")||B("Not of type TNode, got: "+t)}function Fn(t){H(t,"Expected TIcu to be defined"),"number"!=typeof t.currentCaseLViewIndex&&B("Object is not of TIcu type.")}function $n(t,e="Type passed in is not ComponentType, it does not have 'ɵcmp' property."){xt(t)||B(e)}function zn(t,e="Type passed in is not NgModuleType, it does not have 'ɵmod' property."){_t(t)||B(e)}function Hn(t){H(t,"currentTNode should exist!"),H(t.parent,"currentTNode should have a parent")}function Bn(t){H(t,"LContainer must be defined"),R(En(t),!0,"Expecting LContainer")}function Vn(t){H(t,"LView must be defined"),R(Tn(t),!0,"Expecting LView")}function Un(t,e){R(t.firstCreatePass,!0,e||"Should only be called in first create pass.")}function Wn(t,e){R(t.firstUpdatePass,!0,"Should only be called in first update pass.")}function Gn(t){(void 0===t.type||null==t.selectors||void 0===t.inputs)&&B("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function qn(t,e){Zn(wn,t.bindingStartIndex,e)}function Qn(t,e){Zn(t[1].expandoStartIndex,t.length,e)}function Zn(t,e,n){t<=n&&n<e||B(`Index out of range (expecting ${t} <= ${n} < ${e})`)}function Xn(t,e){H(t[ln],"Component views should exist."),H(t[ln][Ye].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function Yn(t,e){H(t,"Component views should always have a parent view (component's host view)")}function Kn(t,e){Qn(t,e),Qn(t,e+8),O(t[e+0],"injectorIndex should point to a bloom filter"),O(t[e+1],"injectorIndex should point to a bloom filter"),O(t[e+2],"injectorIndex should point to a bloom filter"),O(t[e+3],"injectorIndex should point to a bloom filter"),O(t[e+4],"injectorIndex should point to a bloom filter"),O(t[e+5],"injectorIndex should point to a bloom filter"),O(t[e+6],"injectorIndex should point to a bloom filter"),O(t[e+7],"injectorIndex should point to a bloom filter"),O(t[e+8],"injectorIndex should point to parent injector")}const Jn="svg",tr="math";function er(t){for(;Array.isArray(t);)t=t[Ge];return t}function nr(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[Ge]}return null}function rr(t,e){return er(e[t])}function or(t,e){return er(e[t.index])}function ir(t,e){const n=null===t?-1:t.index;return-1!==n?er(e[n]):null}function sr(t,e){return t.data[e]}function ar(t,e){return t[e]}function lr(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function cr(t,e){const n=e[t];return Tn(n)?n:n[Ge]}function ur(t){return!(4&~t[Qe])}function dr(t){return!(128&~t[Qe])}function hr(t){return En(t[Ze])}function pr(t,e){return null==e?null:t[e]}function fr(t){t[un]=0}function gr(t){1024&t[Qe]||(t[Qe]|=1024,dr(t)&&vr(t))}function mr(t,e){for(;t>0;)e=e[an],t--;return e}function yr(t){return!!(9216&t[Qe]||t[yn]?.dirty)}function br(t){t[nn].changeDetectionScheduler?.notify(8),64&t[Qe]&&(t[Qe]|=1024),yr(t)&&vr(t)}function vr(t){t[nn].changeDetectionScheduler?.notify(0);let e=Cr(t);for(;null!==e&&!(8192&e[Qe])&&(e[Qe]|=8192,dr(e));)e=Cr(e)}function wr(t,e){if(Pn(t))throw new b(911,!1);null===t[fn]&&(t[fn]=[]),t[fn].push(e)}function Sr(t,e){if(null===t[fn])return;const n=t[fn].indexOf(e);-1!==n&&t[fn].splice(n,1)}function Cr(t){const e=t[Ze];return En(e)?e[Ze]:e}function _r(t){return t[Je]??=[]}function kr(t){return t.cleanup??=[]}function xr(t,e,n,r){const o=_r(e);o.push(n),t.firstCreatePass&&kr(t).push(r,o.length-1)}const Tr={lFrame:wo(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Er,Ar=((Er=Ar||{})[Er.Off=0]="Off",Er[Er.Exhaustive=1]="Exhaustive",Er[Er.OnlyDirtyViews=2]="OnlyDirtyViews",Er);let Ir=0,Or=!1;function Lr(){return Tr.lFrame.elementDepthCount}function Dr(){Tr.lFrame.elementDepthCount++}function Pr(){Tr.lFrame.elementDepthCount--}function Rr(){return Tr.bindingsEnabled}function Nr(){return null!==Tr.skipHydrationRootTNode}function Mr(t){return Tr.skipHydrationRootTNode===t}function jr(){Tr.bindingsEnabled=!0}function Fr(){Tr.bindingsEnabled=!1}function $r(){Tr.skipHydrationRootTNode=null}function zr(){return Tr.lFrame.lView}function Hr(){return Tr.lFrame.tView}function Br(t){return Tr.lFrame.contextLView=t,t[tn]}function Vr(t){return Tr.lFrame.contextLView=null,t}function Ur(){let t=Wr();for(;null!==t&&64===t.type;)t=t.parent;return t}function Wr(){return Tr.lFrame.currentTNode}function Gr(){const t=Tr.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function qr(t,e){const n=Tr.lFrame;n.currentTNode=t,n.isParent=e}function Qr(){return Tr.lFrame.isParent}function Zr(){Tr.lFrame.isParent=!1}function Xr(){return Tr.lFrame.contextLView}function Yr(){return B("Must never be called in production mode"),Ir!==Ar.Off}function Kr(){return B("Must never be called in production mode"),Ir===Ar.Exhaustive}function Jr(t){B("Must never be called in production mode"),Ir=t}function to(){return Or}function eo(t){const e=Or;return Or=t,e}function no(){const t=Tr.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ro(){return Tr.lFrame.bindingIndex}function oo(t){return Tr.lFrame.bindingIndex=t}function io(){return Tr.lFrame.bindingIndex++}function so(t){const e=Tr.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ao(){return Tr.lFrame.inI18n}function lo(t){Tr.lFrame.inI18n=t}function co(t,e){const n=Tr.lFrame;n.bindingIndex=n.bindingRootIndex=t,ho(e)}function uo(){return Tr.lFrame.currentDirectiveIndex}function ho(t){Tr.lFrame.currentDirectiveIndex=t}function po(t){const e=Tr.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function fo(){return Tr.lFrame.currentQueryIndex}function go(t){Tr.lFrame.currentQueryIndex=t}function mo(t){const e=t[qe];return 2===e.type?e.declTNode:1===e.type?t[Ye]:null}function yo(t,e,n){if(4&n){let r=e,o=t;for(;r=r.parent,!(null!==r||1&n||(r=mo(o),null===r||(o=o[an],10&r.type))););if(null===r)return!1;e=r,t=o}const r=Tr.lFrame=vo();return r.currentTNode=e,r.lView=t,!0}function bo(t){const e=vo(),n=t[qe];Tr.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function vo(){const t=Tr.lFrame,e=null===t?null:t.child;return null===e?wo(t):e}function wo(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function So(){const t=Tr.lFrame;return Tr.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Co=So;function _o(){const t=So();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ko(t){return(Tr.lFrame.contextLView=mr(t,Tr.lFrame.contextLView))[tn]}function xo(){return Tr.lFrame.selectedIndex}function To(t){Tr.lFrame.selectedIndex=t}function Eo(){const t=Tr.lFrame;return sr(t.tView,t.selectedIndex)}function Ao(){Tr.lFrame.currentNamespace=Jn}function Io(){Tr.lFrame.currentNamespace=tr}function Oo(){Tr.lFrame.currentNamespace=null}function Lo(){return Tr.lFrame.currentNamespace}let Do=!0;function Po(){return Do}function Ro(t){Do=t}function No(t,e=null,n=null,r){const o=Mo(t,e,n);return o.resolveInjectorInitializers(),o}function Mo(t,e=null,n=null,r,o=new Set){const i=[n||me,Ce(t)];return new je(i,e||Ne(),null,o)}class jo{static THROW_IF_NOT_FOUND=Gt;static NULL=new we;static create(t,e){return Array.isArray(t)?No({name:""},e,t):No({name:t.name??""},t.parent,t.providers)}static ɵprov=Q({token:jo,providedIn:"any",factory:()=>Xt(be)});static __NG_ELEMENT_ID__=-1}const Fo=new et("");let $o=class{static __NG_ELEMENT_ID__=Ho;static __NG_ENV_ID__=t=>t};class zo extends $o{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Pn(this._lView)}onDestroy(t){const e=this._lView;return wr(e,t),()=>Sr(e,t)}}function Ho(){return new zo(zr())}const Bo=!1,Vo=new et("");let Uo=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new o.t(!1);debugTaskTracker=Kt(Vo,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new i.c(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static ɵprov=Q({token:t,providedIn:"root",factory:()=>new t})}return t})();const Wo=class extends s.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ue()&&(this.destroyRef=Kt($o,{optional:!0})??void 0,this.pendingTasks=Kt(Uo,{optional:!0})??void 0)}emit(t){const e=(0,r.Ht)(null);try{super.next(t)}finally{(0,r.Ht)(e)}}subscribe(t,e,n){let r=t,o=e||(()=>null),i=n;if(t&&"object"==typeof t){const e=t;r=e.next?.bind(e),o=e.error?.bind(e),i=e.complete?.bind(e)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),i&&(i=this.wrapInTimeout(i)));const s=super.subscribe({next:r,error:o,complete:i});return t instanceof a.yU&&t.add(s),s}wrapInTimeout(t){return e=>{const n=this.pendingTasks?.add();setTimeout(()=>{try{t(e)}finally{void 0!==n&&this.pendingTasks?.remove(n)}})}}};function Go(...t){}function qo(t){let e,n;function r(){t=Go;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function Qo(t){return queueMicrotask(()=>t()),()=>{t=Go}}const Zo="isAngularZone",Xo=Zo+"_ID";let Yo=0;class Ko{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Wo(!1);onMicrotaskEmpty=new Wo(!1);onStable=new Wo(!1);onError=new Wo(!1);constructor(t){const{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Bo}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.callbackScheduled=!1,i.scheduleInRootZone=o,function(t){const e=()=>{!function(t){function e(){qo(()=>{t.callbackScheduled=!1,ei(t),t.isCheckStableRunning=!0,ti(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),ei(t))}(t)},n=Yo++;t._inner=t._inner.fork({name:"angular",properties:{[Zo]:!0,[Xo]:n,[Xo+n]:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function(t){return ii(t,"__ignore_ng_zone__")}(a))return n.invokeTask(o,i,s,a);try{return ni(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),ri(t)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return ni(t),n.invoke(o,i,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function(t){return ii(t,"__scheduler_tick__")}(a)&&e(),ri(t)}},onHasTask:(e,n,r,o)=>{e.hasTask(r,o),n===r&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,ei(t),ti(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,n,r,o)=>(e.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Zo)}static assertInAngularZone(){if(!Ko.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(Ko.isInAngularZone())throw new b(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,t,Jo,Go,Go);try{return o.runTask(i,e,n)}finally{o.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Jo={};function ti(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ei(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function ni(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ri(t){t._nesting--,ti(t)}class oi{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Wo;onMicrotaskEmpty=new Wo;onStable=new Wo;onError=new Wo;run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}function ii(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}class si{_console=console;handleError(t){this._console.error("ERROR",t)}}const ai=new et("",{factory:()=>{const t=Kt(Ko),e=Kt(Me);let n;return r=>{t.runOutsideAngular(()=>{e.destroyed&&!n?setTimeout(()=>{throw r}):(n??=e.get(si),n.handleError(r))})}}}),li={provide:ye,useValue:()=>{Kt(si,{optional:!0})},multi:!0};function ci(t,e){const[n,o,i]=(0,r.n5)(t,e?.equal),s=n;return s.set=o,s.update=i,s.asReadonly=ui.bind(s),s}function ui(){const t=this[r.bh];if(void 0===t.readonlyFn){const e=()=>this();e[r.bh]=t,t.readonlyFn=e}return t.readonlyFn}function di(t,e){if(null!==(0,r.nR)())throw new b(-602,!1)}let hi=class{view;node;constructor(t,e){this.view=t,this.node=e}static __NG_ELEMENT_ID__=pi};function pi(){return new hi(zr(),Ur())}class fi{}const gi=new et("",{factory:()=>!0}),mi=new et("",{factory:()=>!1}),yi=new et("");let bi=(()=>{class t{internalPendingTasks=Kt(Uo);scheduler=Kt(fi);errorHandler=Kt(ai);add(){const t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){const e=this.add();t().catch(this.errorHandler).finally(e)}static ɵprov=Q({token:t,providedIn:"root",factory:()=>new t})}return t})(),vi=(()=>{class t{static ɵprov=Q({token:t,providedIn:"root",factory:()=>new wi})}return t})();class wi{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const e=this.queues.get(t.zone);e.has(t)&&(e.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);const n=this.queues.get(e);n.has(t)||n.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[e,n]of this.queues)t||=null===e?this.flushQueue(n):e.run(()=>this.flushQueue(n));t||(this.dirtyEffectCount=0)}}flushQueue(t){let e=!1;for(const n of t)n.dirty&&(this.dirtyEffectCount--,e=!0,n.run());return e}}class Si{[r.bh];constructor(t){this[r.bh]=t}destroy(){this[r.bh].destroy()}}function Ci(t,e){const n=e?.injector??Kt(jo);let r,o=!0!==e?.manualCleanup?n.get($o):null;const i=n.get(hi,null,{optional:!0}),s=n.get(fi);return null!==i?(r=function(t,e,n){const r=Object.create(xi);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=e,r.fn=Ti(r,n),t[mn]??=new Set,t[mn].add(r),r.consumerMarkedDirty(r),r}(i.view,s,t),o instanceof zo&&o._lView===i.view&&(o=null)):r=function(t,e,n){const r=Object.create(ki);return r.fn=Ti(r,t),r.scheduler=e,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}(t,n.get(vi),s),r.injector=n,null!==o&&(r.onDestroyFns=[o.onDestroy(()=>r.destroy())]),new Si(r)}const _i={...r.vX,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const t=eo(!1);try{(0,r.lh)(this)}finally{eo(t)}},cleanup(){if(!this.cleanupFns?.length)return;const t=(0,r.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,r.Ht)(t)}}},ki={..._i,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if((0,r.XR)(this),null!==this.onDestroyFns)for(const t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}},xi={..._i,consumerMarkedDirty(){this.view[Qe]|=8192,vr(this.view),this.notifier.notify(13)},destroy(){if((0,r.XR)(this),null!==this.onDestroyFns)for(const t of this.onDestroyFns)t();this.cleanup(),this.view[mn]?.delete(this)}};function Ti(t,e){return()=>{e(e=>(t.cleanupFns??=[]).push(e))}}},5697(t,e,n){n.d(e,{Zf:()=>a,EW:()=>c,uu:()=>d,O8:()=>l}),n(467);var r=n(6817),o=n(6499);function i(t,e,n){const r=Object.create(s);r.source=t,r.computation=e,null!=n&&(r.equal=n);const i=()=>{if((0,o.JC)(r),(0,o.mK)(r),r.value===o.EF)throw r.error;return r.value};return i[o.bh]=r,(0,o.a7)(r),i}const s={...o.pL,value:o.Ag,dirty:!0,error:null,equal:o.H8,kind:"linkedSignal",producerMustRecompute:t=>t.value===o.Ag||t.value===o.Ny,producerRecomputeValue(t){if(t.value===o.Ny)throw new Error("");const e=t.value;t.value=o.Ny;const n=(0,o.Bg)(t);let r,i=!1;try{const n=t.source(),s=e!==o.Ag&&e!==o.EF;r=t.computation(n,s?{source:t.sourceValue,value:e}:void 0),t.sourceValue=n,(0,o.Ht)(null),i=s&&r!==o.EF&&t.equal(e,r)}catch(e){r=o.EF,t.error=e}finally{(0,o.Wu)(t,n)}i?t.value=e:(t.value=r,t.version++)}};class a{destroyed=!1;listeners=null;errorHandler=(0,r.WQX)(r.zcH,{optional:!0});destroyRef=(0,r.WQX)(r.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new r.buA(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{const e=this.listeners?.indexOf(t);void 0!==e&&-1!==e&&this.listeners?.splice(e,1)}}}emit(t){if(this.destroyed)return void console.warn((0,r.OsK)(953,!1));if(null===this.listeners)return;const e=(0,o.Ht)(null);try{for(const e of this.listeners)try{e(t)}catch(t){this.errorHandler?.handleError(t)}}finally{(0,o.Ht)(e)}}}function l(t){return function(t){const e=(0,o.Ht)(null);try{return t()}finally{(0,o.Ht)(e)}}(t)}function c(t,e){return(0,o.KZ)(t,e?.equal)}const u=t=>t;function d(t,e){return function(t){const e=t[o.bh],n=t;return n.set=t=>function(t,e){(0,o.JC)(t),(0,o.j2)(t,e),(0,o.TO)(t)}(e,t),n.update=t=>function(t,e){if((0,o.JC)(t),t.value===o.EF)throw t.error;(0,o.mC)(t,e),(0,o.TO)(t)}(e,t),n.asReadonly=r.HO5.bind(t),n}("function"==typeof t?i(t,u,e?.equal):i(t.source,t.computation,t.equal))}Error,Error},6860(t,e,n){n.d(e,{CGW:()=>h,ES_:()=>d,HJs:()=>ut,Jn2:()=>S,L39:()=>nt,MKu:()=>J,SmG:()=>j,TL3:()=>et,Tg_:()=>L,Udg:()=>rt,_q3:()=>Y,a0P:()=>ct,ebz:()=>m,fpN:()=>tt,gRc:()=>F,hFB:()=>f,oH4:()=>P,sbv:()=>b,uEv:()=>lt});var r=n(6268),o=n(6817),i=n(5697),s=n(5710),a=n(6499);const l=Symbol("InputSignalNode#UNSET"),c={...a.s0,transformFn:void 0,applyValueToInputSignal(t,e){(0,a.j2)(t,e)}};function u(t,e){const n=Object.create(c);function r(){if((0,a.mK)(n),n.value===l)throw new o.buA(-950,null);return n.value}return n.value=t,n.transformFn=e?.transform,r[a.bh]=n,r}class d{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>(0,r.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function h(t){return new i.Zf}function p(t,e){return u(t,e)}const f=(p.required=function(t){return u(l,t)},p);function g(t,e){return(0,r.mU9)(e)}const m=(g.required=function(t,e){return(0,r.hnC)(e)},g);function y(t,e){return(0,r.mU9)(e)}const b=(y.required=function(t,e){return(0,r.hnC)(e)},y);let v=(()=>{class t{zone=(0,o.WQX)(o.SKi);changeDetectionScheduler=(0,o.WQX)(o.hk6);applicationRef=(0,o.WQX)(r.o8S);applicationErrorHandler=(0,o.WQX)(o.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const w=new o.nKC("",{factory:()=>!1});function S(t){const e=t?.scheduleInRootZone,n=function({ngZoneFactory:t,scheduleInRootZone:e}){return t??=()=>new o.SKi({...C(),scheduleInRootZone:e}),[{provide:o.Evm,useValue:!1},{provide:o.SKi,useFactory:t},{provide:o.Z63,multi:!0,useFactory:()=>{const t=(0,o.WQX)(v,{optional:!0});return()=>t.initialize()}},{provide:o.Z63,multi:!0,useFactory:()=>{const t=(0,o.WQX)(_);return()=>{t.initialize()}}},{provide:o.AQb,useValue:e??o.kHH}]}({ngZoneFactory:()=>{const n=C(t);return n.scheduleInRootZone=e,n.shouldCoalesceEventChangeDetection&&(0,r._jY)("NgZone_CoalesceEvent"),new o.SKi(n)},scheduleInRootZone:e});return(0,o.EmA)([{provide:w,useValue:!0},n])}function C(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let _=(()=>{class t{subscription=new s.yU;initialized=!1;zone=(0,o.WQX)(o.SKi);pendingTasks=(0,o.WQX)(o.rev);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{o.SKi.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{o.SKi.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const k=new o.nKC(""),x=new o.nKC("");function T(t){return!t.moduleRef}function E(t){const e=T(t)?t.r3Injector:t.moduleRef.injector,n=e.get(o.SKi);return n.run(()=>{T(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const i=e.get(o.ZTf);let s;if(n.runOutsideAngular(()=>{s=n.onError.subscribe({next:i})}),T(t)){const n=()=>e.destroy(),r=t.platformInjector.get(k);r.add(n),e.onDestroy(()=>{s.unsubscribe(),r.delete(n)})}else{const e=()=>t.moduleRef.destroy(),n=t.platformInjector.get(k);n.add(e),t.moduleRef.onDestroy(()=>{(0,r.TFI)(t.allPlatformModules,t.moduleRef),s.unsubscribe(),n.delete(e)})}return function(t,e,n){try{const o=n();return(0,r.yLl)(o)?o.catch(n=>{throw e.runOutsideAngular(()=>t(n)),n}):o}catch(n){throw e.runOutsideAngular(()=>t(n)),n}}(i,n,()=>{const n=e.get(o.rev),i=n.add(),s=e.get(r.H1s);return s.runInitializers(),s.donePromise.then(()=>{const n=e.get(r.xe9,r.DkB);if((0,r.e6s)(n||r.DkB),!e.get(x,!0))return T(t)?e.get(r.o8S):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(T(t)){const n=e.get(r.o8S);return void 0!==t.rootComponent&&n.bootstrap(t.rootComponent),n}return A?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{n.remove(i)})})})}let A;function I(){A=O}function O(t,e){const n=t.injector.get(r.o8S);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>n.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new o.buA(-403,!1);t.instance.ngDoBootstrap(n)}e.push(t)}let L=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,e){const n=[(0,r.rpG)(),...e?.applicationProviders??[],o.gv8],i=(0,r.VzW)(t.moduleType,this.injector,n);return I(),E({moduleRef:i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,e=[]){const n=(0,r.lJT)({},e);return I(),function(t,e,n){const o=new r.Co$(n);return Promise.resolve(o)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new o.buA(404,!1);this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t());const t=this._injector.get(k,null);t&&(t.forEach(t=>t()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static ɵfac=function(e){return new(e||t)((0,o.KVO)(o.zZn))};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"platform"})}return t})(),D=null;function P(t,e,n=[]){const i=`Platform: ${e}`,s=new o.nKC(i);return(e=[])=>{let a=N();if(!a){const l=[...n,...e,{provide:s,useValue:!0}];a=t?.(l)??function(t){if(N())throw new o.buA(400,!1);(0,r.pl0)(),(0,r.ypd)(),D=t;const e=t.get(L);return M(t),e}(R(l,i))}return function(){const t=N();if(!t)throw new o.buA(-401,!1);return t}()}}function R(t=[],e){return o.zZn.create({name:e,providers:[{provide:o.GBX,useValue:"platform"},{provide:k,useValue:new Set([()=>D=null])},...t]})}function N(){return D?.get(L)??null}function M(t){const e=t.get(r.PLl,null);(0,o.N4e)(t,()=>{e?.forEach(t=>t())})}function j(){}let F=class{static __NG_ELEMENT_ID__=$};function $(t){return function(t,e,n){if((0,o.Qs1)(t)&&!n){const n=(0,o.KdJ)(t.index,e);return new r.NCX(n,n)}return 175&t.type?new r.NCX(e[o.b5C],e):null}((0,o.Mx4)(),(0,o.OAn)(),!(16&~t))}class z{supports(t){return(0,r.ozJ)(t)}create(t){return new B(t)}}const H=(t,e)=>e;class B{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||H}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,o=null;for(;e||n;){const i=!n||e&&e.currentIndex<G(n,r,o)?e:n,s=G(i,r,o),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{o||(o=[]);const t=s-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<o.length?o[n]:o[n]=0,i=r+n;e<=i&&i<t&&(o[n]=r+1)}o[i.previousIndex]=e-t}}s!==a&&t(i,s,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!(0,r.ozJ)(t))throw new o.buA(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,o,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],o=this._trackByFn(e,n),null!==i&&Object.is(i.trackById,o)?(s&&(i=this._verifyReinsertion(i,n,o,e)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,o,e),s=!0),i=i._next}else e=0,(0,r.utN)(t,t=>{o=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,o)?(s&&(i=this._verifyReinsertion(i,t,o,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,o,e),s=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new V(e,n),o,r),t}_verifyReinsertion(t,e,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new W),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new W),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class V{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,e){this.item=t,this.trackById=e}}class U{_head=null;_tail=null;add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class W{map=new Map;put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new U,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function G(t,e,n){const r=t.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+e+o}class q{supports(t){return t instanceof Map||(0,r.vDg)(t)}create(){return new Q}}class Q{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||(0,r.vDg)(t)))throw new o.buA(900,!1)}else t=new Map;return this.check(t)?this:null}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}const n=new Z(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Z{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}}function X(){return new Y([new z])}let Y=(()=>{class t{factories;static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:X});constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{const n=(0,o.WQX)(t,{optional:!0,skipSelf:!0});return t.create(e,n||X())}}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new o.buA(901,!1)}}return t})();function K(){return new J([new q])}let J=(()=>{class t{static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:K});factories;constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{const n=(0,o.WQX)(t,{optional:!0,skipSelf:!0});return t.create(e,n||K())}}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new o.buA(901,!1)}}return t})();const tt=P(null,"core",[]);function et(t){const{rootComponent:e,appProviders:n,platformProviders:i,platformRef:s}=t;(0,r.Ef8)(r.mS5.BootstrapApplicationStart);try{const t=s?.injector??function(t=[]){if(D)return D;(0,r.pl0)();const e=R(t);return D=e,(0,r.ypd)(),M(e),e}(i),a=[(0,r.rpG)(),o.gv8,...n||[]];return E({r3Injector:new r.bH1({providers:a,parent:t,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:t,rootComponent:e})}catch(t){return Promise.reject(t)}finally{(0,r.Ef8)(r.mS5.BootstrapApplicationEnd)}}function nt(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function rt(t,e=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?e:Number(t)}const ot=Symbol("NOT_SET"),it=new Set,st={...a.s0,kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ot,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==ot&&!(0,a.si)(this))return this.signal;try{for(const t of this.cleanup??it)t()}finally{this.cleanup?.clear()}const e=[];void 0!==t&&e.push(t),e.push(this.registerCleanupFn);const n=(0,a.Bg)(this);let r;try{r=this.userFn.apply(null,e)}finally{(0,a.Wu)(this,n)}return(this.value===ot||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}};class at extends r._ys{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,e,n,i,s,l=null){super(t,[void 0,void 0,void 0,void 0],n,!1,s.get(o.abz),l),this.scheduler=i;for(const t of r.zoo){const n=e[t];if(void 0===n)continue;const r=Object.create(st);r.sequence=this,r.phase=t,r.userFn=n,r.dirty=!0,r.signal=()=>((0,a.mK)(r),r.value),r.signal[a.bh]=r,r.registerCleanupFn=t=>(r.cleanup??=new Set).add(t),this.nodes[t]=r,this.hooks[t]=t=>r.phaseFn(t)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(null!==this.onDestroyFns)for(const t of this.onDestroyFns)t();super.destroy();for(const t of this.nodes)if(t)try{for(const e of t.cleanup??it)e()}finally{(0,a.XR)(t)}}}function lt(t,e){const n=e?.injector??(0,o.WQX)(o.zZn),i=n.get(o.hk6),s=n.get(r.cf$),a=n.get(r.a8H,null,{optional:!0});s.impl??=n.get(r.ziy);let l=t;"function"==typeof l&&(l={mixedReadWrite:t});const c=n.get(o.r4V,null,{optional:!0}),u=new at(s.impl,[l.earlyRead,l.write,l.mixedReadWrite,l.read],c?.view,i,n,a?.snapshot(null));return s.impl.register(u),u}function ct(t,e){const n=(0,o.xUg)(t),i=e.elementInjector||(0,o.WB9)();return new r.eHC(n).create(i,e.projectableNodes,e.hostElement,e.environmentInjector,e.directives,e.bindings)}function ut(t){const e=(0,o.xUg)(t);if(!e)return null;const n=new r.eHC(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}},3639(t,e,n){n.d(e,{nX:()=>Le,Pu:()=>Gn,Zp:()=>_e,nU:()=>gt,wU:()=>Zt,c1:()=>Ve,XR:()=>Xn,wF:()=>te,lW:()=>oe,mo:()=>ne,Z:()=>Jt,J2:()=>Yn,J_:()=>jn,bw:()=>Fn,tD:()=>Ue,Ix:()=>sr,D$:()=>$n,n3:()=>He,OY:()=>ye,fN:()=>rr,Sd:()=>ft,el:()=>ut,bK:()=>qn,gk:()=>ir,Lg:()=>Qn,tE:()=>rt,$m:()=>it,wO:()=>Pt,Us:()=>Se,E:()=>ot,we:()=>We});var r=n(467),o=n(6817),i=n(5487),s=n(6268),a=n(5697),l=n(6860),c=n(1698),u=n(1126);function d(t){return!!t&&(t instanceof c.c||(0,u.T)(t.lift)&&(0,u.T)(t.subscribe))}var h=n(1787),p=n(3016),f=n(1217),g=n(6627),m=n(8747),y=n(1890),b=n(4327);function v(...t){return(0,y.U)(1)((0,h.H)(t,(0,b.lI)(t)))}var w=n(7225);function S(t){return new c.c(e=>{(0,w.Tg)(t()).subscribe(e)})}var C=n(6742),_=n(6564),k=n(8447),x=n(5710),T=n(1483),E=n(7610),A=n(5351),I=n(2483);function O(t=L){return(0,A.N)((e,n)=>{let r=!1;e.subscribe((0,I._)(n,t=>{r=!0,n.next(t)},()=>r?n.complete():n.error(t())))})}function L(){return new m.G}var D=n(9220);function P(t,e){const n=arguments.length>=2;return r=>r.pipe(t?(0,T.p)((e,n)=>t(e,n,r)):D.D,(0,E.s)(1),n?function(t){return(0,A.N)((e,n)=>{let r=!1;e.subscribe((0,I._)(n,t=>{r=!0,n.next(t)},()=>{r||n.next(t),n.complete()}))})}(e):O(()=>new m.G))}var R=n(7947),N=n(2867),M=n(5424),j=n(5823),F=n(1459),$=n(2040);function z(t){return t<=0?()=>_.w:(0,A.N)((e,n)=>{let r=[];e.subscribe((0,I._)(n,e=>{r.push(e),t<r.length&&r.shift()},()=>{for(const t of r)n.next(t);n.complete()},void 0,()=>{r=null}))})}var H=n(7178);let B=(()=>{class t{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static ɵfac=function(e){return new(e||t)(o.KVO(o.qQL))};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const V="primary",U=Symbol("RouteTitle");class W{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function G(t){return new W(t)}function q(t,e,n){for(let r=0;r<t.length;r++){const o=t[r],i=e[r];if(":"===o[0])n[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function Q(t,e,n){const r=n.path.split("/"),o=r.indexOf("**");if(-1===o){if(r.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const o={},i=t.slice(0,r.length);return q(r,i,o)?{consumed:i,posParams:o}:null}if(o!==r.lastIndexOf("**"))return null;const i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>t.length||"full"===n.pathMatch&&e.hasChildren()&&"**"!==n.path)return null;const a={};return q(i,t.slice(0,i.length),a)&&q(s,t.slice(t.length-s.length),a)?{consumed:t,posParams:a}:null}function Z(t){return new Promise((e,n)=>{t.pipe(P()).subscribe({next:t=>e(t),error:t=>n(t)})})}function X(t,e){const n=t?Y(t):void 0,r=e?Y(e):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let r=0;r<n.length;r++)if(o=n[r],!K(t[o],e[o]))return!1;return!0}function Y(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function K(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every((t,e)=>r[e]===t)}return t===e}function J(t){return d(t)?t:(0,s.yLl)(t)?(0,h.H)(Promise.resolve(t)):(0,p.of)(t)}function tt(t){return d(t)?Z(t):Promise.resolve(t)}const et={exact:function t(e,n,r){if(!pt(e.segments,n.segments)||!ct(e.segments,n.segments,r)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const o in n.children)if(!e.children[o]||!t(e.children[o],n.children[o],r))return!1;return!0},subset:at},nt={exact:function(t,e){return X(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>K(t[n],e[n]))},ignored:()=>!0},rt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ot={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function it(t,e,n){const r=t instanceof ut?t:e.parseUrl(t);return(0,a.EW)(()=>st(e.lastSuccessfulNavigation()?.finalUrl??new ut,r,{...ot,...n}))}function st(t,e,n){return et[n.paths](t.root,e.root,n.matrixParams)&&nt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function at(t,e,n){return lt(t,e,e.segments,n)}function lt(t,e,n,r){if(t.segments.length>n.length){const o=t.segments.slice(0,n.length);return!(!pt(o,n)||e.hasChildren()||!ct(o,n,r))}if(t.segments.length===n.length){if(!pt(t.segments,n)||!ct(t.segments,n,r))return!1;for(const n in e.children)if(!t.children[n]||!at(t.children[n],e.children[n],r))return!1;return!0}{const o=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!(pt(t.segments,o)&&ct(t.segments,o,r)&&t.children[V])&<(t.children[V],e,i,r)}}function ct(t,e,n){return e.every((e,r)=>nt[n](t[r].parameters,e.parameters))}class ut{root;queryParams;fragment;_queryParamMap;constructor(t=new dt([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=G(this.queryParams),this._queryParamMap}toString(){return mt.serialize(this)}}class dt{segments;children;parent=null;constructor(t,e){this.segments=t,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return yt(this)}}class ht{path;parameters;_parameterMap;constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=G(this.parameters),this._parameterMap}toString(){return kt(this)}}function pt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}let ft=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:()=>new gt,providedIn:"root"})}return t})();class gt{parse(t){const e=new Ot(t);return new ut(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${bt(t.root,!0)}`,n=function(t){const e=Object.entries(t).map(([t,e])=>Array.isArray(e)?e.map(e=>`${wt(t)}=${wt(e)}`).join("&"):`${wt(t)}=${wt(e)}`).filter(t=>t);return e.length?`?${e.join("&")}`:""}(t.queryParams);return`${e}${n}${"string"==typeof t.fragment?`#${r=t.fragment,encodeURI(r)}`:""}`;var r}}const mt=new gt;function yt(t){return t.segments.map(t=>kt(t)).join("/")}function bt(t,e){if(!t.hasChildren())return yt(t);if(e){const e=t.children[V]?bt(t.children[V],!1):"",n=[];return Object.entries(t.children).forEach(([t,e])=>{t!==V&&n.push(`${t}:${bt(e,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Object.entries(t.children).forEach(([t,r])=>{t===V&&(n=n.concat(e(r,t)))}),Object.entries(t.children).forEach(([t,r])=>{t!==V&&(n=n.concat(e(r,t)))}),n}(t,(e,n)=>n===V?[bt(t.children[V],!1)]:[`${n}:${bt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[V]?`${yt(t)}/${e[0]}`:`${yt(t)}/(${e.join("//")})`}}function vt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wt(t){return vt(t).replace(/%3B/gi,";")}function St(t){return vt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ct(t){return decodeURIComponent(t)}function _t(t){return Ct(t.replace(/\+/g,"%20"))}function kt(t){return`${St(t.path)}${function(t){return Object.entries(t).map(([t,e])=>`;${St(t)}=${St(e)}`).join("")}(t.parameters)}`}const xt=/^[^\/()?;#]+/;function Tt(t){const e=t.match(xt);return e?e[0]:""}const Et=/^[^\/()?;=#]+/,At=/^[^=?&#]+/,It=/^[^&#]+/;class Ot{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){for(;this.consumeOptional("/"););return""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new dt([],{}):new dt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(t=0){if(t>50)throw new o.buA(4010,!1);if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0,t));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1,t)),(e.length>0||Object.keys(n).length>0)&&(r[V]=new dt(e,n)),r}parseSegment(){const t=Tt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new o.buA(4009,!1);return this.capture(t),new ht(Ct(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function(t){const e=t.match(Et);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Tt(this.remaining);t&&(n=t,this.capture(n))}t[Ct(e)]=Ct(n)}parseQueryParam(t){const e=function(t){const e=t.match(At);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(It);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=_t(e),o=_t(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(o)}else t[r]=o}parseParens(t,e){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Tt(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new o.buA(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=V);const a=this.parseChildren(e+1);n[s??V]=1===Object.keys(a).length&&a[V]?a[V]:new dt([],a),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new o.buA(4011,!1)}}function Lt(t){return t.segments.length>0?new dt([],{[V]:t}):t}function Dt(t){const e={};for(const[n,r]of Object.entries(t.children)){const t=Dt(r);if(n===V&&0===t.segments.length&&t.hasChildren())for(const[n,r]of Object.entries(t.children))e[n]=r;else(t.segments.length>0||t.hasChildren())&&(e[n]=t)}return function(t){if(1===t.numberOfChildren&&t.children[V]){const e=t.children[V];return new dt(t.segments.concat(e.segments),e.children)}return t}(new dt(t.segments,e))}function Pt(t){return t instanceof ut}function Rt(t){let e;const n=Lt(function n(r){const o={};for(const t of r.children){const e=n(t);o[t.outlet]=e}const i=new dt(r.url,o);return r===t&&(e=i),i}(t.root));return e??n}function Nt(t,e,n,r,i){let s=t;for(;s.parent;)s=s.parent;if(0===e.length)return $t(s,s,s,n,r,i);const a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Ht(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,o)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Object.entries(r.outlets).forEach(([t,n])=>{e[t]="string"==typeof n?n.split("/"):n}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===o?(r.split("/").forEach((r,o)=>{0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Ht(n,e,r)}(e);if(a.toRoot())return $t(s,s,new dt([],{}),n,r,i);const l=function(t,e,n){if(t.isAbsolute)return new Bt(e,!0,0);if(!n)return new Bt(e,!1,NaN);if(null===n.parent)return new Bt(n,!0,0);const r=Mt(t.commands[0])?0:1;return function(t,e,n){let r=t,i=e,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new o.buA(4005,!1);i=r.segments.length}return new Bt(r,!1,i-s)}(n,n.segments.length-1+r,t.numberOfDoubleDots)}(a,s,t),c=l.processChildren?Ut(l.segmentGroup,l.index,a.commands):Vt(l.segmentGroup,l.index,a.commands);return $t(s,l.segmentGroup,c,n,r,i)}function Mt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function jt(t){return"object"==typeof t&&null!=t&&t.outlets}function Ft(t,e,n){t||="ɵ";const r=new ut;return r.queryParams={[t]:e},n.parse(n.serialize(r)).queryParams[t]}function $t(t,e,n,r,o,i){const s={};for(const[t,e]of Object.entries(r??{}))s[t]=Array.isArray(e)?e.map(e=>Ft(t,e,i)):Ft(t,e,i);let a;a=t===e?n:zt(t,e,n);const l=Lt(Dt(a));return new ut(l,s,o)}function zt(t,e,n){const r={};return Object.entries(t.children).forEach(([t,o])=>{r[t]=o===e?n:zt(o,e,n)}),new dt(t.segments,r)}class Ht{isAbsolute;numberOfDoubleDots;commands;constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Mt(n[0]))throw new o.buA(4003,!1);const r=n.find(jt);if(r&&r!==((i=n).length>0?i[i.length-1]:null))throw new o.buA(4004,!1);var i}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Bt{segmentGroup;processChildren;index;constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Vt(t,e,n){if(t??=new dt([],{}),0===t.segments.length&&t.hasChildren())return Ut(t,e,n);const r=function(t,e,n){let r=0,o=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(r>=n.length)return i;const e=t.segments[o],s=n[r];if(jt(s))break;const a=`${s}`,l=r<n.length-1?n[r+1]:null;if(o>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Qt(a,l,e))return i;r+=2}else{if(!Qt(a,{},e))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new dt(t.segments.slice(0,r.pathIndex),{});return e.children[V]=new dt(t.segments.slice(r.pathIndex),t.children),Ut(e,0,o)}return r.match&&0===o.length?new dt(t.segments,{}):r.match&&!t.hasChildren()?Wt(t,e,n):r.match?Ut(t,0,o):Wt(t,e,n)}function Ut(t,e,n){if(0===n.length)return new dt(t.segments,{});{const r=function(t){return jt(t[0])?t[0].outlets:{[V]:t}}(n),o={};if(Object.keys(r).some(t=>t!==V)&&t.children[V]&&1===t.numberOfChildren&&0===t.children[V].segments.length){const r=Ut(t.children[V],e,n);return new dt(t.segments,r.children)}return Object.entries(r).forEach(([n,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(o[n]=Vt(t.children[n],e,r))}),Object.entries(t.children).forEach(([t,e])=>{void 0===r[t]&&(o[t]=e)}),new dt(t.segments,o)}}function Wt(t,e,n){const r=t.segments.slice(0,e);let o=0;for(;o<n.length;){const i=n[o];if(jt(i)){const t=Gt(i.outlets);return new dt(r,t)}if(0===o&&Mt(n[0])){r.push(new ht(t.segments[e].path,qt(n[0]))),o++;continue}const s=jt(i)?i.outlets[V]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Mt(a)?(r.push(new ht(s,qt(a))),o+=2):(r.push(new ht(s,{})),o++)}return new dt(r,{})}function Gt(t){const e={};return Object.entries(t).forEach(([t,n])=>{"string"==typeof n&&(n=[n]),null!==n&&(e[t]=Wt(new dt([],{}),0,n))}),e}function qt(t){const e={};return Object.entries(t).forEach(([t,n])=>e[t]=`${n}`),e}function Qt(t,e,n){return t==n.path&&X(e,n.parameters)}const Zt="imperative";var Xt,Yt=((Xt=Yt||{})[Xt.NavigationStart=0]="NavigationStart",Xt[Xt.NavigationEnd=1]="NavigationEnd",Xt[Xt.NavigationCancel=2]="NavigationCancel",Xt[Xt.NavigationError=3]="NavigationError",Xt[Xt.RoutesRecognized=4]="RoutesRecognized",Xt[Xt.ResolveStart=5]="ResolveStart",Xt[Xt.ResolveEnd=6]="ResolveEnd",Xt[Xt.GuardsCheckStart=7]="GuardsCheckStart",Xt[Xt.GuardsCheckEnd=8]="GuardsCheckEnd",Xt[Xt.RouteConfigLoadStart=9]="RouteConfigLoadStart",Xt[Xt.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",Xt[Xt.ChildActivationStart=11]="ChildActivationStart",Xt[Xt.ChildActivationEnd=12]="ChildActivationEnd",Xt[Xt.ActivationStart=13]="ActivationStart",Xt[Xt.ActivationEnd=14]="ActivationEnd",Xt[Xt.Scroll=15]="Scroll",Xt[Xt.NavigationSkipped=16]="NavigationSkipped",Xt);class Kt{id;url;constructor(t,e){this.id=t,this.url=e}}class Jt extends Kt{type=Yt.NavigationStart;navigationTrigger;restoredState;constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class te extends Kt{urlAfterRedirects;type=Yt.NavigationEnd;constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ee=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t}(ee||{}),ne=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ne||{});class re extends Kt{reason;code;type=Yt.NavigationCancel;constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oe extends Kt{reason;code;type=Yt.NavigationSkipped;constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r}}class ie extends Kt{error;target;type=Yt.NavigationError;constructor(t,e,n,r){super(t,e),this.error=n,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class se extends Kt{urlAfterRedirects;state;type=Yt.RoutesRecognized;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ae extends Kt{urlAfterRedirects;state;type=Yt.GuardsCheckStart;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class le extends Kt{urlAfterRedirects;state;shouldActivate;type=Yt.GuardsCheckEnd;constructor(t,e,n,r,o){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ce extends Kt{urlAfterRedirects;state;type=Yt.ResolveStart;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ue extends Kt{urlAfterRedirects;state;type=Yt.ResolveEnd;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class de{route;type=Yt.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class he{route;type=Yt.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class pe{snapshot;type=Yt.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fe{snapshot;type=Yt.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ge{snapshot;type=Yt.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class me{snapshot;type=Yt.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ye{routerEvent;position;anchor;scrollBehavior;type=Yt.Scroll;constructor(t,e,n,r){this.routerEvent=t,this.position=e,this.anchor=n,this.scrollBehavior=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class be{}class ve{}class we{url;navigationBehaviorOptions;constructor(t,e){this.url=t,this.navigationBehaviorOptions=e}}function Se(t){switch(t.type){case Yt.ActivationEnd:return`ActivationEnd(path: '${t.snapshot.routeConfig?.path||""}')`;case Yt.ActivationStart:return`ActivationStart(path: '${t.snapshot.routeConfig?.path||""}')`;case Yt.ChildActivationEnd:return`ChildActivationEnd(path: '${t.snapshot.routeConfig?.path||""}')`;case Yt.ChildActivationStart:return`ChildActivationStart(path: '${t.snapshot.routeConfig?.path||""}')`;case Yt.GuardsCheckEnd:return`GuardsCheckEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state}, shouldActivate: ${t.shouldActivate})`;case Yt.GuardsCheckStart:return`GuardsCheckStart(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case Yt.NavigationCancel:return`NavigationCancel(id: ${t.id}, url: '${t.url}')`;case Yt.NavigationSkipped:return`NavigationSkipped(id: ${t.id}, url: '${t.url}')`;case Yt.NavigationEnd:return`NavigationEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}')`;case Yt.NavigationError:return`NavigationError(id: ${t.id}, url: '${t.url}', error: ${t.error})`;case Yt.NavigationStart:return`NavigationStart(id: ${t.id}, url: '${t.url}')`;case Yt.ResolveEnd:return`ResolveEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case Yt.ResolveStart:return`ResolveStart(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case Yt.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${t.route.path})`;case Yt.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${t.route.path})`;case Yt.RoutesRecognized:return`RoutesRecognized(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case Yt.Scroll:return`Scroll(anchor: '${t.anchor}', position: '${t.position?`${t.position[0]}, ${t.position[1]}`:null}')`}}class Ce{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new _e(this.rootInjector)}}let _e=(()=>{class t{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Ce(this.rootInjector),this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}static ɵfac=function(e){return new(e||t)(o.KVO(o.uvJ))};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();class ke{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=xe(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=xe(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Te(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Te(t,this._root).map(t=>t.value)}}function xe(t,e){if(t===e.value)return e;for(const n of e.children){const e=xe(t,n);if(e)return e}return null}function Te(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Te(t,n);if(r.length)return r.unshift(e),r}return[]}class Ee{value;children;constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ae(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Ie extends ke{snapshot;constructor(t,e){super(t),this.snapshot=e,Ne(this,t)}toString(){return this.snapshot.toString()}}function Oe(t,e){const n=function(t,e){const n=new Pe([],{},{},"",{},V,t,null,{},e);return new Re("",new Ee(n,[]))}(t,e),r=new f.t([new ht("",{})]),o=new f.t({}),i=new f.t({}),s=new f.t({}),a=new f.t(""),l=new Le(r,o,s,a,i,V,t,n.root);return l.snapshot=n.root,new Ie(new Ee(l,[]),n)}class Le{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,e,n,r,o,i,s,a){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=i,this.component=s,this._futureSnapshot=a,this.title=this.dataSubject?.pipe((0,R.T)(t=>t[U]))??(0,p.of)(void 0),this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,R.T)(t=>G(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,R.T)(t=>G(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function De(t,e,n="emptyOnly"){let r;const{routeConfig:o}=t;return r=null===e||"always"!==n&&""!==o?.path&&(e.component||e.routeConfig?.loadComponent)?{params:{...t.params},data:{...t.data},resolve:{...t.data,...t._resolvedData??{}}}:{params:{...e.params,...t.params},data:{...e.data,...t.data},resolve:{...t.data,...e.data,...o?.data,...t._resolvedData}},o&&$e(o)&&(r.resolve[U]=o.title),r}class Pe{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[U]}constructor(t,e,n,r,o,i,s,a,l,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=s,this.routeConfig=a,this._resolve=l,this._environmentInjector=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=G(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=G(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Re extends ke{url;constructor(t,e){super(e),this.url=t,Ne(this,e)}toString(){return Me(this._root)}}function Ne(t,e){e.value._routerState=t,e.children.forEach(e=>Ne(t,e))}function Me(t){const e=t.children.length>0?` { ${t.children.map(Me).join(", ")} } `:"";return`${t.value}${e}`}function je(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,X(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),X(e.params,n.params)||t.paramsSubject.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!X(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.urlSubject.next(n.url),X(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Fe(t,e){const n=X(t.params,e.params)&&function(t,e){return pt(t,e)&&t.every((t,n)=>X(t.parameters,e[n].parameters))}(t.url,e.url);return n&&!(!t.parent!=!e.parent)&&(!t.parent||Fe(t.parent,e.parent))}function $e(t){return"string"==typeof t.title||null===t.title}const ze=new o.nKC("");let He=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=V;activateEvents=new o.bkB;deactivateEvents=new o.bkB;attachEvents=new o.bkB;detachEvents=new o.bkB;routerOutletData=(0,l.hFB)();parentContexts=(0,o.WQX)(_e);location=(0,o.WQX)(s.c1b);changeDetector=(0,o.WQX)(l.gRc);inputBinder=(0,o.WQX)(Ve,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){const{firstChange:e,previousValue:n}=t.name;if(e)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.buA(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new o.buA(4013,!1);this._activatedRoute=t;const n=this.location,r=t.snapshot.component,i=this.parentContexts.getOrCreateContext(this.name).children,s=new Be(t,i,n.injector,this.routerOutletData);this.activated=n.createComponent(r,{index:n.length,injector:s,environmentInjector:e}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(e){return new(e||t)};static ɵdir=s.FsC({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[s.OA$]})}return t})();class Be{route;childContexts;parent;outletData;constructor(t,e,n,r){this.route=t,this.childContexts=e,this.parent=n,this.outletData=r}get(t,e){return t===Le?this.route:t===_e?this.childContexts:t===ze?this.outletData:this.parent.get(t,e)}}const Ve=new o.nKC("");let Ue=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:e}=t,n=(0,g.z)([e.queryParams,e.params,e.data]).pipe((0,N.n)(([t,e,n],r)=>(n={...t,...e,...n},0===r?(0,p.of)(n):Promise.resolve(n)))).subscribe(n=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==e||null===e.component)return void this.unsubscribeFromRouteData(t);const r=(0,l.HJs)(e.component);if(r)for(const{templateName:e}of r.inputs)t.activatedComponentRef.setInput(e,n[e]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,n)}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac})}return t})(),We=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵcmp=s.VBU({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,e){1&t&&s.nrm(0,"router-outlet")},dependencies:[He],encapsulation:2})}return t})();function Ge(t){const e=t.children&&t.children.map(Ge),n=e?{...t,children:e}:{...t};return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==V&&(n.component=We),n}function qe(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const o=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return qe(t,e,r);return qe(t,e)})}(t,e,n);return new Ee(r,o)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const r=n.route;return r.value._futureSnapshot=e.value,r.children=e.children.map(e=>qe(t,e)),r}}const n=function(t){return new Le(new f.t(t.url),new f.t(t.params),new f.t(t.queryParams),new f.t(t.fragment),new f.t(t.data),t.outlet,t.component,t)}(e.value),r=e.children.map(e=>qe(t,e));return new Ee(n,r)}}class Qe{redirectTo;navigationBehaviorOptions;constructor(t,e){this.redirectTo=t,this.navigationBehaviorOptions=e}}const Ze="ngNavigationCancelingError";function Xe(t,e){const{redirectTo:n,navigationBehaviorOptions:r}=Pt(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=Ye(!1,ee.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Ye(t,e){const n=new Error(`NavigationCancelingError: ${t||""}`);return n[Ze]=!0,n.cancellationCode=e,n}function Ke(t){return!!t&&t[Ze]}class Je{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,e,n,r,o){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),je(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Ae(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Object.values(r).forEach(t=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,o=Ae(t);for(const t of Object.values(o))this.deactivateRouteAndItsChildren(t,r);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,o=Ae(t);for(const t of Object.values(o))this.deactivateRouteAndItsChildren(t,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,e,n){const r=Ae(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new me(t.value.snapshot))}),t.children.length&&this.forwardEvent(new fe(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,o=e?e.value:null;if(je(r),r===o)if(r.component){const o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const n=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(n.contexts),e.attachRef=n.componentRef,e.route=n.route.value,e.outlet&&e.outlet.attach(n.componentRef,n.route.value),je(n.route.value),this.activateChildRoutes(t,null,e.children)}else e.attachRef=null,e.route=r,e.outlet&&e.outlet.activateWith(r,e.injector),this.activateChildRoutes(t,null,e.children)}else this.activateChildRoutes(t,null,n)}}class tn{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class en{component;route;constructor(t,e){this.component=t,this.route=e}}function nn(t,e,n){const r=t._root;return on(r,e?e._root:null,n,[r.value])}function rn(t,e){const n=Symbol(),r=e.get(t,n);return r===n?"function"!=typeof t||(0,o.muV)(t)?e.get(t):t:r}function on(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=Ae(e);return t.children.forEach(t=>{(function(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,a=e?e.value:null,l=n?n.getContext(t.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){const c=function(t,e,n){if("function"==typeof n)return(0,o.N4e)(e._environmentInjector,()=>n(t,e));switch(n){case"pathParamsChange":return!pt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!pt(t.url,e.url)||!X(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Fe(t,e)||!X(t.queryParams,e.queryParams);default:return!Fe(t,e)}}(a,s,s.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new tn(r)):(s.data=a.data,s._resolvedData=a._resolvedData),on(t,e,s.component?l?l.children:null:n,r,i),c&&l&&l.outlet&&l.outlet.isActivated&&i.canDeactivateChecks.push(new en(l.outlet.component,a))}else a&&sn(e,l,i),i.canActivateChecks.push(new tn(r)),on(t,null,s.component?l?l.children:null:n,r,i)})(t,s[t.value.outlet],n,r.concat([t.value]),i),delete s[t.value.outlet]}),Object.entries(s).forEach(([t,e])=>sn(e,n.getContext(t),i)),i}function sn(t,e,n){const r=Ae(t),o=t.value;Object.entries(r).forEach(([t,r])=>{sn(r,o.component?e?e.children.getContext(t):null:e,n)}),n.canDeactivateChecks.push(new en(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}function an(t){return"function"==typeof t}function ln(t){return t instanceof m.G||"EmptyError"===t?.name}const cn=Symbol("INITIAL_VALUE");function un(){return(0,N.n)(t=>(0,g.z)(t.map(t=>t.pipe((0,E.s)(1),function(...t){const e=(0,b.lI)(t);return(0,A.N)((n,r)=>{(e?v(t,n,e):v(t,n)).subscribe(r)})}(cn)))).pipe((0,R.T)(t=>{for(const e of t)if(!0!==e){if(e===cn)return cn;if(!1===e||dn(e))return e}return!0}),(0,T.p)(t=>t!==cn),(0,E.s)(1)))}function dn(t){return Pt(t)||t instanceof Qe}function hn(t){return t.aborted?(0,p.of)(void 0).pipe((0,E.s)(1)):new c.c(e=>{const n=()=>{e.next(),e.complete()};return t.addEventListener("abort",n),()=>t.removeEventListener("abort",n)})}function pn(t){return(0,M.Q)(hn(t))}function fn(t){return(0,C.F)((0,$.M)(t=>{if("boolean"!=typeof t)throw Xe(0,t)}),(0,R.T)(t=>!0===t))}class gn extends Error{segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,gn.prototype)}}class mn extends Error{urlTree;constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,mn.prototype)}}function yn(t){throw new o.buA(4e3,!1)}class bn{urlSerializer;urlTree;constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){return(0,r.A)(function*(){let t=[],n=e.root;for(;;){if(t=t.concat(n.segments),0===n.numberOfChildren)return t;if(n.numberOfChildren>1||!n.children[V])throw yn();n=n.children[V]}})()}applyRedirectCommands(t,e,n,i,s){var a=this;return(0,r.A)(function*(){const r=yield function(t,e,n){if("string"==typeof t)return Promise.resolve(t);const r=t;return Z(J((0,o.N4e)(n,()=>r(e))))}(e,i,s);if(r instanceof ut)throw new mn(r);const l=a.applyRedirectCreateUrlTree(r,a.urlSerializer.parse(r),t,n);if("/"===r[0])throw new mn(l);return l})()}applyRedirectCreateUrlTree(t,e,n,r){const o=this.createSegmentGroup(t,e.root,n,r);return new ut(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Object.entries(t).forEach(([t,r])=>{if("string"==typeof r&&":"===r[0]){const o=r.substring(1);n[t]=e[o]}else n[t]=r}),n}createSegmentGroup(t,e,n,r){const o=this.createSegments(t,e.segments,n,r);let i={};return Object.entries(e.children).forEach(([e,o])=>{i[e]=this.createSegmentGroup(t,o,n,r)}),new dt(o,i)}createSegments(t,e,n,r){return e.map(e=>":"===e.path[0]?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new o.buA(4001,!1);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function vn(t){return t.outlet||V}function wn(t,e){const n=t.filter(t=>vn(t)===e);return n.push(...t.filter(t=>vn(t)!==e)),n}const Sn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Cn(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function _n(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{...Sn}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const r=(e.matcher||Q)(n,t,e);if(!r)return{...Sn};const o={};Object.entries(r.posParams??{}).forEach(([t,e])=>{o[t]=e.path});const i=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:n.slice(r.consumed.length),parameters:i,positionalParamSegments:r.posParams??{}}}function kn(t,e,n,r,o){return n.length>0&&function(t,e,n,r){return n.some(n=>!(!En(t,e,n)||vn(n)===V||void 0!==r&&vn(n)===r))}(t,n,r,o)?{segmentGroup:new dt(e,Tn(r,new dt(n,t.children))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>En(t,e,n))}(t,n,r)?{segmentGroup:new dt(t.segments,xn(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new dt(t.segments,t.children),slicedSegments:n}}function xn(t,e,n,r){const o={};for(const i of n)if(En(t,e,i)&&!r[vn(i)]){const t=new dt([],{});o[vn(i)]=t}return{...r,...o}}function Tn(t,e){const n={};n[V]=e;for(const e of t)if(""===e.path&&vn(e)!==V){const t=new dt([],{});n[vn(e)]=t}return n}function En(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}class An{}function In(){return(In=(0,r.A)(function*(t,e,n,r,o,i,s="emptyOnly",a){return new On(t,e,n,r,o,s,i,a).recognize()})).apply(this,arguments)}class On{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,e,n,r,o,i,s,a){this.injector=t,this.configLoader=e,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=i,this.urlSerializer=s,this.abortSignal=a,this.applyRedirects=new bn(this.urlSerializer,this.urlTree)}noMatchError(t){return new o.buA(4002,`'${t.segmentGroup}'`)}recognize(){var t=this;return(0,r.A)(function*(){const e=kn(t.urlTree.root,[],[],t.config).segmentGroup,{children:n,rootSnapshot:r}=yield t.match(e),o=new Ee(r,n),i=new Re("",o),s=function(t,e,n=null,r=null,o=new gt){return Nt(Rt(t),e,n,r,o)}(r,[],t.urlTree.queryParams,t.urlTree.fragment);return s.queryParams=t.urlTree.queryParams,i.url=t.urlSerializer.serialize(s),{state:i,tree:s}})()}match(t){var e=this;return(0,r.A)(function*(){const n=new Pe([],Object.freeze({}),Object.freeze({...e.urlTree.queryParams}),e.urlTree.fragment,Object.freeze({}),V,e.rootComponentType,null,{},e.injector);try{return{children:yield e.processSegmentGroup(e.injector,e.config,t,V,n),rootSnapshot:n}}catch(t){if(t instanceof mn)return e.urlTree=t.urlTree,e.match(t.urlTree.root);throw t instanceof gn?e.noMatchError(t):t}})()}processSegmentGroup(t,e,n,o,i){var s=this;return(0,r.A)(function*(){if(0===n.segments.length&&n.hasChildren())return s.processChildren(t,e,n,i);const r=yield s.processSegment(t,e,n,n.segments,o,!0,i);return r instanceof Ee?[r]:[]})()}processChildren(t,e,n,o){var i=this;return(0,r.A)(function*(){const r=[];for(const t of Object.keys(n.children))"primary"===t?r.unshift(t):r.push(t);let s=[];for(const a of r){const r=n.children[a],l=wn(e,a),c=yield i.processSegmentGroup(t,l,r,a,o);s.push(...c)}const a=Dn(s);return function(t){t.sort((t,e)=>t.value.outlet===V?-1:e.value.outlet===V?1:t.value.outlet.localeCompare(e.value.outlet))}(a),a})()}processSegment(t,e,n,o,i,s,a){var l=this;return(0,r.A)(function*(){for(const r of e)try{return yield l.processSegmentAgainstRoute(r._injector??t,e,r,n,o,i,s,a)}catch(t){if(t instanceof gn||ln(t))continue;throw t}if(function(t,e,n){return 0===e.length&&!t.children[n]}(n,o,i))return new An;throw new gn(n)})()}processSegmentAgainstRoute(t,e,n,o,i,s,a,l){var c=this;return(0,r.A)(function*(){if(vn(n)!==s&&(s===V||!En(o,i,n)))throw new gn(o);if(void 0===n.redirectTo)return c.matchSegmentAgainstRoute(t,o,n,i,s,l);if(c.allowRedirects&&a)return c.expandSegmentAgainstRouteUsingRedirect(t,o,e,n,i,s,l);throw new gn(o)})()}expandSegmentAgainstRouteUsingRedirect(t,e,n,o,i,s,a){var l=this;return(0,r.A)(function*(){const{matched:r,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=_n(e,o,i);if(!r)throw new gn(e);"string"==typeof o.redirectTo&&"/"===o.redirectTo[0]&&(l.absoluteRedirectCount++,l.absoluteRedirectCount>31&&(l.allowRedirects=!1));const p=l.createSnapshot(t,o,i,c,a);if(l.abortSignal.aborted)throw new Error(l.abortSignal.reason);const f=yield l.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,Cn(p),t),g=yield l.applyRedirects.lineralizeSegments(o,f);return l.processSegment(t,n,e,g.concat(h),s,!1,a)})()}createSnapshot(t,e,n,r,o){const i=new Pe(n,r,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function(t){return t.data||{}}(e),vn(e),e.component??e._loadedComponent??null,e,function(t){return t.resolve||{}}(e),t),s=De(i,o,this.paramsInheritanceStrategy);return i.params=Object.freeze(s.params),i.data=Object.freeze(s.data),i}matchSegmentAgainstRoute(t,e,n,i,a,l){var c=this;return(0,r.A)(function*(){if(c.abortSignal.aborted)throw new Error(c.abortSignal.reason);const r=yield Z(function(t,e,n,r,i,a,l){const c=_n(t,e,n);if(!c.matched)return(0,p.of)(c);const u=Cn(a(c));return r=function(t,e){return t.providers&&!t._injector&&(t._injector=(0,s.Ol2)(t.providers,e,`Route: ${t.path}`)),t._injector??e}(e,r),function(t,e,n,r,i,s){const a=e.canMatch;if(!a||0===a.length)return(0,p.of)(!0);const l=a.map(r=>{const a=rn(r,t);return J(function(t){return t&&an(t.canMatch)}(a)?a.canMatch(e,n,i):(0,o.N4e)(t,()=>a(e,n,i))).pipe(pn(s))});return(0,p.of)(l).pipe(un(),fn())}(r,e,n,0,u,l).pipe((0,R.T)(t=>!0===t?c:{...Sn}))}(e,n,i,t,0,e=>c.createSnapshot(t,n,e.consumedSegments,e.parameters,l),c.abortSignal));if("**"===n.path&&(e.children={}),!r?.matched)throw new gn(e);t=n._injector??t;const{routes:u}=yield c.getChildConfig(t,n,i),d=n._loadedInjector??t,{parameters:h,consumedSegments:f,remainingSegments:g}=r,m=c.createSnapshot(t,n,f,h,l),{segmentGroup:y,slicedSegments:b}=kn(e,f,g,u,a);if(0===b.length&&y.hasChildren()){const t=yield c.processChildren(d,u,y,m);return new Ee(m,t)}if(0===u.length&&0===b.length)return new Ee(m,[]);const v=vn(n)===a,w=yield c.processSegment(d,u,y,b,v?V:a,!0,m);return new Ee(m,w instanceof Ee?[w]:[])})()}getChildConfig(t,e,n){var i=this;return(0,r.A)(function*(){if(e.children)return{routes:e.children,injector:t};if(e.loadChildren){if(void 0!==e._loadedRoutes){const n=e._loadedNgModuleFactory;return n&&!e._loadedInjector&&(e._loadedInjector=n.create(t).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(i.abortSignal.aborted)throw new Error(i.abortSignal.reason);if(yield Z(function(t,e,n,r,i){const s=e.canLoad;if(void 0===s||0===s.length)return(0,p.of)(!0);const a=s.map(r=>{const s=rn(r,t),a=J(function(t){return t&&an(t.canLoad)}(s)?s.canLoad(e,n):(0,o.N4e)(t,()=>s(e,n)));return i?a.pipe(pn(i)):a});return(0,p.of)(a).pipe(un(),fn())}(t,e,n,0,i.abortSignal))){const n=yield i.configLoader.loadChildren(t,e);return e._loadedRoutes=n.routes,e._loadedInjector=n.injector,e._loadedNgModuleFactory=n.factory,n}throw function(){throw Ye(!1,ee.GuardRejected)}()}return{routes:[],injector:t}})()}}function Ln(t){const e=t.value.routeConfig;return e&&""===e.path}function Dn(t){const e=[],n=new Set;for(const r of t){if(!Ln(r)){e.push(r);continue}const t=e.find(t=>r.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...r.children),n.add(t)):e.push(r)}for(const t of n){const n=Dn(t.children);e.push(new Ee(t.value,n))}return e.filter(t=>!n.has(t))}function Pn(t){const e=t.children.map(t=>Pn(t)).flat();return[t,...e]}function Rn(t){return(0,N.n)(e=>{const n=t(e);return n?(0,h.H)(n).pipe((0,R.T)(()=>e)):(0,p.of)(e)})}let Nn=(()=>{class t{buildTitle(t){let e,n=t.root;for(;void 0!==n;)e=this.getResolvedTitleForRoute(n)??e,n=n.children.find(t=>t.outlet===V);return e}getResolvedTitleForRoute(t){return t.data[U]}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:()=>(0,o.WQX)(Mn),providedIn:"root"})}return t})(),Mn=(()=>{class t extends Nn{title;constructor(t){super(),this.title=t}updateTitle(t){const e=this.buildTitle(t);void 0!==e&&this.title.setTitle(e)}static ɵfac=function(e){return new(e||t)(o.KVO(B))};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const jn=new o.nKC("",{factory:()=>({})}),Fn=new o.nKC("");let $n=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,o.WQX)(s.Ql9);loadComponent(t,e){var n=this;return(0,r.A)(function*(){if(n.componentLoaders.get(e))return n.componentLoaders.get(e);if(e._loadedComponent)return Promise.resolve(e._loadedComponent);n.onLoadStartListener&&n.onLoadStartListener(e);const i=(0,r.A)(function*(){try{const r=yield tt((0,o.N4e)(t,()=>e.loadComponent())),i=yield Bn(Hn(r));return n.onLoadEndListener&&n.onLoadEndListener(e),e._loadedComponent=i,i}finally{n.componentLoaders.delete(e)}})();return n.componentLoaders.set(e,i),i})()}loadChildren(t,e){var n=this;if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return Promise.resolve({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);const o=(0,r.A)(function*(){try{const r=yield function(t,e,n,r){return zn.apply(this,arguments)}(e,n.compiler,t,n.onLoadEndListener);return e._loadedRoutes=r.routes,e._loadedInjector=r.injector,e._loadedNgModuleFactory=r.factory,r}finally{n.childrenLoaders.delete(e)}})();return this.childrenLoaders.set(e,o),o}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function zn(){return(zn=(0,r.A)(function*(t,e,n,r){const i=yield tt((0,o.N4e)(n,()=>t.loadChildren())),a=yield Bn(Hn(i));let l,c,u,d;return l=a instanceof s.PYt||Array.isArray(a)?a:yield e.compileModuleAsync(a),r&&r(t),Array.isArray(l)?u=l:(c=l.create(n).injector,d=l,u=c.get(Fn,[],{optional:!0,self:!0}).flat()),{routes:u.map(Ge),injector:c,factory:d}})).apply(this,arguments)}function Hn(t){return function(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}function Bn(t){return Vn.apply(this,arguments)}function Vn(){return(Vn=(0,r.A)(function*(t){return t})).apply(this,arguments)}let Un=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:()=>(0,o.WQX)(Wn),providedIn:"root"})}return t})(),Wn=(()=>{class t{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Gn=new o.nKC(""),qn=new o.nKC("");function Qn(t,e,n){const r=t.get(qn),i=t.get(o.qQL);if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(t=>setTimeout(t));let a;const l=new Promise(t=>{a=t}),c=i.startViewTransition(()=>(a(),function(t){return new Promise(e=>{(0,s.mal)({read:()=>setTimeout(e)},{injector:t})})}(t)));c.updateCallbackDone.catch(t=>{}),c.ready.catch(t=>{}),c.finished.catch(t=>{});const{onViewTransitionCreated:u}=r;return u&&(0,o.N4e)(t,()=>u({transition:c,from:e,to:n})),l}const Zn=()=>{},Xn=new o.nKC("");let Yn=(()=>{class t{currentNavigation=(0,o.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=(0,o.vPA)(null);events=new k.B;transitionAbortWithErrorSubject=new k.B;configLoader=(0,o.WQX)($n);environmentInjector=(0,o.WQX)(o.uvJ);destroyRef=(0,o.WQX)(o.abz);urlSerializer=(0,o.WQX)(ft);rootContexts=(0,o.WQX)(_e);location=(0,o.WQX)(i.aZ);inputBindingEnabled=null!==(0,o.WQX)(Ve,{optional:!0});titleStrategy=(0,o.WQX)(Nn);options=(0,o.WQX)(jn,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,o.WQX)(Un);createViewTransition=(0,o.WQX)(Gn,{optional:!0});navigationErrorHandler=(0,o.WQX)(Xn,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,p.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=t=>this.events.next(new he(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new de(t)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){const e=++this.navigationId;(0,a.O8)(()=>{this.transitions?.next({...t,extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:e,routesRecognizeHandler:{},beforeActivateHandler:{}})})}setupNavigations(t){return this.transitions=new f.t(null),this.transitions.pipe((0,T.p)(t=>null!==t),(0,N.n)(e=>{let n=!1;const i=new AbortController,s=()=>!n&&this.currentTransition?.id===e.id;return(0,p.of)(e).pipe((0,N.n)(n=>{if(this.navigationId>e.id)return this.cancelNavigationTransition(e,"",ee.SupersededByNewNavigation),_.w;this.currentTransition=e;const o=this.lastSuccessfulNavigation();this.currentNavigation.set({id:n.id,initialUrl:n.rawUrl,extractedUrl:n.extractedUrl,targetBrowserUrl:"string"==typeof n.extras.browserUrl?this.urlSerializer.parse(n.extras.browserUrl):n.extras.browserUrl,trigger:n.source,extras:n.extras,previousNavigation:o?{...o,previousNavigation:null}:null,abort:()=>i.abort(),routesRecognizeHandler:n.routesRecognizeHandler,beforeActivateHandler:n.beforeActivateHandler});const s=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!s&&"reload"!==(n.extras.onSameUrlNavigation??t.onSameUrlNavigation))return this.events.next(new oe(n.id,this.urlSerializer.serialize(n.rawUrl),"",ne.IgnoredSameUrlNavigation)),n.resolve(!1),_.w;if(this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return(0,p.of)(n).pipe((0,N.n)(t=>(this.events.next(new Jt(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),t.id!==this.navigationId?_.w:Promise.resolve(t))),function(t,e,n,o,i,s,a){return(0,j.Z)(function(){var l=(0,r.A)(function*(r){const{state:l,tree:c}=yield function(t,e,n,r,o,i){return In.apply(this,arguments)}(t,e,n,o,r.extractedUrl,i,s,a);return{...r,targetSnapshot:l,urlAfterRedirects:c}});return function(t){return l.apply(this,arguments)}}())}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),(0,$.M)(t=>{e.targetSnapshot=t.targetSnapshot,e.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation.update(e=>(e.finalUrl=t.urlAfterRedirects,e)),this.events.next(new ve)}),(0,N.n)(t=>(0,h.H)(e.routesRecognizeHandler.deferredHandle??(0,p.of)(void 0)).pipe((0,R.T)(()=>t))),(0,$.M)(()=>{const t=new se(n.id,this.urlSerializer.serialize(n.extractedUrl),this.urlSerializer.serialize(n.urlAfterRedirects),n.targetSnapshot);this.events.next(t)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(n.currentRawUrl)){const{id:t,extractedUrl:r,source:o,restoredState:i,extras:s}=n,a=new Jt(t,this.urlSerializer.serialize(r),o,i);this.events.next(a);const l=Oe(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=e={...n,targetSnapshot:l,urlAfterRedirects:r,extras:{...s,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(t=>(t.finalUrl=r,t)),(0,p.of)(e)}return this.events.next(new oe(n.id,this.urlSerializer.serialize(n.extractedUrl),"",ne.IgnoredByUrlHandlingStrategy)),n.resolve(!1),_.w}),(0,R.T)(t=>{const n=new ae(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);return this.events.next(n),this.currentTransition=e={...t,guards:nn(t.targetSnapshot,t.currentSnapshot,this.rootContexts)},e}),function(t){return(0,j.Z)(e=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:s}}=e;return 0===s.length&&0===i.length?(0,p.of)({...e,guardsResult:!0}):function(t,e,n){return(0,h.H)(t).pipe((0,j.Z)(t=>function(t,e,n,r){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||0===i.length)return(0,p.of)(!0);const s=i.map(i=>{const s=e._environmentInjector,a=rn(i,s);return J(function(t){return t&&an(t.canDeactivate)}(a)?a.canDeactivate(t,e,n,r):(0,o.N4e)(s,()=>a(t,e,n,r))).pipe(P())});return(0,p.of)(s).pipe(un())}(t.component,t.route,n,e)),P(t=>!0!==t,!0))}(s,n,r).pipe((0,j.Z)(e=>e&&function(t){return"boolean"==typeof t}(e)?function(t,e,n){return(0,h.H)(e).pipe((0,F.H)(e=>v(function(t,e){return null!==t&&e&&e(new pe(t)),(0,p.of)(!0)}(e.route.parent,n),function(t,e){return null!==t&&e&&e(new ge(t)),(0,p.of)(!0)}(e.route,n),function(t,e){const n=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>S(()=>{const r=e.guards.map(r=>{const i=e.node._environmentInjector,s=rn(r,i);return J(function(t){return t&&an(t.canActivateChild)}(s)?s.canActivateChild(n,t):(0,o.N4e)(i,()=>s(n,t))).pipe(P())});return(0,p.of)(r).pipe(un())}));return(0,p.of)(r).pipe(un())}(t,e.path),function(t,e){const n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return(0,p.of)(!0);const r=n.map(n=>S(()=>{const r=e._environmentInjector,i=rn(n,r);return J(function(t){return t&&an(t.canActivate)}(i)?i.canActivate(e,t):(0,o.N4e)(r,()=>i(e,t))).pipe(P())}));return(0,p.of)(r).pipe(un())}(t,e.route))),P(t=>!0!==t,!0))}(n,i,t):(0,p.of)(e)),(0,R.T)(t=>({...e,guardsResult:t})))})}(t=>this.events.next(t)),(0,N.n)(t=>{if(e.guardsResult=t.guardsResult,t.guardsResult&&"boolean"!=typeof t.guardsResult)throw Xe(0,t.guardsResult);const n=new le(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);if(this.events.next(n),!s())return _.w;if(!t.guardsResult)return this.cancelNavigationTransition(t,"",ee.GuardRejected),_.w;if(0===t.guards.canActivateChecks.length)return(0,p.of)(t);const r=new ce(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);if(this.events.next(r),!s())return _.w;let i=!1;return(0,p.of)(t).pipe(function(t){return(0,j.Z)(e=>{const{targetSnapshot:n,guards:{canActivateChecks:r}}=e;if(!r.length)return(0,p.of)(e);const i=new Set(r.map(t=>t.route)),s=new Set;for(const t of i)if(!s.has(t))for(const e of Pn(t))s.add(e);let a=0;return(0,h.H)(s).pipe((0,F.H)(e=>i.has(e)?function(t,e,n){const r=t.routeConfig,i=t._resolve;return void 0!==r?.title&&!$e(r)&&(i[U]=r.title),S(()=>(t.data=De(t,t.parent,n).resolve,function(t,e,n){const r=Y(t);if(0===r.length)return(0,p.of)({});const i={};return(0,h.H)(r).pipe((0,j.Z)(r=>function(t,e,n){const r=e._environmentInjector,i=rn(t,r);return J(i.resolve?i.resolve(e,n):(0,o.N4e)(r,()=>i(e,n)))}(t[r],e,n).pipe(P(),(0,$.M)(t=>{if(t instanceof Qe)throw Xe(new gt,t);i[r]=t}))),z(1),(0,R.T)(()=>i),(0,H.W)(t=>ln(t)?_.w:function(t){const e=(0,u.T)(t)?t:()=>t,n=t=>t.error(e());return new c.c(n)}(t)))}(i,t,e).pipe((0,R.T)(e=>(t._resolvedData=e,t.data={...t.data,...e},null)))))}(e,n,t):(e.data=De(e,e.parent,t).resolve,(0,p.of)(void 0))),(0,$.M)(()=>a++),z(1),(0,j.Z)(t=>a===s.size?(0,p.of)(e):_.w))})}(this.paramsInheritanceStrategy),(0,$.M)({next:()=>{i=!0;const e=new ue(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)},complete:()=>{i||this.cancelNavigationTransition(t,"",ee.NoDataFromResolver)}}))}),Rn(t=>{const e=t=>{const n=[];t.routeConfig?._loadedComponent?t.component=t.routeConfig?._loadedComponent:t.routeConfig?.loadComponent&&n.push(this.configLoader.loadComponent(t._environmentInjector,t.routeConfig).then(e=>{t.component=e}));for(const r of t.children)n.push(...e(r));return n},n=e(t.targetSnapshot.root);return 0===n.length?(0,p.of)(t):(0,h.H)(Promise.all(n).then(()=>t))}),Rn(()=>this.afterPreactivation()),(0,N.n)(()=>{const{currentSnapshot:t,targetSnapshot:n}=e,r=this.createViewTransition?.(this.environmentInjector,t.root,n.root);return r?(0,h.H)(r).pipe((0,R.T)(()=>e)):(0,p.of)(e)}),(0,E.s)(1),(0,N.n)(n=>{const r=function(t,e,n){const r=qe(t,e._root,n?n._root:void 0);return new Ie(r,e)}(t.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);this.currentTransition=e=n={...n,targetRouterState:r},this.currentNavigation.update(t=>(t.targetRouterState=r,t)),this.events.next(new be);const o=e.beforeActivateHandler.deferredHandle;return o?(0,h.H)(o.then(()=>n)):(0,p.of)(n)}),(0,$.M)(r=>{new Je(t.routeReuseStrategy,e.targetRouterState,e.currentRouterState,t=>this.events.next(t),this.inputBindingEnabled).activate(this.rootContexts),s()&&(n=!0,this.currentNavigation.update(t=>(t.abort=Zn,t)),this.lastSuccessfulNavigation.set((0,a.O8)(this.currentNavigation)),this.events.next(new te(r.id,this.urlSerializer.serialize(r.extractedUrl),this.urlSerializer.serialize(r.urlAfterRedirects))),this.titleStrategy?.updateTitle(r.targetRouterState.snapshot),r.resolve(!0))}),(0,M.Q)(hn(i.signal).pipe((0,T.p)(()=>!n&&!e.targetRouterState),(0,$.M)(()=>{this.cancelNavigationTransition(e,i.signal.reason+"",ee.Aborted)}))),(0,$.M)({complete:()=>{n=!0}}),(0,M.Q)(this.transitionAbortWithErrorSubject.pipe((0,$.M)(t=>{throw t}))),function(t){return(0,A.N)((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}(()=>{i.abort(),n||this.cancelNavigationTransition(e,"",ee.SupersededByNewNavigation),this.currentTransition?.id===e.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,H.W)(t=>{if(n=!0,this.destroyed)return e.resolve(!1),_.w;if(Ke(t))this.events.next(new re(e.id,this.urlSerializer.serialize(e.extractedUrl),t.message,t.cancellationCode)),function(t){return Ke(t)&&Pt(t.url)}(t)?this.events.next(new we(t.url,t.navigationBehaviorOptions)):e.resolve(!1);else{const n=new ie(e.id,this.urlSerializer.serialize(e.extractedUrl),t,e.targetSnapshot??void 0);try{const r=(0,o.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(n));if(!(r instanceof Qe))throw this.events.next(n),t;{const{message:t,cancellationCode:n}=Xe(0,r);this.events.next(new re(e.id,this.urlSerializer.serialize(e.extractedUrl),t,n)),this.events.next(new we(r.redirectTo,r.navigationBehaviorOptions))}}catch(t){this.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(t)}}return _.w}))}))}cancelNavigationTransition(t,e,n){const r=new re(t.id,this.urlSerializer.serialize(t.extractedUrl),e,n);this.events.next(r),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),e=(0,a.O8)(this.currentNavigation),n=e?.targetBrowserUrl??e?.extractedUrl;return t.toString()!==n?.toString()&&!e?.extras.skipLocationChange}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function Kn(t){return t!==Zt}const Jn=new o.nKC("");let tr=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:()=>(0,o.WQX)(nr),providedIn:"root"})}return t})();class er{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}shouldDestroyInjector(t){return!0}}let nr=(()=>{class t extends er{static ɵfac=(()=>{let e;return function(n){return(e||(e=s.xGo(t)))(n||t)}})();static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),rr=(()=>{class t{urlSerializer=(0,o.WQX)(ft);options=(0,o.WQX)(jn,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,o.WQX)(i.aZ);urlHandlingStrategy=(0,o.WQX)(Un);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ut;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:e,targetBrowserUrl:n}){const r=void 0!==t?this.urlHandlingStrategy.merge(t,e):e,o=n??r;return o instanceof ut?this.urlSerializer.serialize(o):o}routerUrlState(t){return void 0===t?.targetBrowserUrl||void 0===t?.finalUrl?{}:{ɵrouterUrl:this.urlSerializer.serialize(t.finalUrl)}}commitTransition({targetRouterState:t,finalUrl:e,initialUrl:n}){e&&t?(this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(e,n),this.routerState=t):this.rawUrlTree=n}routerState=Oe(null,(0,o.WQX)(o.uvJ));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:()=>(0,o.WQX)(or),providedIn:"root"})}return t})(),or=(()=>{class t extends rr{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(e=>{"popstate"===e.type&&setTimeout(()=>{t(e.url,e.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(t,e){t instanceof Jt?this.updateStateMemento():t instanceof oe?this.commitTransition(e):t instanceof se?"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof be?(this.commitTransition(e),"deferred"===this.urlUpdateStrategy&&!e.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof re&&!function(t){return t instanceof re&&(t.code===ee.Redirect||t.code===ee.SupersededByNewNavigation)}(t)?this.restoreHistory(e):t instanceof ie?this.restoreHistory(e,!0):t instanceof te&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,e){const{extras:n,id:r}=e,{replaceUrl:o,state:i}=n;if(this.location.isCurrentPathEqualTo(t)||o){const n=this.browserPageId,o={...i,...this.generateNgRouterState(r,n,e)};this.location.replaceState(t,"",o)}else{const n={...i,...this.generateNgRouterState(r,this.browserPageId+1,e)};this.location.go(t,"",n)}}restoreHistory(t,e=!1){if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-this.browserPageId;0!==e?this.location.historyGo(e):this.getCurrentUrlTree()===t.finalUrl&&0===e&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(e&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,e,n){return"computed"===this.canceledNavigationResolution?{navigationId:t,ɵrouterPageId:e,...this.routerUrlState(n)}:{navigationId:t,...this.routerUrlState(n)}}static ɵfac=(()=>{let e;return function(n){return(e||(e=s.xGo(t)))(n||t)}})();static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function ir(t,e){t.events.pipe((0,T.p)(t=>t instanceof te||t instanceof re||t instanceof ie||t instanceof oe),(0,R.T)(t=>t instanceof te||t instanceof oe?0:t instanceof re&&(t.code===ee.Redirect||t.code===ee.SupersededByNewNavigation)?2:1),(0,T.p)(t=>2!==t),(0,E.s)(1)).subscribe(()=>{e()})}let sr=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,o.WQX)(s.C7A);stateManager=(0,o.WQX)(rr);options=(0,o.WQX)(jn,{optional:!0})||{};pendingTasks=(0,o.WQX)(o.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,o.WQX)(Yn);urlSerializer=(0,o.WQX)(ft);location=(0,o.WQX)(i.aZ);urlHandlingStrategy=(0,o.WQX)(Un);injector=(0,o.WQX)(o.uvJ);_events=new k.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,o.WQX)(tr);injectorCleanup=(0,o.WQX)(Jn,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,o.WQX)(Fn,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,o.WQX)(Ve,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new x.yU;subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(t=>{try{const e=this.navigationTransitions.currentTransition,n=(0,a.O8)(this.navigationTransitions.currentNavigation);if(null!==e&&null!==n)if(this.stateManager.handleRouterEvent(t,n),t instanceof re&&t.code!==ee.Redirect&&t.code!==ee.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof te)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(t instanceof we){const n=t.navigationBehaviorOptions,r=this.urlHandlingStrategy.merge(t.url,e.currentRawUrl),o={scroll:e.extras.scroll,browserUrl:e.extras.browserUrl,info:e.extras.info,skipLocationChange:e.extras.skipLocationChange,replaceUrl:e.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Kn(e.source),...n};this.scheduleNavigation(r,Zt,null,o,{resolve:e.resolve,reject:e.reject,promise:e.promise})}(function(t){return!(t instanceof be||t instanceof we||t instanceof ve)})(t)&&this._events.next(t)}catch(t){this.navigationTransitions.transitionAbortWithErrorSubject.next(t)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Zt,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,e,n,r)=>{this.navigateToSyncWithBrowser(t,n,e,r)})}navigateToSyncWithBrowser(t,e,n,r){const i=n?.navigationId?n:null,s=n?.ɵrouterUrl??t;if(n?.ɵrouterUrl&&(r={...r,browserUrl:t}),n){const t={...n};delete t.navigationId,delete t.ɵrouterPageId,delete t.ɵrouterUrl,0!==Object.keys(t).length&&(r.state=t)}const a=this.parseUrl(s);this.scheduleNavigation(a,e,i,r).catch(t=>{this.disposed||this.injector.get(o.ZTf)(t)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,a.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Ge),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:o,queryParamsHandling:i,preserveFragment:s}=e,a=s?this.currentUrlTree.fragment:o;let l,c=null;switch(i??this.options.defaultQueryParamsHandling){case"merge":c={...this.currentUrlTree.queryParams,...r};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}null!==c&&(c=this.removeEmptyProps(c));try{l=Rt(n?n.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||"/"!==t[0][0])&&(t=[]),l=this.currentUrlTree.root}return Nt(l,t,c,a??null,this.urlSerializer)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Pt(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,Zt,null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++)if(null==t[e])throw new o.buA(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.console.warn((0,o.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,e){let n;if(n=!0===e?{...rt}:!1===e?{...ot}:{...ot,...e},Pt(t))return st(this.currentUrlTree,t,n);const r=this.parseUrl(t);return st(this.currentUrlTree,r,n)}removeEmptyProps(t){return Object.entries(t).reduce((t,[e,n])=>(null!=n&&(t[e]=n),t),{})}scheduleNavigation(t,e,n,r,o){if(this.disposed)return Promise.resolve(!1);let i,s,a;o?(i=o.resolve,s=o.reject,a=o.promise):a=new Promise((t,e)=>{i=t,s=e});const l=this.pendingTasks.add();return ir(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:r,resolve:i,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(Promise.reject.bind(Promise))}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})()},4040(t,e,n){n.d(e,{Wk:()=>S,iI:()=>j,lh:()=>E,wQ:()=>C});var r=n(467),o=n(5487),i=n(4460),s=n(6868),a=n(83),l=n(6860),c=n(6268),u=n(6817),d=n(5697),h=n(3639),p=n(8447),f=n(1787),g=n(3016),m=n(1459),y=n(1483),b=n(1890),v=n(5823);let w=(()=>{class t{router=(0,u.WQX)(h.Ix);stateManager=(0,u.WQX)(h.fN);fragment=(0,u.vPA)("");queryParams=(0,u.vPA)({});path=(0,u.vPA)("");serializer=(0,u.WQX)(h.Sd);constructor(){this.updateState(),this.router.events?.subscribe(t=>{t instanceof h.wF&&this.updateState()})}updateState(){const{fragment:t,root:e,queryParams:n}=this.stateManager.getCurrentUrlTree();this.fragment.set(t),this.queryParams.set(n),this.path.set(this.serializer.serialize(new h.el(e)))}static ɵfac=function(e){return new(e||t)};static ɵprov=u.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),S=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=(0,u.WQX)(new l.ES_("href"),{optional:!0});reactiveHref=(0,d.uu)(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return(0,d.O8)(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}set target(t){this._target.set(t)}get target(){return(0,d.O8)(this._target)}_target=(0,u.vPA)(void 0);set queryParams(t){this._queryParams.set(t)}get queryParams(){return(0,d.O8)(this._queryParams)}_queryParams=(0,u.vPA)(void 0,{equal:()=>!1});set fragment(t){this._fragment.set(t)}get fragment(){return(0,d.O8)(this._fragment)}_fragment=(0,u.vPA)(void 0);set queryParamsHandling(t){this._queryParamsHandling.set(t)}get queryParamsHandling(){return(0,d.O8)(this._queryParamsHandling)}_queryParamsHandling=(0,u.vPA)(void 0);set state(t){this._state.set(t)}get state(){return(0,d.O8)(this._state)}_state=(0,u.vPA)(void 0,{equal:()=>!1});set info(t){this._info.set(t)}get info(){return(0,d.O8)(this._info)}_info=(0,u.vPA)(void 0,{equal:()=>!1});set relativeTo(t){this._relativeTo.set(t)}get relativeTo(){return(0,d.O8)(this._relativeTo)}_relativeTo=(0,u.vPA)(void 0);set preserveFragment(t){this._preserveFragment.set(t)}get preserveFragment(){return(0,d.O8)(this._preserveFragment)}_preserveFragment=(0,u.vPA)(!1);set skipLocationChange(t){this._skipLocationChange.set(t)}get skipLocationChange(){return(0,d.O8)(this._skipLocationChange)}_skipLocationChange=(0,u.vPA)(!1);set replaceUrl(t){this._replaceUrl.set(t)}get replaceUrl(){return(0,d.O8)(this._replaceUrl)}_replaceUrl=(0,u.vPA)(!1);isAnchorElement;onChanges=new p.B;applicationErrorHandler=(0,u.WQX)(u.ZTf);options=(0,u.WQX)(h.J_,{optional:!0});reactiveRouterState=(0,u.WQX)(w);constructor(t,e,n,r,o,i){this.router=t,this.route=e,this.tabIndexAttribute=n,this.renderer=r,this.el=o,this.locationStrategy=i;const s=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===s||"area"===s||!("object"!=typeof customElements||!customElements.get(s)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.onChanges.next(this)}routerLinkInput=(0,u.vPA)(null);set routerLink(t){null==t?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):((0,h.wO)(t)?this.routerLinkInput.set(t):this.routerLinkInput.set(Array.isArray(t)?t:[t]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,e,n,r,o){const i=this._urlTree();if(null===i||this.isAnchorElement&&(0!==t||e||n||r||o||"string"==typeof this.target&&"_self"!=this.target))return!0;const s={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(i,s)?.catch(t=>{this.applicationErrorHandler(t)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(t,e){const n=this.renderer,r=this.el.nativeElement;null!==e?n.setAttribute(r,t,e):n.removeAttribute(r,t)}_urlTree=(0,d.EW)(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();const t=t=>"preserve"===t||"merge"===t;(t(this._queryParamsHandling())||t(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();const e=this.routerLinkInput();return null!==e&&this.router.createUrlTree?(0,h.wO)(e)?e:this.router.createUrlTree(e,{relativeTo:void 0!==this._relativeTo()?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()}):null},{equal:(t,e)=>this.computeHref(t)===this.computeHref(e)});get urlTree(){return(0,d.O8)(this._urlTree)}computeHref(t){return null!==t&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null}static ɵfac=function(e){return new(e||t)(c.rXU(h.Ix),c.rXU(h.nX),c.kS0("tabindex"),c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(o.hb))};static ɵdir=c.FsC({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&c.bIt("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&c.BMQ("href",e.reactiveHref(),c.n$t)("target",e._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",l.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",l.L39],replaceUrl:[2,"replaceUrl","replaceUrl",l.L39],routerLink:"routerLink"},features:[c.OA$]})}return t})(),C=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new u.bkB;link=(0,u.WQX)(S,{optional:!0});constructor(t,e,n,r){this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof h.wF&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,(0,g.of)(null)).pipe((0,b.U)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=(0,f.H)(t).pipe((0,b.U)()).subscribe(t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){const e=function(t){return!!(t.paths||t.matrixParams||t.queryParams||t.fragment)}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact?{...h.tE}:{...h.E};return n=>{const r=n.urlTree;return!!r&&(0,d.O8)((0,h.$m)(r,t,e))}}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static ɵfac=function(e){return new(e||t)(c.rXU(h.Ix),c.rXU(c.aKT),c.rXU(c.sFG),c.rXU(l.gRc))};static ɵdir=c.FsC({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&c.wni(n,S,5),2&t){let t;c.mGM(t=c.lsd())&&(e.links=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[c.OA$]})}return t})();class _{}let k=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(t,e,n,r){this.router=t,this.injector=e,this.preloadingStrategy=n,this.loader=r}setUpPreloading(){this.subscription=this.router.events.pipe((0,y.p)(t=>t instanceof h.wF),(0,m.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e){r.providers&&!r._injector&&(r._injector=(0,c.Ol2)(r.providers,t,""));const e=r._injector??t;r._loadedNgModuleFactory&&!r._loadedInjector&&(r._loadedInjector=r._loadedNgModuleFactory.create(e).injector);const o=r._loadedInjector??e;(r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent)&&n.push(this.preloadConfig(e,r)),(r.children||r._loadedRoutes)&&n.push(this.processRoutes(o,r.children??r._loadedRoutes))}return(0,f.H)(n).pipe((0,b.U)())}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>{if(t.destroyed)return(0,g.of)(null);let n;n=e.loadChildren&&void 0===e.canLoad?(0,f.H)(this.loader.loadChildren(t,e)):(0,g.of)(null);const r=n.pipe((0,v.Z)(n=>null===n?(0,g.of)(void 0):(e._loadedRoutes=n.routes,e._loadedInjector=n.injector,e._loadedNgModuleFactory=n.factory,this.processRoutes(n.injector??t,n.routes))));if(e.loadComponent&&!e._loadedComponent){const n=this.loader.loadComponent(t,e);return(0,f.H)([r,n]).pipe((0,b.U)())}return r})}static ɵfac=function(e){return new(e||t)(u.KVO(h.Ix),u.KVO(u.uvJ),u.KVO(_),u.KVO(h.D$))};static ɵprov=u.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const x=new u.nKC("");let T=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=h.wU;restoredId=0;store={};isHydrating=(0,u.WQX)(c.qBF,{optional:!0})??!1;urlSerializer=(0,u.WQX)(h.Sd);zone=(0,u.WQX)(u.SKi);viewportScroller=(0,u.WQX)(i.Xr);transitions=(0,u.WQX)(h.J2);constructor(t){this.options=t,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&(0,u.WQX)(c.o8S).whenStable().then(()=>{this.isHydrating=!1})}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof h.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof h.wF?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof h.lW&&t.code===h.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{if(!(t instanceof h.OY)||"manual"===t.scrollBehavior)return;const e={behavior:"instant"};t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],e):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position,e):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(t,e){var n=this;if(this.isHydrating)return;const o=(0,d.O8)(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular((0,r.A)(function*(){yield new Promise(t=>{setTimeout(t),typeof requestAnimationFrame<"u"&&requestAnimationFrame(t)}),n.zone.run(()=>{n.transitions.events.next(new h.OY(t,"popstate"===n.lastSource?n.store[n.restoredId]:null,e,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function(t){c.QTQ()};static ɵprov=u.jDH({token:t,factory:t.ɵfac})}return t})();function E(t,...e){return(0,u.EmA)([{provide:h.bw,multi:!0,useValue:t},[],{provide:h.nX,useFactory:A},{provide:c.iLQ,multi:!0,useFactory:O},e.map(t=>t.ɵproviders)])}function A(){return(0,u.WQX)(h.Ix).routerState.root}function I(t,e){return{ɵkind:t,ɵproviders:e}}function O(){const t=(0,u.WQX)(u.zZn);return e=>{const n=t.get(c.o8S);if(e!==n.components[0])return;const r=t.get(h.Ix),o=t.get(L);1===t.get(D)&&r.initialNavigation(),t.get(P,null,{optional:!0})?.setUpPreloading(),t.get(x,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const L=new u.nKC("",{factory:()=>new p.B}),D=new u.nKC("",{factory:()=>1}),P=new u.nKC("");function R(t){return I(0,[{provide:P,useExisting:k},{provide:_,useExisting:t}])}function N(t){return(0,c._jY)("NgRouterViewTransitions"),I(9,[{provide:h.Pu,useValue:h.Lg},{provide:h.bK,useValue:{skipNextTransition:!!t?.skipInitialTransition,...t}}])}const M=[o.aZ,{provide:h.Sd,useClass:h.nU},h.Ix,h.Zp,{provide:h.nX,useFactory:A},h.D$,[]];let j=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[M,[],{provide:h.bw,multi:!0,useValue:e},[],n?.errorHandler?{provide:h.XR,useValue:n.errorHandler}:[],{provide:h.J_,useValue:n||{}},n?.useHash?{provide:o.hb,useClass:s.fw}:{provide:o.hb,useClass:o.Sm},{provide:x,useFactory:()=>{const t=(0,u.WQX)(i.Xr),e=(0,u.WQX)(h.J_);return e.scrollOffset&&t.setOffset(e.scrollOffset),new T(e)}},n?.preloadingStrategy?R(n.preloadingStrategy).ɵproviders:[],n?.initialNavigation?F(n):[],n?.bindToComponentInputs?I(8,[h.tD,{provide:h.c1,useExisting:h.tD}]).ɵproviders:[],n?.enableViewTransitions?N().ɵproviders:[],[{provide:$,useFactory:O},{provide:c.iLQ,multi:!0,useExisting:$}]]}}static forChild(e){return{ngModule:t,providers:[{provide:h.bw,multi:!0,useValue:e}]}}static ɵfac=function(e){return new(e||t)};static ɵmod=c.$C({type:t});static ɵinj=u.G2t({})}return t})();function F(t){return["disabled"===t.initialNavigation?I(3,[(0,c.phd)(()=>{(0,u.WQX)(h.Ix).setUpLocationChangeListener()}),{provide:D,useValue:2}]).ɵproviders:[],"enabledBlocking"===t.initialNavigation?I(2,[{provide:c.tvf,useValue:!0},{provide:D,useValue:0},(0,c.phd)(()=>{const t=(0,u.WQX)(u.zZn);return t.get(a.hj,Promise.resolve()).then(()=>new Promise(e=>{const n=t.get(h.Ix),r=t.get(L);(0,h.gk)(n,()=>{e(!0)}),t.get(h.J2).afterPreactivation=()=>(e(!0),r.closed?(0,g.of)(void 0):r),n.initialNavigation()}))})]).ɵproviders:[]]}const $=new u.nKC("")},5111(t,e,n){n.d(e,{YW:()=>W,Rv:()=>U,Kj:()=>ft,JO:()=>lt,_W:()=>B,$o:()=>gt,KY:()=>V,Tl:()=>st});var r=n(6817),o=n(6268),i=n(6860),s=n(3016),a=n(1787),l=n(7947),c=n(8447),u=n(1217),d=n(6564),h=n(2653),p=n(5351),f=n(2483),g=n(9220),m=n(1698),y=n(5710);class b extends y.yU{constructor(t,e){super()}schedule(t,e=0){return this}}const v={setInterval(t,e,...n){const{delegate:r}=v;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){const{delegate:e}=v;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var w=n(5891);const S={now:()=>(S.delegate||Date).now(),delegate:void 0};class C{constructor(t,e=C.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}C.now=S.now;const _=new class extends C{constructor(t,e=C.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}(class extends b{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var n;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,n=0){return v.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&v.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,r=!1;try{this.work(t)}catch(t){r=!0,n=t||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,(0,w.o)(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}});var k=n(9921),x=n(7225),T=n(2040),E=n(7178);class A extends c.B{constructor(t=1/0,e=1/0,n=S){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:i}=this;e||(n.push(t),!r&&n.push(o.now()+i)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let e=0;e<o.length&&!t.closed;e+=n?1:2)t.next(o[e]);return this._checkFinalizedStatuses(t),e}_trimBuffer(){const{_bufferSize:t,_timestampProvider:e,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!r){const t=e.now();let r=0;for(let e=1;e<n.length&&n[e]<=t;e+=2)r=e;r&&n.splice(0,r+1)}}}var I=n(1540);function O(t,e,...n){if(!0===e)return void t();if(!1===e)return;const r=new I.Ms({next:()=>{r.unsubscribe(),t()}});return(0,x.Tg)(e(...n)).subscribe(r)}var L=n(2867),D=n(6627),P=n(7610),R=n(5424),N=n(5697),M=n(2433);class j{translations;constructor(t){this.translations=t}getTranslation(t){return(0,s.of)(this.translations.get(t)||{})}}const F=new r.nKC(""),$=new r.nKC("",{providedIn:"root",factory:()=>z}),z={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"],scopes:{keepCasing:!1,autoPrefixKeys:!0}};function H(t={}){return{...z,...t,missingHandler:{...z.missingHandler,...t.missingHandler},flatten:{...z.flatten,...t.flatten},scopes:{...z.scopes,...t.scopes}}}function B(t,e){return t&&(Object.prototype.hasOwnProperty.call(t,e)?t[e]:e.split(".").reduce((t,e)=>t?.[e],t))}function V(t,e,n){t={...t};const r=e.split("."),o=r.length-1;return r.reduce((t,e,r)=>(t[e]=r===o?n:Array.isArray(t[e])?t[e].slice():{...t[e]},t&&t[e]),t),t}const U=new r.nKC("");let W=(()=>{class t{config=(0,r.WQX)($,{optional:!0})??z;get interpolationMatcher(){return function(t){const[e,n]=t.interpolation;return new RegExp(`${e}([^${e}${n}]*?)${n}`,"g")}(this.config)}transpile({value:t,params:e={},translation:n,key:r}){if((0,M.Kg)(t)){let o,i=t;for(;null!==(o=this.interpolationMatcher.exec(i));){const[t,s]=o;i=i.replace(t,()=>{const t=s.trim(),o=B(e,t);return(0,M.O9)(o)?o:(0,M.O9)(n[t])?this.transpile({params:e,translation:n,key:r,value:n[t]}):""})}return i}return e&&((0,M.Gv)(t)?t=this.handleObject({value:t,params:e,translation:n,key:r}):Array.isArray(t)&&(t=this.handleArray({value:t,params:e,translation:n,key:r}))),t}handleObject({value:t,params:e={},translation:n,key:r}){let o=t;return Object.keys(e).forEach(t=>{const i=this.transpile({value:B(o,t),params:B(e,t),translation:n,key:r});o=V(o,t,i)}),o}handleArray({value:t,...e}){return t.map(t=>this.transpile({value:t,...e}))}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:t.ɵfac})}return t})();const G=new r.nKC("");let q=(()=>{class t{handle(t,e){return e.missingHandler.logMissingKey&&!e.prodMode&&console.warn(`%c Missing translation for '${t}'`,"font-size: 12px; color: red"),t}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:t.ɵfac})}return t})();const Q=new r.nKC("");let Z=(()=>{class t{preSaveTranslation(t){return t}preSaveTranslationKey(t,e){return e}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:t.ɵfac})}return t})();const X=new r.nKC("");let Y,K=(()=>{class t{userConfig;constructor(t){this.userConfig=t}getNextLangs(){const t=this.userConfig.fallbackLang;if(!t)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(t)?t:[t]}static ɵfac=function(e){return new(e||t)(r.KVO($))};static ɵprov=r.jDH({token:t,factory:t.ɵfac})}return t})();function J(t){const{path:e,inlineLoader:n,mainLoader:r,data:o}=t;if(n){if(!1===(0,M.Tn)(n[e]))throw`You're using an inline loader but didn't provide a loader for ${e}`;return n[e]().then(t=>t.default?t.default:t)}return r.getTranslation(e,o)}function tt(t){const e={};return function t(n,r){if(null===n)e[r]=null;else if((0,M.Gv)(n))for(const[e,o]of Object.entries(n))t(o,r?`${r}.${e}`:e);else e[r]=n}(t,""),e}function et(t){if(!t)return"";const e=t.split("/");return e.pop(),e.join("/")}function nt(t){return t?t.split("/").pop():""}function rt(t){return"string"==typeof t?.scope}function ot(t,e){return function(t){return t?.loader&&(0,M.Gv)(t.loader)}(t)?function(t,e){return Object.keys(t).reduce((n,r)=>(n[`${e}/${r}`]=t[r],n),{})}(t.loader,e):void 0}function it(t){return{scope:et(t)||null,langName:nt(t)}}function st(t,e={},n){return Y.translate(t,e,n)}class at extends Error{lang;fallbackLangs;isScope;constructor(t,e,n){let r="Unable to load translation and all the fallback languages";n&&(r+=", did you misspell the scope name?"),super(r),this.lang=t,this.fallbackLangs=e,this.isScope=n,this.name="TranslationLoadError"}}let lt=(()=>{class t{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new c.B;events$=this.events.asObservable();config;activeLang;destroyRef=(0,r.WQX)(r.abz);destroyed=!1;constructor(t,e,n,o,i,s){this.loader=t,this.parser=e,this.missingHandler=n,this.interceptor=o,this.fallbackStrategy=s,this.loader||(this.loader=new j(this.translations)),Y=this,this.config=JSON.parse(JSON.stringify(i)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new u.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.activeLang=function(t,e){const n=e?.manualCleanup?null:e?.injector?.get(r.abz)??(0,r.WQX)(r.abz),o=function(t=Object.is){return(e,n)=>1===e.kind&&1===n.kind&&t(e.value,n.value)}(e?.equal);let i,s;i=(0,r.vPA)(e?.requireSync?{kind:0}:{kind:1,value:e?.initialValue},{equal:o});const a=t.subscribe({next:t=>i.set({kind:1,value:t}),error:t=>{i.set({kind:2,error:t}),s?.()},complete:()=>{s?.()}});if(e?.requireSync&&0===i().kind)throw new r.buA(601,!1);return s=n?.onDestroy(a.unsubscribe.bind(a)),(0,N.EW)(()=>{const t=i();switch(t.kind){case 1:return t.value;case 2:throw t.error;case 0:throw new r.buA(601,!1)}},{equal:e?.equal})}(this.lang,{requireSync:!0}),this.events$.subscribe(t=>{"translationLoadSuccess"===t.type&&t.wasFailure&&this.setActiveLang(t.payload.langName)}),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.lang.complete(),this.events.complete(),this.cache.clear()})}getDefaultLang(){return this.defaultLang}setDefaultLang(t){this.defaultLang=t}getActiveLang(){return this.lang.getValue()}setActiveLang(t){return this.parser.onLangChanged?.(t),this.lang.next(t),this.events.next({type:"langChanged",payload:it(t)}),this}setAvailableLangs(t){this.availableLangs=t}getAvailableLangs(){return this.availableLangs}load(t,e={}){if(this.destroyed)return d.w;const n=this.cache.get(t);if(n)return n;let o;const i=this._isLangScoped(t);let u;i&&(u=et(t));const y={path:t,mainLoader:this.loader,inlineLoader:e.inlineLoader,data:i?{scope:u}:void 0};if(this.useFallbackTranslation(t)){const t=i?`${u}/${this.firstFallbackLang}`:this.firstFallbackLang,e=function({mainLoader:t,path:e,data:n,fallbackPath:r,inlineLoader:o}){return(r?[e,r]:[e]).map(e=>{const r=J({path:e,mainLoader:t,inlineLoader:o,data:n});return(0,a.H)(r).pipe((0,l.T)(t=>({translation:t,lang:e})))})}({...y,fallbackPath:t});o=(0,h.p)(e)}else{const t=J(y);o=(0,a.H)(t)}const b=o.pipe(function(t=1/0){let e;e=t&&"object"==typeof t?t:{count:t};const{count:n=1/0,delay:r,resetOnSuccess:o=!1}=e;return n<=0?g.D:(0,p.N)((t,e)=>{let i,s=0;const a=()=>{let l=!1;i=t.subscribe((0,f._)(e,t=>{o&&(s=0),e.next(t)},void 0,t=>{if(s++<n){const n=()=>{i?(i.unsubscribe(),i=null,a()):l=!0};if(null!=r){const o="number"==typeof r?function(t=0,e,n=_){let r=-1;return null!=e&&((0,k.m)(e)?n=e:r=e),new m.c(e=>{let o=function(t){return t instanceof Date&&!isNaN(t)}(t)?+t-n.now():t;o<0&&(o=0);let i=0;return n.schedule(function(){e.closed||(e.next(i++),0<=r?this.schedule(void 0,r):e.complete())},o)})}(r):(0,x.Tg)(r(t,s)),i=(0,f._)(e,()=>{i.unsubscribe(),n()},()=>{e.complete()});o.subscribe(i)}else n()}else e.error(t)})),l&&(i.unsubscribe(),i=null,a())};a()})}(this.config.failedRetries),(0,T.M)(e=>{Array.isArray(e)?e.forEach(e=>{this.handleSuccess(e.lang,e.translation),e.lang!==t&&this.cache.set(e.lang,(0,s.of)({}))}):this.handleSuccess(t,e)}),(0,E.W)(n=>(this.config.prodMode||console.error(`Error while trying to load "${t}"`,n),this.handleFailure(t,e))),function(t,e,n){let r,o=!1;return r=1,function(t={}){const{connector:e=()=>new c.B,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return t=>{let i,s,a,l=0,c=!1,u=!1;const d=()=>{s?.unsubscribe(),s=void 0},h=()=>{d(),i=a=void 0,c=u=!1},f=()=>{const t=i;h(),t?.unsubscribe()};return(0,p.N)((t,p)=>{l++,!u&&!c&&d();const g=a=a??e();p.add(()=>{l--,0===l&&!u&&!c&&(s=O(f,o))}),g.subscribe(p),!i&&l>0&&(i=new I.Ms({next:t=>g.next(t),error:t=>{u=!0,d(),s=O(h,n,t),g.error(t)},complete:()=>{c=!0,d(),s=O(h,r),g.complete()}}),(0,x.Tg)(t).subscribe(i))})(t)}}({connector:()=>new A(r,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}(),function(t){t||(t=(0,r.WQX)(r.abz));const e=new m.c(e=>{if(!t.destroyed)return t.onDestroy(e.next.bind(e));e.next()});return t=>t.pipe((0,R.Q)(e))}(this.destroyRef));return this.cache.set(t,b),b}translate(t,e={},n=this.getActiveLang()){if(!t)return t;const{scope:r,resolveLang:o}=this.resolveLangAndScope(n);if(Array.isArray(t))return t.map(t=>this.translate(this.config.scopes.autoPrefixKeys&&r?`${r}.${t}`:t,e,o));t=this.config.scopes.autoPrefixKeys&&r?`${r}.${t}`:t;const i=this.getTranslation(o),s=i[t];return s?this.parser.transpile({value:s,params:e,translation:i,key:t}):this._handleMissingKey(t,s,e)}selectTranslate(t,e,n,r=!1){let o;const i=(n,o)=>this.load(n,o).pipe((0,l.T)(()=>r?this.translateObject(t,e,n):this.translate(t,e,n)));if((0,M.gD)(n))return this.langChanges$.pipe((0,L.n)(t=>i(t)));if(rt(n=Array.isArray(n)?n[n.length-1]:n)){const t=n;n=t.scope,o=ot(t,t.scope)}if(this.isLang(n)||this.isScopeWithLang(n))return i(n);const s=n;return this.langChanges$.pipe((0,L.n)(t=>i(`${s}/${t}`,{inlineLoader:o})))}isScopeWithLang(t){return this.isLang(nt(t))}translateObject(t,e={},n=this.getActiveLang()){if((0,M.Kg)(t)||Array.isArray(t)){const{resolveLang:r,scope:o}=this.resolveLangAndScope(n);if(Array.isArray(t))return t.map(t=>this.translateObject(this.config.scopes.autoPrefixKeys&&o?`${o}.${t}`:t,e,r));const i=this.getTranslation(r),s=function(t){const e={};for(const[n,r]of Object.entries(t)){const t=n.split(".");let o=e;t.forEach((e,n)=>{n===t.length-1?o[e]=r:(o[e]??={},o=o[e])})}return e}(this.getObjectByKey(i,t=this.config.scopes.autoPrefixKeys&&o?`${o}.${t}`:t));return(0,M.Im)(s)?this.translate(t,e,n):this.parser.transpile({value:s,params:e,translation:i,key:t})}const r=[];for(const[e,o]of this.getEntries(t))r.push(this.translateObject(e,o,n));return r}selectTranslateObject(t,e,n){if((0,M.Kg)(t)||Array.isArray(t))return this.selectTranslate(t,e,n,!0);const[[r,o],...i]=this.getEntries(t);return this.selectTranslateObject(r,o,n).pipe((0,l.T)(t=>{const e=[t];for(const[t,r]of i)e.push(this.translateObject(t,r,n));return e}))}getTranslation(t){if(t){if(this.isLang(t))return this.translations.get(t)||{};{const{scope:e,resolveLang:n}=this.resolveLangAndScope(t),r=this.translations.get(n)||{};return this.getObjectByKey(r,e)}}return this.translations}selectTranslation(t){let e=this.langChanges$;if(t){const n=nt(t)!==t;e=this.isLang(t)||n?(0,s.of)(t):this.langChanges$.pipe((0,l.T)(e=>`${t}/${e}`))}return e.pipe((0,L.n)(t=>this.load(t).pipe((0,l.T)(()=>this.getTranslation(t)))))}setTranslation(t,e=this.getActiveLang(),n={}){const r={merge:!0,emitChange:!0,...n},o=et(e);let i=t;if(o){const e=this.getMappedScope(o);i=tt({[e]:t})}const s=o?nt(e):e,a={...r.merge&&this.getTranslation(s),...i},l=this.config.flatten.aot?a:tt(a),c=this.interceptor.preSaveTranslation(l,s);this.translations.set(s,c),r.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(t,e,n={}){const r=n.lang||this.getActiveLang(),o=this.interceptor.preSaveTranslationKey(t,e,r);this.setTranslation({[t]:o},r,{...n,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:t}){const e=Array.isArray(t)?t[0]:t;t&&this.useFallbackTranslation(e)&&(this.firstFallbackLang=e)}_handleMissingKey(t,e,n){if(this.config.missingHandler.allowEmpty&&""===e)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const e=this.translate(t,n,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,e}return this.missingHandler.handle(t,this.getMissingHandlerData(),n)}_isLangScoped(t){return-1===this.getAvailableLangsIds().indexOf(t)}isLang(t){return-1!==this.getAvailableLangsIds().indexOf(t)}_loadDependencies(t,e){const n=nt(t);return this._isLangScoped(t)&&!this.isLoadedTranslation(n)?(0,D.z)([this.load(n),this.load(t,{inlineLoader:e})]):this.load(t,{inlineLoader:e})}_completeScopeWithLang(t){return this._isLangScoped(t)&&!this.isLang(nt(t))?`${t}/${this.getActiveLang()}`:t}_setScopeAlias(t,e){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[t]=e}isLoadedTranslation(t){return(0,M.Ej)(this.getTranslation(t))}getAvailableLangsIds(){const t=this.getAvailableLangs()[0];return(0,M.Kg)(t)?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(t){return this.config.missingHandler.useFallbackTranslation&&t!==this.firstFallbackLang}handleSuccess(t,e){this.setTranslation(e,t,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:it(t)}),this.failedLangs.forEach(t=>this.cache.delete(t)),this.failedLangs.clear()}handleFailure(t,e){(0,M.gD)(e.failedCounter)&&(e.failedCounter=0,e.fallbackLangs||(e.fallbackLangs=this.fallbackStrategy.getNextLangs(t)));const n=t.split("/"),r=e.fallbackLangs,o=r[e.failedCounter];if(this.failedLangs.add(t),this.cache.has(o))return this.handleSuccess(o,this.getTranslation(o)),d.w;if(!o||o===n[n.length-1])throw new at(t,r??[],n.length>1);let i=o;return n.length>1&&(n[n.length-1]=o,i=n.join("/")),e.failedCounter++,this.events.next({type:"translationLoadFailure",payload:it(t)}),this.load(i,e)}getMappedScope(t){const{scopeMapping:e={},scopes:n={keepCasing:!1}}=this.config;return e[t]||(n.keepCasing?t:(0,M.Cb)(t))}resolveLangAndScope(t){let e,n=t;if(this._isLangScoped(t)){const r=nt(t),o=this.isLang(r);n=o?r:this.getActiveLang(),e=this.getMappedScope(o?et(t):t)}return{scope:e,resolveLang:n}}getObjectByKey(t,e){const n={},r=`${e}.`;for(const e in t)e.startsWith(r)&&(n[e.replace(r,"")]=t[e]);return n}getEntries(t){return t instanceof Map?t.entries():Object.entries(t)}static ɵfac=function(e){return new(e||t)(r.KVO(F,8),r.KVO(U),r.KVO(G),r.KVO(Q),r.KVO($),r.KVO(X))};static ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const ct=new r.nKC(""),ut=new r.nKC("");function dt(t,e,n="|"){if((0,M.Kg)(t)){const r=t.split(n),o=r.pop();return o===e?[!0,r.toString()]:[!1,o]}return[!1,""]}class ht{initialized=!1;resolve({inline:t,provider:e,active:n}){let r=n;if(this.initialized)return r=n,r;if(e){const[,t]=dt(e,"static");r=t}if(t){const[,e]=dt(t,"static");r=e}return this.initialized=!0,r}resolveLangBasedOnScope(t){return et(t)?nt(t):t}resolveLangPath(t,e){return e?`${e}/${t}`:t}}class pt{service;constructor(t){this.service=t}resolve(t){const{inline:e,provider:n}=t;if(e)return e;if(n){if(rt(n)){const{scope:t,alias:e=(this.service.config.scopes.keepCasing?t:(0,M.Cb)(t))}=n;return this.service._setScopeAlias(t,e),t}return n}}}let ft=(()=>{class t{service;providerScope;providerLang;cdr;subscription=null;lastValue="";lastKey;path;langResolver=new ht;scopeResolver;constructor(t,e,n,r){this.service=t,this.providerScope=e,this.providerLang=n,this.cdr=r,this.scopeResolver=new pt(this.service)}transform(t,e,n){if(!t)return t;const r=e?`${t}${JSON.stringify(e)}`:t;if(r===this.lastKey)return this.lastValue;this.lastKey=r,this.subscription?.unsubscribe();const o=function(t,e){const[n]=dt(e,"static");return!n&&!!t.config.reRenderOnLangChange}(this.service,this.providerLang||n);return this.subscription=this.service.langChanges$.pipe((0,L.n)(t=>{const e=this.langResolver.resolve({inline:n,provider:this.providerLang,active:t});return Array.isArray(this.providerScope)?(0,h.p)(this.providerScope.map(t=>this.resolveScope(e,t))):this.resolveScope(e,this.providerScope)}),function(t){return t?t=>t:(0,P.s)(1)}(o)).subscribe(()=>this.updateValue(t,e)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null}updateValue(t,e){const n=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(t,e,n),this.cdr.markForCheck()}resolveScope(t,e){const n=this.scopeResolver.resolve({inline:void 0,provider:e});this.path=this.langResolver.resolveLangPath(t,n);const r=ot(e,n);return this.service._loadDependencies(this.path,r)}static ɵfac=function(e){return new(e||t)(o.rXU(lt,16),o.rXU(ut,24),o.rXU(ct,24),o.rXU(i.gRc,16))};static ɵpipe=o.EJ8({name:"transloco",type:t,pure:!1})}return t})();function gt(t){const e=[mt(W),bt(q),vt(Z),yt(K)];return t.config&&e.push(function(t){return(0,r.EmA)([{provide:$,useValue:H(t)}])}(t.config)),t.loader&&e.push(function(t){return(0,r.EmA)([{provide:F,useClass:t}])}(t.loader)),e}function mt(t){return(0,r.EmA)([{provide:U,useClass:t,deps:[$]}])}function yt(t){return(0,r.EmA)([{provide:X,useClass:t,deps:[$]}])}function bt(t){return(0,r.EmA)([{provide:G,useClass:t}])}function vt(t){return(0,r.EmA)([{provide:Q,useClass:t}])}},2433(t,e,n){function r(t){return"function"==typeof t}function o(t){return"string"==typeof t}function i(t){return!!t&&"object"==typeof t&&!Array.isArray(t)}function s(t){return null==t}function a(t){return!s(t)}function l(t){return t?Array.isArray(t)||o(t)?t.length:i(t)?Object.keys(t).length:0:0}function c(t){return 0===l(t)}function u(t){return t.replace(/(?:^\w|[A-Z]|\b\w)/g,(t,e)=>0==e?t.toLowerCase():t.toUpperCase()).replace(/\s+|_|-|\//g,"")}n.d(e,{Cb:()=>u,Ej:()=>l,Gv:()=>i,Im:()=>c,Kg:()=>o,O9:()=>a,Tn:()=>r,gD:()=>s})},5396(t,e,n){n.d(e,{t5:()=>T,Sx:()=>L,Fs:()=>f,AH:()=>I,dt:()=>E});var r=n(8165),o=Object.defineProperty,i=Object.defineProperties,s=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(t,e,n)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,d=(t,e)=>{for(var n in e||(e={}))l.call(e,n)&&u(t,n,e[n]);if(a)for(var n of a(e))c.call(e,n)&&u(t,n,e[n]);return t},h=(t,e)=>i(t,s(e)),p=(t,e)=>{var n={};for(var r in t)l.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&a)for(var r of a(t))e.indexOf(r)<0&&c.call(t,r)&&(n[r]=t[r]);return n},f=function(){let t=new Map;return{on(e,n){let r=t.get(e);return r?r.push(n):r=[n],t.set(e,r),this},off(e,n){let r=t.get(e);return r&&r.splice(r.indexOf(n)>>>0,1),this},emit(e,n){let r=t.get(e);r&&r.forEach(t=>{t(n)})},clear(){t.clear()}}}(),g=/{([^}]*)}/g,m=/(\d+\s+[\+\-\*\/]\s+\d+)/g,y=/var\([^)]+\)/g;function b(t){return(0,r.Kg)(t)?t.replace(/[A-Z]/g,(t,e)=>0===e?t:"."+t.toLowerCase()).toLowerCase():t}function v(t){return(0,r.Gv)(t)&&t.hasOwnProperty("$value")&&t.hasOwnProperty("$type")?t.$value:t}function w(t="",e=""){return function(t){return t.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}(`${(0,r.Kg)(t,!1)&&(0,r.Kg)(e,!1)?`${t}-`:t}${e}`)}function S(t="",e=""){return`--${w(t,e)}`}function C(t,e="",n="",o=[],i){if((0,r.Kg)(t)){let e=t.trim();if(function(t=""){return((t.match(/{/g)||[]).length+(t.match(/}/g)||[]).length)%2!=0}(e))return;if((0,r.xk)(e,g)){let t=e.replaceAll(g,t=>{let e=t.replace(/{|}/g,"").split(".").filter(t=>!o.some(e=>(0,r.xk)(t,e)));return`var(${S(n,(0,r.fX)(e.join("-")))}${(0,r.hj)(i)?`, ${i}`:""})`});return(0,r.xk)(t.replace(y,"0"),m)?`calc(${t})`:t}return e}if((0,r.Et)(t))return t}function _(t,e,n){(0,r.Kg)(e,!1)&&t.push(`${e}:${n};`)}function k(t,e){return t?`${t}{${e}}`:""}function x(t,e){if(-1===t.indexOf("dt("))return t;function n(t,e){let n=[],o=0,i="",s=null,a=0;for(;o<=t.length;){let l=t[o];if(('"'===l||"'"===l||"`"===l)&&"\\"!==t[o-1]&&(s=s===l?null:l),!s&&("("===l&&a++,")"===l&&a--,(","===l||o===t.length)&&0===a)){let t=i.trim();t.startsWith("dt(")?n.push(x(t,e)):n.push(r(t)),i="",o++;continue}void 0!==l&&(i+=l),o++}return n}function r(t){let e=t[0];if(('"'===e||"'"===e||"`"===e)&&t[t.length-1]===e)return t.slice(1,-1);let n=Number(t);return isNaN(n)?t:n}let o=[],i=[];for(let e=0;e<t.length;e++)if("d"===t[e]&&"dt("===t.slice(e,e+3))i.push(e),e+=2;else if(")"===t[e]&&i.length>0){let t=i.pop();0===i.length&&o.push([t,e])}if(!o.length)return t;for(let r=o.length-1;r>=0;r--){let[i,s]=o[r],a=e(...n(t.slice(i+3,s),e));t=t.slice(0,i)+a+t.slice(s+1)}return t}var T=t=>{var e;let n=L.getTheme(),r=A(n,t,void 0,"variable");return{name:null==(e=r?.match(/--[\w-]+/g))?void 0:e[0],variable:r,value:A(n,t,void 0,"value")}},E=(...t)=>A(L.getTheme(),...t),A=(t={},e,n,o)=>{if(e){let{variable:i,options:s}=L.defaults||{},{prefix:a,transform:l}=t?.options||s||{},c=(0,r.xk)(e,g)?e:`{${e}}`;return"value"===o||(0,r.Im)(o)&&"strict"===l?L.getTokenValue(e):C(c,void 0,a,[i.excludedKeyRegex],n)}return""};function I(t,...e){return t instanceof Array?x(t.reduce((t,n,o)=>{var i;return t+n+(null!=(i=(0,r.hd)(e[o],{dt:E}))?i:"")},""),E):(0,r.hd)(t,{dt:E})}var O={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(t){return{type:"class",selector:t,matched:this.pattern.test(t.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(t){return{type:"attr",selector:`:root${t},:host${t}`,matched:this.pattern.test(t.trim())}}},media:{pattern:/^@media (.*)$/,resolve(t){return{type:"media",selector:t,matched:this.pattern.test(t.trim())}}},system:{pattern:/^system$/,resolve(t){return{type:"system",selector:"@media (prefers-color-scheme: dark)",matched:this.pattern.test(t.trim())}}},custom:{resolve:t=>({type:"custom",selector:t,matched:!0})}},resolve(t){let e=Object.keys(this.rules).filter(t=>"custom"!==t).map(t=>this.rules[t]);return[t].flat().map(t=>{var n;return null!=(n=e.map(e=>e.resolve(t)).find(t=>t.matched))?n:this.rules.custom.resolve(t)})}},_toVariables:(t,e)=>function(t,e={}){let n=L.defaults.variable,{prefix:o=n.prefix,selector:i=n.selector,excludedKeyRegex:s=n.excludedKeyRegex}=e,a=[],l=[],c=[{node:t,path:o}];for(;c.length;){let{node:t,path:e}=c.pop();for(let n in t){let i=v(t[n]),u=(0,r.xk)(n,s)?w(e):w(e,(0,r.fX)(n));if((0,r.Gv)(i))c.push({node:i,path:u});else{_(l,S(u),C(i,u,o,[s]));let t=u;o&&t.startsWith(o+"-")&&(t=t.slice(o.length+1)),a.push(t.replace(/-/g,"."))}}}let u=l.join("");return{value:l,tokens:a,declarations:u,css:k(i,u)}}(t,{prefix:e?.prefix}),getCommon({name:t="",theme:e={},set:n,defaults:o}){var i,s,a,l,c,u,d;let h,f,g,m,y,b,v,{preset:w,options:S}=e;if((0,r.hj)(w)&&"strict"!==S.transform){let{primitive:e,semantic:C,extend:_}=w,k=C||{},{colorScheme:x}=k,T=p(k,["colorScheme"]),A=_||{},{colorScheme:I}=A,O=p(A,["colorScheme"]),L=x||{},{dark:D}=L,P=p(L,["dark"]),R=I||{},{dark:N}=R,M=p(R,["dark"]),j=(0,r.hj)(e)?this._toVariables({primitive:e},S):{},F=(0,r.hj)(T)?this._toVariables({semantic:T},S):{},$=(0,r.hj)(P)?this._toVariables({light:P},S):{},z=(0,r.hj)(D)?this._toVariables({dark:D},S):{},H=(0,r.hj)(O)?this._toVariables({semantic:O},S):{},B=(0,r.hj)(M)?this._toVariables({light:M},S):{},V=(0,r.hj)(N)?this._toVariables({dark:N},S):{},[U,W]=[null!=(i=j.declarations)?i:"",j.tokens],[G,q]=[null!=(s=F.declarations)?s:"",F.tokens||[]],[Q,Z]=[null!=(a=$.declarations)?a:"",$.tokens||[]],[X,Y]=[null!=(l=z.declarations)?l:"",z.tokens||[]],[K,J]=[null!=(c=H.declarations)?c:"",H.tokens||[]],[tt,et]=[null!=(u=B.declarations)?u:"",B.tokens||[]],[nt,rt]=[null!=(d=V.declarations)?d:"",V.tokens||[]];h=this.transformCSS(t,U,"light","variable",S,n,o),f=W,g=`${this.transformCSS(t,`${G}${Q}`,"light","variable",S,n,o)}${this.transformCSS(t,`${X}`,"dark","variable",S,n,o)}`,m=[...new Set([...q,...Z,...Y])],y=`${this.transformCSS(t,`${K}${tt}color-scheme:light`,"light","variable",S,n,o)}${this.transformCSS(t,`${nt}color-scheme:dark`,"dark","variable",S,n,o)}`,b=[...new Set([...J,...et,...rt])],v=(0,r.hd)(w.css,{dt:E})}return{primitive:{css:h,tokens:f},semantic:{css:g,tokens:m},global:{css:y,tokens:b},style:v}},getPreset({name:t="",preset:e={},options:n,set:o,defaults:i,selector:s}){var a,l,c;let u,h,f;if((0,r.hj)(e)&&"strict"!==n.transform){let g=t.replace("-directive",""),m=e,{colorScheme:y,extend:b,css:v}=m,w=p(m,["colorScheme","extend","css"]),S=b||{},{colorScheme:C}=S,_=p(S,["colorScheme"]),k=y||{},{dark:x}=k,T=p(k,["dark"]),A=C||{},{dark:I}=A,O=p(A,["dark"]),L=(0,r.hj)(w)?this._toVariables({[g]:d(d({},w),_)},n):{},D=(0,r.hj)(T)?this._toVariables({[g]:d(d({},T),O)},n):{},P=(0,r.hj)(x)?this._toVariables({[g]:d(d({},x),I)},n):{},[R,N]=[null!=(a=L.declarations)?a:"",L.tokens||[]],[M,j]=[null!=(l=D.declarations)?l:"",D.tokens||[]],[F,$]=[null!=(c=P.declarations)?c:"",P.tokens||[]];u=`${this.transformCSS(g,`${R}${M}`,"light","variable",n,o,i,s)}${this.transformCSS(g,F,"dark","variable",n,o,i,s)}`,h=[...new Set([...N,...j,...$])],f=(0,r.hd)(v,{dt:E})}return{css:u,tokens:h,style:f}},getPresetC({name:t="",theme:e={},params:n,set:r,defaults:o}){var i;let{preset:s,options:a}=e,l=null==(i=s?.components)?void 0:i[t];return this.getPreset({name:t,preset:l,options:a,params:n,set:r,defaults:o})},getPresetD({name:t="",theme:e={},params:n,set:r,defaults:o}){var i,s;let a=t.replace("-directive",""),{preset:l,options:c}=e,u=(null==(i=l?.components)?void 0:i[a])||(null==(s=l?.directives)?void 0:s[a]);return this.getPreset({name:a,preset:u,options:c,params:n,set:r,defaults:o})},applyDarkColorScheme:t=>!("none"===t.darkModeSelector||!1===t.darkModeSelector),getColorSchemeOption(t,e){var n;return this.applyDarkColorScheme(t)?this.regex.resolve(!0===t.darkModeSelector?e.options.darkModeSelector:null!=(n=t.darkModeSelector)?n:e.options.darkModeSelector):[]},getLayerOrder(t,e={},n,o){let{cssLayer:i}=e;return i?`@layer ${(0,r.hd)(i.order||i.name||"primeui",n)}`:""},getCommonStyleSheet({name:t="",theme:e={},params:n,props:o={},set:i,defaults:s}){let a=this.getCommon({name:t,theme:e,params:n,set:i,defaults:s}),l=Object.entries(o).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");return Object.entries(a||{}).reduce((t,[e,n])=>{if((0,r.Gv)(n)&&Object.hasOwn(n,"css")){let o=(0,r.uN)(n.css);t.push(`<style type="text/css" data-primevue-style-id="${e}-variables" ${l}>${o}</style>`)}return t},[]).join("")},getStyleSheet({name:t="",theme:e={},params:n,props:o={},set:i,defaults:s}){var a;let l={name:t,theme:e,params:n,set:i,defaults:s},c=null==(a=t.includes("-directive")?this.getPresetD(l):this.getPresetC(l))?void 0:a.css,u=Object.entries(o).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");return c?`<style type="text/css" data-primevue-style-id="${t}-variables" ${u}>${(0,r.uN)(c)}</style>`:""},createTokens(t={},e,n="",o="",i={}){let s=function(t,e={},n=[]){if(n.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:t,path:this.path,paths:e,value:void 0};n.push(this.path),e.name=this.path,e.binding||(e.binding={});let o=this.value;if("string"==typeof this.value&&g.test(this.value)){let r=this.value.trim().replace(g,r=>{var o;let i=r.slice(1,-1),s=this.tokens[i];if(!s)return console.warn(`Token not found for path: ${i}`),"__UNRESOLVED__";let a=s.computed(t,e,n);return Array.isArray(a)&&2===a.length?`light-dark(${a[0].value},${a[1].value})`:null!=(o=a?.value)?o:"__UNRESOLVED__"});o=m.test(r.replace(y,"0"))?`calc(${r})`:r}return(0,r.Im)(e.binding)&&delete e.binding,n.pop(),{colorScheme:t,path:this.path,paths:e,value:o.includes("__UNRESOLVED__")?void 0:o}},a=(t,n,o)=>{Object.entries(t).forEach(([t,l])=>{let c=(0,r.xk)(t,e.variable.excludedKeyRegex)?n:n?`${n}.${b(t)}`:b(t),u=o?`${o}.${t}`:t;(0,r.Gv)(l)?a(l,c,u):(i[c]||(i[c]={paths:[],computed:(t,e={},n=[])=>{if(1===i[c].paths.length)return i[c].paths[0].computed(i[c].paths[0].scheme,e.binding,n);if(t&&"none"!==t)for(let r=0;r<i[c].paths.length;r++){let o=i[c].paths[r];if(o.scheme===t)return o.computed(t,e.binding,n)}return i[c].paths.map(t=>t.computed(t.scheme,e[t.scheme],n))}}),i[c].paths.push({path:u,value:l,scheme:u.includes("colorScheme.light")?"light":u.includes("colorScheme.dark")?"dark":"none",computed:s,tokens:i}))})};return a(t,n,o),i},getTokenValue(t,e,n){var o;let i=e.split(".").filter(t=>!(0,r.xk)(t.toLowerCase(),n.variable.excludedKeyRegex)).join("."),s=e.includes("colorScheme.light")?"light":e.includes("colorScheme.dark")?"dark":void 0,a=[null==(o=t[i])?void 0:o.computed(s)].flat().filter(t=>t);return 1===a.length?a[0].value:a.reduce((t={},e)=>{let n=e,{colorScheme:r}=n,o=p(n,["colorScheme"]);return t[r]=o,t},void 0)},getSelectorRule:(t,e,n,o)=>"class"===n||"attr"===n?k((0,r.hj)(e)?`${t}${e},${t} ${e}`:t,o):k(t,k(e??":root,:host",o)),transformCSS(t,e,n,o,i={},s,a,l){if((0,r.hj)(e)){let{cssLayer:c}=i;if("style"!==o){let t=this.getColorSchemeOption(i,a);e="dark"===n?t.reduce((t,{type:n,selector:o})=>((0,r.hj)(o)&&(t+=o.includes("[CSS]")?o.replace("[CSS]",e):this.getSelectorRule(o,l,n,e)),t),""):k(l??":root,:host",e)}if(c){let n={name:"primeui",order:"primeui"};(0,r.Gv)(c)&&(n.name=(0,r.hd)(c.name,{name:t,type:o})),(0,r.hj)(n.name)&&(e=k(`@layer ${n.name}`,e),s?.layerNames(n.name))}return e}return""}},L={defaults:{variable:{prefix:"p",selector:":root,:host",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(t={}){let{theme:e}=t;e&&(this._theme=h(d({},e),{options:d(d({},this.defaults.options),e.options)}),this._tokens=O.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var t;return(null==(t=this.theme)?void 0:t.preset)||{}},get options(){var t;return(null==(t=this.theme)?void 0:t.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(t){this.update({theme:t}),f.emit("theme:change",t)},getPreset(){return this.preset},setPreset(t){this._theme=h(d({},this.theme),{preset:t}),this._tokens=O.createTokens(t,this.defaults),this.clearLoadedStyleNames(),f.emit("preset:change",t),f.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(t){this._theme=h(d({},this.theme),{options:t}),this.clearLoadedStyleNames(),f.emit("options:change",t),f.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(t){this._layerNames.add(t)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(t){return O.getTokenValue(this.tokens,t,this.defaults)},getCommon(t="",e){return O.getCommon({name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(t="",e){let n={name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return O.getPresetC(n)},getDirective(t="",e){let n={name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return O.getPresetD(n)},getCustomPreset(t="",e,n,r){let o={name:t,preset:e,options:this.options,selector:n,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return O.getPreset(o)},getLayerOrderCSS(t=""){return O.getLayerOrder(t,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(t="",e,n="style",r){return O.transformCSS(t,e,r,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(t="",e,n={}){return O.getCommonStyleSheet({name:t,theme:this.theme,params:e,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(t,e,n={}){return O.getStyleSheet({name:t,theme:this.theme,params:e,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(t){this._loadingStyles.add(t)},onStyleUpdated(t){this._loadingStyles.add(t)},onStyleLoaded(t,{name:e}){this._loadingStyles.size&&(this._loadingStyles.delete(e),f.emit(`theme:${e}:load`,t),!this._loadingStyles.size&&f.emit("theme:load"))}}},8165(t,e,n){function r(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!(t instanceof Date)&&"object"==typeof t&&0===Object.keys(t).length}function o(t){return!r(t)}function i(t,e=!0){return t instanceof Object&&t.constructor===Object&&(e||0!==Object.keys(t).length)}function s(t,...e){return function(t){return"function"==typeof t&&"call"in t&&"apply"in t}(t)?t(...e):t}function a(t,e=!0){return"string"==typeof t&&(e||""!==t)}function l(t){return o(t)&&!isNaN(t)}function c(t,e){if(e){let n=e.test(t);return e.lastIndex=0,n}return!1}function u(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function d(t){return a(t)?t.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():t}function h(t){return"auto"===t?0:"number"==typeof t?t:1e3*Number(t.replace(/[^\d.]/g,"").replace(",","."))}n.d(e,{Et:()=>l,G8:()=>h,Gv:()=>i,Im:()=>r,Kg:()=>a,fX:()=>d,hd:()=>s,hj:()=>o,uN:()=>u,xk:()=>c})},3828(t,e,n){n.d(e,{E:()=>p,Ei:()=>y,Gg:()=>b,Rn:()=>h,TJ:()=>u,Yj:()=>v,bg:()=>f,si:()=>g,td:()=>d,wi:()=>m});var r=n(6268),o=n(6817),i=n(8447),s=n(4513),a=n(6868);const l=["*"];var c,u=((c=u||{})[c.ACCEPT=0]="ACCEPT",c[c.REJECT=1]="REJECT",c[c.CANCEL=2]="CANCEL",c);let d=(()=>{class t{requireConfirmationSource=new i.B;acceptConfirmationSource=new i.B;requireConfirmation$=this.requireConfirmationSource.asObservable();accept=this.acceptConfirmationSource.asObservable();confirm(t){return this.requireConfirmationSource.next(t),this}close(){return this.requireConfirmationSource.next(null),this}onAccept(){this.acceptConfirmationSource.next(null)}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac})}return t})(),h=class{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"},p=(()=>{class t{filter(t,e,n,r,o){let i=[];if(t)for(let a of t)for(let t of e){let e=(0,s.L7)(a,t);if(this.filters[r](e,n,o)){i.push(a);break}}return i}filters={startsWith:(t,e,n)=>{if(null==e||""===e.trim())return!0;if(null==t)return!1;let r=(0,s.Oo)(e.toString()).toLocaleLowerCase(n);return(0,s.Oo)(t.toString()).toLocaleLowerCase(n).slice(0,r.length)===r},contains:(t,e,n)=>{if(null==e||"string"==typeof e&&""===e.trim())return!0;if(null==t)return!1;let r=(0,s.Oo)(e.toString()).toLocaleLowerCase(n);return-1!==(0,s.Oo)(t.toString()).toLocaleLowerCase(n).indexOf(r)},notContains:(t,e,n)=>{if(null==e||"string"==typeof e&&""===e.trim())return!0;if(null==t)return!1;let r=(0,s.Oo)(e.toString()).toLocaleLowerCase(n);return-1===(0,s.Oo)(t.toString()).toLocaleLowerCase(n).indexOf(r)},endsWith:(t,e,n)=>{if(null==e||""===e.trim())return!0;if(null==t)return!1;let r=(0,s.Oo)(e.toString()).toLocaleLowerCase(n),o=(0,s.Oo)(t.toString()).toLocaleLowerCase(n);return-1!==o.indexOf(r,o.length-r.length)},equals:(t,e,n)=>null==e||"string"==typeof e&&""===e.trim()||null!=t&&(t.getTime&&e.getTime?t.getTime()===e.getTime():t==e||(0,s.Oo)(t.toString()).toLocaleLowerCase(n)==(0,s.Oo)(e.toString()).toLocaleLowerCase(n)),notEquals:(t,e,n)=>!(null==e||"string"==typeof e&&""===e.trim()||null!=t&&(t.getTime&&e.getTime?t.getTime()===e.getTime():t==e||(0,s.Oo)(t.toString()).toLocaleLowerCase(n)==(0,s.Oo)(e.toString()).toLocaleLowerCase(n))),in:(t,e)=>{if(null==e||0===e.length)return!0;for(let n=0;n<e.length;n++)if((0,s.aI)(t,e[n]))return!0;return!1},between:(t,e)=>null==e||null==e[0]||null==e[1]||null!=t&&(t.getTime?e[0].getTime()<=t.getTime()&&t.getTime()<=e[1].getTime():e[0]<=t&&t<=e[1]),lt:(t,e,n)=>null==e||null!=t&&(t.getTime&&e.getTime?t.getTime()<e.getTime():t<e),lte:(t,e,n)=>null==e||null!=t&&(t.getTime&&e.getTime?t.getTime()<=e.getTime():t<=e),gt:(t,e,n)=>null==e||null!=t&&(t.getTime&&e.getTime?t.getTime()>e.getTime():t>e),gte:(t,e,n)=>null==e||null!=t&&(t.getTime&&e.getTime?t.getTime()>=e.getTime():t>=e),is:(t,e,n)=>this.filters.equals(t,e,n),isNot:(t,e,n)=>this.filters.notEquals(t,e,n),before:(t,e,n)=>this.filters.lt(t,e,n),after:(t,e,n)=>this.filters.gt(t,e,n),dateIs:(t,e)=>null==e||null!=t&&t.toDateString()===e.toDateString(),dateIsNot:(t,e)=>null==e||null!=t&&t.toDateString()!==e.toDateString(),dateBefore:(t,e)=>null==e||null!=t&&t.getTime()<e.getTime(),dateAfter:(t,e)=>null==e||null!=t&&(t.setHours(0,0,0,0),t.getTime()>e.getTime())};register(t,e){this.filters[t]=e}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),f=(()=>{class t{messageSource=new i.B;clearSource=new i.B;messageObserver=this.messageSource.asObservable();clearObserver=this.clearSource.asObservable();add(t){t&&this.messageSource.next(t)}addAll(t){t&&t.length&&this.messageSource.next(t)}clear(t){this.clearSource.next(t||null)}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac})}return t})(),g=(()=>{class t{clickSource=new i.B;parentDragSource=new i.B;clickObservable=this.clickSource.asObservable();parentDragObservable=this.parentDragSource.asObservable();add(t){t&&this.clickSource.next(t)}emitParentDrag(t){this.parentDragSource.next(t)}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),m=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵcmp=r.VBU({type:t,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:l,decls:1,vars:0,template:function(t,e){1&t&&(r.NAR(),r.SdG(0))},encapsulation:2})}return t})(),y=(()=>{class t{template;type;name;constructor(t){this.template=t}getType(){return this.name}static ɵfac=function(e){return new(e||t)(r.rXU(r.C4Q))};static ɵdir=r.FsC({type:t,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return t})(),b=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=r.$C({type:t});static ɵinj=o.G2t({imports:[a.MD]})}return t})(),v=class{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}},2583(t,e,n){n.d(e,{q:()=>l});var r=n(4460),o=n(6817),i=n(6268),s=n(6484),a=n(5724);let l=(()=>{class t extends s.$G{autofocus=!1;focused=!1;platformId=(0,o.WQX)(i.Agw);document=(0,o.WQX)(o.qQL);host=(0,o.WQX)(i.aKT);onAfterContentChecked(){!1===this.autofocus?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}onAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){(0,r.UE)(this.platformId)&&this.autofocus&&setTimeout(()=>{const t=a.DV.getFocusableElements(this.host?.nativeElement);0===t.length&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0})}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵdir=i.FsC({type:t,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[i.Vt3]})}return t})()},8980(t,e,n){n.d(e,{C:()=>c,j:()=>u});var r=n(6817),o=n(5396),i=n(4513),s=n(9798);let a=0,l=(()=>{class t{document=(0,r.WQX)(r.qQL);use(t,e={}){let n=t,r=null;const{immediate:o=!0,manual:i=!1,name:l="style_"+ ++a,id:c,media:u,nonce:d,first:h=!1,props:p={}}=e;if(this.document){if(r=this.document.querySelector(`style[data-primeng-style-id="${l}"]`)||c&&this.document.getElementById(c)||this.document.createElement("style"),r){if(!r.isConnected){n=t;const e=this.document.head;(0,s.Bq)(r,"nonce",d),h&&e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r),(0,s.Wp)(r,{type:"text/css",media:u,nonce:d,"data-primeng-style-id":l})}r.textContent!==n&&(r.textContent=n)}return{id:c,name:l,el:r,css:n}}}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();var c={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}};let u=(()=>{class t{name="base";useStyle=(0,r.WQX)(l);css=void 0;style=void 0;classes={};inlineStyles={};load=(t,e={},n=t=>t)=>{const r=n(o.AH`${(0,i.hd)(t,{dt:o.dt})}`);return r?this.useStyle.use((0,i.uN)(r),{name:this.name,...e}):{}};loadCSS=(t={})=>this.load(this.css,t);loadStyle=(t={},e="")=>this.load(this.style,t,(n="")=>o.Sx.transformCSS(t.name||this.name,`${n}${o.AH`${e}`}`));loadBaseCSS=(t={})=>this.load("\n.p-hidden-accessible {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.p-hidden-accessible input,\n.p-hidden-accessible select {\n transform: scale(0);\n}\n\n.p-overflow-hidden {\n overflow: hidden;\n padding-right: dt('scrollbar.width');\n}\n",t);loadBaseStyle=(t={},e="")=>this.load("\n *,\n ::before,\n ::after {\n box-sizing: border-box;\n }\n\n .p-collapsible-enter-active {\n animation: p-animate-collapsible-expand 0.2s ease-out;\n overflow: hidden;\n }\n\n .p-collapsible-leave-active {\n animation: p-animate-collapsible-collapse 0.2s ease-out;\n overflow: hidden;\n }\n\n @keyframes p-animate-collapsible-expand {\n from {\n grid-template-rows: 0fr;\n }\n to {\n grid-template-rows: 1fr;\n }\n }\n\n @keyframes p-animate-collapsible-collapse {\n from {\n grid-template-rows: 1fr;\n }\n to {\n grid-template-rows: 0fr;\n }\n }\n\n .p-disabled,\n .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-disabled,\n .p-component:disabled {\n opacity: dt('disabled.opacity');\n }\n\n .pi {\n font-size: dt('icon.size');\n }\n\n .p-icon {\n width: dt('icon.size');\n height: dt('icon.size');\n }\n\n .p-overlay-mask {\n background: var(--px-mask-background, dt('mask.background'));\n color: dt('mask.color');\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-overlay-mask-enter-active {\n animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;\n }\n\n .p-overlay-mask-leave-active {\n animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;\n }\n\n @keyframes p-animate-overlay-mask-enter {\n from {\n background: transparent;\n }\n to {\n background: var(--px-mask-background, dt('mask.background'));\n }\n }\n @keyframes p-animate-overlay-mask-leave {\n from {\n background: var(--px-mask-background, dt('mask.background'));\n }\n to {\n background: transparent;\n }\n }\n\n .p-anchored-overlay-enter-active {\n animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);\n }\n\n .p-anchored-overlay-leave-active {\n animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);\n }\n\n @keyframes p-animate-anchored-overlay-enter {\n from {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n\n @keyframes p-animate-anchored-overlay-leave {\n to {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n",t,(n="")=>o.Sx.transformCSS(t.name||this.name,`${n}${o.AH`${e}`}`));getCommonTheme=t=>o.Sx.getCommon(this.name,t);getComponentTheme=t=>o.Sx.getComponent(this.name,t);getPresetTheme=(t,e,n)=>o.Sx.getCustomPreset(this.name,t,e,n);getLayerOrderThemeCSS=()=>o.Sx.getLayerOrderCSS(this.name);getStyleSheet=(t="",e={})=>{if(this.css){const n=(0,i.hd)(this.css,{dt:o.dt}),r=(0,i.uN)(o.AH`${n}${t}`),s=Object.entries(e).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");return`<style type="text/css" data-primeng-style-id="${this.name}" ${s}>${r}</style>`}return""};getCommonThemeStyleSheet=(t,e={})=>o.Sx.getCommonStyleSheet(this.name,t,e);getThemeStyleSheet=(t,e={})=>{let n=[o.Sx.getStyleSheet(this.name,t,e)];if(this.style){const t="base"===this.name?"global-style":`${this.name}-style`,r=o.AH`${(0,i.hd)(this.style,{dt:o.dt})}`,s=(0,i.uN)(o.Sx.transformCSS(t,r)),a=Object.entries(e).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");n.push(`<style type="text/css" data-primeng-style-id="${t}" ${a}>${s}</style>`)}return n.join("")};static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})()},6484(t,e,n){n.d(e,{$G:()=>x,bt:()=>k});var r=n(6817),o=n(4460),i=n(6268),s=n(6860),a=n(5697),l=n(5396),c=n(3896),u=n(4057),d=n(4513),h=Object.defineProperty,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,m=(t,e,n)=>e in t?h(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,y=(t,e)=>{for(var n in e||(e={}))f.call(e,n)&&m(t,n,e[n]);if(p)for(var n of p(e))g.call(e,n)&&m(t,n,e[n]);return t};function b(...t){if(t){let e=[];for(let n=0;n<t.length;n++){let r=t[n];if(!r)continue;let o=typeof r;if("string"===o||"number"===o)e.push(r);else if("object"===o){let t=Array.isArray(r)?[b(...r)]:Object.entries(r).map(([t,e])=>e?t:void 0);e=t.length?e.concat(t.filter(t=>!!t)):e}}return e.join(" ").trim()}}function v(t){return"function"==typeof t&&"call"in t&&"apply"in t}function w(...t){return function({skipUndefined:t=!1},...e){return e?.reduce((e,n={})=>{for(let r in n){let o=n[r];if(!t||void 0!==o)if("style"===r)e.style=y(y({},e.style),n.style);else if("class"===r||"className"===r)e[r]=b(e[r],n[r]);else if(v(o)){let t=e[r];e[r]=t?(...e)=>{t(...e),o(...e)}:o}else e[r]=o}return e},{})}({skipUndefined:!1},...t)}var S=n(8980),C=n(3818);let _=(()=>{class t extends S.j{name="common";static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const k=new r.nKC("PARENT_INSTANCE");let x=(()=>{class t{document=(0,r.WQX)(r.qQL);platformId=(0,r.WQX)(i.Agw);el=(0,r.WQX)(i.aKT);injector=(0,r.WQX)(r.zZn);cd=(0,r.WQX)(s.gRc);renderer=(0,r.WQX)(i.sFG);config=(0,r.WQX)(C.tl);$parentInstance=(0,r.WQX)(k,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=(0,r.WQX)(_);baseStyle=(0,r.WQX)(S.j);scopedStyleEl;parent=this.$params.parent;cn=c.cn;_themeScopedListener;themeChangeListenerMap=new Map;dt=(0,s.hFB)();unstyled=(0,s.hFB)();pt=(0,s.hFB)();ptOptions=(0,s.hFB)();$attrSelector=(0,u.u)("pc");get $name(){return this.componentName||"UnknownComponent"}get $hostName(){return this.hostName}get $el(){return this.el?.nativeElement}directivePT=(0,r.vPA)(void 0);directiveUnstyled=(0,r.vPA)(void 0);$unstyled=(0,a.EW)(()=>this.unstyled()??this.directiveUnstyled()??this.config?.unstyled()??!1);$pt=(0,a.EW)(()=>(0,d.hd)(this.pt()||this.directivePT(),this.$params));get $globalPT(){return this._getPT(this.config?.pt(),void 0,t=>(0,d.hd)(t,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,t=>this._getOptionValue(t,this.$hostName||this.$name,this.$params)||(0,d.hd)(t,this.$params))}get $style(){return{theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0,...(this._getHostInstance(this)||{}).$style,...this._componentStyle}}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){return{instance:this,parent:{instance:this._getHostInstance(this)||this.$parentInstance}}}onInit(){}onChanges(t){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){(0,r.QZP)(t=>{this.document&&!(0,o.Vy)(this.platformId)&&(this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener("_themeScopedListener",this._themeScopedListener)):this._unloadScopedThemeStyles()),t(()=>{this._offThemeChangeListener("_themeScopedListener")})}),(0,r.QZP)(t=>{this.document&&!(0,o.Vy)(this.platformId)&&(this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener("_loadCoreStyles",this._loadCoreStyles))),t(()=>{this._offThemeChangeListener("_loadCoreStyles")})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(t){this.onChanges(t),this._hook("onChanges",t)}ngDoCheck(){this.onDoCheck(),this._hook("onDoCheck")}ngAfterContentInit(){this.onAfterContentInit(),this._hook("onAfterContentInit")}ngAfterContentChecked(){this.onAfterContentChecked(),this._hook("onAfterContentChecked")}ngAfterViewInit(){this.$el?.setAttribute(this.$attrSelector,""),this.onAfterViewInit(),this._hook("onAfterViewInit")}ngAfterViewChecked(){this.onAfterViewChecked(),this._hook("onAfterViewChecked")}ngOnDestroy(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this.onDestroy(),this._hook("onDestroy")}_mergeProps(t,...e){return(0,d.Tn)(t)?t(...e):w(...e)}_getHostInstance(t){return t?this.$hostName?this.$name===this.$hostName?t:this._getHostInstance(t.$parentInstance):t.$parentInstance:void 0}_getPropValue(t){return this[t]||this._getHostInstance(this)?.[t]}_getOptionValue(t,e="",n={}){return(0,d.fm)(t,e,n)}_hook(t,...e){if(!this.$hostName){const n=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${t}`),r=this._useDefaultPT(this._getOptionValue,`hooks.${t}`);n?.(...e),r?.(...e)}}_load(){S.C.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),S.C.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener("_load",()=>this._load())}_loadGlobalStyles(){const t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);(0,d.hj)(t)&&this.baseStyle.load(t,{name:"global",...this.$styleOptions})}_loadCoreStyles(){!S.C.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),S.C.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!this.$unstyled()&&"none"!==this.config?.theme()){if(!l.Sx.isStyleNameLoaded("common")){const{primitive:t,semantic:e,global:n,style:r}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(t?.css,{name:"primitive-variables",...this.$styleOptions}),this.baseStyle.load(e?.css,{name:"semantic-variables",...this.$styleOptions}),this.baseStyle.load(n?.css,{name:"global-variables",...this.$styleOptions}),this.baseStyle.loadBaseStyle({name:"global-style",...this.$styleOptions},r),l.Sx.setLoadedStyleName("common")}if(!l.Sx.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){const{css:t,style:e}=this.$style?.getComponentTheme?.()||{};this.$style?.load(t,{name:`${this.$style?.name}-variables`,...this.$styleOptions}),this.$style?.loadStyle({name:`${this.$style?.name}-style`,...this.$styleOptions},e),l.Sx.setLoadedStyleName(this.$style?.name)}if(!l.Sx.isStyleNameLoaded("layer-order")){const t=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(t,{name:"layer-order",first:!0,...this.$styleOptions}),l.Sx.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(t){const{css:e}=this.$style?.getPresetTheme?.(t,`[${this.$attrSelector}]`)||{},n=this.$style?.load(e,{name:`${this.$attrSelector}-${this.$style?.name}`,...this.$styleOptions});this.scopedStyleEl=n?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(t,e=()=>{}){this._offThemeChangeListener(t),S.C.clearLoadedStyleNames();const n=e.bind(this);this.themeChangeListenerMap.set(t,n),l.Fs.on("theme:change",n)}_removeThemeListeners(){this._offThemeChangeListener("_themeScopedListener"),this._offThemeChangeListener("_loadCoreStyles"),this._offThemeChangeListener("_load")}_offThemeChangeListener(t){this.themeChangeListenerMap.has(t)&&(l.Fs.off("theme:change",this.themeChangeListenerMap.get(t)),this.themeChangeListenerMap.delete(t))}_getPTValue(t={},e="",n={},r=!0){const o=/./g.test(e)&&!!n[e.split(".")[0]],{mergeSections:i=!0,mergeProps:s=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},a=r?o?this._useGlobalPT(this._getPTClassValue,e,n):this._useDefaultPT(this._getPTClassValue,e,n):void 0,l=o?void 0:this._usePT(this._getPT(t,this.$hostName||this.$name),this._getPTClassValue,e,{...n,global:a||{}}),c=this._getPTDatasets(e);return i||!i&&l?s?this._mergeProps(s,a,l,c):{...a,...l,...c}:{...l,...c}}_getPTDatasets(t=""){const e="data-pc-",n="root"===t&&(0,d.hj)(this.$pt()?.["data-pc-section"]);return"transition"!==t&&{..."root"===t&&{[`${e}name`]:(0,d.qd)(n?this.$pt()?.["data-pc-section"]:this.$name),...n&&{[`${e}extend`]:(0,d.qd)(this.$name)},[`${this.$attrSelector}`]:""},[`${e}section`]:(0,d.qd)(t.includes(".")?t.split(".").at(-1)??"":t)}}_getPTClassValue(t,e,n){const r=this._getOptionValue(t,e,n);return(0,d.Kg)(r)||(0,d.cy)(r)?{class:r}:r}_getPT(t,e="",n){const r=(t,r=!1)=>{const o=n?n(t):t,i=(0,d.qd)(e),s=(0,d.qd)(this.$hostName||this.$name);return(r?i!==s?o?.[i]:void 0:o?.[i])??o};return t?.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:r(t.originalValue),value:r(t.value)}:r(t,!0)}_usePT(t,e,n,r){const o=t=>e?.call(this,t,n,r);if(t?.hasOwnProperty("_usept")){const{mergeSections:e=!0,mergeProps:n=!1}=t._usept||this.config?.ptOptions()||{},r=o(t.originalValue),i=o(t.value);return void 0===r&&void 0===i?void 0:(0,d.Kg)(i)?i:(0,d.Kg)(r)?r:e||!e&&i?n?this._mergeProps(n,r,i):{...r,...i}:i}return o(t)}_useGlobalPT(t,e,n){return this._usePT(this.$globalPT,t,e,n)}_useDefaultPT(t,e,n){return this._usePT(this.$defaultPT,t,e,n)}ptm(t="",e={}){return this._getPTValue(this.$pt(),t,{...this.$params,...e})}ptms(t,e={}){return t.reduce((t,n)=>w(t,this.ptm(n,e))||{},{})}ptmo(t={},e="",n={}){return this._getPTValue(t,e,{instance:this,...n},!1)}cx(t,e={}){return this.$unstyled()?void 0:(0,c.cn)(this._getOptionValue(this.$style.classes,t,{...this.$params,...e}))}sx(t="",e=!0,n={}){if(e){const e=this._getOptionValue(this.$style.inlineStyles,t,{...this.$params,...n});return{...this._getOptionValue(this.baseComponentStyle.inlineStyles,t,{...this.$params,...n}),...e}}}static ɵfac=function(e){return new(e||t)};static ɵdir=i.FsC({type:t,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[i.Jv_([_,S.j]),i.OA$]})}return t})()},7277(t,e,n){n.d(e,{C:()=>u,Y:()=>c});var r=n(6268),o=n(6817),i=n(6860),s=n(5697),a=n(3896),l=n(4513);let c=(()=>{class t{el;renderer;pBind=(0,i.hFB)(void 0);_attrs=(0,o.vPA)(void 0);attrs=(0,s.EW)(()=>this._attrs()||this.pBind());styles=(0,s.EW)(()=>this.attrs()?.style);classes=(0,s.EW)(()=>(0,a.cn)(this.attrs()?.class));listeners=[];constructor(t,e){this.el=t,this.renderer=e,(0,o.QZP)(()=>{const{style:t,class:e,...n}=this.attrs()||{};for(const[t,e]of Object.entries(n))if(t.startsWith("on")&&"function"==typeof e){const n=t.slice(2).toLowerCase();if(!this.listeners.some(t=>t.eventName===n)){const t=this.renderer.listen(this.el.nativeElement,n,e);this.listeners.push({eventName:n,unlisten:t})}}else null==e?this.renderer.removeAttribute(this.el.nativeElement,t):(this.renderer.setAttribute(this.el.nativeElement,t,e.toString()),t in this.el.nativeElement&&(this.el.nativeElement[t]=e))})}ngOnDestroy(){this.clearListeners()}setAttrs(t){(0,l.aI)(this._attrs(),t)||this._attrs.set(t)}clearListeners(){this.listeners.forEach(({unlisten:t})=>t()),this.listeners=[]}static ɵfac=function(e){return new(e||t)(r.rXU(r.aKT),r.rXU(r.sFG))};static ɵdir=r.FsC({type:t,selectors:[["","pBind",""]],hostVars:4,hostBindings:function(t,e){2&t&&(r.Aen(e.styles()),r.HbH(e.classes()))},inputs:{pBind:[1,"pBind"]}})}return t})(),u=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=r.$C({type:t});static ɵinj=o.G2t({})}return t})()},731(t,e,n){n.d(e,{$n:()=>K,_f:()=>Y,tm:()=>J});var r=n(6868),o=n(4460),i=n(6268),s=n(6817),a=n(6860),l=n(5697),c=n(9798),u=n(4513),d=n(3828),h=n(2583),p=n(6484),f=n(7277),g=n(8980);const m={root:({instance:t})=>{const e="function"==typeof t.value?t.value():t.value,n="function"==typeof t.size?t.size():t.size,r="function"==typeof t.badgeSize?t.badgeSize():t.badgeSize,o="function"==typeof t.severity?t.severity():t.severity;return["p-badge p-component",{"p-badge-circle":(0,u.hj)(e)&&1===String(e).length,"p-badge-dot":(0,u.Im)(e),"p-badge-sm":"small"===n||"small"===r,"p-badge-lg":"large"===n||"large"===r,"p-badge-xl":"xlarge"===n||"xlarge"===r,"p-badge-info":"info"===o,"p-badge-success":"success"===o,"p-badge-warn":"warn"===o,"p-badge-danger":"danger"===o,"p-badge-secondary":"secondary"===o,"p-badge-contrast":"contrast"===o}]}};let y=(()=>{class t extends g.j{name="badge";style="\n \n .p-badge {\n display: inline-flex;\n border-radius: dt('badge.border.radius');\n align-items: center;\n justify-content: center;\n padding: dt('badge.padding');\n background: dt('badge.primary.background');\n color: dt('badge.primary.color');\n font-size: dt('badge.font.size');\n font-weight: dt('badge.font.weight');\n min-width: dt('badge.min.width');\n height: dt('badge.height');\n }\n\n .p-badge-dot {\n width: dt('badge.dot.size');\n min-width: dt('badge.dot.size');\n height: dt('badge.dot.size');\n border-radius: 50%;\n padding: 0;\n }\n\n .p-badge-circle {\n padding: 0;\n border-radius: 50%;\n }\n\n .p-badge-secondary {\n background: dt('badge.secondary.background');\n color: dt('badge.secondary.color');\n }\n\n .p-badge-success {\n background: dt('badge.success.background');\n color: dt('badge.success.color');\n }\n\n .p-badge-info {\n background: dt('badge.info.background');\n color: dt('badge.info.color');\n }\n\n .p-badge-warn {\n background: dt('badge.warn.background');\n color: dt('badge.warn.color');\n }\n\n .p-badge-danger {\n background: dt('badge.danger.background');\n color: dt('badge.danger.color');\n }\n\n .p-badge-contrast {\n background: dt('badge.contrast.background');\n color: dt('badge.contrast.color');\n }\n\n .p-badge-sm {\n font-size: dt('badge.sm.font.size');\n min-width: dt('badge.sm.min.width');\n height: dt('badge.sm.height');\n }\n\n .p-badge-lg {\n font-size: dt('badge.lg.font.size');\n min-width: dt('badge.lg.min.width');\n height: dt('badge.lg.height');\n }\n\n .p-badge-xl {\n font-size: dt('badge.xl.font.size');\n min-width: dt('badge.xl.min.width');\n height: dt('badge.xl.height');\n }\n\n\n /* For PrimeNG (directive)*/\n .p-overlay-badge {\n position: relative;\n }\n\n .p-overlay-badge > .p-badge {\n position: absolute;\n top: 0;\n inset-inline-end: 0;\n transform: translate(50%, -50%);\n transform-origin: 100% 0;\n margin: 0;\n }\n";classes=m;static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵprov=s.jDH({token:t,factory:t.ɵfac})}return t})();const b=new s.nKC("BADGE_INSTANCE");let v=(()=>{class t extends p.$G{componentName="Badge";$pcBadge=(0,s.WQX)(b,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(f.Y,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=(0,a.hFB)();badgeSize=(0,a.hFB)();size=(0,a.hFB)();severity=(0,a.hFB)();value=(0,a.hFB)();badgeDisabled=(0,a.hFB)(!1,{transform:a.L39});_componentStyle=(0,s.WQX)(y);get dataP(){return this.cn({circle:null!=this.value()&&1===String(this.value()).length,empty:null==this.value(),disabled:this.badgeDisabled(),[this.severity()]:this.severity(),[this.size()]:this.size()})}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵcmp=i.VBU({type:t,selectors:[["p-badge"]],hostVars:5,hostBindings:function(t,e){2&t&&(i.BMQ("data-p",e.dataP),i.HbH(e.cn(e.cx("root"),e.styleClass())),i.xc7("display",e.badgeDisabled()?"none":null))},inputs:{styleClass:[1,"styleClass"],badgeSize:[1,"badgeSize"],size:[1,"size"],severity:[1,"severity"],value:[1,"value"],badgeDisabled:[1,"badgeDisabled"]},features:[i.Jv_([y,{provide:b,useExisting:t},{provide:p.bt,useExisting:t}]),i.nM4([f.Y]),i.Vt3],decls:1,vars:1,template:function(t,e){1&t&&i.EFF(0),2&t&&i.JRh(e.value())},dependencies:[r.MD,d.Gg,f.C],encapsulation:2,changeDetection:0})}return t})(),w=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=i.$C({type:t});static ɵinj=s.G2t({imports:[v,d.Gg,d.Gg]})}return t})();var S=n(7144),C=n(5774),_=n(1284);const k=["content"],x=["loadingicon"],T=["icon"],E=["*"],A=(t,e)=>({class:t,pt:e});function I(t,e){1&t&&i.eu8(0)}function O(t,e){if(1&t&&i.nrm(0,"span",7),2&t){const t=i.XpG(3);i.HbH(t.cn(t.cx("loadingIcon"),"pi-spin",t.loadingIcon||(null==t.buttonProps?null:t.buttonProps.loadingIcon))),i.Y8G("pBind",t.ptm("loadingIcon")),i.BMQ("aria-hidden",!0)}}function L(t,e){if(1&t&&(s.qSk(),i.nrm(0,"svg",8)),2&t){const t=i.XpG(3);i.HbH(t.cn(t.cx("loadingIcon"),t.cx("spinnerIcon"))),i.Y8G("pBind",t.ptm("loadingIcon"))("spin",!0),i.BMQ("aria-hidden",!0)}}function D(t,e){if(1&t&&(i.qex(0),i.DNE(1,O,1,4,"span",3)(2,L,1,5,"svg",6),i.bVm()),2&t){const t=i.XpG(2);i.R7$(),i.Y8G("ngIf",t.loadingIcon||(null==t.buttonProps?null:t.buttonProps.loadingIcon)),i.R7$(),i.Y8G("ngIf",!(t.loadingIcon||null!=t.buttonProps&&t.buttonProps.loadingIcon))}}function P(t,e){}function R(t,e){if(1&t&&i.DNE(0,P,0,0,"ng-template",9),2&t){const t=i.XpG(2);i.Y8G("ngIf",t.loadingIconTemplate||t._loadingIconTemplate)}}function N(t,e){if(1&t&&(i.qex(0),i.DNE(1,D,3,2,"ng-container",2)(2,R,1,1,null,5),i.bVm()),2&t){const t=i.XpG();i.R7$(),i.Y8G("ngIf",!t.loadingIconTemplate&&!t._loadingIconTemplate),i.R7$(),i.Y8G("ngTemplateOutlet",t.loadingIconTemplate||t._loadingIconTemplate)("ngTemplateOutletContext",i.l_i(3,A,t.cx("loadingIcon"),t.ptm("loadingIcon")))}}function M(t,e){if(1&t&&i.nrm(0,"span",7),2&t){const t=i.XpG(2);i.HbH(t.cn(t.cx("icon"),t.icon||(null==t.buttonProps?null:t.buttonProps.icon))),i.Y8G("pBind",t.ptm("icon")),i.BMQ("data-p",t.dataIconP)}}function j(t,e){}function F(t,e){if(1&t&&i.DNE(0,j,0,0,"ng-template",9),2&t){const t=i.XpG(2);i.Y8G("ngIf",!t.icon&&(t.iconTemplate||t._iconTemplate))}}function $(t,e){if(1&t&&(i.qex(0),i.DNE(1,M,1,4,"span",3)(2,F,1,1,null,5),i.bVm()),2&t){const t=i.XpG();i.R7$(),i.Y8G("ngIf",(t.icon||(null==t.buttonProps?null:t.buttonProps.icon))&&!t.iconTemplate&&!t._iconTemplate),i.R7$(),i.Y8G("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)("ngTemplateOutletContext",i.l_i(3,A,t.cx("icon"),t.ptm("icon")))}}function z(t,e){if(1&t&&(i.j41(0,"span",7),i.EFF(1),i.k0s()),2&t){const t=i.XpG();i.HbH(t.cx("label")),i.Y8G("pBind",t.ptm("label")),i.BMQ("aria-hidden",(t.icon||(null==t.buttonProps?null:t.buttonProps.icon))&&!(t.label||null!=t.buttonProps&&t.buttonProps.label))("data-p",t.dataLabelP),i.R7$(),i.JRh(t.label||(null==t.buttonProps?null:t.buttonProps.label))}}function H(t,e){if(1&t&&i.nrm(0,"p-badge",10),2&t){const t=i.XpG();i.Y8G("value",t.badge||(null==t.buttonProps?null:t.buttonProps.badge))("severity",t.badgeSeverity||(null==t.buttonProps?null:t.buttonProps.badgeSeverity))("pt",t.ptm("pcBadge"))("unstyled",t.unstyled())}}const B={root:({instance:t})=>["p-button p-component",{"p-button-icon-only":t.hasIcon&&!t.label&&!t.buttonProps?.label&&!t.badge,"p-button-vertical":("top"===t.iconPos||"bottom"===t.iconPos)&&t.label,"p-button-loading":t.loading||t.buttonProps?.loading,"p-button-link":t.link||t.buttonProps?.link,[`p-button-${t.severity||t.buttonProps?.severity}`]:t.severity||t.buttonProps?.severity,"p-button-raised":t.raised||t.buttonProps?.raised,"p-button-rounded":t.rounded||t.buttonProps?.rounded,"p-button-text":t.text||"text"===t.variant||t.buttonProps?.text||"text"===t.buttonProps?.variant,"p-button-outlined":t.outlined||"outlined"===t.variant||t.buttonProps?.outlined||"outlined"===t.buttonProps?.variant,"p-button-sm":"small"===t.size||"small"===t.buttonProps?.size,"p-button-lg":"large"===t.size||"large"===t.buttonProps?.size,"p-button-plain":t.plain||t.buttonProps?.plain,"p-button-fluid":t.hasFluid}],loadingIcon:"p-button-loading-icon",icon:({instance:t})=>["p-button-icon",{[`p-button-icon-${t.iconPos||t.buttonProps?.iconPos}`]:t.label||t.buttonProps?.label,"p-button-icon-left":("left"===t.iconPos||"left"===t.buttonProps?.iconPos)&&t.label||t.buttonProps?.label,"p-button-icon-right":("right"===t.iconPos||"right"===t.buttonProps?.iconPos)&&t.label||t.buttonProps?.label,"p-button-icon-top":("top"===t.iconPos||"top"===t.buttonProps?.iconPos)&&t.label||t.buttonProps?.label,"p-button-icon-bottom":("bottom"===t.iconPos||"bottom"===t.buttonProps?.iconPos)&&t.label||t.buttonProps?.label},t.icon,t.buttonProps?.icon],spinnerIcon:({instance:t})=>Object.entries(t.cx("icon")).filter(([,t])=>!!t).reduce((t,[e])=>t+` ${e}`,"p-button-loading-icon"),label:"p-button-label"};let V=(()=>{class t extends g.j{name="button";style="\n .p-button {\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n color: dt('button.primary.color');\n background: dt('button.primary.background');\n border: 1px solid dt('button.primary.border.color');\n padding: dt('button.padding.y') dt('button.padding.x');\n font-size: 1rem;\n font-family: inherit;\n font-feature-settings: inherit;\n transition:\n background dt('button.transition.duration'),\n color dt('button.transition.duration'),\n border-color dt('button.transition.duration'),\n outline-color dt('button.transition.duration'),\n box-shadow dt('button.transition.duration');\n border-radius: dt('button.border.radius');\n outline-color: transparent;\n gap: dt('button.gap');\n }\n\n .p-button:disabled {\n cursor: default;\n }\n\n .p-button-icon-right {\n order: 1;\n }\n\n .p-button-icon-right:dir(rtl) {\n order: -1;\n }\n\n .p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {\n order: 1;\n }\n\n .p-button-icon-bottom {\n order: 2;\n }\n\n .p-button-icon-only {\n width: dt('button.icon.only.width');\n padding-inline-start: 0;\n padding-inline-end: 0;\n gap: 0;\n }\n\n .p-button-icon-only.p-button-rounded {\n border-radius: 50%;\n height: dt('button.icon.only.width');\n }\n\n .p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n }\n\n .p-button-icon-only::after {\n content: \" \";\n visibility: hidden;\n width: 0;\n }\n\n .p-button-sm {\n font-size: dt('button.sm.font.size');\n padding: dt('button.sm.padding.y') dt('button.sm.padding.x');\n }\n\n .p-button-sm .p-button-icon {\n font-size: dt('button.sm.font.size');\n }\n\n .p-button-sm.p-button-icon-only {\n width: dt('button.sm.icon.only.width');\n }\n\n .p-button-sm.p-button-icon-only.p-button-rounded {\n height: dt('button.sm.icon.only.width');\n }\n\n .p-button-lg {\n font-size: dt('button.lg.font.size');\n padding: dt('button.lg.padding.y') dt('button.lg.padding.x');\n }\n\n .p-button-lg .p-button-icon {\n font-size: dt('button.lg.font.size');\n }\n\n .p-button-lg.p-button-icon-only {\n width: dt('button.lg.icon.only.width');\n }\n\n .p-button-lg.p-button-icon-only.p-button-rounded {\n height: dt('button.lg.icon.only.width');\n }\n\n .p-button-vertical {\n flex-direction: column;\n }\n\n .p-button-label {\n font-weight: dt('button.label.font.weight');\n }\n\n .p-button-fluid {\n width: 100%;\n }\n\n .p-button-fluid.p-button-icon-only {\n width: dt('button.icon.only.width');\n }\n\n .p-button:not(:disabled):hover {\n background: dt('button.primary.hover.background');\n border: 1px solid dt('button.primary.hover.border.color');\n color: dt('button.primary.hover.color');\n }\n\n .p-button:not(:disabled):active {\n background: dt('button.primary.active.background');\n border: 1px solid dt('button.primary.active.border.color');\n color: dt('button.primary.active.color');\n }\n\n .p-button:focus-visible {\n box-shadow: dt('button.primary.focus.ring.shadow');\n outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');\n outline-offset: dt('button.focus.ring.offset');\n }\n\n .p-button .p-badge {\n min-width: dt('button.badge.size');\n height: dt('button.badge.size');\n line-height: dt('button.badge.size');\n }\n\n .p-button-raised {\n box-shadow: dt('button.raised.shadow');\n }\n\n .p-button-rounded {\n border-radius: dt('button.rounded.border.radius');\n }\n\n .p-button-secondary {\n background: dt('button.secondary.background');\n border: 1px solid dt('button.secondary.border.color');\n color: dt('button.secondary.color');\n }\n\n .p-button-secondary:not(:disabled):hover {\n background: dt('button.secondary.hover.background');\n border: 1px solid dt('button.secondary.hover.border.color');\n color: dt('button.secondary.hover.color');\n }\n\n .p-button-secondary:not(:disabled):active {\n background: dt('button.secondary.active.background');\n border: 1px solid dt('button.secondary.active.border.color');\n color: dt('button.secondary.active.color');\n }\n\n .p-button-secondary:focus-visible {\n outline-color: dt('button.secondary.focus.ring.color');\n box-shadow: dt('button.secondary.focus.ring.shadow');\n }\n\n .p-button-success {\n background: dt('button.success.background');\n border: 1px solid dt('button.success.border.color');\n color: dt('button.success.color');\n }\n\n .p-button-success:not(:disabled):hover {\n background: dt('button.success.hover.background');\n border: 1px solid dt('button.success.hover.border.color');\n color: dt('button.success.hover.color');\n }\n\n .p-button-success:not(:disabled):active {\n background: dt('button.success.active.background');\n border: 1px solid dt('button.success.active.border.color');\n color: dt('button.success.active.color');\n }\n\n .p-button-success:focus-visible {\n outline-color: dt('button.success.focus.ring.color');\n box-shadow: dt('button.success.focus.ring.shadow');\n }\n\n .p-button-info {\n background: dt('button.info.background');\n border: 1px solid dt('button.info.border.color');\n color: dt('button.info.color');\n }\n\n .p-button-info:not(:disabled):hover {\n background: dt('button.info.hover.background');\n border: 1px solid dt('button.info.hover.border.color');\n color: dt('button.info.hover.color');\n }\n\n .p-button-info:not(:disabled):active {\n background: dt('button.info.active.background');\n border: 1px solid dt('button.info.active.border.color');\n color: dt('button.info.active.color');\n }\n\n .p-button-info:focus-visible {\n outline-color: dt('button.info.focus.ring.color');\n box-shadow: dt('button.info.focus.ring.shadow');\n }\n\n .p-button-warn {\n background: dt('button.warn.background');\n border: 1px solid dt('button.warn.border.color');\n color: dt('button.warn.color');\n }\n\n .p-button-warn:not(:disabled):hover {\n background: dt('button.warn.hover.background');\n border: 1px solid dt('button.warn.hover.border.color');\n color: dt('button.warn.hover.color');\n }\n\n .p-button-warn:not(:disabled):active {\n background: dt('button.warn.active.background');\n border: 1px solid dt('button.warn.active.border.color');\n color: dt('button.warn.active.color');\n }\n\n .p-button-warn:focus-visible {\n outline-color: dt('button.warn.focus.ring.color');\n box-shadow: dt('button.warn.focus.ring.shadow');\n }\n\n .p-button-help {\n background: dt('button.help.background');\n border: 1px solid dt('button.help.border.color');\n color: dt('button.help.color');\n }\n\n .p-button-help:not(:disabled):hover {\n background: dt('button.help.hover.background');\n border: 1px solid dt('button.help.hover.border.color');\n color: dt('button.help.hover.color');\n }\n\n .p-button-help:not(:disabled):active {\n background: dt('button.help.active.background');\n border: 1px solid dt('button.help.active.border.color');\n color: dt('button.help.active.color');\n }\n\n .p-button-help:focus-visible {\n outline-color: dt('button.help.focus.ring.color');\n box-shadow: dt('button.help.focus.ring.shadow');\n }\n\n .p-button-danger {\n background: dt('button.danger.background');\n border: 1px solid dt('button.danger.border.color');\n color: dt('button.danger.color');\n }\n\n .p-button-danger:not(:disabled):hover {\n background: dt('button.danger.hover.background');\n border: 1px solid dt('button.danger.hover.border.color');\n color: dt('button.danger.hover.color');\n }\n\n .p-button-danger:not(:disabled):active {\n background: dt('button.danger.active.background');\n border: 1px solid dt('button.danger.active.border.color');\n color: dt('button.danger.active.color');\n }\n\n .p-button-danger:focus-visible {\n outline-color: dt('button.danger.focus.ring.color');\n box-shadow: dt('button.danger.focus.ring.shadow');\n }\n\n .p-button-contrast {\n background: dt('button.contrast.background');\n border: 1px solid dt('button.contrast.border.color');\n color: dt('button.contrast.color');\n }\n\n .p-button-contrast:not(:disabled):hover {\n background: dt('button.contrast.hover.background');\n border: 1px solid dt('button.contrast.hover.border.color');\n color: dt('button.contrast.hover.color');\n }\n\n .p-button-contrast:not(:disabled):active {\n background: dt('button.contrast.active.background');\n border: 1px solid dt('button.contrast.active.border.color');\n color: dt('button.contrast.active.color');\n }\n\n .p-button-contrast:focus-visible {\n outline-color: dt('button.contrast.focus.ring.color');\n box-shadow: dt('button.contrast.focus.ring.shadow');\n }\n\n .p-button-outlined {\n background: transparent;\n border-color: dt('button.outlined.primary.border.color');\n color: dt('button.outlined.primary.color');\n }\n\n .p-button-outlined:not(:disabled):hover {\n background: dt('button.outlined.primary.hover.background');\n border-color: dt('button.outlined.primary.border.color');\n color: dt('button.outlined.primary.color');\n }\n\n .p-button-outlined:not(:disabled):active {\n background: dt('button.outlined.primary.active.background');\n border-color: dt('button.outlined.primary.border.color');\n color: dt('button.outlined.primary.color');\n }\n\n .p-button-outlined.p-button-secondary {\n border-color: dt('button.outlined.secondary.border.color');\n color: dt('button.outlined.secondary.color');\n }\n\n .p-button-outlined.p-button-secondary:not(:disabled):hover {\n background: dt('button.outlined.secondary.hover.background');\n border-color: dt('button.outlined.secondary.border.color');\n color: dt('button.outlined.secondary.color');\n }\n\n .p-button-outlined.p-button-secondary:not(:disabled):active {\n background: dt('button.outlined.secondary.active.background');\n border-color: dt('button.outlined.secondary.border.color');\n color: dt('button.outlined.secondary.color');\n }\n\n .p-button-outlined.p-button-success {\n border-color: dt('button.outlined.success.border.color');\n color: dt('button.outlined.success.color');\n }\n\n .p-button-outlined.p-button-success:not(:disabled):hover {\n background: dt('button.outlined.success.hover.background');\n border-color: dt('button.outlined.success.border.color');\n color: dt('button.outlined.success.color');\n }\n\n .p-button-outlined.p-button-success:not(:disabled):active {\n background: dt('button.outlined.success.active.background');\n border-color: dt('button.outlined.success.border.color');\n color: dt('button.outlined.success.color');\n }\n\n .p-button-outlined.p-button-info {\n border-color: dt('button.outlined.info.border.color');\n color: dt('button.outlined.info.color');\n }\n\n .p-button-outlined.p-button-info:not(:disabled):hover {\n background: dt('button.outlined.info.hover.background');\n border-color: dt('button.outlined.info.border.color');\n color: dt('button.outlined.info.color');\n }\n\n .p-button-outlined.p-button-info:not(:disabled):active {\n background: dt('button.outlined.info.active.background');\n border-color: dt('button.outlined.info.border.color');\n color: dt('button.outlined.info.color');\n }\n\n .p-button-outlined.p-button-warn {\n border-color: dt('button.outlined.warn.border.color');\n color: dt('button.outlined.warn.color');\n }\n\n .p-button-outlined.p-button-warn:not(:disabled):hover {\n background: dt('button.outlined.warn.hover.background');\n border-color: dt('button.outlined.warn.border.color');\n color: dt('button.outlined.warn.color');\n }\n\n .p-button-outlined.p-button-warn:not(:disabled):active {\n background: dt('button.outlined.warn.active.background');\n border-color: dt('button.outlined.warn.border.color');\n color: dt('button.outlined.warn.color');\n }\n\n .p-button-outlined.p-button-help {\n border-color: dt('button.outlined.help.border.color');\n color: dt('button.outlined.help.color');\n }\n\n .p-button-outlined.p-button-help:not(:disabled):hover {\n background: dt('button.outlined.help.hover.background');\n border-color: dt('button.outlined.help.border.color');\n color: dt('button.outlined.help.color');\n }\n\n .p-button-outlined.p-button-help:not(:disabled):active {\n background: dt('button.outlined.help.active.background');\n border-color: dt('button.outlined.help.border.color');\n color: dt('button.outlined.help.color');\n }\n\n .p-button-outlined.p-button-danger {\n border-color: dt('button.outlined.danger.border.color');\n color: dt('button.outlined.danger.color');\n }\n\n .p-button-outlined.p-button-danger:not(:disabled):hover {\n background: dt('button.outlined.danger.hover.background');\n border-color: dt('button.outlined.danger.border.color');\n color: dt('button.outlined.danger.color');\n }\n\n .p-button-outlined.p-button-danger:not(:disabled):active {\n background: dt('button.outlined.danger.active.background');\n border-color: dt('button.outlined.danger.border.color');\n color: dt('button.outlined.danger.color');\n }\n\n .p-button-outlined.p-button-contrast {\n border-color: dt('button.outlined.contrast.border.color');\n color: dt('button.outlined.contrast.color');\n }\n\n .p-button-outlined.p-button-contrast:not(:disabled):hover {\n background: dt('button.outlined.contrast.hover.background');\n border-color: dt('button.outlined.contrast.border.color');\n color: dt('button.outlined.contrast.color');\n }\n\n .p-button-outlined.p-button-contrast:not(:disabled):active {\n background: dt('button.outlined.contrast.active.background');\n border-color: dt('button.outlined.contrast.border.color');\n color: dt('button.outlined.contrast.color');\n }\n\n .p-button-outlined.p-button-plain {\n border-color: dt('button.outlined.plain.border.color');\n color: dt('button.outlined.plain.color');\n }\n\n .p-button-outlined.p-button-plain:not(:disabled):hover {\n background: dt('button.outlined.plain.hover.background');\n border-color: dt('button.outlined.plain.border.color');\n color: dt('button.outlined.plain.color');\n }\n\n .p-button-outlined.p-button-plain:not(:disabled):active {\n background: dt('button.outlined.plain.active.background');\n border-color: dt('button.outlined.plain.border.color');\n color: dt('button.outlined.plain.color');\n }\n\n .p-button-text {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.primary.color');\n }\n\n .p-button-text:not(:disabled):hover {\n background: dt('button.text.primary.hover.background');\n border-color: transparent;\n color: dt('button.text.primary.color');\n }\n\n .p-button-text:not(:disabled):active {\n background: dt('button.text.primary.active.background');\n border-color: transparent;\n color: dt('button.text.primary.color');\n }\n\n .p-button-text.p-button-secondary {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.secondary.color');\n }\n\n .p-button-text.p-button-secondary:not(:disabled):hover {\n background: dt('button.text.secondary.hover.background');\n border-color: transparent;\n color: dt('button.text.secondary.color');\n }\n\n .p-button-text.p-button-secondary:not(:disabled):active {\n background: dt('button.text.secondary.active.background');\n border-color: transparent;\n color: dt('button.text.secondary.color');\n }\n\n .p-button-text.p-button-success {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.success.color');\n }\n\n .p-button-text.p-button-success:not(:disabled):hover {\n background: dt('button.text.success.hover.background');\n border-color: transparent;\n color: dt('button.text.success.color');\n }\n\n .p-button-text.p-button-success:not(:disabled):active {\n background: dt('button.text.success.active.background');\n border-color: transparent;\n color: dt('button.text.success.color');\n }\n\n .p-button-text.p-button-info {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.info.color');\n }\n\n .p-button-text.p-button-info:not(:disabled):hover {\n background: dt('button.text.info.hover.background');\n border-color: transparent;\n color: dt('button.text.info.color');\n }\n\n .p-button-text.p-button-info:not(:disabled):active {\n background: dt('button.text.info.active.background');\n border-color: transparent;\n color: dt('button.text.info.color');\n }\n\n .p-button-text.p-button-warn {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.warn.color');\n }\n\n .p-button-text.p-button-warn:not(:disabled):hover {\n background: dt('button.text.warn.hover.background');\n border-color: transparent;\n color: dt('button.text.warn.color');\n }\n\n .p-button-text.p-button-warn:not(:disabled):active {\n background: dt('button.text.warn.active.background');\n border-color: transparent;\n color: dt('button.text.warn.color');\n }\n\n .p-button-text.p-button-help {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.help.color');\n }\n\n .p-button-text.p-button-help:not(:disabled):hover {\n background: dt('button.text.help.hover.background');\n border-color: transparent;\n color: dt('button.text.help.color');\n }\n\n .p-button-text.p-button-help:not(:disabled):active {\n background: dt('button.text.help.active.background');\n border-color: transparent;\n color: dt('button.text.help.color');\n }\n\n .p-button-text.p-button-danger {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.danger.color');\n }\n\n .p-button-text.p-button-danger:not(:disabled):hover {\n background: dt('button.text.danger.hover.background');\n border-color: transparent;\n color: dt('button.text.danger.color');\n }\n\n .p-button-text.p-button-danger:not(:disabled):active {\n background: dt('button.text.danger.active.background');\n border-color: transparent;\n color: dt('button.text.danger.color');\n }\n\n .p-button-text.p-button-contrast {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.contrast.color');\n }\n\n .p-button-text.p-button-contrast:not(:disabled):hover {\n background: dt('button.text.contrast.hover.background');\n border-color: transparent;\n color: dt('button.text.contrast.color');\n }\n\n .p-button-text.p-button-contrast:not(:disabled):active {\n background: dt('button.text.contrast.active.background');\n border-color: transparent;\n color: dt('button.text.contrast.color');\n }\n\n .p-button-text.p-button-plain {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.plain.color');\n }\n\n .p-button-text.p-button-plain:not(:disabled):hover {\n background: dt('button.text.plain.hover.background');\n border-color: transparent;\n color: dt('button.text.plain.color');\n }\n\n .p-button-text.p-button-plain:not(:disabled):active {\n background: dt('button.text.plain.active.background');\n border-color: transparent;\n color: dt('button.text.plain.color');\n }\n\n .p-button-link {\n background: transparent;\n border-color: transparent;\n color: dt('button.link.color');\n }\n\n .p-button-link:not(:disabled):hover {\n background: transparent;\n border-color: transparent;\n color: dt('button.link.hover.color');\n }\n\n .p-button-link:not(:disabled):hover .p-button-label {\n text-decoration: underline;\n }\n\n .p-button-link:not(:disabled):active {\n background: transparent;\n border-color: transparent;\n color: dt('button.link.active.color');\n }\n";classes=B;static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵprov=s.jDH({token:t,factory:t.ɵfac})}return t})();const U=new s.nKC("BUTTON_INSTANCE"),W=new s.nKC("BUTTON_DIRECTIVE_INSTANCE"),G=new s.nKC("BUTTON_LABEL_INSTANCE"),q=new s.nKC("BUTTON_ICON_INSTANCE"),Q={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"};let Z=(()=>{class t extends p.$G{componentName="ButtonLabel";ptButtonLabel=(0,a.hFB)();pButtonLabelPT=(0,a.hFB)();pButtonLabelUnstyled=(0,a.hFB)();$pcButtonLabel=(0,s.WQX)(G,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(f.Y,{self:!0});constructor(){super(),(0,s.QZP)(()=>{const t=this.ptButtonLabel()||this.pButtonLabelPT();t&&this.directivePT.set(t)}),(0,s.QZP)(()=>{this.pButtonLabelUnstyled()&&this.directiveUnstyled.set(this.pButtonLabelUnstyled())})}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}static ɵfac=function(e){return new(e||t)};static ɵdir=i.FsC({type:t,selectors:[["","pButtonLabel",""]],hostVars:2,hostBindings:function(t,e){2&t&&i.AVh("p-button-label",!e.$unstyled()&&!0)},inputs:{ptButtonLabel:[1,"ptButtonLabel"],pButtonLabelPT:[1,"pButtonLabelPT"],pButtonLabelUnstyled:[1,"pButtonLabelUnstyled"]},features:[i.Jv_([V,{provide:G,useExisting:t},{provide:p.bt,useExisting:t}]),i.nM4([f.Y]),i.Vt3]})}return t})(),X=(()=>{class t extends p.$G{componentName="ButtonIcon";ptButtonIcon=(0,a.hFB)();pButtonIconPT=(0,a.hFB)();pButtonUnstyled=(0,a.hFB)();$pcButtonIcon=(0,s.WQX)(q,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(f.Y,{self:!0});constructor(){super(),(0,s.QZP)(()=>{const t=this.ptButtonIcon()||this.pButtonIconPT();t&&this.directivePT.set(t)}),(0,s.QZP)(()=>{this.pButtonUnstyled()&&this.directiveUnstyled.set(this.pButtonUnstyled())})}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}static ɵfac=function(e){return new(e||t)};static ɵdir=i.FsC({type:t,selectors:[["","pButtonIcon",""]],hostVars:2,hostBindings:function(t,e){2&t&&i.AVh("p-button-icon",!e.$unstyled()&&!0)},inputs:{ptButtonIcon:[1,"ptButtonIcon"],pButtonIconPT:[1,"pButtonIconPT"],pButtonUnstyled:[1,"pButtonUnstyled"]},features:[i.Jv_([V,{provide:q,useExisting:t},{provide:p.bt,useExisting:t}]),i.nM4([f.Y]),i.Vt3]})}return t})(),Y=(()=>{class t extends p.$G{componentName="Button";$pcButtonDirective=(0,s.WQX)(W,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(f.Y,{self:!0});_componentStyle=(0,s.WQX)(V);ptButtonDirective=(0,a.hFB)();pButtonPT=(0,a.hFB)();pButtonUnstyled=(0,a.hFB)();hostName="";onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("root"))}constructor(){super(),(0,s.QZP)(()=>{const t=this.ptButtonDirective()||this.pButtonPT();t&&this.directivePT.set(t)}),(0,s.QZP)(()=>{this.pButtonUnstyled()&&this.directiveUnstyled.set(this.pButtonUnstyled())}),(0,s.QZP)(()=>{const t=this.$unstyled();this.initialized&&t&&this.setStyleClass()})}text=!1;plain=!1;raised=!1;size;outlined=!1;rounded=!1;iconPos="left";loadingIcon;fluid=(0,a.hFB)(void 0,{transform:a.L39});iconSignal=(0,a.sbv)(X);labelSignal=(0,a.sbv)(Z);isIconOnly=(0,l.EW)(()=>!(this.labelSignal()||!this.iconSignal()));_label;_icon;_loading=!1;_severity;_buttonProps;initialized;get htmlElement(){return this.el.nativeElement}_internalClasses=Object.values(Q);pcFluid=(0,s.WQX)(S.Tc,{optional:!0,host:!0,skipSelf:!0});isTextButton=(0,l.EW)(()=>!(this.iconSignal()||!this.labelSignal()||!this.text));get label(){return this._label}set label(t){this._label=t,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(t){this._icon=t,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(t){this._loading=t,this.initialized&&(this.updateIcon(),this.setStyleClass())}get buttonProps(){return this._buttonProps}set buttonProps(t){this._buttonProps=t,t&&"object"==typeof t&&Object.entries(t).forEach(([t,e])=>this[`_${t}`]!==e&&(this[`_${t}`]=e))}get severity(){return this._severity}set severity(t){this._severity=t,this.initialized&&this.setStyleClass()}spinnerIcon='<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" class="p-icon-spin">\n <g clip-path="url(#clip0_417_21408)">\n <path\n d="M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z"\n fill="currentColor"\n />\n </g>\n <defs>\n <clipPath id="clip0_417_21408">\n <rect width="14" height="14" fill="white" />\n </clipPath>\n </defs>\n </svg>';onAfterViewInit(){!this.$unstyled()&&(0,c.iQ)(this.htmlElement,this.getStyleClass().join(" ")),(0,o.UE)(this.platformId)&&(this.createIcon(),this.createLabel(),this.initialized=!0)}getStyleClass(){const t=[Q.button,Q.component];return this.icon&&!this.label&&(0,u.Im)(this.htmlElement.textContent)&&t.push(Q.iconOnly),this.loading&&(t.push(Q.disabled,Q.loading),!this.icon&&this.label&&t.push(Q.labelOnly),this.icon&&!this.label&&!(0,u.Im)(this.htmlElement.textContent)&&t.push(Q.iconOnly)),this.text&&t.push("p-button-text"),this.severity&&t.push(`p-button-${this.severity}`),this.plain&&t.push("p-button-plain"),this.raised&&t.push("p-button-raised"),this.size&&t.push(`p-button-${this.size}`),this.outlined&&t.push("p-button-outlined"),this.rounded&&t.push("p-button-rounded"),"small"===this.size&&t.push("p-button-sm"),"large"===this.size&&t.push("p-button-lg"),this.hasFluid&&t.push("p-button-fluid"),this.$unstyled()?[]:t}get hasFluid(){return this.fluid()??!!this.pcFluid}setStyleClass(){const t=this.getStyleClass();this.removeExistingSeverityClass(),this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...t)}removeExistingSeverityClass(){const t=["success","info","warn","danger","help","primary","secondary","contrast"],e=this.htmlElement.classList.value.split(" ").find(e=>t.some(t=>e===`p-button-${t}`));e&&this.htmlElement.classList.remove(e)}createLabel(){if(!(0,c.kc)(this.htmlElement,'[data-pc-section="buttonlabel"]')&&this.label){let t=(0,c.n)("span",{class:this.cx("label"),"p-bind":this.ptm("buttonlabel"),"aria-hidden":this.icon&&!this.label?"true":null});t.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(t)}}createIcon(){if(!(0,c.kc)(this.htmlElement,'[data-pc-section="buttonicon"]')&&(this.icon||this.loading)){let t=this.label&&!this.$unstyled()?"p-button-icon-"+this.iconPos:null,e=!this.$unstyled()&&this.getIconClass(),n=(0,c.n)("span",{class:this.cn(this.cx("icon"),t,e),"aria-hidden":"true","p-bind":this.ptm("buttonicon")});!this.loadingIcon&&this.loading&&(n.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(n,this.htmlElement.firstChild)}}updateLabel(){let t=(0,c.kc)(this.htmlElement,'[data-pc-section="buttonlabel"]');this.label?t?t.textContent=this.label:this.createLabel():t&&this.htmlElement.removeChild(t)}updateIcon(){let t=(0,c.kc)(this.htmlElement,'[data-pc-section="buttonicon"]'),e=(0,c.kc)(this.htmlElement,'[data-pc-section="buttonlabel"]');this.loading&&!this.loadingIcon&&t?t.innerHTML=this.spinnerIcon:t?.innerHTML&&(t.innerHTML=""),t&&!this.$unstyled()?t.className=this.iconPos?"p-button-icon "+(e?"p-button-icon-"+this.iconPos:"")+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon()}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this.icon||"p-hidden"}onDestroy(){this.initialized=!1}static ɵfac=function(e){return new(e||t)};static ɵdir=i.FsC({type:t,selectors:[["","pButton",""]],contentQueries:function(t,e,n){1&t&&i.C6U(n,e.iconSignal,X,5)(n,e.labelSignal,Z,5),2&t&&i.NyB(2)},hostVars:4,hostBindings:function(t,e){2&t&&i.AVh("p-button-icon-only",!e.$unstyled()&&e.isIconOnly())("p-button-text",!e.$unstyled()&&e.isTextButton())},inputs:{ptButtonDirective:[1,"ptButtonDirective"],pButtonPT:[1,"pButtonPT"],pButtonUnstyled:[1,"pButtonUnstyled"],hostName:"hostName",text:[2,"text","text",a.L39],plain:[2,"plain","plain",a.L39],raised:[2,"raised","raised",a.L39],size:"size",outlined:[2,"outlined","outlined",a.L39],rounded:[2,"rounded","rounded",a.L39],iconPos:"iconPos",loadingIcon:"loadingIcon",fluid:[1,"fluid"],label:"label",icon:"icon",loading:"loading",buttonProps:"buttonProps",severity:"severity"},features:[i.Jv_([V,{provide:W,useExisting:t},{provide:p.bt,useExisting:t}]),i.nM4([f.Y]),i.Vt3]})}return t})(),K=(()=>{class t extends p.$G{componentName="Button";hostName="";$pcButton=(0,s.WQX)(U,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(f.Y,{self:!0});_componentStyle=(0,s.WQX)(V);onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}type="button";badge;disabled;raised=!1;rounded=!1;text=!1;plain=!1;outlined=!1;link=!1;tabindex;size;variant;style;styleClass;badgeClass;badgeSeverity="secondary";ariaLabel;autofocus;iconPos="left";icon;label;loading=!1;loadingIcon;severity;buttonProps;fluid=(0,a.hFB)(void 0,{transform:a.L39});onClick=new s.bkB;onFocus=new s.bkB;onBlur=new s.bkB;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=(0,s.WQX)(S.Tc,{optional:!0,host:!0,skipSelf:!0});get hasFluid(){return this.fluid()??!!this.pcFluid}get hasIcon(){return this.icon||this.buttonProps?.icon||this.iconTemplate||this._iconTemplate||this.loadingIcon||this.loadingIconTemplate||this._loadingIconTemplate}_contentTemplate;_iconTemplate;_loadingIconTemplate;onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"content":default:this._contentTemplate=t.template;break;case"icon":this._iconTemplate=t.template;break;case"loadingicon":this._loadingIconTemplate=t.template}})}get dataP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge,loading:this.loading,fluid:this.hasFluid,rounded:this.rounded,raised:this.raised,outlined:this.outlined||"outlined"===this.variant,text:this.text||"text"===this.variant,link:this.link,vertical:("top"===this.iconPos||"bottom"===this.iconPos)&&this.label})}get dataIconP(){return this.cn({[this.iconPos]:this.iconPos,[this.size]:this.size})}get dataLabelP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge})}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵcmp=i.VBU({type:t,selectors:[["p-button"]],contentQueries:function(t,e,n){if(1&t&&i.wni(n,k,5)(n,x,5)(n,T,5)(n,d.Ei,4),2&t){let t;i.mGM(t=i.lsd())&&(e.contentTemplate=t.first),i.mGM(t=i.lsd())&&(e.loadingIconTemplate=t.first),i.mGM(t=i.lsd())&&(e.iconTemplate=t.first),i.mGM(t=i.lsd())&&(e.templates=t)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",a.L39],raised:[2,"raised","raised",a.L39],rounded:[2,"rounded","rounded",a.L39],text:[2,"text","text",a.L39],plain:[2,"plain","plain",a.L39],outlined:[2,"outlined","outlined",a.L39],link:[2,"link","link",a.L39],tabindex:[2,"tabindex","tabindex",a.Udg],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",a.L39],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",a.L39],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[i.Jv_([V,{provide:U,useExisting:t},{provide:p.bt,useExisting:t}]),i.nM4([f.Y]),i.Vt3],ngContentSelectors:E,decls:7,vars:17,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","pAutoFocus","pBind"],[4,"ngTemplateOutlet"],[4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"value","severity","pt","unstyled",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-p-icon","spinner",3,"class","pBind","spin",4,"ngIf"],[3,"pBind"],["data-p-icon","spinner",3,"pBind","spin"],[3,"ngIf"],[3,"value","severity","pt","unstyled"]],template:function(t,e){1&t&&(i.NAR(),i.j41(0,"button",0),i.bIt("click",function(t){return e.onClick.emit(t)})("focus",function(t){return e.onFocus.emit(t)})("blur",function(t){return e.onBlur.emit(t)}),i.SdG(1),i.DNE(2,I,1,0,"ng-container",1)(3,N,3,6,"ng-container",2)(4,$,3,6,"ng-container",2)(5,z,2,6,"span",3)(6,H,1,4,"p-badge",4),i.k0s()),2&t&&(i.HbH(e.cn(e.cx("root"),e.styleClass,null==e.buttonProps?null:e.buttonProps.styleClass)),i.Y8G("ngStyle",e.style||(null==e.buttonProps?null:e.buttonProps.style))("disabled",e.disabled||e.loading||(null==e.buttonProps?null:e.buttonProps.disabled))("pAutoFocus",e.autofocus||(null==e.buttonProps?null:e.buttonProps.autofocus))("pBind",e.ptm("root")),i.BMQ("type",e.type||(null==e.buttonProps?null:e.buttonProps.type))("aria-label",e.ariaLabel||(null==e.buttonProps?null:e.buttonProps.ariaLabel))("tabindex",e.tabindex||(null==e.buttonProps?null:e.buttonProps.tabindex))("data-p",e.dataP)("data-p-disabled",e.disabled||e.loading||(null==e.buttonProps?null:e.buttonProps.disabled))("data-p-severity",e.severity||(null==e.buttonProps?null:e.buttonProps.severity)),i.R7$(2),i.Y8G("ngTemplateOutlet",e.contentTemplate||e._contentTemplate),i.R7$(),i.Y8G("ngIf",e.loading||(null==e.buttonProps?null:e.buttonProps.loading)),i.R7$(),i.Y8G("ngIf",!(e.loading||null!=e.buttonProps&&e.buttonProps.loading)),i.R7$(),i.Y8G("ngIf",!e.contentTemplate&&!e._contentTemplate&&(e.label||(null==e.buttonProps?null:e.buttonProps.label))),i.R7$(),i.Y8G("ngIf",!e.contentTemplate&&!e._contentTemplate&&(e.badge||(null==e.buttonProps?null:e.buttonProps.badge))))},dependencies:[r.MD,r.bT,r.T3,r.B3,_.n0,h.q,C.N,w,v,d.Gg,f.Y],encapsulation:2,changeDetection:0})}return t})(),J=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=i.$C({type:t});static ɵinj=s.G2t({imports:[r.MD,K,d.Gg,d.Gg]})}return t})()},3818(t,e,n){n.d(e,{tl:()=>d,wG:()=>p});var r=n(6268),o=n(6817),i=n(5697),s=n(3828),a=n(8447),l=n(5396),c=n(8980);let u=(()=>{class t{theme=(0,o.vPA)(void 0);csp=(0,o.vPA)({nonce:void 0});isThemeChanged=!1;document=(0,o.WQX)(o.qQL);baseStyle=(0,o.WQX)(c.j);constructor(){(0,o.QZP)(()=>{l.Fs.on("theme:change",t=>{(0,i.O8)(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),(0,o.QZP)(()=>{const t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){l.Sx.clearLoadedStyleNames(),l.Fs.clear()}onThemeChange(t){l.Sx.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if("none"!==this.theme()&&!l.Sx.isStyleNameLoaded("common")){const{primitive:t,semantic:e,global:n,style:r}=this.baseStyle.getCommonTheme?.()||{},o={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,{name:"primitive-variables",...o}),this.baseStyle.load(e?.css,{name:"semantic-variables",...o}),this.baseStyle.load(n?.css,{name:"global-variables",...o}),this.baseStyle.loadBaseStyle({name:"global-style",...o},r),l.Sx.setLoadedStyleName("common")}}setThemeConfig(t){const{theme:e,csp:n}=t||{};e&&this.theme.set(e),n&&this.csp.set(n)}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),d=(()=>{class t extends u{ripple=(0,o.vPA)(!1);platformId=(0,o.WQX)(r.Agw);inputStyle=(0,o.vPA)(null);inputVariant=(0,o.vPA)(null);overlayAppendTo=(0,o.vPA)("self");overlayOptions={};csp=(0,o.vPA)({nonce:void 0});unstyled=(0,o.vPA)(void 0);pt=(0,o.vPA)(void 0);ptOptions=(0,o.vPA)(void 0);filterMatchModeOptions={text:[s.Rn.STARTS_WITH,s.Rn.CONTAINS,s.Rn.NOT_CONTAINS,s.Rn.ENDS_WITH,s.Rn.EQUALS,s.Rn.NOT_EQUALS],numeric:[s.Rn.EQUALS,s.Rn.NOT_EQUALS,s.Rn.LESS_THAN,s.Rn.LESS_THAN_OR_EQUAL_TO,s.Rn.GREATER_THAN,s.Rn.GREATER_THAN_OR_EQUAL_TO],date:[s.Rn.DATE_IS,s.Rn.DATE_IS_NOT,s.Rn.DATE_BEFORE,s.Rn.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",completed:"Completed",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"Search results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",fileChosenMessage:"Files",noFileChosenMessage:"No file chosen",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List",selectColor:"Select a color",removeLabel:"Remove",browseFiles:"Browse Files",maximizeLabel:"Maximize",minimizeLabel:"Minimize"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new a.B;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation={...this.translation,...t},this.translationSource.next(this.translation)}setConfig(t){const{csp:e,ripple:n,inputStyle:r,inputVariant:o,theme:i,overlayOptions:s,translation:a,filterMatchModeOptions:l,overlayAppendTo:c,zIndex:u,ptOptions:d,pt:h,unstyled:p}=t||{};e&&this.csp.set(e),c&&this.overlayAppendTo.set(c),n&&this.ripple.set(n),r&&this.inputStyle.set(r),o&&this.inputVariant.set(o),s&&(this.overlayOptions=s),a&&this.setTranslation(a),l&&(this.filterMatchModeOptions=l),u&&(this.zIndex=u),h&&this.pt.set(h),d&&this.ptOptions.set(d),p&&this.unstyled.set(p),i&&this.setThemeConfig({theme:i,csp:e})}static ɵfac=(()=>{let e;return function(n){return(e||(e=r.xGo(t)))(n||t)}})();static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const h=new o.nKC("PRIME_NG_CONFIG");function p(...t){const e=t?.map(t=>({provide:h,useValue:t,multi:!1})),n=(0,r.phd)(()=>{const e=(0,o.WQX)(d);t?.forEach(t=>e.setConfig(t))});return(0,o.EmA)([...e,n])}},8817(t,e,n){n.d(e,{TM:()=>ct,FP:()=>ut});var r=n(6868),o=n(6268),i=n(6817),s=n(6860),a=n(5697),l=n(4057),c=n(9798),u=n(3828),d=n(6484),h=n(7277),p=n(731),f=n(5825),g=n(8980);const m=["header"],y=["footer"],b=["rejecticon"],v=["accepticon"],w=["message"],S=["icon"],C=["headless"],_=[[["p-footer"]]],k=["p-footer"],x=(t,e,n)=>({$implicit:t,onAccept:e,onReject:n}),T=t=>({$implicit:t});function E(t,e){1&t&&o.eu8(0)}function A(t,e){if(1&t&&o.DNE(0,E,1,0,"ng-container",7),2&t){const t=o.XpG(2);o.Y8G("ngTemplateOutlet",t.headlessTemplate||t._headlessTemplate)("ngTemplateOutletContext",o.sMw(2,x,t.confirmation,t.onAccept.bind(t),t.onReject.bind(t)))}}function I(t,e){1&t&&o.DNE(0,A,1,6,"ng-template",null,2,o.C5r)}function O(t,e){1&t&&o.eu8(0)}function L(t,e){if(1&t&&o.DNE(0,O,1,0,"ng-container",8),2&t){const t=o.XpG(3);o.Y8G("ngTemplateOutlet",t.headerTemplate||t._headerTemplate)}}function D(t,e){1&t&&o.DNE(0,L,1,1,"ng-template",null,4,o.C5r)}function P(t,e){}function R(t,e){1&t&&o.DNE(0,P,0,0,"ng-template")}function N(t,e){if(1&t&&o.DNE(0,R,1,0,null,8),2&t){const t=o.XpG(3);o.Y8G("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)}}function M(t,e){if(1&t&&o.nrm(0,"i",12),2&t){const t=o.XpG(4);o.HbH(t.option("icon")),o.Y8G("ngClass",t.cx("icon"))("pBind",t.ptm("icon"))}}function j(t,e){if(1&t&&o.DNE(0,M,1,4,"i",11),2&t){const t=o.XpG(3);o.Y8G("ngIf",t.option("icon"))}}function F(t,e){}function $(t,e){1&t&&o.DNE(0,F,0,0,"ng-template")}function z(t,e){if(1&t&&o.DNE(0,$,1,0,null,7),2&t){const t=o.XpG(3);o.Y8G("ngTemplateOutlet",t.messageTemplate||t._messageTemplate)("ngTemplateOutletContext",o.eq3(2,T,t.confirmation))}}function H(t,e){if(1&t&&o.nrm(0,"span",13),2&t){const t=o.XpG(3);o.HbH(t.cx("message")),o.Y8G("pBind",t.ptm("message"))("innerHTML",t.option("message"),o.npT)}}function B(t,e){if(1&t&&(o.nVh(0,N,1,1)(1,j,1,1,"i",9),o.nVh(2,z,1,4)(3,H,1,4,"span",10)),2&t){const t=o.XpG(2);o.vxM(t.iconTemplate||t._iconTemplate?0:t.iconTemplate||t._iconTemplate||t._messageTemplate||t.messageTemplate?-1:1),o.R7$(2),o.vxM(t.messageTemplate||t._messageTemplate?2:3)}}function V(t,e){if(1&t&&(o.nVh(0,D,2,0),o.DNE(1,B,4,2,"ng-template",null,3,o.C5r)),2&t){const t=o.XpG();o.vxM(t.headerTemplate||t._headerTemplate?0:-1)}}function U(t,e){1&t&&o.eu8(0)}function W(t,e){if(1&t&&(o.SdG(0),o.DNE(1,U,1,0,"ng-container",8)),2&t){const t=o.XpG(2);o.R7$(),o.Y8G("ngTemplateOutlet",t.footerTemplate||t._footerTemplate)}}function G(t,e){if(1&t&&o.nrm(0,"i",18),2&t){const t=o.XpG(6);o.HbH(t.option("rejectIcon")),o.Y8G("pBind",t.ptm("pcRejectButton").icon)}}function q(t,e){if(1&t&&o.DNE(0,G,1,3,"i",17),2&t){const t=o.XpG(5);o.Y8G("ngIf",t.option("rejectIcon"))}}function Q(t,e){}function Z(t,e){1&t&&o.DNE(0,Q,0,0,"ng-template")}function X(t,e){if(1&t&&(o.nVh(0,q,1,1,"i",16),o.DNE(1,Z,1,0,null,8)),2&t){const t=o.XpG(4);o.vxM(!t.rejectIcon||t.rejectIconTemplate||t._rejectIconTemplate?-1:0),o.R7$(),o.Y8G("ngTemplateOutlet",t.rejectIconTemplate||t._rejectIconTemplate)}}function Y(t,e){if(1&t){const t=o.RV6();o.j41(0,"p-button",15),o.bIt("onClick",function(){i.eBV(t);const e=o.XpG(3);return i.Njj(e.onReject())}),o.DNE(1,X,2,2,"ng-template",null,5,o.C5r),o.k0s()}if(2&t){const t=o.XpG(3);o.Y8G("pt",t.ptm("pcRejectButton"))("label",t.rejectButtonLabel)("styleClass",t.getButtonStyleClass("pcRejectButton","rejectButtonStyleClass"))("ariaLabel",t.option("rejectButtonProps","ariaLabel"))("buttonProps",t.getRejectButtonProps())("unstyled",t.unstyled())}}function K(t,e){if(1&t&&o.nrm(0,"i",18),2&t){const t=o.XpG(6);o.HbH(t.option("acceptIcon")),o.Y8G("pBind",t.ptm("pcAcceptButton").icon)}}function J(t,e){if(1&t&&o.DNE(0,K,1,3,"i",17),2&t){const t=o.XpG(5);o.Y8G("ngIf",t.option("acceptIcon"))}}function tt(t,e){}function et(t,e){1&t&&o.DNE(0,tt,0,0,"ng-template")}function nt(t,e){if(1&t&&(o.nVh(0,J,1,1,"i",16),o.DNE(1,et,1,0,null,8)),2&t){const t=o.XpG(4);o.vxM(!t.acceptIcon||t._acceptIconTemplate||t.acceptIconTemplate?-1:0),o.R7$(),o.Y8G("ngTemplateOutlet",t.acceptIconTemplate||t._acceptIconTemplate)}}function rt(t,e){if(1&t){const t=o.RV6();o.j41(0,"p-button",15),o.bIt("onClick",function(){i.eBV(t);const e=o.XpG(3);return i.Njj(e.onAccept())}),o.DNE(1,nt,2,2,"ng-template",null,5,o.C5r),o.k0s()}if(2&t){const t=o.XpG(3);o.Y8G("pt",t.ptm("pcAcceptButton"))("label",t.acceptButtonLabel)("styleClass",t.getButtonStyleClass("pcAcceptButton","acceptButtonStyleClass"))("ariaLabel",t.option("acceptButtonProps","ariaLabel"))("buttonProps",t.getAcceptButtonProps())("unstyled",t.unstyled())}}function ot(t,e){if(1&t&&o.DNE(0,Y,3,6,"p-button",14)(1,rt,3,6,"p-button",14),2&t){const t=o.XpG(2);o.Y8G("ngIf",t.option("rejectVisible")),o.R7$(),o.Y8G("ngIf",t.option("acceptVisible"))}}function it(t,e){if(1&t&&(o.nVh(0,W,2,1),o.nVh(1,ot,2,2)),2&t){const t=o.XpG();o.vxM(t.footerTemplate||t._footerTemplate?0:-1),o.R7$(),o.vxM(t.footerTemplate||t._footerTemplate?-1:1)}}const st={root:"p-confirmdialog",icon:"p-confirmdialog-icon",message:"p-confirmdialog-message",pcRejectButton:"p-confirmdialog-reject-button",pcAcceptButton:"p-confirmdialog-accept-button"};let at=(()=>{class t extends g.j{name="confirmdialog";style="\n .p-confirmdialog .p-dialog-content {\n display: flex;\n align-items: center;\n gap: dt('confirmdialog.content.gap');\n }\n\n .p-confirmdialog-icon {\n color: dt('confirmdialog.icon.color');\n font-size: dt('confirmdialog.icon.size');\n width: dt('confirmdialog.icon.size');\n height: dt('confirmdialog.icon.size');\n }\n";classes=st;static ɵfac=(()=>{let e;return function(n){return(e||(e=o.xGo(t)))(n||t)}})();static ɵprov=i.jDH({token:t,factory:t.ɵfac})}return t})();const lt=new i.nKC("CONFIRMDIALOG_INSTANCE");let ct=(()=>{class t extends d.$G{confirmationService;zone;componentName="ConfirmDialog";$pcConfirmDialog=(0,i.WQX)(lt,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,i.WQX)(h.Y,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}header;icon;message;get style(){return this._style}set style(t){this._style=t,this.cd.markForCheck()}styleClass;maskStyleClass;acceptIcon;acceptLabel;closeAriaLabel;acceptAriaLabel;acceptVisible=!0;rejectIcon;rejectLabel;rejectAriaLabel;rejectVisible=!0;acceptButtonStyleClass;rejectButtonStyleClass;closeOnEscape=!0;dismissableMask;blockScroll=!0;rtl=!1;closable=!0;appendTo=(0,s.hFB)("body");key;autoZIndex=!0;baseZIndex=0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";focusTrap=!0;defaultFocus="accept";breakpoints;modal=!0;get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.maskVisible&&(this.maskVisible=!0),this.cd.markForCheck()}position="center";draggable=!0;onHide=new i.bkB;footer;_componentStyle=(0,i.WQX)(at);headerTemplate;footerTemplate;rejectIconTemplate;acceptIconTemplate;messageTemplate;iconTemplate;headlessTemplate;templates;$appendTo=(0,a.EW)(()=>this.appendTo()||this.config.overlayAppendTo());_headerTemplate;_footerTemplate;_rejectIconTemplate;_acceptIconTemplate;_messageTemplate;_iconTemplate;_headlessTemplate;confirmation;_visible;_style;maskVisible;dialog;wrapper;contentContainer;subscription;preWidth;styleElement;id=(0,l.u)("pn_id_");ariaLabelledBy=this.getAriaLabelledBy();translationSubscription;constructor(t,e){super(),this.confirmationService=t,this.zone=e,this.subscription=this.confirmationService.requireConfirmation$.subscribe(t=>{t?t.key===this.key&&(this.confirmation=t,Object.keys(t).forEach(e=>{this[e]=t[e]}),this.confirmation.accept&&(this.confirmation.acceptEvent=new i.bkB,this.confirmation.acceptEvent.subscribe(this.confirmation.accept)),this.confirmation.reject&&(this.confirmation.rejectEvent=new i.bkB,this.confirmation.rejectEvent.subscribe(this.confirmation.reject)),this.visible=!0):this.hide()})}onInit(){this.breakpoints&&this.createStyle(),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.visible&&this.cd.markForCheck()})}onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"header":this._headerTemplate=t.template;break;case"footer":this._footerTemplate=t.template;break;case"message":this._messageTemplate=t.template;break;case"icon":this._iconTemplate=t.template;break;case"rejecticon":this._rejectIconTemplate=t.template;break;case"accepticon":this._acceptIconTemplate=t.template;break;case"headless":this._headlessTemplate=t.template}})}getAriaLabelledBy(){return null!==this.header?(0,l.u)("pn_id_")+"_header":null}option(t,e){const n=this;if(n.hasOwnProperty(t)){const r=e?n[e]:n[t];return"function"==typeof r?r():r}}getButtonStyleClass(t,e){return[this.cx(t),this.option(e)].filter(Boolean).join(" ")}getElementToFocus(){if(this.dialog?.el?.nativeElement)switch(this.option("defaultFocus")){case"accept":default:return(0,c.kc)(this.dialog.el.nativeElement,".p-confirm-dialog-accept");case"reject":return(0,c.kc)(this.dialog.el.nativeElement,".p-confirm-dialog-reject");case"close":return(0,c.kc)(this.dialog.el.nativeElement,".p-dialog-header-close");case"none":return null}}createStyle(){if(!this.styleElement){this.styleElement=this.document.createElement("style"),this.styleElement.type="text/css",(0,c.Bq)(this.styleElement,"nonce",this.config?.csp()?.nonce),this.document.head.appendChild(this.styleElement);let t="";for(let e in this.breakpoints)t+=`\n @media screen and (max-width: ${e}) {\n .p-dialog[${this.id}] {\n width: ${this.breakpoints[e]} !important;\n }\n }\n `;this.styleElement.innerHTML=t,(0,c.Bq)(this.styleElement,"nonce",this.config?.csp()?.nonce)}}close(){this.confirmation?.rejectEvent&&this.confirmation.rejectEvent.emit(u.TJ.CANCEL),this.hide(u.TJ.CANCEL)}hide(t){this.onHide.emit(t),this.visible=!1,this.unsubscribeConfirmationEvents()}onDialogHide(){this.confirmation=null}destroyStyle(){this.styleElement&&(this.document.head.removeChild(this.styleElement),this.styleElement=null)}onDestroy(){this.subscription.unsubscribe(),this.unsubscribeConfirmationEvents(),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.destroyStyle()}onVisibleChange(t){t?this.visible=t:this.close()}onAccept(){this.confirmation&&this.confirmation.acceptEvent&&this.confirmation.acceptEvent.emit(),this.hide(u.TJ.ACCEPT)}onReject(){this.confirmation&&this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(u.TJ.REJECT),this.hide(u.TJ.REJECT)}unsubscribeConfirmationEvents(){this.confirmation&&(this.confirmation.acceptEvent?.unsubscribe(),this.confirmation.rejectEvent?.unsubscribe())}get acceptButtonLabel(){return this.option("acceptLabel")||this.getAcceptButtonProps()?.label||this.config.getTranslation(u.Yj.ACCEPT)}get rejectButtonLabel(){return this.option("rejectLabel")||this.getRejectButtonProps()?.label||this.config.getTranslation(u.Yj.REJECT)}getAcceptButtonProps(){return this.option("acceptButtonProps")}getRejectButtonProps(){return this.option("rejectButtonProps")}static ɵfac=function(e){return new(e||t)(o.rXU(u.td),o.rXU(i.SKi))};static ɵcmp=o.VBU({type:t,selectors:[["p-confirmDialog"],["p-confirmdialog"],["p-confirm-dialog"]],contentQueries:function(t,e,n){if(1&t&&o.wni(n,u.wi,5)(n,m,4)(n,y,4)(n,b,4)(n,v,4)(n,w,4)(n,S,4)(n,C,4)(n,u.Ei,4),2&t){let t;o.mGM(t=o.lsd())&&(e.footer=t.first),o.mGM(t=o.lsd())&&(e.headerTemplate=t.first),o.mGM(t=o.lsd())&&(e.footerTemplate=t.first),o.mGM(t=o.lsd())&&(e.rejectIconTemplate=t.first),o.mGM(t=o.lsd())&&(e.acceptIconTemplate=t.first),o.mGM(t=o.lsd())&&(e.messageTemplate=t.first),o.mGM(t=o.lsd())&&(e.iconTemplate=t.first),o.mGM(t=o.lsd())&&(e.headlessTemplate=t.first),o.mGM(t=o.lsd())&&(e.templates=t)}},inputs:{header:"header",icon:"icon",message:"message",style:"style",styleClass:"styleClass",maskStyleClass:"maskStyleClass",acceptIcon:"acceptIcon",acceptLabel:"acceptLabel",closeAriaLabel:"closeAriaLabel",acceptAriaLabel:"acceptAriaLabel",acceptVisible:[2,"acceptVisible","acceptVisible",s.L39],rejectIcon:"rejectIcon",rejectLabel:"rejectLabel",rejectAriaLabel:"rejectAriaLabel",rejectVisible:[2,"rejectVisible","rejectVisible",s.L39],acceptButtonStyleClass:"acceptButtonStyleClass",rejectButtonStyleClass:"rejectButtonStyleClass",closeOnEscape:[2,"closeOnEscape","closeOnEscape",s.L39],dismissableMask:[2,"dismissableMask","dismissableMask",s.L39],blockScroll:[2,"blockScroll","blockScroll",s.L39],rtl:[2,"rtl","rtl",s.L39],closable:[2,"closable","closable",s.L39],appendTo:[1,"appendTo"],key:"key",autoZIndex:[2,"autoZIndex","autoZIndex",s.L39],baseZIndex:[2,"baseZIndex","baseZIndex",s.Udg],transitionOptions:"transitionOptions",focusTrap:[2,"focusTrap","focusTrap",s.L39],defaultFocus:"defaultFocus",breakpoints:"breakpoints",modal:[2,"modal","modal",s.L39],visible:"visible",position:"position",draggable:[2,"draggable","draggable",s.L39]},outputs:{onHide:"onHide"},features:[o.Jv_([at,{provide:lt,useExisting:t},{provide:d.bt,useExisting:t}]),o.nM4([h.Y]),o.Vt3],ngContentSelectors:k,decls:6,vars:19,consts:[["dialog",""],["footer",""],["headless",""],["content",""],["header",""],["icon",""],["role","alertdialog",3,"visibleChange","onHide","pt","visible","closable","styleClass","modal","header","closeOnEscape","blockScroll","appendTo","position","dismissableMask","draggable","baseZIndex","autoZIndex","maskStyleClass","unstyled"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],[3,"ngClass","class","pBind"],[3,"class","pBind","innerHTML"],[3,"ngClass","class","pBind",4,"ngIf"],[3,"ngClass","pBind"],[3,"pBind","innerHTML"],[3,"pt","label","styleClass","ariaLabel","buttonProps","unstyled","onClick",4,"ngIf"],[3,"onClick","pt","label","styleClass","ariaLabel","buttonProps","unstyled"],[3,"class","pBind"],[3,"class","pBind",4,"ngIf"],[3,"pBind"]],template:function(t,e){1&t&&(o.NAR(_),o.j41(0,"p-dialog",6,0),o.bIt("visibleChange",function(t){return e.onVisibleChange(t)})("onHide",function(){return e.onDialogHide()}),o.nVh(2,I,2,0)(3,V,3,1),o.DNE(4,it,2,2,"ng-template",null,1,o.C5r),o.k0s()),2&t&&(o.Aen(e.style),o.Y8G("pt",e.pt)("visible",e.visible)("closable",e.option("closable"))("styleClass",e.cn(e.cx("root"),e.styleClass))("modal",e.option("modal"))("header",e.option("header"))("closeOnEscape",e.option("closeOnEscape"))("blockScroll",e.option("blockScroll"))("appendTo",e.$appendTo())("position",e.position)("dismissableMask",e.dismissableMask)("draggable",e.draggable)("baseZIndex",e.baseZIndex)("autoZIndex",e.autoZIndex)("maskStyleClass",e.cn(e.cx("mask"),e.maskStyleClass))("unstyled",e.unstyled()),o.R7$(2),o.vxM(e.headlessTemplate||e._headlessTemplate?2:3))},dependencies:[r.MD,r.YU,r.bT,r.T3,p.$n,f.lG,u.Gg,h.Y],encapsulation:2,changeDetection:0})}return t})(),ut=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=o.$C({type:t});static ɵinj=i.G2t({imports:[ct,u.Gg,u.Gg]})}return t})()},5825(t,e,n){n.d(e,{lG:()=>vt,g8:()=>yt});var r=n(6868),o=n(4460),i=n(6268),s=n(6817),a=n(6860),l=n(5697),c=n(4057),u=n(9798),d=n(3828),h=n(6484),p=n(7277),f=n(731),g=n(5724);let m=(()=>{class t extends h.$G{pFocusTrapDisabled=!1;platformId=(0,s.WQX)(i.Agw);document=(0,s.WQX)(s.qQL);firstHiddenFocusableElement;lastHiddenFocusableElement;onInit(){(0,o.UE)(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}onChanges(t){t.pFocusTrapDisabled&&(0,o.UE)(this.platformId)&&(t.pFocusTrapDisabled.currentValue?this.removeHiddenFocusableElements():this.createHiddenFocusableElements())}removeHiddenFocusableElements(){this.firstHiddenFocusableElement&&this.firstHiddenFocusableElement.parentNode&&this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement),this.lastHiddenFocusableElement&&this.lastHiddenFocusableElement.parentNode&&this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement)}getComputedSelector(t){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${t??""}`}createHiddenFocusableElements(){const t=t=>(0,u.n)("span",{class:"p-hidden-accessible p-hidden-focusable",tabindex:"0",role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:t?.bind(this)});this.firstHiddenFocusableElement=t(this.onFirstHiddenElementFocus),this.lastHiddenFocusableElement=t(this.onLastHiddenElementFocus),this.firstHiddenFocusableElement.setAttribute("data-pc-section","firstfocusableelement"),this.lastHiddenFocusableElement.setAttribute("data-pc-section","lastfocusableelement"),this.el.nativeElement.prepend(this.firstHiddenFocusableElement),this.el.nativeElement.append(this.lastHiddenFocusableElement)}onFirstHiddenElementFocus(t){const{currentTarget:e,relatedTarget:n}=t,r=n!==this.lastHiddenFocusableElement&&this.el.nativeElement?.contains(n)?this.lastHiddenFocusableElement:(0,u.$4)(e.parentElement,":not(.p-hidden-focusable)");(0,u.XC)(r)}onLastHiddenElementFocus(t){const{currentTarget:e,relatedTarget:n}=t,r=n!==this.firstHiddenFocusableElement&&this.el.nativeElement?.contains(n)?this.firstHiddenFocusableElement:(0,u.DE)(e.parentElement,":not(.p-hidden-focusable)");(0,u.XC)(r)}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵdir=i.FsC({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",a.L39]},features:[i.Vt3]})}return t})();var y=n(239),b=n(7727);const v=["data-p-icon","window-maximize"];let w=(()=>{class t extends b.h_{pathId;onInit(){this.pathId="url(#"+(0,c.u)()+")"}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵcmp=i.VBU({type:t,selectors:[["","data-p-icon","window-maximize"]],features:[i.Vt3],attrs:v,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(t,e){1&t&&(s.qSk(),i.rj2(0,"g"),i.Hgh(1,"path",0),i.eux(),i.rj2(2,"defs")(3,"clipPath",1),i.Hgh(4,"rect",2),i.eux()()),2&t&&(i.BMQ("clip-path",e.pathId),i.R7$(3),i.Avn("id",e.pathId))},encapsulation:2})}return t})();const S=["data-p-icon","window-minimize"];let C=(()=>{class t extends b.h_{pathId;onInit(){this.pathId="url(#"+(0,c.u)()+")"}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵcmp=i.VBU({type:t,selectors:[["","data-p-icon","window-minimize"]],features:[i.Vt3],attrs:S,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(t,e){1&t&&(s.qSk(),i.rj2(0,"g"),i.Hgh(1,"path",0),i.eux(),i.rj2(2,"defs")(3,"clipPath",1),i.Hgh(4,"rect",2),i.eux()()),2&t&&(i.BMQ("clip-path",e.pathId),i.R7$(3),i.Avn("id",e.pathId))},encapsulation:2})}return t})();var _=n(9634),k=n(1939),x=n(8980);const T=["header"],E=["content"],A=["footer"],I=["closeicon"],O=["maximizeicon"],L=["minimizeicon"],D=["headless"],P=["titlebar"],R=["*",[["p-footer"]]],N=["*","p-footer"],M=t=>({ariaLabelledBy:t});function j(t,e){1&t&&i.eu8(0)}function F(t,e){if(1&t&&(i.qex(0),i.DNE(1,j,1,0,"ng-container",11),i.bVm()),2&t){const t=i.XpG(3);i.R7$(),i.Y8G("ngTemplateOutlet",t._headlessTemplate||t.headlessTemplate||t.headlessT)}}function $(t,e){if(1&t){const t=i.RV6();i.j41(0,"div",16),i.bIt("mousedown",function(e){s.eBV(t);const n=i.XpG(4);return s.Njj(n.initResize(e))}),i.k0s()}if(2&t){const t=i.XpG(4);i.HbH(t.cx("resizeHandle")),i.xc7("z-index",90),i.Y8G("pBind",t.ptm("resizeHandle"))}}function z(t,e){if(1&t&&(i.j41(0,"span",21),i.EFF(1),i.k0s()),2&t){const t=i.XpG(5);i.HbH(t.cx("title")),i.Y8G("id",t.ariaLabelledBy)("pBind",t.ptm("title")),i.R7$(),i.JRh(t.header)}}function H(t,e){1&t&&i.eu8(0)}function B(t,e){if(1&t&&i.nrm(0,"span",25),2&t){const t=i.XpG(7);i.Y8G("ngClass",t.maximized?t.minimizeIcon:t.maximizeIcon)}}function V(t,e){1&t&&(s.qSk(),i.nrm(0,"svg",28))}function U(t,e){1&t&&(s.qSk(),i.nrm(0,"svg",29))}function W(t,e){if(1&t&&(i.qex(0),i.DNE(1,V,1,0,"svg",26)(2,U,1,0,"svg",27),i.bVm()),2&t){const t=i.XpG(7);i.R7$(),i.Y8G("ngIf",!(t.maximized||t._maximizeiconTemplate||t.maximizeIconTemplate||t.maximizeIconT)),i.R7$(),i.Y8G("ngIf",t.maximized&&!t._minimizeiconTemplate&&!t.minimizeIconTemplate&&!t.minimizeIconT)}}function G(t,e){}function q(t,e){1&t&&i.DNE(0,G,0,0,"ng-template")}function Q(t,e){if(1&t&&(i.qex(0),i.DNE(1,q,1,0,null,11),i.bVm()),2&t){const t=i.XpG(7);i.R7$(),i.Y8G("ngTemplateOutlet",t._maximizeiconTemplate||t.maximizeIconTemplate||t.maximizeIconT)}}function Z(t,e){}function X(t,e){1&t&&i.DNE(0,Z,0,0,"ng-template")}function Y(t,e){if(1&t&&(i.qex(0),i.DNE(1,X,1,0,null,11),i.bVm()),2&t){const t=i.XpG(7);i.R7$(),i.Y8G("ngTemplateOutlet",t._minimizeiconTemplate||t.minimizeIconTemplate||t.minimizeIconT)}}function K(t,e){if(1&t&&i.DNE(0,B,1,1,"span",23)(1,W,3,2,"ng-container",24)(2,Q,2,1,"ng-container",24)(3,Y,2,1,"ng-container",24),2&t){const t=i.XpG(6);i.Y8G("ngIf",t.maximizeIcon&&!t._maximizeiconTemplate&&!t._minimizeiconTemplate),i.R7$(),i.Y8G("ngIf",!(t.maximizeIcon||null!=t.maximizeButtonProps&&t.maximizeButtonProps.icon)),i.R7$(),i.Y8G("ngIf",!t.maximized),i.R7$(),i.Y8G("ngIf",t.maximized)}}function J(t,e){if(1&t){const t=i.RV6();i.j41(0,"p-button",22),i.bIt("onClick",function(){s.eBV(t);const e=i.XpG(5);return s.Njj(e.maximize())})("keydown.enter",function(){s.eBV(t);const e=i.XpG(5);return s.Njj(e.maximize())}),i.DNE(1,K,4,4,"ng-template",null,4,i.C5r),i.k0s()}if(2&t){const t=i.XpG(5);i.Y8G("pt",t.ptm("pcMaximizeButton"))("styleClass",t.cx("pcMaximizeButton"))("ariaLabel",t.maximized?t.minimizeLabel:t.maximizeLabel)("tabindex",t.maximizable?"0":"-1")("buttonProps",t.maximizeButtonProps)("unstyled",t.unstyled()),i.BMQ("data-pc-group-section","headericon")}}function tt(t,e){if(1&t&&i.nrm(0,"span"),2&t){const t=i.XpG(8);i.HbH(t.closeIcon)}}function et(t,e){1&t&&(s.qSk(),i.nrm(0,"svg",32))}function nt(t,e){if(1&t&&(i.qex(0),i.DNE(1,tt,1,2,"span",30)(2,et,1,0,"svg",31),i.bVm()),2&t){const t=i.XpG(7);i.R7$(),i.Y8G("ngIf",t.closeIcon),i.R7$(),i.Y8G("ngIf",!t.closeIcon)}}function rt(t,e){}function ot(t,e){1&t&&i.DNE(0,rt,0,0,"ng-template")}function it(t,e){if(1&t&&(i.j41(0,"span"),i.DNE(1,ot,1,0,null,11),i.k0s()),2&t){const t=i.XpG(7);i.R7$(),i.Y8G("ngTemplateOutlet",t._closeiconTemplate||t.closeIconTemplate||t.closeIconT)}}function st(t,e){if(1&t&&i.DNE(0,nt,3,2,"ng-container",24)(1,it,2,1,"span",24),2&t){const t=i.XpG(6);i.Y8G("ngIf",!(t._closeiconTemplate||t.closeIconTemplate||t.closeIconT||null!=t.closeButtonProps&&t.closeButtonProps.icon)),i.R7$(),i.Y8G("ngIf",t._closeiconTemplate||t.closeIconTemplate||t.closeIconT)}}function at(t,e){if(1&t){const t=i.RV6();i.j41(0,"p-button",22),i.bIt("onClick",function(e){s.eBV(t);const n=i.XpG(5);return s.Njj(n.close(e))})("keydown.enter",function(e){s.eBV(t);const n=i.XpG(5);return s.Njj(n.close(e))}),i.DNE(1,st,2,2,"ng-template",null,4,i.C5r),i.k0s()}if(2&t){const t=i.XpG(5);i.Y8G("pt",t.ptm("pcCloseButton"))("styleClass",t.cx("pcCloseButton"))("ariaLabel",t.closeAriaLabel)("tabindex",t.closeTabindex)("buttonProps",t.closeButtonProps)("unstyled",t.unstyled()),i.BMQ("data-pc-group-section","headericon")}}function lt(t,e){if(1&t){const t=i.RV6();i.j41(0,"div",16,3),i.bIt("mousedown",function(e){s.eBV(t);const n=i.XpG(4);return s.Njj(n.initDrag(e))}),i.DNE(2,z,2,5,"span",17)(3,H,1,0,"ng-container",18),i.j41(4,"div",19),i.DNE(5,J,3,7,"p-button",20)(6,at,3,7,"p-button",20),i.k0s()()}if(2&t){const t=i.XpG(4);i.HbH(t.cx("header")),i.Y8G("pBind",t.ptm("header")),i.R7$(2),i.Y8G("ngIf",!t._headerTemplate&&!t.headerTemplate&&!t.headerT),i.R7$(),i.Y8G("ngTemplateOutlet",t._headerTemplate||t.headerTemplate||t.headerT)("ngTemplateOutletContext",i.eq3(11,M,t.ariaLabelledBy)),i.R7$(),i.HbH(t.cx("headerActions")),i.Y8G("pBind",t.ptm("headerActions")),i.R7$(),i.Y8G("ngIf",t.maximizable),i.R7$(),i.Y8G("ngIf",t.closable)}}function ct(t,e){1&t&&i.eu8(0)}function ut(t,e){1&t&&i.eu8(0)}function dt(t,e){if(1&t&&(i.j41(0,"div",19,5),i.SdG(2,1),i.DNE(3,ut,1,0,"ng-container",11),i.k0s()),2&t){const t=i.XpG(4);i.HbH(t.cx("footer")),i.Y8G("pBind",t.ptm("footer")),i.R7$(3),i.Y8G("ngTemplateOutlet",t._footerTemplate||t.footerTemplate||t.footerT)}}function ht(t,e){if(1&t&&(i.DNE(0,$,1,5,"div",12)(1,lt,7,13,"div",13),i.j41(2,"div",14,2),i.SdG(4),i.DNE(5,ct,1,0,"ng-container",11),i.k0s(),i.DNE(6,dt,4,4,"div",15)),2&t){const t=i.XpG(3);i.Y8G("ngIf",t.resizable),i.R7$(),i.Y8G("ngIf",t.showHeader),i.R7$(),i.HbH(t.cn(t.cx("content"),t.contentStyleClass)),i.Y8G("ngStyle",t.contentStyle)("pBind",t.ptm("content")),i.R7$(3),i.Y8G("ngTemplateOutlet",t._contentTemplate||t.contentTemplate||t.contentT),i.R7$(),i.Y8G("ngIf",t._footerTemplate||t.footerTemplate||t.footerT)}}function pt(t,e){if(1&t){const t=i.RV6();i.j41(0,"div",9,0),i.bIt("pMotionOnBeforeEnter",function(e){s.eBV(t);const n=i.XpG(2);return s.Njj(n.onBeforeEnter(e))})("pMotionOnAfterEnter",function(e){s.eBV(t);const n=i.XpG(2);return s.Njj(n.onAfterEnter(e))})("pMotionOnBeforeLeave",function(e){s.eBV(t);const n=i.XpG(2);return s.Njj(n.onBeforeLeave(e))})("pMotionOnAfterLeave",function(e){s.eBV(t);const n=i.XpG(2);return s.Njj(n.onAfterLeave(e))}),i.DNE(2,F,2,1,"ng-container",10)(3,ht,7,8,"ng-template",null,1,i.C5r),i.k0s()}if(2&t){const t=i.sdS(4),e=i.XpG(2);i.Aen(e.sx("root")),i.HbH(e.cn(e.cx("root"),e.styleClass)),i.Y8G("ngStyle",e.style)("pBind",e.ptm("root"))("pFocusTrapDisabled",!1===e.focusTrap)("pMotion",e.visible)("pMotionAppear",!0)("pMotionName","p-dialog")("pMotionOptions",e.computedMotionOptions()),i.BMQ("role",e.role)("aria-labelledby",e.ariaLabelledBy)("aria-modal",!0)("data-p",e.dataP),i.R7$(2),i.Y8G("ngIf",e._headlessTemplate||e.headlessTemplate||e.headlessT)("ngIfElse",t)}}function ft(t,e){if(1&t){const t=i.RV6();i.j41(0,"div",7),i.bIt("pMotionOnAfterLeave",function(){s.eBV(t);const e=i.XpG();return s.Njj(e.onMaskAfterLeave())}),i.nVh(1,pt,5,17,"div",8),i.k0s()}if(2&t){const t=i.XpG();i.Aen(t.sx("mask")),i.HbH(t.cn(t.cx("mask"),t.maskStyleClass)),i.Y8G("ngStyle",t.maskStyle)("pBind",t.ptm("mask"))("pMotion",t.maskVisible)("pMotionAppear",!0)("pMotionEnterActiveClass",t.modal?"p-overlay-mask-enter-active":"")("pMotionLeaveActiveClass",t.modal?"p-overlay-mask-leave-active":"")("pMotionOptions",t.computedMaskMotionOptions()),i.BMQ("data-p-scrollblocker-active",t.modal||t.blockScroll)("data-p",t.dataP),i.R7$(),i.vxM(t.renderDialog()?1:-1)}}const gt={mask:({instance:t})=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:"left"===t.position||"topleft"===t.position||"bottomleft"===t.position?"flex-start":"right"===t.position||"topright"===t.position||"bottomright"===t.position?"flex-end":"center",alignItems:"top"===t.position||"topleft"===t.position||"topright"===t.position?"flex-start":"bottom"===t.position||"bottomleft"===t.position||"bottomright"===t.position?"flex-end":"center",pointerEvents:t.modal?"auto":"none"}),root:{display:"flex",flexDirection:"column",pointerEvents:"auto"}},mt={mask:({instance:t})=>{const e=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(e=>e===t.position);return["p-dialog-mask",{"p-overlay-mask":t.modal},e?`p-dialog-${e}`:""]},root:({instance:t})=>["p-dialog p-component",{"p-dialog-maximized":t.maximizable&&t.maximized}],header:"p-dialog-header",title:"p-dialog-title",resizeHandle:"p-resizable-handle",headerActions:"p-dialog-header-actions",pcMaximizeButton:"p-dialog-maximize-button",pcCloseButton:"p-dialog-close-button",content:()=>["p-dialog-content"],footer:"p-dialog-footer"};let yt=(()=>{class t extends x.j{name="dialog";style="\n .p-dialog {\n max-height: 90%;\n transform: scale(1);\n border-radius: dt('dialog.border.radius');\n box-shadow: dt('dialog.shadow');\n background: dt('dialog.background');\n border: 1px solid dt('dialog.border.color');\n color: dt('dialog.color');\n will-change: transform;\n }\n\n .p-dialog-content {\n overflow-y: auto;\n padding: dt('dialog.content.padding');\n flex-grow: 1;\n }\n\n .p-dialog-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n padding: dt('dialog.header.padding');\n }\n\n .p-dialog-title {\n font-weight: dt('dialog.title.font.weight');\n font-size: dt('dialog.title.font.size');\n }\n\n .p-dialog-footer {\n flex-shrink: 0;\n padding: dt('dialog.footer.padding');\n display: flex;\n justify-content: flex-end;\n gap: dt('dialog.footer.gap');\n }\n\n .p-dialog-header-actions {\n display: flex;\n align-items: center;\n gap: dt('dialog.header.gap');\n }\n\n .p-dialog-top .p-dialog,\n .p-dialog-bottom .p-dialog,\n .p-dialog-left .p-dialog,\n .p-dialog-right .p-dialog,\n .p-dialog-topleft .p-dialog,\n .p-dialog-topright .p-dialog,\n .p-dialog-bottomleft .p-dialog,\n .p-dialog-bottomright .p-dialog {\n margin: 1rem;\n }\n\n .p-dialog-maximized {\n width: 100vw !important;\n height: 100vh !important;\n top: 0px !important;\n left: 0px !important;\n max-height: 100%;\n height: 100%;\n border-radius: 0;\n }\n\n .p-dialog .p-resizable-handle {\n position: absolute;\n font-size: 0.1px;\n display: block;\n cursor: se-resize;\n width: 12px;\n height: 12px;\n right: 1px;\n bottom: 1px;\n }\n\n .p-dialog-enter-active {\n animation: p-animate-dialog-enter 300ms cubic-bezier(.19,1,.22,1);\n }\n\n .p-dialog-leave-active {\n animation: p-animate-dialog-leave 300ms cubic-bezier(.19,1,.22,1);\n }\n\n @keyframes p-animate-dialog-enter {\n from {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n\n @keyframes p-animate-dialog-leave {\n to {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n";classes=mt;inlineStyles=gt;static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵprov=s.jDH({token:t,factory:t.ɵfac})}return t})();const bt=new s.nKC("DIALOG_INSTANCE");let vt=(()=>{class t extends h.$G{componentName="Dialog";hostName="";$pcDialog=(0,s.WQX)(bt,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(p.Y,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}header;draggable=!0;resizable=!0;contentStyle;contentStyleClass;modal=!1;closeOnEscape=!0;dismissableMask=!1;rtl=!1;closable=!0;breakpoints;styleClass;maskStyleClass;maskStyle;showHeader=!0;blockScroll=!1;autoZIndex=!0;baseZIndex=0;minX=0;minY=0;focusOnShow=!0;maximizable=!1;keepInViewport=!0;focusTrap=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";maskMotionOptions=(0,a.hFB)(void 0);computedMaskMotionOptions=(0,l.EW)(()=>({...this.ptm("maskMotion"),...this.maskMotionOptions()}));motionOptions=(0,a.hFB)(void 0);computedMotionOptions=(0,l.EW)(()=>({...this.ptm("motion"),...this.motionOptions()}));closeIcon;closeAriaLabel;closeTabindex="0";minimizeIcon;maximizeIcon;closeButtonProps={severity:"secondary",variant:"text",rounded:!0};maximizeButtonProps={severity:"secondary",variant:"text",rounded:!0};get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.maskVisible&&(this.maskVisible=!0,this.renderMask.set(!0),this.renderDialog.set(!0))}get style(){return this._style}set style(t){t&&(this._style={...t},this.originalStyle=t)}position;role="dialog";appendTo=(0,a.hFB)(void 0);onShow=new s.bkB;onHide=new s.bkB;visibleChange=new s.bkB;onResizeInit=new s.bkB;onResizeEnd=new s.bkB;onDragEnd=new s.bkB;onMaximize=new s.bkB;headerViewChild;contentViewChild;footerViewChild;headerTemplate;contentTemplate;footerTemplate;closeIconTemplate;maximizeIconTemplate;minimizeIconTemplate;headlessTemplate;_headerTemplate;_contentTemplate;_footerTemplate;_closeiconTemplate;_maximizeiconTemplate;_minimizeiconTemplate;_headlessTemplate;$appendTo=(0,l.EW)(()=>this.appendTo()||this.config.overlayAppendTo());renderMask=(0,s.vPA)(!1);renderDialog=(0,s.vPA)(!1);_visible=!1;maskVisible;container=(0,s.vPA)(null);wrapper;dragging;ariaLabelledBy=this.getAriaLabelledBy();documentDragListener;documentDragEndListener;resizing;documentResizeListener;documentResizeEndListener;documentEscapeListener;maskClickListener;lastPageX;lastPageY;preventVisibleChangePropagation;maximized;preMaximizeContentHeight;preMaximizeContainerWidth;preMaximizeContainerHeight;preMaximizePageX;preMaximizePageY;id=(0,c.u)("pn_id_");_style={};originalStyle;transformOptions="scale(0.7)";styleElement;window;_componentStyle=(0,s.WQX)(yt);headerT;contentT;footerT;closeIconT;maximizeIconT;minimizeIconT;headlessT;zIndexForLayering;get maximizeLabel(){return this.config.getTranslation(d.Yj.ARIA).maximizeLabel}get minimizeLabel(){return this.config.getTranslation(d.Yj.ARIA).minimizeLabel}zone=(0,s.WQX)(s.SKi);overlayService=(0,s.WQX)(d.si);get maskClass(){const t=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(t=>t===this.position);return{"p-dialog-mask":!0,"p-overlay-mask":this.modal||this.dismissableMask,[`p-dialog-${t}`]:t}}onInit(){this.breakpoints&&this.createStyle()}templates;onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"header":this.headerT=t.template;break;case"content":default:this.contentT=t.template;break;case"footer":this.footerT=t.template;break;case"closeicon":this.closeIconT=t.template;break;case"maximizeicon":this.maximizeIconT=t.template;break;case"minimizeicon":this.minimizeIconT=t.template;break;case"headless":this.headlessT=t.template}})}getAriaLabelledBy(){return null!==this.header?(0,c.u)("pn_id_")+"_header":null}parseDurationToMilliseconds(t){const e=/([\d\.]+)(ms|s)\b/g;let n,r=0;for(;null!==(n=e.exec(t));){const t=parseFloat(n[1]),e=n[2];"ms"===e?r+=t:"s"===e&&(r+=1e3*t)}if(0!==r)return r}_focus(t){if(t){const e=this.parseDurationToMilliseconds(this.transitionOptions);let n=g.DV.getFocusableElements(t);if(n&&n.length>0)return this.zone.runOutsideAngular(()=>{setTimeout(()=>n[0].focus(),e||5)}),!0}return!1}focus(t=this.contentViewChild?.nativeElement){let e=this._focus(t);e||(e=this._focus(this.footerViewChild?.nativeElement),e||(e=this._focus(this.headerViewChild?.nativeElement),e||this._focus(this.contentViewChild?.nativeElement)))}close(t){this.visible=!1,this.visibleChange.emit(this.visible),t.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",t=>{this.wrapper&&this.wrapper.isSameNode(t.target)&&this.close(t)})),this.modal&&(0,g.xL)()}disableModality(){if(this.wrapper){this.dismissableMask&&this.unbindMaskClickListener();const t=document.querySelectorAll('[data-p-scrollblocker-active="true"]');this.modal&&t&&1==t.length&&(0,g.M6)(),this.cd.destroyed||this.cd.detectChanges()}}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?(0,g.xL)():(0,g.M6)()),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex?(k.Q$.set("modal",this.container(),this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container().style.zIndex,10)-1)):this.zIndexForLayering=k.Q$.generateZIndex("modal",(this.baseZIndex??0)+this.config.zIndex.modal)}createStyle(){if((0,o.UE)(this.platformId)&&!this.styleElement&&!this.$unstyled()){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",(0,u.Bq)(this.styleElement,"nonce",this.config?.csp()?.nonce),this.renderer.appendChild(this.document.head,this.styleElement);let t="";for(let e in this.breakpoints)t+=`\n @media screen and (max-width: ${e}) {\n .p-dialog[${this.id}]:not(.p-dialog-maximized) {\n width: ${this.breakpoints[e]} !important;\n }\n }\n `;this.renderer.setProperty(this.styleElement,"innerHTML",t),(0,u.Bq)(this.styleElement,"nonce",this.config?.csp()?.nonce)}}initDrag(t){"headeractions"!==t.target.closest("div")?.getAttribute("data-pc-section")&&this.draggable&&(this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.container().style.margin="0",this.document.body.setAttribute("data-p-unselectable-text","true"),!this.$unstyled()&&(0,u.TD)(this.document.body,{"user-select":"none"}))}onDrag(t){if(this.dragging&&this.container()){const e=(0,u.Ot)(this.container()),n=(0,u.P$)(this.container()),r=t.pageX-this.lastPageX,o=t.pageY-this.lastPageY,i=this.container().getBoundingClientRect(),s=getComputedStyle(this.container()),a=parseFloat(s.marginLeft),l=parseFloat(s.marginTop),c=i.left+r-a,d=i.top+o-l,h=(0,u.Hr)();this.container().style.position="fixed",this.keepInViewport?(c>=this.minX&&c+e<h.width&&(this._style.left=`${c}px`,this.lastPageX=t.pageX,this.container().style.left=`${c}px`),d>=this.minY&&d+n<h.height&&(this._style.top=`${d}px`,this.lastPageY=t.pageY,this.container().style.top=`${d}px`)):(this.lastPageX=t.pageX,this.container().style.left=`${c}px`,this.lastPageY=t.pageY,this.container().style.top=`${d}px`),this.overlayService.emitParentDrag(this.container())}}endDrag(t){this.dragging&&(this.dragging=!1,this.document.body.removeAttribute("data-p-unselectable-text"),!this.$unstyled()&&(this.document.body.style["user-select"]=""),this.cd.detectChanges(),this.onDragEnd.emit(t))}resetPosition(){this.container().style.position="",this.container().style.left="",this.container().style.top="",this.container().style.margin=""}center(){this.resetPosition()}initResize(t){this.resizable&&(this.resizing=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.document.body.setAttribute("data-p-unselectable-text","true"),!this.$unstyled()&&(0,u.TD)(this.document.body,{"user-select":"none"}),this.onResizeInit.emit(t))}onResize(t){if(this.resizing){let e=t.pageX-this.lastPageX,n=t.pageY-this.lastPageY,r=(0,u.Ot)(this.container()),o=(0,u.P$)(this.container()),i=(0,u.P$)(this.contentViewChild?.nativeElement),s=r+e,a=o+n,l=this.container().style.minWidth,c=this.container().style.minHeight,d=this.container().getBoundingClientRect(),h=(0,u.Hr)();(!parseInt(this.container().style.top)||!parseInt(this.container().style.left))&&(s+=e,a+=n),(!l||s>parseInt(l))&&d.left+s<h.width&&(this._style.width=s+"px",this.container().style.width=this._style.width),(!c||a>parseInt(c))&&d.top+a<h.height&&(this.contentViewChild.nativeElement.style.height=i+a-o+"px",this._style.height&&(this._style.height=a+"px",this.container().style.height=this._style.height)),this.lastPageX=t.pageX,this.lastPageY=t.pageY}}resizeEnd(t){this.resizing&&(this.resizing=!1,this.document.body.removeAttribute("data-p-unselectable-text"),!this.$unstyled()&&(this.document.body.style["user-select"]=""),this.onResizeEnd.emit(t))}bindGlobalListeners(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.resizable&&this.bindDocumentResizeListeners(),this.closeOnEscape&&this.closable&&this.bindDocumentEscapeListener()}unbindGlobalListeners(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentEscapeListener()}bindDocumentDragListener(){this.documentDragListener||this.zone.runOutsideAngular(()=>{this.documentDragListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","keydown",t=>{if("Escape"==t.key){const e=this.container();if(!e)return;const n=k.Q$.getCurrent();(parseInt(e.style.zIndex)==n||this.zIndexForLayering==n)&&this.close(t)}})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){"self"!==this.$appendTo()&&(0,u.NI)(this.document.body,this.wrapper)}restoreAppend(){this.container()&&"self"!==this.$appendTo()&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onBeforeEnter(t){this.container.set(t.element),this.wrapper=this.container()?.parentElement,this.$attrSelector&&this.container()?.setAttribute(this.$attrSelector,""),this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container()?.setAttribute(this.id,""),this.modal&&this.enableModality()}onAfterEnter(){this.focusOnShow&&this.focus(),this.onShow.emit({})}onBeforeLeave(){this.modal&&(this.maskVisible=!1)}onAfterLeave(){this.onContainerDestroy(),this.renderDialog.set(!1),this.modal?this.renderMask.set(!1):this.maskVisible=!1,this.onHide.emit({}),this.cd.markForCheck()}onMaskAfterLeave(){this.renderDialog()||this.renderMask.set(!1)}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maximized&&((0,u.vy)(this.document.body,"p-overflow-hidden"),this.document.body.style.removeProperty("--scrollbar-width"),this.maximized=!1),this.modal&&this.disableModality(),(0,u.nB)(this.document.body,"p-overflow-hidden")&&(0,u.vy)(this.document.body,"p-overflow-hidden"),this.container()&&this.autoZIndex&&k.Q$.clear(this.container()),this.zIndexForLayering&&k.Q$.revertZIndex(this.zIndexForLayering),this.container.set(null),this.wrapper=null,this._style=this.originalStyle?{...this.originalStyle}:{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}onDestroy(){this.container()&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle()}get dataP(){return this.cn({maximized:this.maximized,modal:this.modal})}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵcmp=i.VBU({type:t,selectors:[["p-dialog"]],contentQueries:function(t,e,n){if(1&t&&i.wni(n,T,4)(n,E,4)(n,A,4)(n,I,4)(n,O,4)(n,L,4)(n,D,4)(n,d.Ei,4),2&t){let t;i.mGM(t=i.lsd())&&(e._headerTemplate=t.first),i.mGM(t=i.lsd())&&(e._contentTemplate=t.first),i.mGM(t=i.lsd())&&(e._footerTemplate=t.first),i.mGM(t=i.lsd())&&(e._closeiconTemplate=t.first),i.mGM(t=i.lsd())&&(e._maximizeiconTemplate=t.first),i.mGM(t=i.lsd())&&(e._minimizeiconTemplate=t.first),i.mGM(t=i.lsd())&&(e._headlessTemplate=t.first),i.mGM(t=i.lsd())&&(e.templates=t)}},viewQuery:function(t,e){if(1&t&&i.GBs(P,5)(E,5)(A,5),2&t){let t;i.mGM(t=i.lsd())&&(e.headerViewChild=t.first),i.mGM(t=i.lsd())&&(e.contentViewChild=t.first),i.mGM(t=i.lsd())&&(e.footerViewChild=t.first)}},inputs:{hostName:"hostName",header:"header",draggable:[2,"draggable","draggable",a.L39],resizable:[2,"resizable","resizable",a.L39],contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:[2,"modal","modal",a.L39],closeOnEscape:[2,"closeOnEscape","closeOnEscape",a.L39],dismissableMask:[2,"dismissableMask","dismissableMask",a.L39],rtl:[2,"rtl","rtl",a.L39],closable:[2,"closable","closable",a.L39],breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:[2,"showHeader","showHeader",a.L39],blockScroll:[2,"blockScroll","blockScroll",a.L39],autoZIndex:[2,"autoZIndex","autoZIndex",a.L39],baseZIndex:[2,"baseZIndex","baseZIndex",a.Udg],minX:[2,"minX","minX",a.Udg],minY:[2,"minY","minY",a.Udg],focusOnShow:[2,"focusOnShow","focusOnShow",a.L39],maximizable:[2,"maximizable","maximizable",a.L39],keepInViewport:[2,"keepInViewport","keepInViewport",a.L39],focusTrap:[2,"focusTrap","focusTrap",a.L39],transitionOptions:"transitionOptions",maskMotionOptions:[1,"maskMotionOptions"],motionOptions:[1,"motionOptions"],closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",closeButtonProps:"closeButtonProps",maximizeButtonProps:"maximizeButtonProps",visible:"visible",style:"style",position:"position",role:"role",appendTo:[1,"appendTo"],headerTemplate:[0,"content","headerTemplate"],contentTemplate:"contentTemplate",footerTemplate:"footerTemplate",closeIconTemplate:"closeIconTemplate",maximizeIconTemplate:"maximizeIconTemplate",minimizeIconTemplate:"minimizeIconTemplate",headlessTemplate:"headlessTemplate"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},features:[i.Jv_([yt,{provide:bt,useExisting:t},{provide:h.bt,useExisting:t}]),i.nM4([p.Y]),i.Vt3],ngContentSelectors:N,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["icon",""],["footer",""],[3,"class","style","ngStyle","pBind","pMotion","pMotionAppear","pMotionEnterActiveClass","pMotionLeaveActiveClass","pMotionOptions"],[3,"pMotionOnAfterLeave","ngStyle","pBind","pMotion","pMotionAppear","pMotionEnterActiveClass","pMotionLeaveActiveClass","pMotionOptions"],["pFocusTrap","",3,"class","style","ngStyle","pBind","pFocusTrapDisabled","pMotion","pMotionAppear","pMotionName","pMotionOptions"],["pFocusTrap","",3,"pMotionOnBeforeEnter","pMotionOnAfterEnter","pMotionOnBeforeLeave","pMotionOnAfterLeave","ngStyle","pBind","pFocusTrapDisabled","pMotion","pMotionAppear","pMotionName","pMotionOptions"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[3,"class","pBind","z-index","mousedown",4,"ngIf"],[3,"class","pBind","mousedown",4,"ngIf"],[3,"ngStyle","pBind"],[3,"class","pBind",4,"ngIf"],[3,"mousedown","pBind"],[3,"id","class","pBind",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"pBind"],[3,"pt","styleClass","ariaLabel","tabindex","buttonProps","unstyled","onClick","keydown.enter",4,"ngIf"],[3,"id","pBind"],[3,"onClick","keydown.enter","pt","styleClass","ariaLabel","tabindex","buttonProps","unstyled"],[3,"ngClass",4,"ngIf"],[4,"ngIf"],[3,"ngClass"],["data-p-icon","window-maximize",4,"ngIf"],["data-p-icon","window-minimize",4,"ngIf"],["data-p-icon","window-maximize"],["data-p-icon","window-minimize"],[3,"class",4,"ngIf"],["data-p-icon","times",4,"ngIf"],["data-p-icon","times"]],template:function(t,e){1&t&&(i.NAR(R),i.nVh(0,ft,2,14,"div",6)),2&t&&i.vxM(e.renderMask()?0:-1)},dependencies:[r.MD,r.YU,r.bT,r.T3,r.B3,f.$n,m,y.A,w,C,d.Gg,p.Y,_.FF,_.s$],encapsulation:2,changeDetection:0})}return t})()},5724(t,e,n){n.d(e,{DV:()=>i,M6:()=>a,bM:()=>l,xL:()=>s});var r=n(9798),o=n(5396);let i=(()=>{class t{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(t,e){t&&e&&(t.classList?t.classList.add(e):t.className+=" "+e)}static addMultipleClasses(t,e){if(t&&e)if(t.classList){let n=e.trim().split(" ");for(let e=0;e<n.length;e++)t.classList.add(n[e])}else{let n=e.split(" ");for(let e=0;e<n.length;e++)t.className+=" "+n[e]}}static removeClass(t,e){t&&e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(t,e){t&&e&&[e].flat().filter(Boolean).forEach(e=>e.split(" ").forEach(e=>this.removeClass(t,e)))}static hasClass(t,e){return!(!t||!e)&&(t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className))}static siblings(t){return Array.prototype.filter.call(t.parentNode.children,function(e){return e!==t})}static find(t,e){return Array.from(t.querySelectorAll(e))}static findSingle(t,e){return this.isElement(t)?t.querySelector(e):null}static index(t){let e=t.parentNode.childNodes,n=0;for(var r=0;r<e.length;r++){if(e[r]==t)return n;1==e[r].nodeType&&n++}return-1}static indexWithinGroup(t,e){let n=t.parentNode?t.parentNode.childNodes:[],r=0;for(var o=0;o<n.length;o++){if(n[o]==t)return r;n[o].attributes&&n[o].attributes[e]&&1==n[o].nodeType&&r++}return-1}static appendOverlay(t,e,n="self"){"self"!==n&&t&&e&&this.appendChild(t,e)}static alignOverlay(e,n,r="self",o=!0){e&&n&&(o&&(e.style.minWidth=`${t.getOuterWidth(n)}px`),"self"===r?this.relativePosition(e,n):this.absolutePosition(e,n))}static relativePosition(t,e,n=!0){const o=t=>{if(t)return"relative"===getComputedStyle(t).getPropertyValue("position")?t:o(t.parentElement)},i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),s=e.offsetHeight,a=e.getBoundingClientRect(),l=this.getWindowScrollTop(),c=this.getWindowScrollLeft(),u=this.getViewport(),d=o(t)?.getBoundingClientRect()||{top:-1*l,left:-1*c};let h,p,f="top";a.top+s+i.height>u.height?(h=a.top-d.top-i.height,f="bottom",a.top+h<0&&(h=-1*a.top)):(h=s+a.top-d.top,f="top");const g=a.left+i.width-u.width;if(p=i.width>u.width?-1*(a.left-d.left):g>0?a.left-d.left-g:a.left-d.left,t.style.top=h+"px",t.style.left=p+"px",t.style.transformOrigin=f,n){const e=(0,r.Am)(/-anchor-gutter$/)?.value;t.style.marginTop="bottom"===f?`calc(${e??"2px"} * -1)`:e??""}}static absolutePosition(t,e,n=!0){const r=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),o=r.height,i=r.width,s=e.offsetHeight,a=e.offsetWidth,l=e.getBoundingClientRect(),c=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),d=this.getViewport();let h,p;l.top+s+o>d.height?(h=l.top+c-o,t.style.transformOrigin="bottom",h<0&&(h=c)):(h=s+l.top+c,t.style.transformOrigin="top"),p=l.left+i>d.width?Math.max(0,l.left+u+a-i):l.left+u,t.style.top=h+"px",t.style.left=p+"px",n&&(t.style.marginTop="bottom"===origin?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,e=[]){return null===t.parentNode?e:this.getParents(t.parentNode,e.concat([t.parentNode]))}static getScrollableParents(t){let e=[];if(t){let n=this.getParents(t);const r=/(auto|scroll)/,o=t=>{let e=window.getComputedStyle(t,null);return r.test(e.getPropertyValue("overflow"))||r.test(e.getPropertyValue("overflowX"))||r.test(e.getPropertyValue("overflowY"))};for(let t of n){let n=1===t.nodeType&&t.dataset.scrollselectors;if(n){let r=n.split(",");for(let n of r){let r=this.findSingle(t,n);r&&o(r)&&e.push(r)}}9!==t.nodeType&&o(t)&&e.push(t)}}return e}static getHiddenElementOuterHeight(t){t.style.visibility="hidden",t.style.display="block";let e=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",e}static getHiddenElementOuterWidth(t){t.style.visibility="hidden",t.style.display="block";let e=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",e}static getHiddenElementDimensions(t){let e={};return t.style.visibility="hidden",t.style.display="block",e.width=t.offsetWidth,e.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",e}static scrollInView(t,e){let n=getComputedStyle(t).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,s=t.getBoundingClientRect(),a=e.getBoundingClientRect().top+document.body.scrollTop-(s.top+document.body.scrollTop)-r-i,l=t.scrollTop,c=t.clientHeight,u=this.getOuterHeight(e);a<0?t.scrollTop=l+a:a+u>c&&(t.scrollTop=l+a-c+u)}static fadeIn(t,e){t.style.opacity=0;let n=+new Date,r=0,o=function(){r=+t.style.opacity.replace(",",".")+((new Date).getTime()-n)/e,t.style.opacity=r,n=+new Date,+r<1&&(window.requestAnimationFrame?window.requestAnimationFrame(o):setTimeout(o,16))};o()}static fadeOut(t,e){var n=1,r=50/e;let o=setInterval(()=>{(n-=r)<=0&&(n=0,clearInterval(o)),t.style.opacity=n},50)}static getWindowScrollTop(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}static getWindowScrollLeft(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}static matches(t,e){var n=Element.prototype;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(t){return-1!==[].indexOf.call(document.querySelectorAll(t),this)}).call(t,e)}static getOuterWidth(t,e){let n=t.offsetWidth;if(e){let e=getComputedStyle(t);n+=parseFloat(e.marginLeft)+parseFloat(e.marginRight)}return n}static getHorizontalPadding(t){let e=getComputedStyle(t);return parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)}static getHorizontalMargin(t){let e=getComputedStyle(t);return parseFloat(e.marginLeft)+parseFloat(e.marginRight)}static innerWidth(t){let e=t.offsetWidth,n=getComputedStyle(t);return e+=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}static width(t){let e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}static getInnerHeight(t){let e=t.offsetHeight,n=getComputedStyle(t);return e+=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom),e}static getOuterHeight(t,e){let n=t.offsetHeight;if(e){let e=getComputedStyle(t);n+=parseFloat(e.marginTop)+parseFloat(e.marginBottom)}return n}static getHeight(t){let e=t.offsetHeight,n=getComputedStyle(t);return e-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),e}static getWidth(t){let e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth),e}static getViewport(){let t=window,e=document,n=e.documentElement,r=e.getElementsByTagName("body")[0];return{width:t.innerWidth||n.clientWidth||r.clientWidth,height:t.innerHeight||n.clientHeight||r.clientHeight}}static getOffset(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(t,e){let n=t.parentNode;if(!n)throw"Can't replace element";return n.replaceChild(e,t)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var t=window.navigator.userAgent;return t.indexOf("MSIE ")>0||(t.indexOf("Trident/")>0?(t.indexOf("rv:"),!0):t.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(t,e){if(this.isElement(e))e.appendChild(t);else{if(!(e&&e.el&&e.el.nativeElement))throw"Cannot append "+e+" to "+t;e.el.nativeElement.appendChild(t)}}static removeChild(t,e){if(this.isElement(e))e.removeChild(t);else{if(!e.el||!e.el.nativeElement)throw"Cannot remove "+t+" from "+e;e.el.nativeElement.removeChild(t)}}static removeElement(t){"remove"in Element.prototype?t.remove():t.parentNode?.removeChild(t)}static isElement(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}static calculateScrollbarWidth(t){if(t){let e=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=e,e}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let e=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),this.calculatedScrollbarWidth=e,e}static invokeElementMethod(t,e,n){t[e].apply(t,n)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let t=navigator.userAgent.toLowerCase(),e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}}static isInteger(t){return Number.isInteger?Number.isInteger(t):"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}static isHidden(t){return!t||null===t.offsetParent}static isVisible(t){return t&&null!=t.offsetParent}static isExist(t){return null!==t&&typeof t<"u"&&t.nodeName&&t.parentNode}static focus(t,e){t&&document.activeElement!==t&&t.focus(e)}static getFocusableSelectorString(t=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n .p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n .p-button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}`}static getFocusableElements(t,e=""){let n=this.find(t,this.getFocusableSelectorString(e)),r=[];for(let t of n){const e=getComputedStyle(t);this.isVisible(t)&&"none"!=e.display&&"hidden"!=e.visibility&&r.push(t)}return r}static getFocusableElement(t,e=""){let n=this.findSingle(t,this.getFocusableSelectorString(e));if(n){const t=getComputedStyle(n);if(this.isVisible(n)&&"none"!=t.display&&"hidden"!=t.visibility)return n}return null}static getFirstFocusableElement(t,e=""){const n=this.getFocusableElements(t,e);return n.length>0?n[0]:null}static getLastFocusableElement(t,e){const n=this.getFocusableElements(t,e);return n.length>0?n[n.length-1]:null}static getNextFocusableElement(e,n=!1){const r=t.getFocusableElements(e);let o=0;if(r&&r.length>0){const t=r.indexOf(r[0].ownerDocument.activeElement);n?o=-1==t||0===t?r.length-1:t-1:-1!=t&&t!==r.length-1&&(o=t+1)}return r[o]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection()?.toString():document.getSelection?document.getSelection()?.toString():document.selection?document.selection.createRange().text:null}static getTargetElement(t,e){if(!t)return null;switch(t){case"document":return document;case"window":return window;case"@next":return e?.nextElementSibling;case"@prev":return e?.previousElementSibling;case"@parent":return e?.parentElement;case"@grandparent":return e?.parentElement?.parentElement;default:const r=typeof t;if("string"===r)return document.querySelector(t);if("object"===r&&t.hasOwnProperty("nativeElement"))return this.isExist(t.nativeElement)?t.nativeElement:void 0;const o=(n=t)&&n.constructor&&n.call&&n.apply?t():t;return o&&9===o.nodeType||this.isExist(o)?o:null}var n}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(t,e){if(t){const n=t.getAttribute(e);return isNaN(n)?"true"===n||"false"===n?"true"===n:n:+n}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(t="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)}static unblockBodyScroll(t="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}static createElement(t,e={},...n){if(t){const r=document.createElement(t);return this.setAttributes(r,e),r.append(...n),r}}static setAttribute(t,e="",n){this.isElement(t)&&null!=n&&t.setAttribute(e,n)}static setAttributes(t,e={}){if(this.isElement(t)){const n=(e,r)=>{const o=t?.$attrs?.[e]?[t?.$attrs?.[e]]:[];return[r].flat().reduce((t,r)=>{if(null!=r){const o=typeof r;if("string"===o||"number"===o)t.push(r);else if("object"===o){const o=Array.isArray(r)?n(e,r):Object.entries(r).map(([t,n])=>"style"!==e||!n&&0!==n?n?t:void 0:`${t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${n}`);t=o.length?t.concat(o.filter(t=>!!t)):t}}return t},o)};Object.entries(e).forEach(([e,r])=>{if(null!=r){const o=e.match(/^on(.+)/);o?t.addEventListener(o[1].toLowerCase(),r):"pBind"===e?this.setAttributes(t,r):(r="class"===e?[...new Set(n("class",r))].join(" ").trim():"style"===e?n("style",r).join(";").trim():r,(t.$attrs=t.$attrs||{})&&(t.$attrs[e]=r),t.setAttribute(e,r))}})}}static isFocusableElement(t,e=""){return!!this.isElement(t)&&t.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`)}}return t})();function s(){r.xL({variableName:(0,o.t5)("scrollbar.width").name})}function a(){r.M6({variableName:(0,o.t5)("scrollbar.width").name})}class l{element;listener;scrollableParents;constructor(t,e=()=>{}){this.element=t,this.listener=e}bindScrollListener(){this.scrollableParents=i.getScrollableParents(this.element);for(let t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}},3511(t,e,n){n.d(e,{Pw:()=>$,o3:()=>V,sb:()=>F});var r=n(6868),o=n(6817),i=n(6268),s=n(6860),a=n(9798),l=n(4057),c=n(3828),u=n(6484),d=n(7277),h=n(5825),p=n(8447);const f=()=>({severity:"secondary",variant:"text",rounded:!0});function g(t,e){1&t&&i.eu8(0)}function m(t,e){if(1&t&&i.DNE(0,g,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.headerTemplate)}}function y(t,e){1&t&&i.DNE(0,m,1,1,"ng-template",null,0,i.C5r)}function b(t,e){1&t&&i.eu8(0)}function v(t,e){if(1&t&&i.DNE(0,b,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.contentTemplate)}}function w(t,e){1&t&&i.DNE(0,v,1,1,"ng-template",null,1,i.C5r)}function S(t,e){1&t&&i.eu8(0)}function C(t,e){if(1&t&&i.DNE(0,S,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.footerTemplate)}}function _(t,e){1&t&&i.DNE(0,C,1,1,"ng-template",null,2,i.C5r)}function k(t,e){1&t&&i.eu8(0)}function x(t,e){if(1&t&&i.DNE(0,k,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.closeIconTemplate)}}function T(t,e){1&t&&i.DNE(0,x,1,1,"ng-template",null,3,i.C5r)}function E(t,e){1&t&&i.eu8(0)}function A(t,e){if(1&t&&i.DNE(0,E,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.maximizeIconTemplate)}}function I(t,e){1&t&&i.DNE(0,A,1,1,"ng-template",null,4,i.C5r)}function O(t,e){1&t&&i.eu8(0)}function L(t,e){if(1&t&&i.DNE(0,O,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.minimizeIconTemplate)}}function D(t,e){1&t&&i.DNE(0,L,1,1,"ng-template",null,5,i.C5r)}function P(t,e){}function R(t,e){1&t&&i.DNE(0,P,0,0,"ng-template",9)}function N(t,e){if(1&t&&(i.j41(0,"div"),i.EFF(1),i.k0s()),2&t){const t=i.XpG();i.R7$(),i.JRh(t.ddconfig.footer)}}let M=(()=>{class t{viewContainerRef;constructor(t){this.viewContainerRef=t}static ɵfac=function(e){return new(e||t)(i.rXU(i.c1b))};static ɵdir=i.FsC({type:t,selectors:[["","pDynamicDialogContent",""]]})}return t})(),j=(()=>{class t extends h.g8{name="dialog";static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵprov=o.jDH({token:t,factory:t.ɵfac})}return t})();class F{data;inputValues;header;ariaLabelledBy;footer;width;height;closeOnEscape=!1;focusOnShow=!0;focusTrap=!0;baseZIndex;autoZIndex=!1;dismissableMask=!1;rtl=!1;style;contentStyle;styleClass;transitionOptions;closable=!1;showHeader=!1;modal=!1;maskStyleClass;resizable=!1;draggable=!1;keepInViewport=!1;minX;minY;maximizable=!1;maximizeIcon;minimizeIcon;position;closeAriaLabel;appendTo;duplicate=!1;breakpoints;templates;pt;unstyled}class ${constructor(){}close(t){this._onClose.next(t),setTimeout(()=>{this._onClose.complete()},1e3)}destroy(){this._onDestroy.next(null)}dragStart(t){this._onDragStart.next(t)}dragEnd(t){this._onDragEnd.next(t)}resizeInit(t){this._onResizeInit.next(t)}resizeEnd(t){this._onResizeEnd.next(t)}maximize(t){this._onMaximize.next(t)}_onClose=new p.B;onClose=this._onClose.asObservable();_onDestroy=new p.B;onDestroy=this._onDestroy.asObservable();_onDragStart=new p.B;onDragStart=this._onDragStart.asObservable();_onDragEnd=new p.B;onDragEnd=this._onDragEnd.asObservable();_onResizeInit=new p.B;onResizeInit=this._onResizeInit.asObservable();_onResizeEnd=new p.B;onResizeEnd=this._onResizeEnd.asObservable();_onMaximize=new p.B;onMaximize=this._onMaximize.asObservable();onChildComponentLoaded=new p.B}const z=new o.nKC("DYNAMIC_DIALOG_INSTANCE");let H=(()=>{class t extends u.$G{ddconfig;dialogRef;componentName="Dialog";_componentStyle=(0,o.WQX)(j);$pcDynamicDialog=(0,o.WQX)(z,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,o.WQX)(d.Y,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}visible=!0;componentRef;id=(0,l.u)("pn_id_");insertionPoint;dialog;childComponentType;inputValues;get minX(){return this.ddconfig.minX?this.ddconfig.minX:0}get minY(){return this.ddconfig.minY?this.ddconfig.minY:0}get keepInViewport(){return this.ddconfig.keepInViewport}get maximizable(){return this.ddconfig.maximizable}get maximizeIcon(){return this.ddconfig.maximizeIcon}get minimizeIcon(){return this.ddconfig.minimizeIcon}get closable(){return this.ddconfig.closable}get position(){return this.ddconfig.position}get defaultCloseAriaLabel(){return this.config.getTranslation(c.Yj.ARIA).close}get breakpoints(){return this.ddconfig.breakpoints}get footerTemplate(){return this.ddconfig?.templates?.footer}get headerTemplate(){return this.ddconfig?.templates?.header}get contentTemplate(){return this.ddconfig?.templates?.content}get minimizeIconTemplate(){return this.ddconfig?.templates?.minimizeicon}get maximizeIconTemplate(){return this.ddconfig?.templates?.maximizeicon}get closeIconTemplate(){return this.ddconfig?.templates?.closeicon}get dialogStyle(){return{...this.ddconfig?.style||{},...this.ddconfig?.width&&{width:this.ddconfig.width},...this.ddconfig?.height&&{height:this.ddconfig.height}}}get header(){return this.ddconfig.header}get data(){return this.ddconfig.data}get dialogId(){return this.$attrSelector}get isUnstyled(){return this.ddconfig.unstyled||this.$unstyled()}maximized;dragging;resizing;ariaLabelledBy;_style={};styleElement;lastPageX;lastPageY;contentViewChild;footerViewChild;headerViewChild;maskViewChild;maskClickListener;documentDragListener;documentDragEndListener;documentResizeListener;documentResizeEndListener;documentEscapeListener;constructor(t,e){super(),this.ddconfig=t,this.dialogRef=e}onVisibleChange(t){t||this.dialogRef.close()}onAfterViewInit(){this.loadChildComponent(this.childComponentType),this.ariaLabelledBy=this.getAriaLabelledBy(),this.cd.detectChanges()}getAriaLabelledBy(){const{header:t,showHeader:e}=this.ddconfig;return null===t||!1===e?null:(0,l.u)("pn_id_")+"_header"}loadChildComponent(t){let e=this.insertionPoint?.viewContainerRef;e?.clear(),this.componentRef=e?.createComponent(t),this.inputValues&&this.componentRef&&Object.entries(this.inputValues).forEach(([t,e])=>{this.componentRef.setInput(t,e)}),this.dialogRef.onChildComponentLoaded.next(this.componentRef.instance)}onDialogHide(t){this.dialogRef.destroy()}onDialogMaximize(t){this.maximized=t.maximized,this.dialogRef.maximize(t)}onDialogResizeInit(t){this.resizing=!0,this.dialogRef.resizeInit(t)}onDialogResizeEnd(t){this.resizing=!1,this.dialogRef.resizeEnd(t)}onDialogDragEnd(t){this.dragging=!1,this.dialogRef.dragEnd(t)}close(){this.visible=!1,this.cd.markForCheck()}hide(){this.dialogRef&&this.dialogRef.close()}get _parent(){const t=Array.from(this.document.getElementsByClassName("p-dialog"));if(t.length>1)return t.pop()}get parentContent(){const t=Array.from(this.document.getElementsByClassName("p-dialog"));if(t.length>0){const e=t[t.length-1].querySelector(".p-dialog-content");if(e)return Array.isArray(e)?e[0]:e}}container;wrapper;unbindGlobalListeners(){this.unbindDocumentEscapeListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener()}onAnimationStart(t){"visible"===t.toState&&(this._parent&&this.unbindGlobalListeners(),this.ddconfig.modal&&this.enableModality())}onAnimationEnd(t){"void"===t.toState&&(this.onContainerDestroy(),this.dialogRef.destroy())}onContainerDestroy(){this.unbindGlobalListeners(),this.ddconfig.modal&&this.disableModality(),this.container=null}bindDocumentDragListener(){this.documentDragListener||(this.documentDragListener=this.renderer.listen(this.document.defaultView,"mousemove",t=>{this.onDrag(t)}))}bindDocumentDragEndListener(){this.documentDragEndListener||(this.documentDragEndListener=this.renderer.listen(this.document.defaultView,"mouseup",t=>{this.endDrag(t)}))}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}initDrag(t){if(t.target instanceof HTMLElement){const e=t.target;if(e.closest(".p-dialog-header-icon")||e.closest(".p-dialog-header-icons"))return}this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.dialogRef.dragStart(t),this.bindDocumentDragListener(),this.bindDocumentDragEndListener()}onDrag(t){this.dragging&&(this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.ddconfig.keepInViewport&&this.container&&(this.container.style.position="fixed"))}endDrag(t){this.dragging&&(this.dragging=!1,this.dialogRef.dragEnd(t),this.cd.detectChanges())}resetPosition(){this.container&&(this.container.style.position="",this.container.style.left="",this.container.style.top="",this.container.style.margin="")}bindDocumentResizeListeners(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.document.defaultView,"mousemove",t=>{this.onResize(t)})),this.documentResizeEndListener||(this.documentResizeEndListener=this.renderer.listen(this.document.defaultView,"mouseup",t=>{this.resizeEnd(t)}))}unbindDocumentResizeListeners(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null),this.documentResizeEndListener&&(this.documentResizeEndListener(),this.documentResizeEndListener=null)}initResize(t){this.resizing=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.dialogRef.resizeInit(t)}onResize(t){this.resizing&&(this.lastPageX=t.pageX,this.lastPageY=t.pageY)}resizeEnd(t){this.resizing&&(this.resizing=!1,this.dialogRef.resizeEnd(t))}maximize(){this.maximized=!this.maximized,this.dialogRef.maximize({maximized:this.maximized})}enableModality(){this.ddconfig.dismissableMask&&this.wrapper&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",t=>{this.wrapper&&this.wrapper.isSameNode(t.target)&&this.hide()}))}disableModality(){this.unbindMaskClickListener(),this.cd.detectChanges()}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}bindDocumentEscapeListener(){this.ddconfig.closeOnEscape&&(this.documentEscapeListener=this.renderer.listen(this.document,"keydown",t=>{"Escape"===t.key&&this.container&&this.hide()}))}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}createStyle(){if(!this.styleElement&&this.breakpoints){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let t="";for(let e in this.breakpoints)t+=`\n @media screen and (max-width: ${e}) {\n .p-dialog[${this.dialogId}] {\n width: ${this.breakpoints[e]} !important;\n }\n }\n `;this.renderer.setProperty(this.styleElement,"innerHTML",t)}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}onDestroy(){this.onContainerDestroy(),this.componentRef&&"function"==typeof this.componentRef.destroy&&this.componentRef.destroy(),this.destroyStyle()}static ɵfac=function(e){return new(e||t)(i.rXU(F),i.rXU($))};static ɵcmp=i.VBU({type:t,selectors:[["p-dynamicDialog"],["p-dynamicdialog"],["p-dynamic-dialog"]],viewQuery:function(t,e){if(1&t&&i.GBs(M,5)(h.lG,5),2&t){let t;i.mGM(t=i.lsd())&&(e.insertionPoint=t.first),i.mGM(t=i.lsd())&&(e.dialog=t.first)}},features:[i.Jv_([j,{provide:z,useExisting:t},{provide:u.bt,useExisting:t}]),i.nM4([d.Y]),i.Vt3],decls:9,vars:43,consts:[["header",""],["content",""],["footer",""],["closeicon",""],["maximizeicon",""],["minimizeicon",""],["appendTo","self","hostName","DynamicDialog",3,"visibleChange","onHide","onMaximize","onResizeInit","onResizeEnd","onDragEnd","visible","header","draggable","resizable","contentStyle","modal","closeOnEscape","dismissableMask","rtl","closable","breakpoints","styleClass","maskStyleClass","showHeader","autoZIndex","baseZIndex","minX","minY","focusOnShow","maximizable","keepInViewport","focusTrap","transitionOptions","closeAriaLabel","minimizeIcon","maximizeIcon","closeButtonProps","maximizeButtonProps","position","pt","unstyled"],[4,"ngIf"],[4,"ngComponentOutlet"],["pDynamicDialogContent",""]],template:function(t,e){1&t&&(i.j41(0,"p-dialog",6),i.mxI("visibleChange",function(t){return i.DH7(e.visible,t)||(e.visible=t),t}),i.bIt("onHide",function(t){return e.onDialogHide(t)})("onMaximize",function(t){return e.onDialogMaximize(t)})("onResizeInit",function(t){return e.onDialogResizeInit(t)})("onResizeEnd",function(t){return e.onDialogResizeEnd(t)})("onDragEnd",function(t){return e.onDialogDragEnd(t)})("visibleChange",function(t){return e.onVisibleChange(t)}),i.DNE(1,y,2,0,null,7)(2,w,2,0,null,7)(3,_,2,0,null,7)(4,T,2,0,null,7)(5,I,2,0,null,7)(6,D,2,0,null,7)(7,R,1,0,null,7)(8,N,2,1,"div",7),i.k0s()),2&t&&(i.Aen(e.dialogStyle),i.R50("visible",e.visible),i.Y8G("header",null==e.ddconfig?null:e.ddconfig.header)("draggable",!1!==(null==e.ddconfig?null:e.ddconfig.draggable))("resizable",!1!==(null==e.ddconfig?null:e.ddconfig.resizable))("contentStyle",null==e.ddconfig?null:e.ddconfig.contentStyle)("modal",!1!==(null==e.ddconfig?null:e.ddconfig.modal))("closeOnEscape",!1!==(null==e.ddconfig?null:e.ddconfig.closeOnEscape))("dismissableMask",null==e.ddconfig?null:e.ddconfig.dismissableMask)("rtl",null==e.ddconfig?null:e.ddconfig.rtl)("closable",e.closable)("breakpoints",e.breakpoints)("styleClass",null==e.ddconfig?null:e.ddconfig.styleClass)("maskStyleClass",null==e.ddconfig?null:e.ddconfig.maskStyleClass)("showHeader",!1!==(null==e.ddconfig?null:e.ddconfig.showHeader))("autoZIndex",!1!==(null==e.ddconfig?null:e.ddconfig.autoZIndex))("baseZIndex",(null==e.ddconfig?null:e.ddconfig.baseZIndex)||0)("minX",e.minX)("minY",e.minY)("focusOnShow",!1!==(null==e.ddconfig?null:e.ddconfig.focusOnShow))("maximizable",e.maximizable)("keepInViewport",e.keepInViewport)("focusTrap",!1!==(null==e.ddconfig?null:e.ddconfig.focusTrap))("transitionOptions",(null==e.ddconfig?null:e.ddconfig.transitionOptions)||"150ms cubic-bezier(0, 0, 0.2, 1)")("closeAriaLabel",(null==e.ddconfig?null:e.ddconfig.closeAriaLabel)||e.defaultCloseAriaLabel)("minimizeIcon",e.minimizeIcon)("maximizeIcon",e.maximizeIcon)("closeButtonProps",i.lJ4(41,f))("maximizeButtonProps",i.lJ4(42,f))("position",e.position)("pt",e.ddconfig.pt)("unstyled",e.isUnstyled),i.R7$(),i.Y8G("ngIf",e.headerTemplate),i.R7$(),i.Y8G("ngIf",e.contentTemplate),i.R7$(),i.Y8G("ngIf",e.footerTemplate),i.R7$(),i.Y8G("ngIf",e.closeIconTemplate),i.R7$(),i.Y8G("ngIf",e.maximizeIconTemplate),i.R7$(),i.Y8G("ngIf",e.minimizeIconTemplate),i.R7$(),i.Y8G("ngIf",!e.contentTemplate),i.R7$(),i.Y8G("ngIf",e.ddconfig.footer&&!e.footerTemplate))},dependencies:[r.MD,r.OI,r.bT,c.Gg,M,h.lG,d.C],encapsulation:2})}return t})();class B{_parentInjector;_additionalTokens;constructor(t,e){this._parentInjector=t,this._additionalTokens=e}get(t,e,n){return this._additionalTokens.get(t)||this._parentInjector.get(t,e)}}let V=(()=>{class t{appRef;injector;document;dialogComponentRefMap=new Map;constructor(t,e,n){this.appRef=t,this.injector=e,this.document=n}open(t,e){if(!this.duplicationPermission(t,e))return null;const n=this.appendDialogComponentToBody(e,t),r=this.dialogComponentRefMap.get(n);return r&&(r.instance.childComponentType=t,r.instance.inputValues=e.inputValues||{}),n}getInstance(t){return this.dialogComponentRefMap.get(t)?.instance}appendDialogComponentToBody(t,e){const n=new WeakMap;n.set(F,t);const r=new $;n.set($,r);const o=r.onClose.subscribe(()=>{this.dialogComponentRefMap.get(r)?.instance.close()}),i=r.onDestroy.subscribe(()=>{this.removeDialogComponentFromBody(r),i.unsubscribe(),o.unsubscribe()}),l=(0,s.a0P)(H,{environmentInjector:this.appRef.injector,elementInjector:new B(this.injector,n)});this.appRef.attachView(l.hostView);const c=l.hostView.rootNodes[0];return t.appendTo&&"body"!==t.appendTo?(0,a.NI)(t.appendTo,c):this.document.body.appendChild(c),this.dialogComponentRefMap.set(r,l),r}removeDialogComponentFromBody(t){if(!t||!this.dialogComponentRefMap.has(t))return;const e=this.dialogComponentRefMap.get(t);e&&(this.appRef.detachView(e.hostView),e.destroy(),e.changeDetectorRef.detectChanges()),this.dialogComponentRefMap.delete(t)}duplicationPermission(t,e){if(e.duplicate)return!0;let n=!0;for(const[e,r]of this.dialogComponentRefMap)if(r.instance.childComponentType===t){n=!1;break}return n}static ɵfac=function(e){return new(e||t)(o.KVO(i.o8S),o.KVO(o.zZn),o.KVO(o.qQL))};static ɵprov=o.jDH({token:t,factory:t.ɵfac})}return t})()},7144(t,e,n){n.d(e,{Tc:()=>p});var r=n(6868),o=n(6268),i=n(6817),s=n(6484),a=n(7277),l=n(8980);const c=["*"],u={root:"p-fluid"};let d=(()=>{class t extends l.j{name="fluid";classes=u;static ɵfac=(()=>{let e;return function(n){return(e||(e=o.xGo(t)))(n||t)}})();static ɵprov=i.jDH({token:t,factory:t.ɵfac})}return t})();const h=new i.nKC("FLUID_INSTANCE");let p=(()=>{class t extends s.$G{componentName="Fluid";$pcFluid=(0,i.WQX)(h,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,i.WQX)(a.Y,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=(0,i.WQX)(d);static ɵfac=(()=>{let e;return function(n){return(e||(e=o.xGo(t)))(n||t)}})();static ɵcmp=o.VBU({type:t,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(t,e){2&t&&o.HbH(e.cx("root"))},features:[o.Jv_([d,{provide:h,useExisting:t},{provide:s.bt,useExisting:t}]),o.nM4([a.Y]),o.Vt3],ngContentSelectors:c,decls:1,vars:0,template:function(t,e){1&t&&(o.NAR(),o.SdG(0))},dependencies:[r.MD],encapsulation:2,changeDetection:0})}return t})()},7727(t,e,n){n.d(e,{h_:()=>d});var r=n(6268),o=n(6817),i=n(6860),s=n(3896),a=n(6484),l=n(8980);const c=["*"];let u=(()=>{class t extends l.j{name="baseicon";css="\n.p-icon {\n display: inline-block;\n vertical-align: baseline;\n flex-shrink: 0;\n}\n\n.p-icon-spin {\n -webkit-animation: p-icon-spin 2s infinite linear;\n animation: p-icon-spin 2s infinite linear;\n}\n\n@-webkit-keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n";static ɵfac=(()=>{let e;return function(n){return(e||(e=r.xGo(t)))(n||t)}})();static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),d=(()=>{class t extends a.$G{spin=!1;_componentStyle=(0,o.WQX)(u);getClassNames(){return(0,s.cn)("p-icon",{"p-icon-spin":this.spin})}static ɵfac=(()=>{let e;return function(n){return(e||(e=r.xGo(t)))(n||t)}})();static ɵcmp=r.VBU({type:t,selectors:[["ng-component"]],hostAttrs:["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],hostVars:2,hostBindings:function(t,e){2&t&&r.HbH(e.getClassNames())},inputs:{spin:[2,"spin","spin",i.L39]},features:[r.Jv_([u]),r.Vt3],ngContentSelectors:c,decls:1,vars:0,template:function(t,e){1&t&&(r.NAR(),r.SdG(0))},encapsulation:2,changeDetection:0})}return t})()},5774(t,e,n){n.d(e,{N:()=>l});var r=n(6268),o=n(6817),i=n(4057),s=n(7727);const a=["data-p-icon","spinner"];let l=(()=>{class t extends s.h_{pathId;onInit(){this.pathId="url(#"+(0,i.u)()+")"}static ɵfac=(()=>{let e;return function(n){return(e||(e=r.xGo(t)))(n||t)}})();static ɵcmp=r.VBU({type:t,selectors:[["","data-p-icon","spinner"]],features:[r.Vt3],attrs:a,decls:5,vars:2,consts:[["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(t,e){1&t&&(o.qSk(),r.rj2(0,"g"),r.Hgh(1,"path",0),r.eux(),r.rj2(2,"defs")(3,"clipPath",1),r.Hgh(4,"rect",2),r.eux()()),2&t&&(r.BMQ("clip-path",e.pathId),r.R7$(3),r.Avn("id",e.pathId))},encapsulation:2})}return t})()},239(t,e,n){n.d(e,{A:()=>a});var r=n(6268),o=n(6817),i=n(7727);const s=["data-p-icon","times"];let a=(()=>{class t extends i.h_{static ɵfac=(()=>{let e;return function(n){return(e||(e=r.xGo(t)))(n||t)}})();static ɵcmp=r.VBU({type:t,selectors:[["","data-p-icon","times"]],features:[r.Vt3],attrs:s,decls:1,vars:0,consts:[["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(t,e){1&t&&(o.qSk(),r.Hgh(0,"path",0))},encapsulation:2})}return t})()},9634(t,e,n){n.d(e,{T8:()=>j,s$:()=>$,FF:()=>z});var r=n(467),o=n(6268),i=n(6817),s=n(6860),a=n(5697),l=n(6868);function c(t,e){if(t&&e){let n=e=>{(function(t,e){return!!t&&(t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className))})(t,e)||(t.classList?t.classList.add(e):t.className+=" "+e)};[e].flat().filter(Boolean).forEach(t=>t.split(" ").forEach(n))}}function u(t,e){if(t&&e){let n=e=>{t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")};[e].flat().filter(Boolean).forEach(t=>t.split(" ").forEach(n))}}function d(t,e,n=null,r){var o;e&&(null==(o=t?.style)||o.setProperty(e,n,r))}var h=n(8165),p=Object.defineProperty,f=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,y=(t,e,n)=>e in t?p(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,b=(t,e)=>{for(var n in e||(e={}))g.call(e,n)&&y(t,n,e[n]);if(f)for(var n of f(e))m.call(e,n)&&y(t,n,e[n]);return t},v="animation",w="transition";function S(t,e){return"number"==typeof t?t:"object"==typeof t&&null!=t[e]?t[e]:null}var C={name:"p",safe:!0,disabled:!1,enter:!0,leave:!0,autoHeight:!0,autoWidth:!1};function _(t,e){if(!t)throw new Error("Element is required.");let n={},r=!1,o={},i=null,s={},a=t=>{if(Object.assign(n,function(t,e){return t?b(b({},t),Object.entries(e).reduce((e,[n,r])=>{var o;return e[n]=null!=(o=t[n])?o:r,e},{})):e}(t,C)),!n.enter&&!n.leave)throw new Error("Enter or leave must be true.");s=function(t){return{enter:{onBefore:t?.onBeforeEnter,onStart:t?.onEnter,onAfter:t?.onAfterEnter,onCancelled:t?.onEnterCancelled},leave:{onBefore:t?.onBeforeLeave,onStart:t?.onLeave,onAfter:t?.onAfterLeave,onCancelled:t?.onLeaveCancelled}}}(n),r=function(t){return!!t&&(t.disabled||!(!t.safe||typeof window>"u"||!window.matchMedia||!window.matchMedia("(prefers-reduced-motion: reduce)").matches))}(n),o=function(t){let{name:e,enterClass:n,leaveClass:r}=t||{};return{enter:{from:n?.from||`${e}-enter-from`,to:n?.to||`${e}-enter-to`,active:n?.active||`${e}-enter-active`},leave:{from:r?.from||`${e}-leave-from`,to:r?.to||`${e}-leave-to`,active:r?.active||`${e}-leave-active`}}}(n),i=null},l=e=>((t,e,n)=>new Promise((t,e)=>{var r=t=>{try{i(n.next(t))}catch(t){e(t)}},o=t=>{try{i(n.throw(t))}catch(t){e(t)}},i=e=>e.done?t(e.value):Promise.resolve(e.value).then(r,o);i((n=n.apply(null,null)).next())}))(0,0,function*(){i?.();let{onBefore:a,onStart:l,onAfter:p,onCancelled:f}=s[e]||{},g={element:t};if(r)return a?.(g),l?.(g),void p?.(g);let{from:m,active:y,to:b}=o[e]||{};return function(t,e=!0,n=!1){if(!e&&!n)return;let r=function(t){let e={width:0,height:0};if(t){let[n,r]=[t.style.visibility,t.style.display],o=t.getBoundingClientRect();t.style.visibility="hidden",t.style.display="block",e.width=o.width||t.offsetWidth,e.height=o.height||t.offsetHeight,t.style.display=r,t.style.visibility=n}return e}(t);e&&d(t,"--pui-motion-height",r.height+"px"),n&&d(t,"--pui-motion-width",r.width+"px")}(t,n.autoHeight,n.autoWidth),a?.(g),c(t,m),c(t,y),u(t,m),c(t,b),l?.(g),new Promise(r=>{let o=S(n.duration,e),s=()=>{u(t,[b,y]),i=null};i=()=>{s(),f?.(g),r()},function(t,e,n,r){let o=t._motionEndId=++k,i=()=>{o===t._motionEndId&&r()};if(null!=n)return setTimeout(i,n);let{type:s,timeout:a,count:l}=function(t,e){let n,r=window.getComputedStyle(t),o=t=>{let e=r[`${t}Duration`];return[r[`${t}Delay`].split(", ").map(h.G8),e.split(", ").map(h.G8)]},[i,s]=o(w),[a,l]=o(v),c=Math.max(...s.map((t,e)=>t+i[e])),u=Math.max(...l.map((t,e)=>t+a[e])),d=0,p=0;return e===w?c>0&&(n=w,d=c,p=s.length):e===v?u>0&&(n=v,d=u,p=l.length):(d=Math.max(c,u),n=d>0?c>u?w:v:void 0,p=n?n===w?s.length:l.length:0),{type:n,timeout:d,count:p}}(t,e);if(!s)return void r();let c=s+"end",u=0,d=()=>{t.removeEventListener(c,p,!0),i()},p=e=>{e.target===t&&++u>=l&&d()};t.addEventListener(c,p,{capture:!0,once:!0}),setTimeout(()=>{u<l&&d()},a+1)}(t,n.type,o,()=>{s(),p?.(g),r()})})});a(e);let p={enter:()=>n.enter?l("enter"):Promise.resolve(),leave:()=>n.leave?l("leave"):Promise.resolve(),cancel:()=>{i?.(),i=null},update:(e,n)=>{if(!e)throw new Error("Element is required.");t=e,p.cancel(),a(n)}};return n.appear&&p.enter(),p}var k=0,x=n(9798),T=n(6484),E=n(7277),A=n(8980);const I=["*"];function O(t,e){1&t&&o.SdG(0)}const L=new WeakMap;function D(t,e){if(t)switch(L.has(t)||L.set(t,{display:t.style.display,visibility:t.style.visibility,maxHeight:t.style.maxHeight,overflow:t.style.overflow}),e){case"display":t.style.display="none";break;case"visibility":t.style.visibility="hidden",t.style.maxHeight="0",t.style.overflow="hidden"}}function P(t,e){if(!t)return;const n=L.get(t)??t.style;switch(e){case"display":t.style.display=n?.display||"";break;case"visibility":t.style.visibility=n?.visibility||"",t.style.maxHeight=n?.maxHeight||"",t.style.overflow=n?.overflow||""}L.delete(t)}const R={root:"p-motion"};let N=(()=>{class t extends A.j{name="motion";style="\n .p-motion {\n display: block;\n }\n";classes=R;static ɵfac=(()=>{let e;return function(n){return(e||(e=o.xGo(t)))(n||t)}})();static ɵprov=i.jDH({token:t,factory:t.ɵfac})}return t})();const M=new i.nKC("MOTION_INSTANCE");let j=(()=>{class t extends T.$G{$pcMotion=(0,i.WQX)(M,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,i.WQX)(E.Y,{self:!0});onAfterViewChecked(){const t=this.options()?.root||{};this.bindDirectiveInstance.setAttrs({...this.ptms(["host","root"]),...t})}_componentStyle=(0,i.WQX)(N);visible=(0,s.hFB)(!1);mountOnEnter=(0,s.hFB)(!0);unmountOnLeave=(0,s.hFB)(!0);name=(0,s.hFB)(void 0);type=(0,s.hFB)(void 0);safe=(0,s.hFB)(void 0);disabled=(0,s.hFB)(!1);appear=(0,s.hFB)(!1);enter=(0,s.hFB)(!0);leave=(0,s.hFB)(!0);duration=(0,s.hFB)(void 0);hideStrategy=(0,s.hFB)("display");enterFromClass=(0,s.hFB)(void 0);enterToClass=(0,s.hFB)(void 0);enterActiveClass=(0,s.hFB)(void 0);leaveFromClass=(0,s.hFB)(void 0);leaveToClass=(0,s.hFB)(void 0);leaveActiveClass=(0,s.hFB)(void 0);options=(0,s.hFB)({});onBeforeEnter=(0,s.CGW)();onEnter=(0,s.CGW)();onAfterEnter=(0,s.CGW)();onEnterCancelled=(0,s.CGW)();onBeforeLeave=(0,s.CGW)();onLeave=(0,s.CGW)();onAfterLeave=(0,s.CGW)();onLeaveCancelled=(0,s.CGW)();motionOptions=(0,a.EW)(()=>{const t=this.options();return{name:t.name??this.name(),type:t.type??this.type(),safe:t.safe??this.safe(),disabled:t.disabled??this.disabled(),appear:!1,enter:t.enter??this.enter(),leave:t.leave??this.leave(),duration:t.duration??this.duration(),enterClass:{from:t.enterClass?.from??(t.name?void 0:this.enterFromClass()),to:t.enterClass?.to??(t.name?void 0:this.enterToClass()),active:t.enterClass?.active??(t.name?void 0:this.enterActiveClass())},leaveClass:{from:t.leaveClass?.from??(t.name?void 0:this.leaveFromClass()),to:t.leaveClass?.to??(t.name?void 0:this.leaveToClass()),active:t.leaveClass?.active??(t.name?void 0:this.leaveActiveClass())},onBeforeEnter:t.onBeforeEnter??this.handleBeforeEnter,onEnter:t.onEnter??this.handleEnter,onAfterEnter:t.onAfterEnter??this.handleAfterEnter,onEnterCancelled:t.onEnterCancelled??this.handleEnterCancelled,onBeforeLeave:t.onBeforeLeave??this.handleBeforeLeave,onLeave:t.onLeave??this.handleLeave,onAfterLeave:t.onAfterLeave??this.handleAfterLeave,onLeaveCancelled:t.onLeaveCancelled??this.handleLeaveCancelled}});motion;isInitialMount=!0;cancelled=!1;destroyed=!1;rendered=(0,i.vPA)(!1);handleBeforeEnter=t=>!this.destroyed&&this.onBeforeEnter.emit(t);handleEnter=t=>!this.destroyed&&this.onEnter.emit(t);handleAfterEnter=t=>!this.destroyed&&this.onAfterEnter.emit(t);handleEnterCancelled=t=>!this.destroyed&&this.onEnterCancelled.emit(t);handleBeforeLeave=t=>!this.destroyed&&this.onBeforeLeave.emit(t);handleLeave=t=>!this.destroyed&&this.onLeave.emit(t);handleAfterLeave=t=>!this.destroyed&&this.onAfterLeave.emit(t);handleLeaveCancelled=t=>!this.destroyed&&this.onLeaveCancelled.emit(t);constructor(){var t;super(),t=this,(0,i.QZP)(()=>{const t=this.hideStrategy();this.isInitialMount?(D(this.$el,t),this.rendered.set(this.visible()&&this.mountOnEnter()||!this.mountOnEnter())):this.visible()&&!this.rendered()&&(D(this.$el,t),this.rendered.set(!0))}),(0,i.QZP)(()=>{this.motion||(this.motion=_(this.$el,this.motionOptions()))}),(0,s.uEv)((0,r.A)(function*(){if(!t.$el)return;const e=t.isInitialMount&&t.visible()&&t.appear(),n=t.hideStrategy();t.visible()?(yield(0,x.dA)(),P(t.$el,n),(e||!t.isInitialMount)&&(t.applyMotionDuration("enter"),t.motion?.enter())):t.isInitialMount||(yield(0,x.dA)(),t.applyMotionDuration("leave"),t.motion?.leave()?.then((0,r.A)(function*(){t.$el&&!t.cancelled&&!t.visible()&&(D(t.$el,n),t.unmountOnLeave()&&(yield(0,x.dA)(),t.cancelled||t.rendered.set(!1)))}))),t.isInitialMount=!1}))}applyMotionDuration(t){const e=(0,a.O8)(this.motionOptions),n=S(e.duration,t);if(null==n||!this.$el)return;const r=this.$el,o=`${n}ms`;"transition"===e.type?r.style.transitionDuration=o:r.style.animationDuration=o}onDestroy(){this.destroyed=!0,this.cancelled=!0,this.motion?.cancel(),this.motion=void 0,P(this.$el,this.hideStrategy()),this.$el?.remove(),this.isInitialMount=!0}static ɵfac=function(e){return new(e||t)};static ɵcmp=o.VBU({type:t,selectors:[["p-motion"]],hostVars:2,hostBindings:function(t,e){2&t&&o.HbH(e.cx("root"))},inputs:{visible:[1,"visible"],mountOnEnter:[1,"mountOnEnter"],unmountOnLeave:[1,"unmountOnLeave"],name:[1,"name"],type:[1,"type"],safe:[1,"safe"],disabled:[1,"disabled"],appear:[1,"appear"],enter:[1,"enter"],leave:[1,"leave"],duration:[1,"duration"],hideStrategy:[1,"hideStrategy"],enterFromClass:[1,"enterFromClass"],enterToClass:[1,"enterToClass"],enterActiveClass:[1,"enterActiveClass"],leaveFromClass:[1,"leaveFromClass"],leaveToClass:[1,"leaveToClass"],leaveActiveClass:[1,"leaveActiveClass"],options:[1,"options"]},outputs:{onBeforeEnter:"onBeforeEnter",onEnter:"onEnter",onAfterEnter:"onAfterEnter",onEnterCancelled:"onEnterCancelled",onBeforeLeave:"onBeforeLeave",onLeave:"onLeave",onAfterLeave:"onAfterLeave",onLeaveCancelled:"onLeaveCancelled"},features:[o.Jv_([N,{provide:M,useExisting:t},{provide:T.bt,useExisting:t}]),o.nM4([E.Y]),o.Vt3],ngContentSelectors:I,decls:1,vars:1,template:function(t,e){1&t&&(o.NAR(),o.nVh(0,O,1,0)),2&t&&o.vxM(e.rendered()?0:-1)},dependencies:[l.MD,E.C],encapsulation:2})}return t})();const F=new i.nKC("MOTION_DIRECTIVE_INSTANCE");let $=(()=>{class t extends T.$G{$pcMotionDirective=(0,i.WQX)(F,{optional:!0,skipSelf:!0})??void 0;visible=(0,s.hFB)(!1,{alias:"pMotion"});name=(0,s.hFB)(void 0,{alias:"pMotionName"});type=(0,s.hFB)(void 0,{alias:"pMotionType"});safe=(0,s.hFB)(void 0,{alias:"pMotionSafe"});disabled=(0,s.hFB)(!1,{alias:"pMotionDisabled"});appear=(0,s.hFB)(!1,{alias:"pMotionAppear"});enter=(0,s.hFB)(!0,{alias:"pMotionEnter"});leave=(0,s.hFB)(!0,{alias:"pMotionLeave"});duration=(0,s.hFB)(void 0,{alias:"pMotionDuration"});hideStrategy=(0,s.hFB)("display",{alias:"pMotionHideStrategy"});enterFromClass=(0,s.hFB)(void 0,{alias:"pMotionEnterFromClass"});enterToClass=(0,s.hFB)(void 0,{alias:"pMotionEnterToClass"});enterActiveClass=(0,s.hFB)(void 0,{alias:"pMotionEnterActiveClass"});leaveFromClass=(0,s.hFB)(void 0,{alias:"pMotionLeaveFromClass"});leaveToClass=(0,s.hFB)(void 0,{alias:"pMotionLeaveToClass"});leaveActiveClass=(0,s.hFB)(void 0,{alias:"pMotionLeaveActiveClass"});options=(0,s.hFB)({},{alias:"pMotionOptions"});onBeforeEnter=(0,s.CGW)({alias:"pMotionOnBeforeEnter"});onEnter=(0,s.CGW)({alias:"pMotionOnEnter"});onAfterEnter=(0,s.CGW)({alias:"pMotionOnAfterEnter"});onEnterCancelled=(0,s.CGW)({alias:"pMotionOnEnterCancelled"});onBeforeLeave=(0,s.CGW)({alias:"pMotionOnBeforeLeave"});onLeave=(0,s.CGW)({alias:"pMotionOnLeave"});onAfterLeave=(0,s.CGW)({alias:"pMotionOnAfterLeave"});onLeaveCancelled=(0,s.CGW)({alias:"pMotionOnLeaveCancelled"});motionOptions=(0,a.EW)(()=>{const t=this.options()??{};return{name:t.name??this.name(),type:t.type??this.type(),safe:t.safe??this.safe(),disabled:t.disabled??this.disabled(),appear:!1,enter:t.enter??this.enter(),leave:t.leave??this.leave(),duration:t.duration??this.duration(),enterClass:{from:t.enterClass?.from??(t.name?void 0:this.enterFromClass()),to:t.enterClass?.to??(t.name?void 0:this.enterToClass()),active:t.enterClass?.active??(t.name?void 0:this.enterActiveClass())},leaveClass:{from:t.leaveClass?.from??(t.name?void 0:this.leaveFromClass()),to:t.leaveClass?.to??(t.name?void 0:this.leaveToClass()),active:t.leaveClass?.active??(t.name?void 0:this.leaveActiveClass())},onBeforeEnter:t.onBeforeEnter??this.handleBeforeEnter,onEnter:t.onEnter??this.handleEnter,onAfterEnter:t.onAfterEnter??this.handleAfterEnter,onEnterCancelled:t.onEnterCancelled??this.handleEnterCancelled,onBeforeLeave:t.onBeforeLeave??this.handleBeforeLeave,onLeave:t.onLeave??this.handleLeave,onAfterLeave:t.onAfterLeave??this.handleAfterLeave,onLeaveCancelled:t.onLeaveCancelled??this.handleLeaveCancelled}});motion;isInitialMount=!0;cancelled=!1;destroyed=!1;handleBeforeEnter=t=>!this.destroyed&&this.onBeforeEnter.emit(t);handleEnter=t=>!this.destroyed&&this.onEnter.emit(t);handleAfterEnter=t=>!this.destroyed&&this.onAfterEnter.emit(t);handleEnterCancelled=t=>!this.destroyed&&this.onEnterCancelled.emit(t);handleBeforeLeave=t=>!this.destroyed&&this.onBeforeLeave.emit(t);handleLeave=t=>!this.destroyed&&this.onLeave.emit(t);handleAfterLeave=t=>!this.destroyed&&this.onAfterLeave.emit(t);handleLeaveCancelled=t=>!this.destroyed&&this.onLeaveCancelled.emit(t);constructor(){super(),(0,i.QZP)(()=>{this.motion||(this.motion=_(this.$el,this.motionOptions()))}),(0,s.uEv)(()=>{if(!this.$el)return;const t=this.isInitialMount&&this.visible()&&this.appear(),e=this.hideStrategy();this.visible()?(P(this.$el,e),(t||!this.isInitialMount)&&(this.applyMotionDuration("enter"),this.motion?.enter())):this.isInitialMount?D(this.$el,e):(this.applyMotionDuration("leave"),this.motion?.leave()?.then(()=>{this.$el&&!this.cancelled&&!this.visible()&&D(this.$el,e)})),this.isInitialMount=!1})}applyMotionDuration(t){const e=(0,a.O8)(this.motionOptions),n=S(e.duration,t);if(null==n||!this.$el)return;const r=this.$el,o=`${n}ms`;"transition"===e.type?r.style.transitionDuration=o:r.style.animationDuration=o}onDestroy(){this.destroyed=!0,this.cancelled=!0,this.motion?.cancel(),this.motion=void 0,P(this.$el,this.hideStrategy()),this.$el?.remove(),this.isInitialMount=!0}static ɵfac=function(e){return new(e||t)};static ɵdir=o.FsC({type:t,selectors:[["","pMotion",""]],inputs:{visible:[1,"pMotion","visible"],name:[1,"pMotionName","name"],type:[1,"pMotionType","type"],safe:[1,"pMotionSafe","safe"],disabled:[1,"pMotionDisabled","disabled"],appear:[1,"pMotionAppear","appear"],enter:[1,"pMotionEnter","enter"],leave:[1,"pMotionLeave","leave"],duration:[1,"pMotionDuration","duration"],hideStrategy:[1,"pMotionHideStrategy","hideStrategy"],enterFromClass:[1,"pMotionEnterFromClass","enterFromClass"],enterToClass:[1,"pMotionEnterToClass","enterToClass"],enterActiveClass:[1,"pMotionEnterActiveClass","enterActiveClass"],leaveFromClass:[1,"pMotionLeaveFromClass","leaveFromClass"],leaveToClass:[1,"pMotionLeaveToClass","leaveToClass"],leaveActiveClass:[1,"pMotionLeaveActiveClass","leaveActiveClass"],options:[1,"pMotionOptions","options"]},outputs:{onBeforeEnter:"pMotionOnBeforeEnter",onEnter:"pMotionOnEnter",onAfterEnter:"pMotionOnAfterEnter",onEnterCancelled:"pMotionOnEnterCancelled",onBeforeLeave:"pMotionOnBeforeLeave",onLeave:"pMotionOnLeave",onAfterLeave:"pMotionOnAfterLeave",onLeaveCancelled:"pMotionOnLeaveCancelled"},features:[o.Jv_([N,{provide:F,useExisting:t},{provide:T.bt,useExisting:t}]),o.Vt3]})}return t})(),z=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=o.$C({type:t});static ɵinj=i.G2t({imports:[j]})}return t})()},1284(t,e,n){n.d(e,{n0:()=>d});var r=n(4460),o=n(6268),i=n(6817),s=n(9798),a=n(6484),l=n(8980);const c={root:"p-ink"};let u=(()=>{class t extends l.j{name="ripple";style="\n \n .p-ink {\n display: block;\n position: absolute;\n background: dt('ripple.background');\n border-radius: 100%;\n transform: scale(0);\n pointer-events: none;\n }\n\n .p-ink-active {\n animation: ripple 0.4s linear;\n }\n\n @keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n }\n\n\n /* For PrimeNG */\n .p-ripple {\n overflow: hidden;\n position: relative;\n }\n\n .p-ripple-disabled .p-ink {\n display: none !important;\n }\n\n @keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n }\n";classes=c;static ɵfac=(()=>{let e;return function(n){return(e||(e=o.xGo(t)))(n||t)}})();static ɵprov=i.jDH({token:t,factory:t.ɵfac})}return t})(),d=(()=>{class t extends a.$G{componentName="Ripple";zone=(0,i.WQX)(i.SKi);_componentStyle=(0,i.WQX)(u);animationListener;mouseDownListener;timeout;constructor(){super(),(0,i.QZP)(()=>{(0,r.UE)(this.platformId)&&(this.config.ripple()?this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}):this.remove())})}onAfterViewInit(){}onMouseDown(t){let e=this.getInk();if(!e||"none"===this.document.defaultView?.getComputedStyle(e,null).display)return;if(!this.$unstyled()&&(0,s.vy)(e,"p-ink-active"),e.setAttribute("data-p-ink-active","false"),!(0,s.Oq)(e)&&!(0,s.RG)(e)){let t=Math.max((0,s.Ot)(this.el.nativeElement),(0,s.P$)(this.el.nativeElement));e.style.height=t+"px",e.style.width=t+"px"}let n=(0,s.A3)(this.el.nativeElement),r=t.pageX-n.left+this.document.body.scrollTop-(0,s.RG)(e)/2,o=t.pageY-n.top+this.document.body.scrollLeft-(0,s.Oq)(e)/2;this.renderer.setStyle(e,"top",o+"px"),this.renderer.setStyle(e,"left",r+"px"),!this.$unstyled()&&(0,s.iQ)(e,"p-ink-active"),e.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(()=>{let t=this.getInk();t&&(!this.$unstyled()&&(0,s.vy)(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"))},401)}getInk(){const t=this.el.nativeElement.children;for(let e=0;e<t.length;e++)if("string"==typeof t[e].className&&-1!==t[e].className.indexOf("p-ink"))return t[e];return null}resetInk(){let t=this.getInk();t&&(!this.$unstyled()&&(0,s.vy)(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"))}onAnimationEnd(t){this.timeout&&clearTimeout(this.timeout),!this.$unstyled()&&(0,s.vy)(t.currentTarget,"p-ink-active"),t.currentTarget.setAttribute("data-p-ink-active","false")}create(){let t=this.renderer.createElement("span");this.renderer.addClass(t,"p-ink"),this.renderer.appendChild(this.el.nativeElement,t),this.renderer.setAttribute(t,"data-p-ink","true"),this.renderer.setAttribute(t,"data-p-ink-active","false"),this.renderer.setAttribute(t,"aria-hidden","true"),this.renderer.setAttribute(t,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(t,"animationend",this.onAnimationEnd.bind(this)))}remove(){let t=this.getInk();t&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,(0,s.TF)(t))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static ɵfac=function(e){return new(e||t)};static ɵdir=o.FsC({type:t,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[o.Jv_([u]),o.Vt3]})}return t})()},1939(t,e,n){n.d(e,{BF:()=>r,Q$:()=>o});class r{static isArray(t,e=!0){return Array.isArray(t)&&(e||0!==t.length)}static isObject(t,e=!0){return"object"==typeof t&&!Array.isArray(t)&&null!=t&&(e||0!==Object.keys(t).length)}static equals(t,e,n){return n?this.resolveFieldData(t,n)===this.resolveFieldData(e,n):this.equalsByValue(t,e)}static equalsByValue(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var n,r,o,i=Array.isArray(t),s=Array.isArray(e);if(i&&s){if((r=t.length)!=e.length)return!1;for(n=r;0!==n--;)if(!this.equalsByValue(t[n],e[n]))return!1;return!0}if(i!=s)return!1;var a=this.isDate(t),l=this.isDate(e);if(a!=l)return!1;if(a&&l)return t.getTime()==e.getTime();var c=t instanceof RegExp,u=e instanceof RegExp;if(c!=u)return!1;if(c&&u)return t.toString()==e.toString();var d=Object.keys(t);if((r=d.length)!==Object.keys(e).length)return!1;for(n=r;0!==n--;)if(!Object.prototype.hasOwnProperty.call(e,d[n]))return!1;for(n=r;0!==n--;)if(!this.equalsByValue(t[o=d[n]],e[o]))return!1;return!0}return t!=t&&e!=e}static resolveFieldData(t,e){if(t&&e){if(this.isFunction(e))return e(t);if(-1==e.indexOf("."))return t[e];{let n=e.split("."),r=t;for(let t=0,e=n.length;t<e;++t){if(null==r)return null;r=r[n[t]]}return r}}return null}static isFunction(t){return!!(t&&t.constructor&&t.call&&t.apply)}static reorderArray(t,e,n){t&&e!==n&&(n>=t.length&&(n%=t.length,e%=t.length),t.splice(n,0,t.splice(e,1)[0]))}static insertIntoOrderedArray(t,e,n,r){if(n.length>0){let o=!1;for(let i=0;i<n.length;i++)if(this.findIndexInList(n[i],r)>e){n.splice(i,0,t),o=!0;break}o||n.push(t)}else n.push(t)}static findIndexInList(t,e){let n=-1;if(e)for(let r=0;r<e.length;r++)if(e[r]==t){n=r;break}return n}static contains(t,e){if(null!=t&&e&&e.length)for(let n of e)if(this.equals(t,n))return!0;return!1}static removeAccents(t){return t&&(t=t.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),t}static isDate(t){return"[object Date]"===Object.prototype.toString.call(t)}static isEmpty(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!this.isDate(t)&&"object"==typeof t&&0===Object.keys(t).length}static isNotEmpty(t){return!this.isEmpty(t)}static compare(t,e,n,r=1){let o=-1;const i=this.isEmpty(t),s=this.isEmpty(e);return o=i&&s?0:i?r:s?-r:"string"==typeof t&&"string"==typeof e?t.localeCompare(e,n,{numeric:!0}):t<e?-1:t>e?1:0,o}static sort(t,e,n=1,o,i=1){const s=r.compare(t,e,o,n);let a=n;return(r.isEmpty(t)||r.isEmpty(e))&&(a=1===i?n:i),a*s}static merge(t,e){if(null!=t||null!=e)return null!=t&&"object"!=typeof t||null!=e&&"object"!=typeof e?null!=t&&"string"!=typeof t||null!=e&&"string"!=typeof e?e||t:[t||"",e||""].join(" "):{...t||{},...e||{}}}static isPrintableCharacter(t=""){return this.isNotEmpty(t)&&1===t.length&&t.match(/\S| /)}static getItemValue(t,...e){return this.isFunction(t)?t(...e):t}static findLastIndex(t,e){let n=-1;if(this.isNotEmpty(t))try{n=t.findLastIndex(e)}catch{n=t.lastIndexOf([...t].reverse().find(e))}return n}static findLast(t,e){let n;if(this.isNotEmpty(t))try{n=t.findLast(e)}catch{n=[...t].reverse().find(e)}return n}static deepEquals(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var n,r,o,i=Array.isArray(t),s=Array.isArray(e);if(i&&s){if((r=t.length)!=e.length)return!1;for(n=r;0!==n--;)if(!this.deepEquals(t[n],e[n]))return!1;return!0}if(i!=s)return!1;var a=t instanceof Date,l=e instanceof Date;if(a!=l)return!1;if(a&&l)return t.getTime()==e.getTime();var c=t instanceof RegExp,u=e instanceof RegExp;if(c!=u)return!1;if(c&&u)return t.toString()==e.toString();var d=Object.keys(t);if((r=d.length)!==Object.keys(e).length)return!1;for(n=r;0!==n--;)if(!Object.prototype.hasOwnProperty.call(e,d[n]))return!1;for(n=r;0!==n--;)if(!this.deepEquals(t[o=d[n]],e[o]))return!1;return!0}return t!=t&&e!=e}static minifyCSS(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(t){return this.isString(t)?t.replace(/(-|_)/g,"").toLowerCase():t}static isString(t,e=!0){return"string"==typeof t&&(e||""!==t)}}var o=function(){let t=[];const e=(e,n)=>{let r=t.length>0?t[t.length-1]:{key:e,value:n},o=r.value+(r.key===e?0:n)+2;return t.push({key:e,value:o}),o},n=e=>{t=t.filter(t=>t.value!==e)},r=t=>t&&parseInt(t.style.zIndex,10)||0;return{get:r,set:(t,n,r)=>{n&&(n.style.zIndex=String(e(t,r)))},clear:t=>{t&&(n(r(t)),t.style.zIndex="")},getCurrent:()=>t.length>0?t[t.length-1].value:0,generateZIndex:e,revertZIndex:n}}()},3896(t,e,n){function r(...t){if(t){let e=[];for(let n=0;n<t.length;n++){let o=t[n];if(!o)continue;let i=typeof o;if("string"===i||"number"===i)e.push(o);else if("object"===i){let t=Array.isArray(o)?[r(...o)]:Object.entries(o).map(([t,e])=>e?t:void 0);e=t.length?e.concat(t.filter(t=>!!t)):e}}return e.join(" ").trim()}}n.d(e,{cn:()=>r})},9798(t,e,n){n.d(e,{$4:()=>L,A3:()=>R,Am:()=>u,Bq:()=>W,CN:()=>$,DE:()=>P,Hr:()=>h,M6:()=>c,NI:()=>_,Nb:()=>m,Oq:()=>D,Ot:()=>b,P$:()=>N,RG:()=>M,RU:()=>z,TD:()=>y,TF:()=>B,Vp:()=>f,Wp:()=>x,XC:()=>I,dA:()=>H,eZ:()=>C,iQ:()=>s,iq:()=>O,kc:()=>A,n:()=>T,nB:()=>i,oo:()=>U,qG:()=>E,uR:()=>v,un:()=>F,v1:()=>g,vy:()=>l,xL:()=>a,zN:()=>j,zz:()=>V});var r,o=n(4513);function i(t,e){return!!t&&(t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className))}function s(t,e){if(t&&e){let n=e=>{i(t,e)||(t.classList?t.classList.add(e):t.className+=" "+e)};[e].flat().filter(Boolean).forEach(t=>t.split(" ").forEach(n))}}function a(t){"string"==typeof t?s(document.body,t||"p-overflow-hidden"):(null!=t&&t.variableName&&document.body.style.setProperty(t.variableName,window.innerWidth-document.documentElement.offsetWidth+"px"),s(document.body,t?.className||"p-overflow-hidden"))}function l(t,e){if(t&&e){let n=e=>{t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")};[e].flat().filter(Boolean).forEach(t=>t.split(" ").forEach(n))}}function c(t){"string"==typeof t?l(document.body,t||"p-overflow-hidden"):(null!=t&&t.variableName&&document.body.style.removeProperty(t.variableName),l(document.body,t?.className||"p-overflow-hidden"))}function u(t){for(let e of document?.styleSheets)try{for(let n of e?.cssRules)for(let e of n?.style)if(t.test(e))return{name:e,value:n.style.getPropertyValue(e).trim()}}catch{}return null}function d(t){let e={width:0,height:0};if(t){let[n,r]=[t.style.visibility,t.style.display],o=t.getBoundingClientRect();t.style.visibility="hidden",t.style.display="block",e.width=o.width||t.offsetWidth,e.height=o.height||t.offsetHeight,t.style.display=r,t.style.visibility=n}return e}function h(){let t=window,e=document,n=e.documentElement,r=e.getElementsByTagName("body")[0];return{width:t.innerWidth||n.clientWidth||r.clientWidth,height:t.innerHeight||n.clientHeight||r.clientHeight}}function p(t){return t?Math.abs(t.scrollLeft):0}function f(){let t=document.documentElement;return(window.pageXOffset||p(t))-(t.clientLeft||0)}function g(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}function m(t,e,n=!0){var r,o,i,s;if(t){let a,l,c=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:d(t),p=c.height,m=c.width,y=e.offsetHeight,b=e.offsetWidth,v=e.getBoundingClientRect(),w=g(),S=f(),C=h(),_="top";v.top+y+p>C.height?(a=v.top+w-p,_="bottom",a<0&&(a=w)):a=y+v.top+w,l=v.left+m>C.width?Math.max(0,v.left+S+b-m):v.left+S,function(t){return!!t&&"rtl"===getComputedStyle(t).direction}(t)?t.style.insetInlineEnd=l+"px":t.style.insetInlineStart=l+"px",t.style.top=a+"px",t.style.transformOrigin=_,n&&(t.style.marginTop="bottom"===_?`calc(${null!=(o=null==(r=u(/-anchor-gutter$/))?void 0:r.value)?o:"2px"} * -1)`:null!=(s=null==(i=u(/-anchor-gutter$/))?void 0:i.value)?s:"")}}function y(t,e){t&&("string"==typeof e?t.style.cssText=e:Object.entries(e||{}).forEach(([e,n])=>t.style[e]=n))}function b(t,e){if(t instanceof HTMLElement){let n=t.offsetWidth;if(e){let e=getComputedStyle(t);n+=parseFloat(e.marginLeft)+parseFloat(e.marginRight)}return n}return 0}function v(t,e,n=!0,r=void 0){var o;if(t){let i,s,a=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:d(t),l=e.offsetHeight,c=e.getBoundingClientRect(),p=h(),f=r??"top";if(!r&&c.top+l+a.height>p.height?(i=-1*a.height,f="bottom",c.top+i<0&&(i=-1*c.top)):i=l,s=a.width>p.width?-1*c.left:c.left+a.width>p.width?-1*(c.left+a.width-p.width):0,t.style.top=i+"px",t.style.insetInlineStart=s+"px",t.style.transformOrigin=f,n){let e=null==(o=u(/-anchor-gutter$/))?void 0:o.value;t.style.marginTop="bottom"===f?`calc(${e??"2px"} * -1)`:e??""}}}function w(t){return typeof Element<"u"?t instanceof Element:null!==t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName}function S(t){var e;if(w(t))return t;if(!t||"object"!=typeof t)return;let n=t;if("current"in t)n=t.current,n=null!=(e=S(n?.elementRef))?e:n;else if("value"in t)n=t.value;else if("nativeElement"in t)n=t.nativeElement;else if("el"in t){let e=t.el;n=e&&"object"==typeof e&&"nativeElement"in e?e.nativeElement:e}else if("elementRef"in t)return S(t.elementRef);return n=(0,o.hd)(n),w(n)?n:void 0}function C(t,e){var n,r,o,i;if(t)switch(t){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return e?.nextElementSibling;case"@prev":return e?.previousElementSibling;case"@first":return e?.firstElementChild;case"@last":return e?.lastElementChild;case"@child":return null==(n=e?.children)?void 0:n[0];case"@parent":return e?.parentElement;case"@grandparent":return null==(r=e?.parentElement)?void 0:r.parentElement;default:{if("string"==typeof t){let n=t.match(/^@child\[(\d+)]/);return n?(null==(o=e?.children)?void 0:o[parseInt(n[1],10)])||null:document.querySelector(t)||null}let n="function"==typeof(i=t)&&"call"in i&&"apply"in i?t():t,r=S(n);return function(t){return!!(null!==t&&typeof t<"u"&&t.nodeName&&function(t){if(t){let e=t.parentNode;return e&&e instanceof ShadowRoot&&e.host&&(e=e.host),e}return null}(t))}(r)?r:9===n?.nodeType?n:void 0}}}function _(t,e){let n=C(t,e);if(!n)throw new Error("Cannot append "+e+" to "+t);n.appendChild(e)}function k(t){if(t){let e=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.borderRightWidth)}{if(null!=r)return r;let t=document.createElement("div");y(t,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(t);let e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),r=e,e}}function x(t,e={}){if(w(t)){let n=(e,r)=>{var o,i;let s=null!=(o=t?.$attrs)&&o[e]?[null==(i=t?.$attrs)?void 0:i[e]]:[];return[r].flat().reduce((t,r)=>{if(null!=r){let o=typeof r;if("string"===o||"number"===o)t.push(r);else if("object"===o){let o=Array.isArray(r)?n(e,r):Object.entries(r).map(([t,n])=>"style"!==e||!n&&0!==n?n?t:void 0:`${t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${n}`);t=o.length?t.concat(o.filter(t=>!!t)):t}}return t},s)},r=e=>{n("style",e).forEach(e=>{let n=e.indexOf(":");if(n<0)return;let r=e.slice(0,n).trim(),o=e.slice(n+1).trim();r&&t.style.setProperty(r,o)})};Object.entries(e).forEach(([e,o])=>{if(null!=o){let i=e.match(/^on(.+)/);i?t.addEventListener(i[1].toLowerCase(),o):"p-bind"===e||"pBind"===e?x(t,o):"style"===e?(r(o),(t.$attrs=t.$attrs||{})&&(t.$attrs[e]=t.style.cssText)):(o="class"===e?[...new Set(n("class",o))].join(" ").trim():o,(t.$attrs=t.$attrs||{})&&(t.$attrs[e]=o),t.setAttribute(e,o))}})}}function T(t,e={},...n){if(t){let r=document.createElement(t);return x(r,e),r.append(...n),r}}function E(t,e){if(t){t.style.opacity="0";let n=+new Date,r="0",o=function(){r=""+(+t.style.opacity+((new Date).getTime()-n)/e),t.style.opacity=r,n=+new Date,+r<1&&("requestAnimationFrame"in window?requestAnimationFrame(o):setTimeout(o,16))};o()}}function A(t,e){return w(t)?t.matches(e)?t:t.querySelector(e):null}function I(t,e){t&&document.activeElement!==t&&t.focus(e)}function O(t,e=""){let n=function(t,e){return w(t)?Array.from(t.querySelectorAll(e)):[]}(t,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [href]:not([tabindex = "-1"]):not([style*="display:none"]):not([hidden])${e},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`),r=[];for(let t of n)"none"!=getComputedStyle(t).display&&"hidden"!=getComputedStyle(t).visibility&&r.push(t);return r}function L(t,e){let n=O(t,e);return n.length>0?n[0]:null}function D(t){if(t){let e=t.offsetHeight,n=getComputedStyle(t);return e-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),e}return 0}function P(t,e){let n=O(t,e);return n.length>0?n[n.length-1]:null}function R(t){if(t){let e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||p(document.documentElement)||p(document.body)||0)}}return{top:"auto",left:"auto"}}function N(t,e){if(t){let n=t.offsetHeight;if(e){let e=getComputedStyle(t);n+=parseFloat(e.marginTop)+parseFloat(e.marginBottom)}return n}return 0}function M(t){if(t){let e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth),e}return 0}function j(t){return!(!t||null==t.offsetParent)}function F(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window)}function $(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function z(t,e){var n,r;if(t){let o=t.parentElement,i=R(o),s=h(),a=t.offsetParent?t.offsetWidth:function(t){if(t){let[e,n]=[t.style.visibility,t.style.display];t.style.visibility="hidden",t.style.display="block";let r=t.offsetWidth;return t.style.display=n,t.style.visibility=e,r}return 0}(t),l=t.offsetParent?t.offsetHeight:function(t){if(t){let[e,n]=[t.style.visibility,t.style.display];t.style.visibility="hidden",t.style.display="block";let r=t.offsetHeight;return t.style.display=n,t.style.visibility=e,r}return 0}(t),c=b(null==(n=o?.children)?void 0:n[0]),u=N(null==(r=o?.children)?void 0:r[0]),d="",p="";i.left+c+a>s.width-k()?i.left<a?e%2==1?d=i.left?"-"+i.left+"px":"100%":e%2==0&&(d=s.width-a-k()+"px"):d="-100%":d="100%",p=t.getBoundingClientRect().top+u+l>s.height?`-${l-u}px`:"0px",t.style.top=p,t.style.insetInlineStart=d}}function H(){return new Promise(t=>{requestAnimationFrame(()=>{requestAnimationFrame(t)})})}function B(t){var e;t&&("remove"in Element.prototype?t.remove():null==(e=t.parentNode)||e.removeChild(t))}function V(t,e){let n=S(t);if(!n)throw new Error("Cannot remove "+e+" from "+t);n.removeChild(e)}function U(t,e){let n=getComputedStyle(t).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,s=t.getBoundingClientRect(),a=e.getBoundingClientRect().top+document.body.scrollTop-(s.top+document.body.scrollTop)-r-i,l=t.scrollTop,c=t.clientHeight,u=N(e);a<0?t.scrollTop=l+a:a+u>c&&(t.scrollTop=l+a-c+u)}function W(t,e="",n){if(w(t)&&null!=n){if("style"===e)return void("string"==typeof n?t.style.cssText=n:"object"==typeof n&&Object.entries(n).forEach(([e,n])=>{if(null==n)return;let r=e.startsWith("--")?e:e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();t.style.setProperty(r,String(n))}));t.setAttribute(e,n)}}},4513(t,e,n){function r(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!(t instanceof Date)&&"object"==typeof t&&0===Object.keys(t).length}function o(t,e,n=new WeakSet){if(t===e)return!0;if(!t||!e||"object"!=typeof t||"object"!=typeof e||n.has(t)||n.has(e))return!1;n.add(t).add(e);let r,i,s,a=Array.isArray(t),l=Array.isArray(e);if(a&&l){if(i=t.length,i!=e.length)return!1;for(r=i;0!==r--;)if(!o(t[r],e[r],n))return!1;return!0}if(a!=l)return!1;let c=t instanceof Date,u=e instanceof Date;if(c!=u)return!1;if(c&&u)return t.getTime()==e.getTime();let d=t instanceof RegExp,h=e instanceof RegExp;if(d!=h)return!1;if(d&&h)return t.toString()==e.toString();let p=Object.keys(t);if(i=p.length,i!==Object.keys(e).length)return!1;for(r=i;0!==r--;)if(!Object.prototype.hasOwnProperty.call(e,p[r]))return!1;for(r=i;0!==r--;)if(s=p[r],!o(t[s],e[s],n))return!1;return!0}function i(t,e){return o(t,e)}function s(t){return"function"==typeof t&&"call"in t&&"apply"in t}function a(t){return!r(t)}function l(t,e){if(!t||!e)return null;try{let n=t[e];if(a(n))return n}catch{}if(Object.keys(t).length){if(s(e))return e(t);if(-1===e.indexOf("."))return t[e];{let n=e.split("."),r=t;for(let t=0,e=n.length;t<e;++t){if(null==r)return null;r=r[n[t]]}return r}}return null}function c(t,e,n){return n?l(t,n)===l(e,n):i(t,e)}function u(t,e){if(null!=t&&e&&e.length)for(let n of e)if(c(t,n))return!0;return!1}function d(t,e){let n=-1;if(a(t))try{n=t.findLastIndex(e)}catch{n=t.lastIndexOf([...t].reverse().find(e))}return n}function h(t,...e){return s(t)?t(...e):t}function p(t,e=!0){return"string"==typeof t&&(e||""!==t)}function f(t){return p(t)?t.replace(/(-|_)/g,"").toLowerCase():t}function g(t,e="",n={}){let r=f(e).split("."),o=r.shift();return o?function(t,e=!0){return t instanceof Object&&t.constructor===Object&&(e||0!==Object.keys(t).length)}(t)?g(h(t[Object.keys(t).find(t=>f(t)===o)||""],n),r.join("."),n):void 0:h(t,n)}function m(t,e=!0){return Array.isArray(t)&&(e||0!==t.length)}function y(t=""){return a(t)&&1===t.length&&!!t.match(/\S| /)}function b(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function v(t){if(t&&/[\xC0-\xFF\u0100-\u017E]/.test(t)){let e={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let n in e)t=t.replace(e[n],n)}return t}n.d(e,{Im:()=>r,Kg:()=>p,Kl:()=>d,L7:()=>l,Oo:()=>v,P2:()=>y,Tn:()=>s,aI:()=>c,c2:()=>i,cy:()=>m,fm:()=>g,gR:()=>u,hd:()=>h,hj:()=>a,qd:()=>f,uN:()=>b})},4057(t,e,n){n.d(e,{u:()=>o});var r={};function o(t="pui_id_"){return Object.hasOwn(r,t)||(r[t]=0),r[t]++,`${t}${r[t]}`}},467(t,e,n){function r(t,e,n,r,o,i,s){try{var a=t[i](s),l=a.value}catch(t){return void n(t)}a.done?e(l):Promise.resolve(l).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise(function(o,i){var s=t.apply(e,n);function a(t){r(s,o,i,a,l,"next",t)}function l(t){r(s,o,i,a,l,"throw",t)}a(void 0)})}}n.d(e,{A:()=>o})},1635(t,e,n){function r(t,e,n,r){return new(n||(n=Promise))(function(o,i){function s(t){try{l(r.next(t))}catch(t){i(t)}}function a(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){t.done?o(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(s,a)}l((r=r.apply(t,e||[])).next())})}function o(t){return this instanceof o?(this.v=t,this):new o(t)}function i(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),s=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(t){return function(e){return Promise.resolve(e).then(t,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(t,e){i[t]&&(r[t]=function(e){return new Promise(function(n,r){s.push([t,e,n,r])>1||l(t,e)})},e&&(r[t]=e(r[t])))}function l(t,e){try{!function(t){t.value instanceof o?Promise.resolve(t.value.v).then(c,u):d(s[0][2],t)}(i[t](e))}catch(t){d(s[0][3],t)}}function c(t){l("next",t)}function u(t){l("throw",t)}function d(t,e){t(e),s.shift(),s.length&&l(s[0][0],s[0][1])}}function s(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,o,(e=t[n](e)).done,e.value)})}}}n.d(e,{AQ:()=>i,N3:()=>o,sH:()=>r,xN:()=>s}),"function"==typeof SuppressedError&&SuppressedError}},BE={};function wn(t){var e=BE[t];if(void 0!==e)return e.exports;var n=BE[t]={id:t,loaded:!1,exports:{}};return $E[t].call(n.exports,n,n.exports,wn),n.loaded=!0,n.exports}wn.m=$E,wn.amdO={},wn.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return wn.d(e,{a:e}),e},wn.d=(t,e)=>{for(var n in e)wn.o(e,n)&&!wn.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},wn.f={},wn.e=t=>Promise.all(Object.keys(wn.f).reduce((e,n)=>(wn.f[n](t,e),e),[])),wn.u=t=>t+"."+{13:"ad444e8269593ee2",73:"f83619e2832c4b41",130:"2c59a858b6c5074e",166:"2aacf63cc15a20ef",193:"10e8e35fe06bbe75",212:"40710aefd68754cd",237:"e1f4d904edb15d90",310:"6c6a6623c8b34ebc",323:"d2443f9fef640a8e",359:"0c29f20116f6fced",407:"a6d54c8620760b6f",471:"f6334bc6faa72e9e",602:"6a1ac8fc197669c5",703:"a0981c8b8b06b42c",861:"032fc5ad32366dcd",891:"fec979a8509cee91",900:"3943458ad1600e49",936:"093de58c6651ba40",943:"a5ef85234b2a2827"}[t]+".js",wn.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),wn.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={},e="workbench:";wn.l=(n,r,o,i)=>{if(t[n])t[n].push(r);else{var s,a;if(void 0!==o)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==e+o){s=u;break}}s||(a=!0,(s=document.createElement("script")).type="module",s.charset="utf-8",wn.nc&&s.setAttribute("nonce",wn.nc),s.setAttribute("data-webpack",e+o),s.src=wn.tu(n)),t[n]=[r];var d=(e,r)=>{s.onerror=s.onload=null,clearTimeout(h);var o=t[n];if(delete t[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(t=>t(r)),e)return e(r)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),a&&document.head.appendChild(s)}}})(),wn.r=t=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;wn.tt=()=>(void 0===t&&(t={createScriptURL:t=>t},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(t=trustedTypes.createPolicy("angular#bundler",t))),t)})(),wn.tu=t=>wn.tt().createScriptURL(t),(()=>{var t;if("string"==typeof import.meta.url&&(t=import.meta.url),!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),wn.p=t})(),(()=>{var t={792:0};wn.f.j=(e,n)=>{var r=wn.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=t[e]=[n,o]);n.push(r[2]=o);var i=wn.p+wn.u(e),s=new Error;wn.l(i,n=>{if(wn.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}},"chunk-"+e,e)}};var e=(e,n)=>{var r,o,[i,s,a]=n,l=0;if(i.some(e=>0!==t[e])){for(r in s)wn.o(s,r)&&(wn.m[r]=s[r]);a&&a(wn)}for(e&&e(n);l<i.length;l++)wn.o(t,o=i[l])&&t[o]&&t[o][0](),t[o]=0},n=self.webpackJsonpworkbench=self.webpackJsonpworkbench||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})(),wn.nc=void 0;var Zd={};(()=>{var t=wn(5072),e=wn.n(t),n=wn(7825),r=wn.n(n),o=wn(7659),i=wn.n(o),s=wn(5056),a=wn.n(s),l=wn(540),c=wn.n(l),u=wn(1113),d=wn.n(u),h=wn(6148),p={};p.styleTagTransform=d(),p.setAttributes=a(),p.insert=i().bind(null,"head"),p.domAPI=r(),p.insertStyleElement=c(),e()(h.A,p)})(),(()=>{wn.d(Zd,{Nw:()=>_t,Or:()=>kt,vs:()=>xt});var t=wn(467),e=(wn(9408),wn(6860)),n=wn(6817),r=wn(3639),o=wn(83),i=wn(5487),s=wn(8447),a=wn(1698),l=wn(2867);class c extends o.tl{constructor(){super(),this.skipNextPopState=!1,this.source="Window.addEventListener:popstate",this.onPopState$=new s.B,(0,n.WQX)(e.Tg_).onDestroy(()=>this.onPopState$.complete()),this.onPopState$.pipe((0,l.n)(t=>new a.c(e=>function(t){return typeof Zone<"u"&&"function"==typeof Zone?.root?.run?Zone.root.run(t):t()}(()=>{const n=setTimeout(()=>{e.next(t)});return()=>clearTimeout(n)})))).subscribe(([t,e])=>{this.skipNextPopState&&e.singleSpa?this.skipNextPopState=!1:t(e)})}pushState(t,e,n){this.skipNextPopState=!0,super.pushState(t,e,n)}replaceState(t,e,n){this.skipNextPopState=!0,super.replaceState(t,e,n)}onPopState(t){return super.onPopState(e=>{this.onPopState$.next([t,e])})}}function u(){return[{provide:c,useFactory:()=>new c},{provide:o.Vw,useExisting:c}]}const d={NgZone:null,bootstrapFunction:null,template:null,Router:void 0,domElementGetter:void 0,updateFunction:()=>Promise.resolve(),bootstrappedRef:null};function h(t){return p.apply(this,arguments)}function p(){return(p=(0,t.A)(function*(t){"noop"!==t.NgZone&&(t.NgZone.assertInAngularZone=()=>{},t.NgZone.assertNotInAngularZone=()=>{},t.routingEventListener=()=>{t.bootstrappedNgZone.run(()=>{})})})).apply(this,arguments)}function f(t,e){return g.apply(this,arguments)}function g(){return(g=(0,t.A)(function*(t,e){!function(t,e){const n=function(t,e){return(e=e?.customProps??e).domElement?()=>e.domElement:e.domElementGetter?e.domElementGetter:t.domElementGetter?t.domElementGetter:function(t){return function(){const e=`single-spa-application:${t}`;let n=document.getElementById(e);return n||(n=document.createElement("div"),n.id=e,document.body.appendChild(n)),n}}(e.name)}(t,e);if(!n)throw Error(`Cannot mount angular application '${e.name||e.appName}' without a domElementGetter provided either as an opt or a prop`);const r="function"==typeof t.template?t.template(e):t.template,o=function(t,e){const n=t(e);if(!n)throw Error("domElementGetter did not return a valid dom element");return n}(n,e);o.innerHTML=r}(t,e);const n=t.bootstrapFunction(e);if(!(n instanceof Promise))throw Error(`single-spa-angular: the options.bootstrapFunction must return a promise, but instead returned a '${typeof n}' that is not a Promise`);const r=yield n;if("function"!=typeof r?.destroy)throw Error("single-spa-angular: the options.bootstrapFunction returned a promise that did not resolve with a valid Angular module or ApplicationRef. Did you call platformBrowserDynamic().bootstrapModule() correctly?");const o=r.injector.get(c,null);if(t.Router&&null===o)throw new Error("\n single-spa-angular: could not retrieve extra providers from the platform injector. Did you add provideSingleSpaPlatform()?\n ");const i=t;if("noop"!==t.NgZone){const e=r.injector.get(t.NgZone);null!==o&&function(t,e){const{NavigationStart:n,Router:r}=e;if(!n||!r)return;const o=t.injector.get(r),i=o.events.subscribe(t=>{if(t instanceof n){const t=o.getCurrentNavigation();"imperative"!==t.trigger&&(t.extras.skipLocationChange=!0,t.extras.replaceUrl=!1)}});t.onDestroy(()=>i.unsubscribe())}(r,t),i.bootstrappedNgZone=e,window.addEventListener("single-spa:routing-event",i.routingEventListener)}return i.bootstrappedRef=r,r})).apply(this,arguments)}function m(t){return Promise.resolve().then(()=>{t.routingEventListener&&window.removeEventListener("single-spa:routing-event",t.routingEventListener),t.bootstrappedRef.destroy(),t.bootstrappedRef=null})}var y=wn(4460),b=wn(6268);class v{_doc;constructor(t){this._doc=t}manager}let w=(()=>{class t extends v{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n,r){return t.addEventListener(e,n,r),()=>this.removeEventListener(t,e,n,r)}removeEventListener(t,e,n,r){return t.removeEventListener(e,n,r)}static ɵfac=function(e){return new(e||t)(n.KVO(n.qQL))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();const S=new n.nKC("");let C=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,e){this._zone=e,t.forEach(t=>{t.manager=this});const n=t.filter(t=>!(t instanceof w));this._plugins=n.slice().reverse();const r=t.find(t=>t instanceof w);r&&this._plugins.push(r)}addEventListener(t,e,n,r){return this._findPluginFor(e).addEventListener(t,e,n,r)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find(e=>e.supports(t)),!e)throw new n.buA(5101,!1);return this._eventNameToPlugin.set(t,e),e}static ɵfac=function(e){return new(e||t)(n.KVO(S),n.KVO(n.SKi))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();const _="ng-app-id";function k(t){for(const e of t)e.remove()}function x(t,e){const n=e.createElement("style");return n.textContent=t,n}function T(t,e){const n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}let E=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,e,n,r={}){this.doc=t,this.appId=e,this.nonce=n,function(t,e,n,r){const o=t.head?.querySelectorAll(`style[${_}="${e}"],link[${_}="${e}"]`);if(o)for(const t of o)t.removeAttribute(_),t instanceof HTMLLinkElement?r.set(t.href.slice(t.href.lastIndexOf("/")+1),{usage:0,elements:[t]}):t.textContent&&n.set(t.textContent,{usage:0,elements:[t]})}(t,e,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,e){for(const e of t)this.addUsage(e,this.inline,x);e?.forEach(t=>this.addUsage(t,this.external,T))}removeStyles(t,e){for(const e of t)this.removeUsage(e,this.inline);e?.forEach(t=>this.removeUsage(t,this.external))}addUsage(t,e,n){const r=e.get(t);r?r.usage++:e.set(t,{usage:1,elements:[...this.hosts].map(e=>this.addElement(e,n(t,this.doc)))})}removeUsage(t,e){const n=e.get(t);n&&(n.usage--,n.usage<=0&&(k(n.elements),e.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])k(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[e,{elements:n}]of this.inline)n.push(this.addElement(t,x(e,this.doc)));for(const[e,{elements:n}]of this.external)n.push(this.addElement(t,T(e,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,e){return this.nonce&&e.setAttribute("nonce",this.nonce),t.appendChild(e)}static ɵfac=function(e){return new(e||t)(n.KVO(n.qQL),n.KVO(b.sZ2),n.KVO(b.BIS,8),n.KVO(b.Agw))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();const A={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/Math/MathML"},I=/%COMP%/g,O=new n.nKC("",{factory:()=>!0});function L(t,e){return e.map(e=>e.replace(I,t))}let D=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,e,n,r,o,i,s=null,a=null){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.removeStylesOnCompDestroy=r,this.doc=o,this.ngZone=i,this.nonce=s,this.tracingService=a,this.defaultRenderer=new P(t,o,i,this.tracingService)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;const n=this.getOrCreateRenderer(t,e);return n instanceof j?n.applyToHost(t):n instanceof M&&n.applyStyles(),n}getOrCreateRenderer(t,e){const n=this.rendererByCompId;let r=n.get(e.id);if(!r){const o=this.doc,i=this.ngZone,s=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,c=this.tracingService;switch(e.encapsulation){case b.gXe.Emulated:r=new j(s,a,e,this.appId,l,o,i,c);break;case b.gXe.ShadowDom:return new N(s,t,e,o,i,this.nonce,c,a);case b.gXe.ExperimentalIsolatedShadowDom:return new N(s,t,e,o,i,this.nonce,c);default:r=new M(s,a,e,l,o,i,c)}n.set(e.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static ɵfac=function(e){return new(e||t)(n.KVO(C),n.KVO(E),n.KVO(b.sZ2),n.KVO(O),n.KVO(n.qQL),n.KVO(n.SKi),n.KVO(b.BIS),n.KVO(b.a8H,8))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();class P{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,n,r){this.eventManager=t,this.doc=e,this.ngZone=n,this.tracingService=r}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(A[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(R(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(R(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){e.remove()}selectRootElement(t,e){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new n.buA(-5104,!1);return e||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const o=A[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=A[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(b.czy.DashCase|b.czy.Important)?t.style.setProperty(e,n,r&b.czy.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&b.czy.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){null!=t&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,r,i){if("string"==typeof t&&!(t=(0,o.rb)().getGlobalEventTarget(this.doc,t)))throw new n.buA(5102,!1);let s=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(t,e,s)),this.eventManager.addEventListener(t,e,s,i)}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&e.preventDefault()}}}function R(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class N extends P{hostEl;sharedStylesHost;shadowRoot;constructor(t,e,n,r,o,i,s,a){super(t,r,o,s),this.hostEl=e,this.sharedStylesHost=a,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=n.styles;l=L(n.id,l);for(const t of l){const e=document.createElement("style");i&&e.setAttribute("nonce",i),e.textContent=t,this.shadowRoot.appendChild(e)}const c=n.getExternalStyles?.();if(c)for(const t of c){const e=T(t,r);i&&e.setAttribute("nonce",i),this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class M extends P{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,r,o,i,s,a){super(t,o,i,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let l=n.styles;this.styles=a?L(a,l):l,this.styleUrls=n.getExternalStyles?.(a)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===b.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class j extends M{contentAttr;hostAttr;constructor(t,e,n,r,o,i,s,a){const l=r+"-"+n.id;super(t,e,n,o,i,s,a,l),this.contentAttr=function(t){return"_ngcontent-%COMP%".replace(I,t)}(l),this.hostAttr=function(t){return"_nghost-%COMP%".replace(I,t)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class F extends o.qj{supportsDOMEvents=!0;static makeCurrent(){(0,o.ig)(new F)}onAndCancel(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=($=$||document.head.querySelector("base"),$?$.getAttribute("href"):null);return null==e?null:function(t){return new URL(t,document.baseURI).pathname}(e)}resetBaseElement(){$=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,o]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}(document.cookie,t)}}let $=null,z=(()=>{class t{build(){return new XMLHttpRequest}static ɵfac=function(e){return new(e||t)};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();const H=["alt","control","meta","shift"],B={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},V={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let U=(()=>{class t extends v{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r,i){const s=t.parseEventName(n),a=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.rb)().onAndCancel(e,s.domEventName,a,i))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const o=t._normalizeKey(n.pop());let i="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),i="code."),H.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;const a={};return a.domEventName=r,a.fullKey=i,a}static matchEventFullKeyCode(t,e){let n=B[t.key]||t.key,r="";return e.indexOf("code.")>-1&&(n=t.code,r="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),H.forEach(e=>{e!==n&&(0,V[e])(t)&&(r+=e+".")}),r+=n,r===e)}static eventCallback(e,n,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>n(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static ɵfac=function(e){return new(e||t)(n.KVO(n.qQL))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();function W(){return(W=(0,t.A)(function*(t,n,r){const o={rootComponent:t,...G(n,r)};return(0,e.TL3)(o)})).apply(this,arguments)}function G(t,e){return{platformRef:e?.platformRef,appProviders:[...Z,...t?.providers??[]],platformProviders:q}}const q=[{provide:b.Agw,useValue:y.AJ},{provide:b.PLl,useValue:function(){F.makeCurrent()},multi:!0},{provide:n.qQL,useFactory:function(){return(0,b._9u)(document),document}}],Q=(0,e.oH4)(e.fpN,"browser",q),Z=[{provide:n.GBX,useValue:"root"},{provide:n.zcH,useFactory:function(){return new n.zcH}},{provide:S,useClass:w,multi:!0},{provide:S,useClass:U,multi:!0},D,E,C,{provide:b._9s,useExisting:D},{provide:class{},useClass:z},[]];var X=wn(5710),Y=wn(8817),K=wn(7154),J=wn(590),tt=wn(5111);let et=(()=>{class t{constructor(){this.router=(0,n.WQX)(r.Ix),this.confirmationProviderService=(0,n.WQX)(J.M),this.translocoService=(0,n.WQX)(tt.JO),this.repositoryContextService=(0,K.service)(K.RepositoryContextService),this.isFirstResolution=!0}syncRepositoryIdWithUrl(){const t=this.getRepositoryIdFromUrl(),e=this.repositoryContextService.getSelectedRepository(),n=this.repositoryContextService.repositoryExists({id:t??"",location:""}),r=!!t&&n,o=!!e&&t===e.id;try{if((0,K.isLoginPage)())return;if(!e){if(!t)return;return r?void this.repositoryContextService.updateSelectedRepository({id:t,location:""}):void this.confirmationProviderService.confirmOnly({header:this.translocoService.translate("common.warnings.warning"),message:this.translocoService.translate("repository.url_param.invalid_repo",{repositoryId:t}),acceptHandler:()=>{Promise.resolve(!0)},rejectVisible:!1})}if(!t)return void this.writeRepositoryIdToUrl(e.id);if(o&&r)return;if(r)return void this.confirmRepositoryChange(e.id,t);this.repositoryContextService.repositoryExists({id:t,location:""},!0)?this.isFirstResolution&&this.warnForMissingRepository(t,e.id,"repository.url_param.remote_location_repo_continue"):this.warnForMissingRepository(t,e.id,"repository.url_param.invalid_repo_continue")}finally{this.isFirstResolution=!1}}onRepositoryChanged(t){this.getRepositoryIdFromUrl()!==t&&this.writeRepositoryIdToUrl(t)}getRepositoryIdFromUrl(){return new URLSearchParams(K.WindowService.getLocationQueryParams()).get(K.REPOSITORY_ID_PARAM)??void 0}writeRepositoryIdToUrl(t){const e=Object.fromEntries(new URLSearchParams(K.WindowService.getLocationQueryParams()));this.router.navigate([(0,K.getCurrentRoute)()],{queryParams:{...e,[K.REPOSITORY_ID_PARAM]:t},replaceUrl:!0})}warnForMissingRepository(t,e,n){this.confirmationProviderService.confirmOnly({header:this.translocoService.translate("common.warnings.warning"),message:this.translocoService.translate(n,{repositoryId:t,currentRepositoryId:e}),acceptHandler:()=>this.writeRepositoryIdToUrl(e)})}confirmRepositoryChange(t,e){this.confirmationProviderService.confirm({header:this.translocoService.translate("components.dialog.confirmation.title"),message:this.translocoService.translate("repository.url_param.change_active_repo",{repositoryId:e}),acceptHandler:()=>this.repositoryContextService.updateSelectedRepository({id:e,location:""}),rejectHandler:()=>this.writeRepositoryIdToUrl(t)})}static{this.ɵfac=function(e){return new(e||t)}}static{this.ɵprov=n.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}}return t})(),nt=(()=>{class t{constructor(){this.router=(0,n.WQX)(r.Ix),this.repositoryUrlSyncService=(0,n.WQX)(et),this.repositoryContextService=(0,K.service)(K.RepositoryContextService),this.eventService=(0,K.service)(K.EventService),this.subscriptions=new X.yU,this.isFirstRepoChangeEvent=!0}ngOnInit(){this.subscribeToRoutingEvents(),this.subscriptions.add(this.repositoryContextService.onSelectedRepositoryChanged(t=>this.onSelectedRepositoryChangedHandler(t)))}ngOnDestroy(){this.subscriptions.unsubscribe()}onSelectedRepositoryChangedHandler(t){this.isFirstRepoChangeEvent?this.isFirstRepoChangeEvent=!1:t&&this.repositoryUrlSyncService.onRepositoryChanged(t.id)}subscribeToRoutingEvents(){this.subscriptions.add(this.eventService.subscribe(K.EventName.NAVIGATION_END,()=>{const t=Object.fromEntries(new URLSearchParams(K.WindowService.getLocationQueryParams()));this.router.navigate([(0,K.getCurrentRoute)()],{queryParams:t}).then(()=>{this.repositoryUrlSyncService.syncRepositoryIdWithUrl()})}))}static{this.ɵfac=function(e){return new(e||t)}}static{this.ɵcmp=b.VBU({type:t,selectors:[["app-root"]],decls:3,vars:0,consts:[[1,"main-container"],["styleClass","modal-dialog"]],template:function(t,e){1&t&&(b.j41(0,"div",0),b.nrm(1,"router-outlet"),b.k0s(),b.nrm(2,"p-confirmdialog",1))},dependencies:[r.n3,Y.FP,Y.TM],styles:[".main-container[_ngcontent-%COMP%]{margin-left:15rem;padding:2rem 2rem 3rem}[_nghost-%COMP%]:has(.login-page-route) .main-container[_ngcontent-%COMP%]{padding-bottom:0}"]})}}return t})();var rt=wn(4040);let ot=(()=>{class t{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=(0,n.WQX)(n.zZn);loadingSchedulerFn=(0,n.WQX)(st,{optional:!0});_engine;constructor(t,e,n,r,o){this.doc=t,this.delegate=e,this.zone=n,this.animationType=r,this.moduleImpl=o}ngOnDestroy(){this._engine?.flush()}loadImpl(){const t=()=>this.moduleImpl??wn.e(861).then(wn.bind(wn,8861)).then(t=>t);let e;return e=this.loadingSchedulerFn?this.loadingSchedulerFn(t):t(),e.catch(t=>{throw new n.buA(5300,!1)}).then(({ɵcreateEngine:t,ɵAnimationRendererFactory:e})=>{this._engine=t(this.animationType,this.doc);const n=new e(this.delegate,this._engine,this.zone);return this.delegate=n,n})}createRenderer(t,e){const r=this.delegate.createRenderer(t,e);if(0===r.ɵtype)return r;"boolean"==typeof r.throwOnSyntheticProps&&(r.throwOnSyntheticProps=!1);const o=new it(r);return e?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(r=>{const i=r.createRenderer(t,e);o.use(i),this.scheduler??=this.injector.get(n.hk6,null,{optional:!0}),this.scheduler?.notify(10)}).catch(t=>{o.use(r)}),o}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(t){this._engine?.flush(),this.delegate.componentReplaced?.(t)}static ɵfac=function(t){b.QTQ()};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();class it{delegate;replay=[];ɵtype=1;constructor(t){this.delegate=t}use(t){if(this.delegate=t,null!==this.replay){for(const e of this.replay)e(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,e){this.delegate.appendChild(t,e)}insertBefore(t,e,n,r){this.delegate.insertBefore(t,e,n,r)}removeChild(t,e,n,r){this.delegate.removeChild(t,e,n,r)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){this.shouldReplay(e)&&this.replay.push(r=>r.setProperty(t,e,n)),this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n,r){return this.shouldReplay(e)&&this.replay.push(o=>o.listen(t,e,n,r)),this.delegate.listen(t,e,n,r)}shouldReplay(t){return null!==this.replay&&t.startsWith("@")}}const st=new n.nKC("");let at=(()=>{class t{static{this.BASE_DOCUMENTATION_URL="https://graphdb.ontotext.com/documentation/"}static{this.LATEST_UNOFFICIAL_VERSION="master"}static getDocumentationUrl(e,n){if(!n)return;const r=e.includes("-"),o=K.BuildUtil.isDevMode()||r?t.LATEST_UNOFFICIAL_VERSION:e;return`${t.BASE_DOCUMENTATION_URL}${o}/${n}`}static{this.ɵfac=function(e){return new(e||t)}}static{this.ɵprov=n.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}}return t})();const lt=[{path:"sparql-new",data:{title:"sparql_editor.title",helpInfo:"sparql_editor.helpInfo",documentationUrl:"sparql-queries.html"},resolve:{documentationLink:t=>{const e=(0,K.service)(K.ProductInfoContextService).getProductInfo();return e?at.getDocumentationUrl(e.shortVersion,t.data.documentationUrl)??"":""}},loadComponent:()=>Promise.all([wn.e(936),wn.e(323),wn.e(193),wn.e(166)]).then(wn.bind(wn,2274)).then(t=>t.SparqlEditorPageComponent)},{path:"login",loadComponent:()=>Promise.all([wn.e(936),wn.e(891)]).then(wn.bind(wn,7891)).then(t=>t.LoginPageComponent)},{path:"ux-test",loadComponent:()=>Promise.all([wn.e(936),wn.e(323),wn.e(237),wn.e(471)]).then(wn.bind(wn,8471)).then(t=>t.UxTestPageComponent)},{path:"**",loadComponent:()=>wn.e(703).then(wn.bind(wn,2703)).then(t=>t.NotFoundPageComponent)}],ct=(0,b.phd)(()=>{const t=(0,n.WQX)(tt.JO),e=K.ServiceProvider.get(K.LanguageContextService),r=K.ServiceProvider.get(K.LanguageService);return new Promise(n=>{e.onLanguageBundleChanged(o=>{if(o){const i=e.getSelectedLanguage()||r.getDefaultLanguage();t.setTranslation(o,i),t.setActiveLang(i),n()}})})}),ut=[ct,(0,tt.$o)({config:{availableLangs:K.ServiceProvider.get(K.LanguageService).getSupportedLanguages(),defaultLang:K.ServiceProvider.get(K.LanguageService).getDefaultLanguage(),reRenderOnLangChange:!0,prodMode:!1}})];var dt=wn(3818),ht=wn(3511),pt=wn(3828),ft=wn(2433),gt=wn(4457);const mt=new n.nKC("TRANSLOCO_MESSAGE_FORMAT_CONFIG");function yt(t,e){return new gt(t,e)}function bt(t,e){const n=yt(t,e),r=n.compile,o=new Map,i=`__${t?.toString()||gt.defaultLocale}__`;return n.compile=function(t){const e=`${i}${t}`,n=o.get(e);if(n)return n;const s=r.call(this,t);return o.set(e,s),s},n}let vt=(()=>{class t extends tt.YW{messageFormat;messageConfig;mfFactory;constructor(t){super();const{locales:e,enableCache:n=!0,...r}={locales:null,...t};this.messageConfig=r,this.mfFactory=n?bt:yt,this.messageFormat=this.mfFactory(e,r)}transpile({value:t,params:e={},translation:n,key:r}){if(!t)return t;if((0,ft.Gv)(t)&&e)Object.keys(e).forEach(o=>{const i=super.transpile({value:(0,tt._W)(t,o),params:(0,tt._W)(e,o),translation:n,key:r}),s=this.messageFormat.compile(i);t=(0,tt.KY)(t,o,s(e[o]))});else if(!Array.isArray(t)){const o=super.transpile({value:t,params:e,translation:n,key:r});return this.messageFormat.compile(o)(e)}return t}onLangChanged(t){this.setLocale(t)}setLocale(t){this.messageFormat=this.mfFactory(t,this.messageConfig)}static ɵfac=function(e){return new(e||t)(n.KVO(mt,8))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();const wt={providers:[...u(),...ut,(0,e.Jn2)({eventCoalescing:!0}),(0,rt.lh)(lt),{provide:i.kB,useValue:(0,K.getBasePath)()},function(t="animations"){return(0,b._jY)("NgAsyncAnimations"),(0,n.EmA)([{provide:b._9s,useFactory:()=>new ot((0,n.WQX)(n.qQL),(0,n.WQX)(D),(0,n.WQX)(n.SKi),t)},{provide:b.bc$,useValue:"noop"===t?"NoopAnimations":"BrowserAnimations"}])}(),(0,dt.wG)({theme:{options:{prefix:"gw"}}}),ht.o3,pt.td,(0,n.EmA)([{provide:mt,useValue:void 0},{provide:tt.Rv,useClass:vt}])]},St=(0,n.vPA)(null),Ct=function(t){const e={...d,...t};if("function"!=typeof e.bootstrapFunction)throw Error("single-spa-angular must be passed an options.bootstrapFunction");if("string"!=typeof e.template&&"function"!=typeof e.template)throw Error("single-spa-angular must be passed options.template string or function");if(!e.NgZone)throw Error("single-spa-angular must be passed the NgZone option");return e.Router&&!e.NavigationStart&&console.warn("single-spa-angular must be passed the NavigationStart option"),{bootstrap:h.bind(null,e),mount:f.bind(null,e),unmount:m.bind(null,e),update:e.updateFunction}}({bootstrapFunction:(Tt=(0,t.A)(function*(t){try{St.set(t);const e=Q(u());return yield function(t,e,n){return W.apply(this,arguments)}(nt,wt,{platformRef:e})}catch(t){throw console.error("Failed to bootstrap the Angular application:",t),t}}),function(t){return Tt.apply(this,arguments)}),template:"<app-root />",Router:r.Ix,NavigationStart:r.Z,NgZone:n.SKi}),_t=Ct.bootstrap,kt=Ct.mount,xt=Ct.unmount;var Tt})();const xw=Zd.Nw,Fw=Zd.Or,$w=Zd.vs;export{xw as bootstrap,Fw as mount,$w as unmount};
|
|
1
|
+
import*as Tr from"@ontotext/workbench-api";var $E={590(t,e,n){n.d(e,{M:()=>s});var r=n(6817),o=n(3828),i=n(5111);let s=(()=>{class t{constructor(){this.confirmationService=(0,r.WQX)(o.td),this.translocoService=(0,r.WQX)(i.JO)}confirm(t){this.confirmationService.confirm({target:t.target,message:t.message,header:t.header,acceptButtonStyleClass:t.acceptButton?.styleClass||"confirm-btn",rejectButtonStyleClass:t.rejectButton?.styleClass||"cancel-btn",acceptButtonProps:{label:t.acceptButton?.label||this.translocoService.translate("components.dialog.confirmation.confirm_btn"),severity:t.acceptButton?.type||"primary"},rejectButtonProps:{label:t.rejectButton?.label||this.translocoService.translate("components.dialog.confirmation.cancel_btn"),severity:t.rejectButton?.type||"secondary"},accept:t.acceptHandler,reject:t.rejectHandler,rejectVisible:t.rejectVisible??!0})}confirmOnly(t){const e={...t,rejectVisible:!1,acceptButton:{...t.acceptButton??{},label:this.translocoService.translate("components.dialog.confirmation.ok_btn")}};this.confirm(e)}static{this.ɵfac=function(e){return new(e||t)}}static{this.ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}}return t})()},4457(t){t.exports=function(){"use strict";var t=function(){return t=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},t.apply(this,arguments)};function e(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function r(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)(r||!(o in e))&&(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;class o extends Error{constructor(t,e,n){super(t),this.token=e,this.type=n||"error"}}const i=t=>t<4?"short":4===t?"long":"narrow",s=t=>t%2==0?"2-digit":"numeric";function a(t,e){switch(t.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void e(`${t.desc} is not supported with width ${t.width}`)}}function l(t,e){const{char:n,desc:r,width:o}=t;if("d"===n)return s(o);e(`${r} is not supported`)}function c(t,e){const{char:n,desc:r,width:s}=t;return("c"===n||"e"===n)&&s<3&&e(`Numeric value is not supported for ${r}; falling back to weekday:short`,o.WARNING),i(s)}function u(t,e){const{char:n,desc:r,width:o}=t;switch(n){case"v":case"z":return 4===o?"long":"short";case"V":return 4===o?"long":void e(`${r} is not supported with width ${o}`);case"X":return void e(`${r} is not supported`)}return"short"}function d(t,e){switch(t.field){case"era":return{era:i(t.width)};case"year":return function(t,e){switch(t.char){case"y":return{year:s(t.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return e(`${t.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}(t,e);case"month":return{month:a(t,e)};case"day":return{day:l(t,e)};case"weekday":return{weekday:c(t,e)};case"period":return;case"hour":return function(t){const e=s(t.width);let n;switch(t.char){case"h":n="h12";break;case"H":n="h23";break;case"k":n="h24";break;case"K":n="h11"}return n?{hour:e,hourCycle:n}:{hour:e}}(t);case"min":return{minute:s(t.width)};case"sec":return{second:s(t.width)};case"tz":return{timeZoneName:u(t,e)};case"quarter":case"week":case"sec-frac":case"ms":e(`${t.desc} is not supported`)}}function h(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>{throw t};const r={timeZone:e},i=[];for(const e of t){const{error:t,field:s,str:a}=e;if(t){const r=new o(t.message,e);r.stack=t.stack,n(r)}a&&n(new o(`Ignoring string part: ${a}`,e,o.WARNING)),s&&(-1===i.indexOf(s)?i.push(s):n(new o(`Duplicate ${s} token`,e)));const l=d(e,(t,r)=>n(new o(t,e,r)));l&&Object.assign(r,l)}return r}const p={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},f=t=>t>="A"&&t<="Z"||t>="a"&&t<="z";function g(t,e){const n=t[e];if(!n)return null;if(f(n))return function(t,e){const n=t[e];let r=1;for(;t[++e]===n;)++r;const o=p[n];return o?{char:n,field:o.field,desc:o.desc,width:r}:{char:n,error:new Error(`The letter ${n} is not a valid field identifier`),width:r}}(t,e);if("'"===n)return function(t,e){let n=t[++e],r=2;if("'"===n)return{char:"'",str:n,width:r};for(;;){const o=t[++e];if(++r,void 0===o)return{char:"'",error:new Error(`Unterminated quoted literal in pattern: ${n||t}`),str:n,width:r};if("'"===o){if("'"!==t[++e])return{char:"'",str:n,width:r};++r}n+=o}}(t,e);let r=n,o=1;for(;;){const i=t[++e];if(!i||f(i)||"'"===i)return{char:n,str:r,width:o};r+=i,o+=1}}function m(t){const e=[];let n=0;for(;;){const r=g(t,n);if(!r)return e;e.push(r),n+=r.width}}class y extends Error{constructor(t,e){super(e),this.code=t}}class b extends y{constructor(t,e){super("BAD_OPTION",`Unknown ${t} option: ${e}`),this.stem=t,this.option=e}}class v extends y{constructor(t){super("BAD_STEM",`Unknown stem: ${t}`),this.stem=t}}class w extends y{constructor(t,e){super("MASKED_VALUE",`Value for ${t} is set multiple times`),this.type=t,this.prev=e}}class S extends y{constructor(t){super("MISSING_OPTION",`Required option missing for ${t}`),this.stem=t}}class C extends y{constructor(t,e){super("BAD_PATTERN",e),this.char=t}}class _ extends y{constructor(t,e,n){super("TOO_MANY_OPTIONS",`Token ${t} only supports ${n>1?`${n} options`:"one option"} (got ${e.length})`),this.stem=t,this.options=e}}class k extends y{constructor(t,e){super("UNSUPPORTED",`The stem ${t} is not supported`),this.stem=t,e&&(this.message+=` with value ${e}`,this.source=e)}}function x(t,e){let{numberingSystem:n}=e;return Array.isArray(t)||(t=[t]),n?t.map(t=>{const e=-1===t.indexOf("-u-")?"u-nu":"nu";return`${t}-${e}-${n}`}).concat(t):t}function T(t){let{scale:e,unit:n}=t,r="number"==typeof e&&e>=0?e:1;return n&&"percent"===n.style&&(r*=.01),r}function E(t,e){const{decimal:n,group:r,integerWidth:o,notation:i,precision:s,roundingMode:a,sign:l,unit:c,unitPer:u,unitWidth:d}=t,h=(t,n)=>{e&&e(new k(t,n))},p={};if(c)switch(c.style){case"base-unit":p.style="decimal";break;case"currency":p.style="currency",p.currency=c.currency;break;case"measure-unit":p.style="unit",p.unit=c.unit.replace(/.*-/,""),u&&(p.unit+="-per-"+u.replace(/.*-/,""));break;case"percent":p.style="percent";break;case"permille":h("permille")}switch(d){case"unit-width-full-name":p.currencyDisplay="name",p.unitDisplay="long";break;case"unit-width-hidden":h(d);break;case"unit-width-iso-code":p.currencyDisplay="code";break;case"unit-width-narrow":p.currencyDisplay="narrowSymbol",p.unitDisplay="narrow";break;case"unit-width-short":p.currencyDisplay="symbol",p.unitDisplay="short"}switch(r){case"group-off":p.useGrouping=!1;break;case"group-auto":p.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":h(r),p.useGrouping=!0}if(s)switch(s.style){case"precision-fraction":{const{minFraction:t,maxFraction:e,minSignificant:n,maxSignificant:r,source:o}=s;"number"==typeof t&&(p.minimumFractionDigits=t,"number"==typeof n&&h("precision-fraction",o)),"number"==typeof e&&(p.maximumFractionDigits=e),"number"==typeof n&&(p.minimumSignificantDigits=n),"number"==typeof r&&(p.maximumSignificantDigits=r);break}case"precision-integer":p.maximumFractionDigits=0;break;case"precision-unlimited":p.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":p.trailingZeroDisplay=s.trailingZero;break;case"precision-currency-cash":h(s.style)}if(i)switch(i.style){case"compact-short":p.notation="compact",p.compactDisplay="short";break;case"compact-long":p.notation="compact",p.compactDisplay="long";break;case"notation-simple":p.notation="standard";break;case"scientific":case"engineering":{const{expDigits:t,expSign:e,source:n,style:r}=i;p.notation=r,(t&&t>1||e&&"sign-auto"!==e)&&h(r,n);break}}if(o){const{min:t,max:e,source:n}=o;t>0&&(p.minimumIntegerDigits=t),Number(e)>0&&(3!==e||"engineering"!==p.notation&&"scientific"!==p.notation?h("integer-width",n):p.notation="engineering")}switch(l){case"sign-auto":p.signDisplay="auto";break;case"sign-always":p.signDisplay="always";break;case"sign-except-zero":p.signDisplay="exceptZero";break;case"sign-never":p.signDisplay="never";break;case"sign-accounting":p.currencySign="accounting";break;case"sign-accounting-always":p.currencySign="accounting",p.signDisplay="always";break;case"sign-accounting-except-zero":p.currencySign="accounting",p.signDisplay="exceptZero"}return"decimal-always"===n&&h(n),a&&h(a),p}function A(t,e,n){const r=t[e];switch(r){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let o=1;for(;"¤"===t[++e];)++o;switch(o){case 1:return{char:r,currency:"default",width:o};case 2:return{char:r,currency:"iso-code",width:o};case 3:return{char:r,currency:"full-name",width:o};case 5:return{char:r,currency:"narrow",width:o};default:return n(new C("¤",`Invalid number (${o}) of ¤ chars in pattern`)),null}}case"*":{const n=t[e+1];if(n)return{char:r,pad:n,width:2};break}case"+":case"-":return{char:r,width:1};case"'":{let o=t[++e],i=2;if("'"===o)return{char:r,str:o,width:i};for(;;){const s=t[++e];if(++i,void 0===s)return n(new C("'",`Unterminated quoted literal in pattern: ${o}`)),{char:r,str:o,width:i};if("'"===s){if("'"!==t[++e])return{char:r,str:o,width:i};++i}o+=s}}}return null}const I=t=>t>="0"&&t<="9";function O(t,e){const n=t[e];if(I(n)){let r=n;for(;;){const n=t[++e];if(!I(n))return{char:"0",digits:r,width:r.length};r+=n}}switch(n){case"#":{let r=1;for(;"#"===t[++e];)++r;return{char:n,width:r}}case"@":{let r=1;for(;"@"===t[++e];)++r;let o=r;for(e-=1;"#"===t[++e];)++o;return{char:n,min:r,width:o}}case"E":{const r="+"===t[e+1];r&&++e;let o=0;for(;"0"===t[++e];)++o;if(o)return{char:n,expDigits:o,plus:r,width:(r?2:1)+o};break}case".":case",":return{char:n,width:1}}return null}function L(t,e,n){let r;var o;(o=r||(r={}))[o.Prefix=0]="Prefix",o[o.Number=1]="Number",o[o.Suffix=2]="Suffix";const i=[],s=[],a=[];let l=r.Prefix,c="";for(;e<t.length;){const o=t[e];if(";"===o){e+=1;break}switch(l){case r.Prefix:{const a=A(t,e,n);if(a)c&&(i.push({char:"'",str:c,width:c.length}),c=""),i.push(a),e+=a.width;else{const n=O(t,e);n?(c&&(i.push({char:"'",str:c,width:c.length}),c=""),l=r.Number,s.push(n),e+=n.width):(c+=o,e+=1)}break}case r.Number:{const n=O(t,e);n?(s.push(n),e+=n.width):l=r.Suffix;break}case r.Suffix:{const r=A(t,e,n);r?(c&&(a.push({char:"'",str:c,width:c.length}),c=""),a.push(r),e+=r.width):(c+=o,e+=1);break}}}return c&&a.push({char:"'",str:c,width:c.length}),{pattern:{prefix:i,number:s,suffix:a},pos:e}}function D(t,e,n,r,o){let i=!1,s="";for(const a of t)switch(a.char){case"%":e.unit={style:a.style},o?i=!0:s="";break;case"¤":if(!n){r(new C("¤","The ¤ pattern requires a currency"));break}switch(e.unit={style:"currency",currency:n},a.currency){case"iso-code":e.unitWidth="unit-width-iso-code";break;case"full-name":e.unitWidth="unit-width-full-name";break;case"narrow":e.unitWidth="unit-width-narrow"}o?i=!0:s="";break;case"*":break;case"+":i||(s+="+");break;case"'":i||(s+=a.str)}return s}function P(t,e){let n=!1,r="";for(const o of t)switch(o.char){case"%":case"¤":e?n=!0:r="";break;case"-":n||(r+="-");break;case"'":n||(r+=o.str)}return r}function R(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>{throw t};const{tokens:r,negative:o}=function(t,e){const{pattern:n,pos:r}=L(t,0,e);if(r<t.length){const{pattern:o}=L(t,r,e);return{tokens:n,negative:o}}return{tokens:n}}(t,n),i=function(t,e){const n={};let r=!1,o=!1,i=0,s="",a=-1,l="",c=0;for(let u=0;u<t.length;++u){const d=t[u];switch(d.char){case"#":-1===a?(s&&e(new C("#","Pattern has # after integer digits")),i+=d.width):c+=d.width;break;case"0":-1===a?s+=d.digits:(c&&e(new C("0","Pattern has digits after # in fraction")),l+=d.digits);break;case"@":n.precision&&e(new w("precision",n.precision)),n.precision={style:"precision-fraction",minSignificant:d.min,maxSignificant:d.width};break;case",":r=!0;break;case".":1===a&&e(new C(".","Pattern has more than one decimal separator")),a=u;break;case"E":o&&e(new w("exponent",n.notation)),r&&e(new C("E","Exponential patterns may not contain grouping separators")),n.notation={style:"scientific"},d.expDigits>1&&(n.notation.expDigits=d.expDigits),d.plus&&(n.notation.expSign="sign-always"),o=!0}}r?n.group="group-auto":i+s.length>3&&(n.group="group-off");const u=+`${s||"0"}.${l}`;if(u&&(n.precision={style:"precision-increment",increment:u}),o)if((!n.precision||u)&&(n.integerWidth=i?{min:1,max:i+s.length}:{min:Math.max(1,s.length)}),n.precision)u||(n.integerWidth={min:1,max:1});else{const t=s.length+l.length;-1===a?t>0&&(n.precision={style:"precision-fraction",maxSignificant:t}):(n.precision={style:"precision-fraction",maxSignificant:Math.max(1,t)+c},t>1&&(n.precision.minSignificant=t))}else s.length>1&&(n.integerWidth={min:s.length}),!n.precision&&(l.length||c)&&(n.precision={style:"precision-fraction",minFraction:l.length,maxFraction:l.length+c});return n}(r.number,n),s=D(r.prefix,i,e,n,!0),a=D(r.suffix,i,e,n,!1);if(o){const t=P(o.prefix,!0),e=P(o.suffix,!1);i.affix={pos:[s,a],neg:[t,e]},i.sign="sign-never"}else(s||a)&&(i.affix={pos:[s,a]});return i}function N(t){const[e]=t.split("-",1);return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(e)}const M={"compact-short":0,"compact-long":0,"notation-simple":0,scientific:2,engineering:2,percent:0,permille:0,"base-unit":0,currency:1,"measure-unit":1,"per-measure-unit":1,"unit-width-narrow":0,"unit-width-short":0,"unit-width-full-name":0,"unit-width-iso-code":0,"unit-width-hidden":0,"precision-integer":0,"precision-unlimited":0,"precision-currency-standard":1,"precision-currency-cash":0,"precision-increment":1,"rounding-mode-ceiling":0,"rounding-mode-floor":0,"rounding-mode-down":0,"rounding-mode-up":0,"rounding-mode-half-even":0,"rounding-mode-half-down":0,"rounding-mode-half-up":0,"rounding-mode-unnecessary":0,"integer-width":1,scale:1,"group-off":0,"group-min2":0,"group-auto":0,"group-on-aligned":0,"group-thousands":0,latin:0,"numbering-system":1,"sign-auto":0,"sign-always":0,"sign-never":0,"sign-accounting":0,"sign-accounting-always":0,"sign-except-zero":0,"sign-accounting-except-zero":0,"decimal-auto":0,"decimal-always":0},j={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function F(t,e){const n=t&&t.match("fraction"===e?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/);if(n){const t=n[1].length;switch(n[2].charAt(0)){case"":return{min:t,max:t};case"+":return{min:t,max:null};case"#":return{min:t,max:t+n[2].length}}}return null}class ${constructor(t){this.skeleton={},this.onError=t}badOption(t,e){this.onError(new b(t,e))}assertEmpty(t){const e=this.skeleton[t];e&&this.onError(new w(t,e))}parseToken(t,e){if(!function(t,e,n){if(function(t){return t in M}(t)){const r=M[t];if(e.length>r){if(0===r)for(const r of e)n(new b(t,r));else n(new _(t,e,r));return!1}if(function(t){return t in j}(t)&&e.length<j[t])return n(new S(t)),!1}return!0}(t,e,this.onError))return;const n=e[0],r=this.skeleton;switch(t){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),r.notation={style:t};break;case"scientific":case"engineering":{let n,o=null;for(const r of e)switch(r){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":n=r;break;default:/^\+e+$/.test(r)?o=r.length-1:this.badOption(t,r)}this.assertEmpty("notation");const i=e.join("/");r.notation=o&&n?{style:t,source:i,expDigits:o,expSign:n}:o?{style:t,source:i,expDigits:o}:n?{style:t,source:i,expSign:n}:{style:t,source:i};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),r.unit={style:t};break;case"currency":/^[A-Z]{3}$/.test(n)?(this.assertEmpty("unit"),r.unit={style:t,currency:n}):this.badOption(t,n);break;case"measure-unit":N(n)?(this.assertEmpty("unit"),r.unit={style:t,unit:n}):this.badOption(t,n);break;case"per-measure-unit":N(n)?(this.assertEmpty("unitPer"),r.unitPer=n):this.badOption(t,n);break;case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),r.unitWidth=t;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),r.precision={style:t};break;case"precision-currency-standard":this.assertEmpty("precision"),r.precision="w"===n?{style:t,trailingZero:"stripIfInteger"}:{style:t};break;case"precision-increment":{const e=Number(n);e>0?(this.assertEmpty("precision"),r.precision={style:t,increment:e}):this.badOption(t,n);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),r.roundingMode=t;break;case"integer-width":if(/^\+0*$/.test(n))this.assertEmpty("integerWidth"),r.integerWidth={source:n,min:n.length-1};else{const e=n.match(/^#*(0*)$/);e?(this.assertEmpty("integerWidth"),r.integerWidth={source:n,min:e[1].length,max:e[0].length}):this.badOption(t,n)}break;case"scale":{const e=Number(n);e>0?(this.assertEmpty("scale"),r.scale=e):this.badOption(t,n);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),r.group=t;break;case"latin":this.assertEmpty("numberingSystem"),r.numberingSystem="latn";break;case"numbering-system":!function(t){return-1!==["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(t)}(n)?this.badOption(t,n):(this.assertEmpty("numberingSystem"),r.numberingSystem=n);break;case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),r.sign=t;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),r.decimal=t;break;default:{const n=function(t,e,n){const r=F(t,"fraction");if(r){e.length>1&&n(new _(t,e,1));const o={style:"precision-fraction",source:t,minFraction:r.min};null!=r.max&&(o.maxFraction=r.max);const i=e[0],s=F(i,"significant");return s?(o.source=`${t}/${i}`,o.minSignificant=s.min,null!=s.max&&(o.maxSignificant=s.max)):i&&n(new b(t,i)),o}const o=F(t,"significant");if(o){for(const r of e)n(new b(t,r));const r={style:"precision-fraction",source:t,minSignificant:o.min};return null!=o.max&&(r.maxSignificant=o.max),r}return null}(t,e,this.onError);n?(this.assertEmpty("precision"),r.precision=n):this.onError(new v(t))}}}}function z(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>{throw t};const n=[];for(const e of t.split(" "))if(e){const t=e.split("/"),r=t.shift()||"";n.push({stem:r,options:t})}const r=new $(e);for(const{stem:t,options:e}of n)r.parseToken(t,e);return r.skeleton}var H,B,V,U=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},W={},G={},q={exports:{}};B=U,V=function(){var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,n="boolean"==typeof(new RegExp).sticky;function r(t){return t&&"[object RegExp]"===e.call(t)}function o(t){return t&&"object"==typeof t&&!r(t)&&!Array.isArray(t)}function i(t){return new RegExp("|"+t).exec("").length-1}function s(t){return"("+t+")"}function a(t){return t.length?"(?:"+t.map(function(t){return"(?:"+t+")"}).join("|")+")":"(?!)"}function l(t){if("string"==typeof t)return"(?:"+function(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}(t)+")";if(r(t)){if(t.ignoreCase)throw new Error("RegExp /i flag not allowed");if(t.global)throw new Error("RegExp /g flag is implied");if(t.sticky)throw new Error("RegExp /y flag is implied");if(t.multiline)throw new Error("RegExp /m flag is implied");return t.source}throw new Error("Not a pattern: "+t)}function c(t,e){return t.length>e?t:Array(e-t.length+1).join(" ")+t}function u(e,n){if(o(n)||(n={match:n}),n.include)throw new Error("Matching rules cannot also include states");var i={defaultType:e,lineBreaks:!!n.error||!!n.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var s in n)t.call(n,s)&&(i[s]=n[s]);if("string"==typeof i.type&&e!==i.type)throw new Error("Type transform cannot be a string (type '"+i.type+"' for token '"+e+"')");var a=i.match;return i.match=Array.isArray(a)?a:a?[a]:[],i.match.sort(function(t,e){return r(t)&&r(e)?0:r(e)?-1:r(t)?1:e.length-t.length}),i}function d(t){return Array.isArray(t)?function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(r.include)for(var o=[].concat(r.include),i=0;i<o.length;i++)e.push({include:o[i]});else{if(!r.type)throw new Error("Rule has no type: "+JSON.stringify(r));e.push(u(r.type,r))}}return e}(t):function(t){for(var e=Object.getOwnPropertyNames(t),n=[],r=0;r<e.length;r++){var i=e[r],s=[].concat(t[i]);if("include"!==i){var a=[];s.forEach(function(t){o(t)?(a.length&&n.push(u(i,a)),n.push(u(i,t)),a=[]):a.push(t)}),a.length&&n.push(u(i,a))}else for(var l=0;l<s.length;l++)n.push({include:s[l]})}return n}(t)}var h=u("error",{lineBreaks:!0,shouldThrow:!0});function p(t,e){for(var o=null,c=Object.create(null),u=!0,d=null,p=[],f=[],g=0;g<t.length;g++)t[g].fallback&&(u=!1);for(g=0;g<t.length;g++){var m=t[g];if(m.include)throw new Error("Inheritance is not allowed in stateless lexers");if(m.error||m.fallback){if(o)throw!m.fallback==!o.fallback?new Error("Multiple "+(m.fallback?"fallback":"error")+" rules not allowed (for token '"+m.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+m.defaultType+"')");o=m}var y=m.match.slice();if(u)for(;y.length&&"string"==typeof y[0]&&1===y[0].length;)c[y.shift().charCodeAt(0)]=m;if(m.pop||m.push||m.next){if(!e)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+m.defaultType+"')");if(m.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+m.defaultType+"')")}if(0!==y.length){u=!1,p.push(m);for(var b=0;b<y.length;b++){var v=y[b];if(r(v))if(null===d)d=v.unicode;else if(d!==v.unicode&&!1===m.fallback)throw new Error("If one rule is /u then all must be")}var w=a(y.map(l)),S=new RegExp(w);if(S.test(""))throw new Error("RegExp matches empty string: "+S);if(i(w)>0)throw new Error("RegExp has capture groups: "+S+"\nUse (?: … ) instead");if(!m.lineBreaks&&S.test("\n"))throw new Error("Rule should declare lineBreaks: "+S);f.push(s(w))}}var C=o&&o.fallback,_=n&&!C?"ym":"gm",k=n||C?"":"|";return!0===d&&(_+="u"),{regexp:new RegExp(a(f)+k,_),groups:p,fast:c,error:o||h}}function f(t,e,n){var r=t&&(t.push||t.next);if(r&&!n[r])throw new Error("Missing state '"+r+"' (in token '"+t.defaultType+"' of state '"+e+"')");if(t&&t.pop&&1!=+t.pop)throw new Error("pop must be 1 (in token '"+t.defaultType+"' of state '"+e+"')")}var g=function(t,e){this.startState=e,this.states=t,this.buffer="",this.stack=[],this.reset()};g.prototype.reset=function(t,e){return this.buffer=t||"",this.index=0,this.line=e?e.line:1,this.col=e?e.col:1,this.queuedToken=e?e.queuedToken:null,this.queuedText=e?e.queuedText:"",this.queuedThrow=e?e.queuedThrow:null,this.setState(e?e.state:this.startState),this.stack=e&&e.stack?e.stack.slice():[],this},g.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},g.prototype.setState=function(t){if(t&&this.state!==t){this.state=t;var e=this.states[t];this.groups=e.groups,this.error=e.error,this.re=e.regexp,this.fast=e.fast}},g.prototype.popState=function(){this.setState(this.stack.pop())},g.prototype.pushState=function(t){this.stack.push(this.state),this.setState(t)};var m=n?function(t,e){return t.exec(e)}:function(t,e){var n=t.exec(e);return 0===n[0].length?null:n};function y(){return this.value}if(g.prototype._getGroup=function(t){for(var e=this.groups.length,n=0;n<e;n++)if(void 0!==t[n+1])return this.groups[n];throw new Error("Cannot find token type for matched text")},g.prototype.next=function(){var t=this.index;if(this.queuedGroup){var e=this._token(this.queuedGroup,this.queuedText,t);return this.queuedGroup=null,this.queuedText="",e}var n=this.buffer;if(t!==n.length){if(s=this.fast[n.charCodeAt(t)])return this._token(s,n.charAt(t),t);var r=this.re;r.lastIndex=t;var o=m(r,n),i=this.error;if(null==o)return this._token(i,n.slice(t,n.length),t);var s=this._getGroup(o),a=o[0];return i.fallback&&o.index!==t?(this.queuedGroup=s,this.queuedText=a,this._token(i,n.slice(t,o.index),t)):this._token(s,a,t)}},g.prototype._token=function(t,e,n){var r=0;if(t.lineBreaks){var o=/\n/g,i=1;if("\n"===e)r=1;else for(;o.exec(e);)r++,i=o.lastIndex}var s={type:"function"==typeof t.type&&t.type(e)||t.defaultType,value:"function"==typeof t.value?t.value(e):e,text:e,toString:y,offset:n,lineBreaks:r,line:this.line,col:this.col},a=e.length;if(this.index+=a,this.line+=r,0!==r?this.col=a-i+1:this.col+=a,t.shouldThrow)throw new Error(this.formatError(s,"invalid syntax"));return t.pop?this.popState():t.push?this.pushState(t.push):t.next&&this.setState(t.next),s},typeof Symbol<"u"&&Symbol.iterator){var b=function(t){this.lexer=t};b.prototype.next=function(){var t=this.lexer.next();return{value:t,done:!t}},b.prototype[Symbol.iterator]=function(){return this},g.prototype[Symbol.iterator]=function(){return new b(this)}}return g.prototype.formatError=function(t,e){if(null==t){var n=this.buffer.slice(this.index);t={text:n,offset:this.index,lineBreaks:-1===n.indexOf("\n")?0:1,line:this.line,col:this.col}}var r=Math.max(t.line-2,1),o=String(t.line+2).length,i=function(t,e){for(var n=t.length,r=0;;){var o=t.lastIndexOf("\n",n-1);if(-1===o||(n=o,++r===e)||0===n)break}return t.substring(r<e?0:n+1).split("\n")}(this.buffer,this.line-t.line+2+1).slice(0,5),s=[];s.push(e+" at line "+t.line+" col "+t.col+":"),s.push("");for(var a=0;a<i.length;a++){var l=i[a],u=r+a;s.push(c(String(u),o)+" "+l),u===t.line&&s.push(c("",o+t.col+1)+"^")}return s.join("\n")},g.prototype.clone=function(){return new g(this.states,this.state)},g.prototype.has=function(t){return!0},{compile:function(t){var e=p(d(t));return new g({start:e},"start")},states:function(t,e){var n=t.$all?d(t.$all):[];delete t.$all;var r=Object.getOwnPropertyNames(t);e||(e=r[0]);for(var o=Object.create(null),i=0;i<r.length;i++)o[v=r[i]]=d(t[v]).concat(n);for(i=0;i<r.length;i++)for(var s=o[v=r[i]],a=Object.create(null),l=0;l<s.length;l++){var c=s[l];if(c.include){var u=[l,1];if(c.include!==v&&!a[c.include]){a[c.include]=!0;var h=o[c.include];if(!h)throw new Error("Cannot include nonexistent state '"+c.include+"' (in state '"+v+"')");for(var m=0;m<h.length;m++){var y=h[m];-1===s.indexOf(y)&&u.push(y)}}s.splice.apply(s,u),l--}}var b=Object.create(null);for(i=0;i<r.length;i++){var v;b[v=r[i]]=p(o[v],!0)}for(i=0;i<r.length;i++){var w=r[i],S=b[w],C=S.groups;for(l=0;l<C.length;l++)f(C[l],w,b);var _=Object.getOwnPropertyNames(S.fast);for(l=0;l<_.length;l++)f(S.fast[_[l]],w,b)}return new g(b,e)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(t){for(var e=typeof Map<"u",n=e?new Map:Object.create(null),r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++){var i=r[o],s=t[i];(Array.isArray(s)?s:[s]).forEach(function(t){if("string"!=typeof t)throw new Error("keyword must be string (in keyword '"+i+"')");e?n.set(t,i):n[t]=i})}return function(t){return e?n.get(t):n[t]}}}},(H=q).exports?H.exports=V():B.moo=V();var Q=q.exports;(function(t){var e=U&&U.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.lexer=t.states=void 0;const n=e(Q);t.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:t=>t.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:t=>t.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:t=>t.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:t=>t.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:t=>t.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:t=>t.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:t=>t.substring(0,t.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},t.lexer=n.default.states(t.states)})(G),Object.defineProperty(W,"__esModule",{value:!0});var Z=W.parse=W.ParseError=void 0;const X=G,Y=t=>({offset:t.offset,line:t.line,col:t.col,text:t.text,lineBreaks:t.lineBreaks}),K=t=>"plural"===t||"select"===t||"selectordinal"===t,J=["number","date","time","spellout","ordinal","duration"],tt=["zero","one","two","few","many","other"];class et extends Error{constructor(t,e){super(X.lexer.formatError(t,e))}}W.ParseError=et;class nt{constructor(t,e){var n,r,o,i;this.lexer=X.lexer.reset(t),this.cardinalKeys=null!==(n=e?.cardinal)&&void 0!==n?n:tt,this.ordinalKeys=null!==(r=e?.ordinal)&&void 0!==r?r:tt,this.strict=null!==(o=e?.strict)&&void 0!==o&&o,this.strictPluralKeys=null===(i=e?.strictPluralKeys)||void 0===i||i}parse(){return this.parseBody(!1,!0)}checkSelectKey(t,e,n){if("="===n[0]){if("select"===e)throw new et(t,`The case ${n} is not valid with select`)}else if("select"!==e){const r="plural"===e?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&r.length>0&&!r.includes(n))throw new et(t,`The ${e} case ${n} is not valid in this locale`)}}parseSelect(t,e,n,r){let{value:o}=t;const i={type:r,arg:o,cases:[],ctx:n};"plural"===r||"selectordinal"===r?e=!0:this.strict&&(e=!1);for(const t of this.lexer)switch(t.type){case"offset":if("select"===r)throw new et(t,"Unexpected plural offset for select");if(i.cases.length>0)throw new et(t,"Plural offset must be set before cases");i.pluralOffset=Number(t.value),n.text+=t.text,n.lineBreaks+=t.lineBreaks;break;case"case":this.checkSelectKey(t,r,t.value),i.cases.push({key:t.value,tokens:this.parseBody(e),ctx:Y(t)});break;case"end":return i;default:throw new et(t,`Unexpected lexer token: ${t.type}`)}throw new et(null,"Unexpected message end")}parseArgToken(t,e){const n=Y(t),r=this.lexer.next();if(!r)throw new et(null,"Unexpected message end");if(n.text+=r.text,n.lineBreaks+=r.lineBreaks,this.strict&&("func-simple"===r.type||"func-args"===r.type)&&!J.includes(r.value))throw new et(t,`Invalid strict mode function arg type: ${r.value}`);switch(r.type){case"end":return{type:"argument",arg:t.value,ctx:n};case"func-simple":{const e=this.lexer.next();if(!e)throw new et(null,"Unexpected message end");if("end"!==e.type)throw new et(e,`Unexpected lexer token: ${e.type}`);if(n.text+=e.text,K(r.value.toLowerCase()))throw new et(r,`Invalid type identifier: ${r.value}`);return{type:"function",arg:t.value,key:r.value,ctx:n}}case"func-args":{if(K(r.value.toLowerCase()))throw new et(r,`Invalid type identifier: ${r.value}`);let o=this.parseBody(!this.strict&&e);return this.strict&&o.length>0&&(o=function(t,e){let n="",r="";for(const o of e){const e=o.ctx.text;switch(r+=e,o.type){case"content":n+=o.value;break;case"argument":case"function":case"octothorpe":n+=e;break;default:throw new et(t,`Unsupported part in strict mode function arg style: ${e}`)}}return[{type:"content",value:n.trim(),ctx:Object.assign({},e[0].ctx,{text:r})}]}(t,o)),{type:"function",arg:t.value,key:r.value,param:o,ctx:n}}case"select":if(K(r.value))return this.parseSelect(t,e,n,r.value);throw new et(r,`Unexpected select type ${r.value}`);default:throw new et(r,`Unexpected lexer token: ${r.type}`)}}parseBody(t,e){const n=[];let r=null;for(const o of this.lexer)if("argument"===o.type)r&&(r=null),n.push(this.parseArgToken(o,t));else if("octothorpe"===o.type&&t)r&&(r=null),n.push({type:"octothorpe",ctx:Y(o)});else{if("end"===o.type&&!e)return n;{let e=o.value;if(!t&&"quoted"===o.type&&"#"===e[0]){if(e.includes("{"))throw new et(o,`Unsupported escape pattern: ${e}`);e=o.text}r?(r.value+=e,r.ctx.text+=o.text,r.ctx.lineBreaks+=o.lineBreaks):(r={type:"content",value:e,ctx:Y(o)},n.push(r))}}if(e)return n;throw new et(null,"Unexpected message end")}}function rt(t){return rt[t]||(rt[t]=new Intl.NumberFormat(t))}Z=W.parse=function(t){return new nt(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var ot=Object.freeze({__proto__:null,_nf:rt,number:function(t,e,n){return rt(t).format(e-n)},plural:function(t,e,n,r,o){if({}.hasOwnProperty.call(r,t))return r[t];e&&(t-=e);var i=n(t,o);return i in r?r[i]:r.other},reqArgs:function(t,e){for(var n=0;n<t.length;++n)if(!e||void 0===e[t[n]])throw new Error("Message requires argument '".concat(t[n],"'"))},select:function(t,e){return{}.hasOwnProperty.call(e,t)?e[t]:e.other},strictNumber:function(t,e,n,r){var o=e-n;if(isNaN(o))throw new Error("`"+r+"` or its offset is not a number");return rt(t).format(o)}}),it={};function st(t,e){var n=String(t)+JSON.stringify(e);return it[n]||(it[n]=new Intl.NumberFormat(t,e)),it[n]}var at=Object.freeze({__proto__:null,date:function(t,e,n){var r={day:"numeric",month:"short",year:"numeric"};switch(n){case"full":r.weekday="long";case"long":r.month="long";break;case"short":r.month="numeric"}return new Date(t).toLocaleDateString(e,r)},duration:function(t){if("number"!=typeof t&&(t=Number(t)),!isFinite(t))return String(t);var e="";t<0?(e="-",t=Math.abs(t)):t=Number(t);var n=t%60,r=[Math.round(n)===n?n:n.toFixed(3)];return t<60?r.unshift(0):(t=Math.round((t-Number(r[0]))/60),r.unshift(t%60),t>=60&&(t=Math.round((t-Number(r[0]))/60),r.unshift(t))),e+r.shift()+":"+r.map(function(t){return Number(t)<10?"0"+String(t):String(t)}).join(":")},numberCurrency:function(t,e,n){return st(e,{style:"currency",currency:n,minimumFractionDigits:2,maximumFractionDigits:2}).format(t)},numberFmt:function(t,e,n,r){var o=n&&n.split(":")||[],i=o[0],s=o[1];return st(e,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:s&&s.trim()||r,minimumFractionDigits:2,maximumFractionDigits:2}}[i]||{}).format(t)},numberInteger:function(t,e){return st(e,{maximumFractionDigits:0}).format(t)},numberPercent:function(t,e){return st(e,{style:"percent"}).format(t)},time:function(t,e,n){var r={second:"numeric",minute:"numeric",hour:"numeric"};switch(n){case"full":case"long":r.timeZoneName="short";break;case"short":delete r.second}return new Date(t).toLocaleTimeString(e,r)}}),lt=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}({ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}});function ct(t,e){e&&(t+=" "+function(t){let e=0;for(let n=0;n<t.length;++n)e=(e<<5)-e+t.charCodeAt(n),e|=0;return e}(t).toString(36));const n=t.trim().replace(/\W+/g,"_");return lt.ES3[n]||lt.ESnext[n]||/^\d/.test(n)?"_"+n:n}function ut(t,e){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(e)&&!lt.ES3[e])return t?t+"."+e:e;{const n=JSON.stringify(e);return t?t+"["+n+"]":n}}var dt=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^")),ht="@messageformat/runtime/lib/plurals",pt=function(){function n(t){this.arguments=[],this.runtime={},this.options=t}return n.prototype.compile=function(t,n,r){var o,i,s=this,a=this.options,l=a.localeCodeFromKey,c=a.requireAllArguments,u=a.strict,d=a.strictPluralKeys;if("object"==typeof t){var h={};try{for(var p=e(Object.keys(t)),f=p.next();!f.done;f=p.next()){var g=f.value,m=l?l(g):g;h[g]=this.compile(t[g],r&&m&&r[m]||n,r)}}catch(t){o={error:t}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}return h}this.plural=n;var y={cardinal:n.cardinals,ordinal:n.ordinals,strict:u,strictPluralKeys:d};this.arguments=[];var b=Z(t,y).map(function(t){return s.token(t,null)}),v=this.arguments.length>0,w=this.concatenate(b,!0);if(c&&v){this.setRuntimeFn("reqArgs");var S=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(S,", d); return ").concat(w,"; }")}return"(".concat(v?"d":"",") => ").concat(w)},n.prototype.cases=function(t,e){var n=this,r=!0,o=t.cases.map(function(t){var o=t.key;"other"===o&&(r=!1);var i=t.tokens.map(function(t){return n.token(t,e)});return"".concat(ut(null,o.replace(/^=/,"")),": ").concat(n.concatenate(i,!1))});if(r){var i=t.type,s=this.plural,a=s.ordinals;if("select"===i||"plural"===i&&s.cardinals.includes("other")||"selectordinal"===i&&a.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(t)))}return"{ ".concat(o.join(", ")," }")},n.prototype.concatenate=function(t,e){return"values"===this.options.returnType&&(e||t.length>1)?"["+t.join(", ")+"]":t.join(" + ")||'""'},n.prototype.token=function(t,e){if("content"===t.type)return JSON.stringify(t.value);var n,r,o=this.plural,i=o.id,s=o.lc;switch("arg"in t?(this.arguments.push(t.arg),n=[ut("d",t.arg)]):n=[],t.type){case"argument":return this.options.biDiSupport?function(t,e){var n=dt.test(e),r=JSON.stringify(n?"":"");return"".concat(r," + ").concat(t," + ").concat(r)}(String(n[0]),s):String(n[0]);case"select":r="select",e&&this.options.strict&&(e=null),n.push(this.cases(t,e)),this.setRuntimeFn("select");break;case"selectordinal":r="plural",n.push(t.pluralOffset||0,i,this.cases(t,t),1),this.setLocale(i,!0),this.setRuntimeFn("plural");break;case"plural":r="plural",n.push(t.pluralOffset||0,i,this.cases(t,t)),this.setLocale(i,!1),this.setRuntimeFn("plural");break;case"function":var a=this.options.customFormatters[t.key],l=a&&"module"in a&&"function"==typeof a.module;if(!a){if("date"===t.key){r=this.setDateFormatter(t,n,e);break}if("number"===t.key){r=this.setNumberFormatter(t,n,e);break}}if(n.push(JSON.stringify(this.plural.locale)),t.param){e&&this.options.strict&&(e=null);var c=this.getFormatterArg(t,e);c&&n.push(c)}r=l?ct("".concat(t.key,"__").concat(this.plural.locale)):t.key,this.setFormatter(r,t.key);break;case"octothorpe":if(!e)return'"#"';n=[JSON.stringify(this.plural.locale),ut("d",e.arg),e.pluralOffset||0],this.options.strict?(r="strictNumber",n.push(JSON.stringify(e.arg)),this.setRuntimeFn("strictNumber")):(r="number",this.setRuntimeFn("number"))}if(!r)throw new Error("Parser error for token "+JSON.stringify(t));return"".concat(r,"(").concat(n.join(", "),")")},n.prototype.runtimeIncludes=function(t,e){if(ct(t)!==t)throw new SyntaxError("Reserved word used as ".concat(e," identifier: ").concat(t));var n=this.runtime[t];if(!n||n.type===e)return n;throw new TypeError("Cannot override ".concat(n.type," runtime function as ").concat(e,": ").concat(t))},n.prototype.setLocale=function(t,e){var n,r,o,i=this.runtimeIncludes(t,"locale"),s=this.plural,a=s.getCardinal,l=s.getPlural,c=s.isDefault;if(!e&&c&&a){if(i)return;n=function(t){return a(t)},r="@messageformat/runtime/lib/cardinals",o=function(){return String(a)}}else{if(i&&(!c||i.module===ht))return;n=function(t,e){return l(t,e)},r=c?ht:l.module||null,o=function(){return String(l)}}this.runtime[t]=Object.assign(n,{id:t,module:r,toString:o,type:"locale"})},n.prototype.setRuntimeFn=function(t){this.runtimeIncludes(t,"runtime")||(this.runtime[t]=Object.assign(ot[t],{id:t,module:"@messageformat/runtime",type:"runtime"}))},n.prototype.getFormatterArg=function(t,n){var r,o,i,s,a=this,l=t.key,c=t.param,u=this.options.customFormatters[l]||ft(l)&&at[l];if(!u||!c)return null;var d="arg"in u&&u.arg||"string";if("options"===d){var h="";try{for(var p=e(c),f=p.next();!f.done;f=p.next()){var g=f.value;if("content"!==g.type)throw new SyntaxError("Expected literal options for ".concat(l," formatter"));h+=g.value}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}var m={};try{for(var y=e(h.split(",")),b=y.next();!b.done;b=y.next()){var v=b.value,w=v.indexOf(":");if(-1===w)m[v.trim()]=null;else{var S=v.substring(0,w).trim(),C=v.substring(w+1).trim();if("true"===C)m[S]=!0;else if("false"===C)m[S]=!1;else if("null"===C)m[S]=null;else{var _=Number(C);m[S]=Number.isFinite(_)?_:C}}}}catch(t){i={error:t}}finally{try{b&&!b.done&&(s=y.return)&&s.call(y)}finally{if(i)throw i.error}}return JSON.stringify(m)}var k=c.map(function(t){return a.token(t,n)});if("raw"===d)return"[".concat(k.join(", "),"]");var x=k.join(" + ");return x?"(".concat(x,").trim()"):'""'},n.prototype.setFormatter=function(e,n){if(!this.runtimeIncludes(e,"formatter")){var r=this.options.customFormatters[n||e];if(r){var o="function"==typeof r?{formatter:r}:r;this.runtime[e]=Object.assign(o.formatter.bind({}),t(t({},o.formatter.prototype),{toString:function(){return String(o.formatter)}}),{type:"formatter"},"module"in r&&r.module&&r.id?{id:ct(r.id),module:"function"==typeof r.module?r.module(this.plural.locale):r.module}:{id:null,module:null})}else{if(!ft(e))throw new Error("Formatting function not found: ".concat(e));this.runtime[e]=Object.assign(at[e],{type:"formatter"},{id:e,module:"@messageformat/runtime/lib/formatters"})}}},n.prototype.setDateFormatter=function(t,e,n){var r=this,o=t.param,i=this.plural.locale,s=o&&1===o.length&&o[0];if(s&&"content"===s.type&&/^\s*::/.test(s.value)){var a=s.value.trim().substr(2),l=ct("date_".concat(i,"_").concat(a),!0);if(!this.runtimeIncludes(l,"formatter")){var c=function(t,e,n,r){"string"==typeof e&&(e=m(e)),"function"==typeof n&&(r=n,n=void 0);const o=h(e,n,r),i=new Intl.DateTimeFormat(t,o);return t=>i.format(t)}(i,a,this.options.timeZone);this.runtime[l]=Object.assign(c,{id:l,module:null,toString:function(){return function(t,e,n,r){"string"==typeof e&&(e=m(e)),"function"==typeof n&&(r=n,n=void 0);const o=h(e,n,r);return["(function() {",`var opt = ${JSON.stringify(o)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(t)}, opt);`,"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(i,a,r.options.timeZone)},type:"formatter"})}return l}if(e.push(JSON.stringify(i)),o&&o.length>0){n&&this.options.strict&&(n=null);var u=o.map(function(t){return r.token(t,n)});e.push("("+(u.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},n.prototype.setNumberFormatter=function(t,e,n){var r=this,o=t.param,i=this.plural.locale;if(!o||0===o.length)return e.unshift(JSON.stringify(i)),e.push("0"),this.setRuntimeFn("number"),"number";if(e.push(JSON.stringify(i)),1===o.length&&"content"===o[0].type){var s=o[0].value.trim();switch(s){case"currency":return e.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var a=s.match(/^currency:([A-Z]+)$/);if(a)return e.push(JSON.stringify(a[1])),this.setFormatter("numberCurrency"),"numberCurrency";var l=ct("number_".concat(i,"_").concat(s),!0);if(!this.runtimeIncludes(l,"formatter")){var c=this.options.currency,u=function(t,e,n,r){"string"==typeof e&&(e=0===e.indexOf("::")?z(e.slice(2),r):R(e,n,r));const o=x(t,e),i=E(e,r),s=function(t){const e=T(t),{precision:n}=t;return n&&"precision-increment"===n.style?t=>function(t,e){const n=+t+e/2;return n-n%+e}(t,n.increment)*e:t=>t*e}(e),a=new Intl.NumberFormat(o,i);if(e.affix){const[t,n]=e.affix.pos,[r,o]=e.affix.neg||["",""];return e=>{const i=a.format(s(e));return e<0?`${r}${i}${o}`:`${t}${i}${n}`}}return t=>a.format(s(t))}(i,s,c);this.runtime[l]=Object.assign(u,{id:null,module:null,toString:function(){return function(t,e,n,r){"string"==typeof e&&(e=0===e.indexOf("::")?z(e.slice(2),r):R(e,n,r));const o=x(t,e),i=E(e,r),s=function(t){const e=T(t),{precision:n}=t;if(n&&"precision-increment"===n.style){let t=`x - (x % +${n.increment})`;return 1!==e&&(t=`(${t}) * ${e}`),`function(n) { var x = ${"+n + "+n.increment/2}; return ${t}; }`}return 1!==e?`function(n) { return n * ${e}; }`:null}(e),a=["(function() {",`var opt = ${JSON.stringify(i)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(o)}, opt);`];let l="nf.format(value)";if(s&&(a.push(`var mod = ${s};`),l="nf.format(mod(value))"),e.affix){const[t,n]=e.affix.pos.map(t=>JSON.stringify(t));if(e.affix.neg){const[r,o]=e.affix.neg.map(t=>JSON.stringify(t));l=`value < 0 ? ${r} + ${l} + ${o} : ${t} + ${l} + ${n}`}else l=`${t} + ${l} + ${n}`}return a.push(`return function(value) { return ${l}; }`),a.join("\n ")+"\n})()"}(i,s,c)},type:"formatter"})}return l}n&&this.options.strict&&(n=null);var d=o.map(function(t){return r.token(t,n)});return e.push("("+(d.join(" + ")||'""')+").trim()"),e.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},n}();function ft(t){return t in at}const gt=t=>1==t?"one":"other",mt=t=>0==t||1==t?"one":"other",yt=t=>t>=0&&t<=1?"one":"other",bt=t=>{const e=String(t).split(".");return 1!=t||e[1]?"other":"one"},vt=t=>"other",wt=t=>1==t?"one":2==t?"two":"other";var St=Object.freeze({__proto__:null,af:gt,ak:mt,am:yt,an:gt,ar:t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},ars:t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},as:yt,asa:gt,ast:bt,az:gt,bal:gt,be:t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-1),o=n&&e[0].slice(-2);return 1==r&&11!=o?"one":r>=2&&r<=4&&(o<12||o>14)?"few":n&&0==r||r>=5&&r<=9||o>=11&&o<=14?"many":"other"},bem:gt,bez:gt,bg:gt,bho:mt,bm:vt,bn:yt,bo:vt,br:t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-1),o=n&&e[0].slice(-2),i=n&&e[0].slice(-6);return 1==r&&11!=o&&71!=o&&91!=o?"one":2==r&&12!=o&&72!=o&&92!=o?"two":(3==r||4==r||9==r)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=t&&n&&0==i?"many":"other"},brx:gt,bs:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=n.slice(-2),a=r.slice(-1),l=r.slice(-2);return o&&1==i&&11!=s||1==a&&11!=l?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},ca:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 1==t&&r?"one":0!=n&&0==o&&r?"many":"other"},ce:gt,ceb:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=r.slice(-1);return o&&(1==n||2==n||3==n)||o&&4!=i&&6!=i&&9!=i||!o&&4!=s&&6!=s&&9!=s?"one":"other"},cgg:gt,chr:gt,ckb:gt,cs:t=>{const e=String(t).split("."),n=e[0],r=!e[1];return 1==t&&r?"one":n>=2&&n<=4&&r?"few":r?"other":"many"},cy:t=>0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other",da:t=>{const e=String(t).split("."),n=e[0],r=Number(e[0])==t;return 1!=t&&(r||0!=n&&1!=n)?"other":"one"},de:bt,doi:yt,dsb:t=>{const e=String(t).split("."),n=e[1]||"",r=!e[1],o=e[0].slice(-2),i=n.slice(-2);return r&&1==o||1==i?"one":r&&2==o||2==i?"two":r&&(3==o||4==o)||3==i||4==i?"few":"other"},dv:gt,dz:vt,ee:gt,el:gt,en:bt,eo:gt,es:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 1==t?"one":0!=n&&0==o&&r?"many":"other"},et:bt,eu:gt,fa:yt,ff:t=>t>=0&&t<2?"one":"other",fi:bt,fil:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=r.slice(-1);return o&&(1==n||2==n||3==n)||o&&4!=i&&6!=i&&9!=i||!o&&4!=s&&6!=s&&9!=s?"one":"other"},fo:gt,fr:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return t>=0&&t<2?"one":0!=n&&0==o&&r?"many":"other"},fur:gt,fy:bt,ga:t=>{const e=String(t).split("."),n=Number(e[0])==t;return 1==t?"one":2==t?"two":n&&t>=3&&t<=6?"few":n&&t>=7&&t<=10?"many":"other"},gd:t=>{const e=String(t).split("."),n=Number(e[0])==t;return 1==t||11==t?"one":2==t||12==t?"two":n&&t>=3&&t<=10||n&&t>=13&&t<=19?"few":"other"},gl:bt,gsw:gt,gu:yt,guw:mt,gv:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-1),i=n.slice(-2);return r&&1==o?"one":r&&2==o?"two":!r||0!=i&&20!=i&&40!=i&&60!=i&&80!=i?r?"other":"many":"few"},ha:gt,haw:gt,he:t=>{const e=String(t).split("."),n=e[0],r=!e[1];return 1==n&&r||0==n&&!r?"one":2==n&&r?"two":"other"},hi:yt,hnj:vt,hr:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=n.slice(-2),a=r.slice(-1),l=r.slice(-2);return o&&1==i&&11!=s||1==a&&11!=l?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},hsb:t=>{const e=String(t).split("."),n=e[1]||"",r=!e[1],o=e[0].slice(-2),i=n.slice(-2);return r&&1==o||1==i?"one":r&&2==o||2==i?"two":r&&(3==o||4==o)||3==i||4==i?"few":"other"},hu:gt,hy:t=>t>=0&&t<2?"one":"other",ia:bt,id:vt,ig:vt,ii:vt,io:bt,is:t=>{const e=String(t).split("."),n=e[0],r=(e[1]||"").replace(/0+$/,""),o=Number(e[0])==t,i=n.slice(-1),s=n.slice(-2);return o&&1==i&&11!=s||r%10==1&&r%100!=11?"one":"other"},it:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 1==t&&r?"one":0!=n&&0==o&&r?"many":"other"},iu:wt,ja:vt,jbo:vt,jgo:gt,jmc:gt,jv:vt,jw:vt,ka:gt,kab:t=>t>=0&&t<2?"one":"other",kaj:gt,kcg:gt,kde:vt,kea:vt,kk:gt,kkj:gt,kl:gt,km:vt,kn:yt,ko:vt,ks:gt,ksb:gt,ksh:t=>0==t?"zero":1==t?"one":"other",ku:gt,kw:t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-2),o=n&&e[0].slice(-3),i=n&&e[0].slice(-5),s=n&&e[0].slice(-6);return 0==t?"zero":1==t?"one":2==r||22==r||42==r||62==r||82==r||n&&0==o&&(i>=1e3&&i<=2e4||4e4==i||6e4==i||8e4==i)||0!=t&&1e5==s?"two":3==r||23==r||43==r||63==r||83==r?"few":1==t||1!=r&&21!=r&&41!=r&&61!=r&&81!=r?"other":"many"},ky:gt,lag:t=>{const e=String(t).split(".")[0];return 0==t?"zero":0!=e&&1!=e||0==t?"other":"one"},lb:gt,lg:gt,lij:bt,lkt:vt,ln:mt,lo:vt,lt:t=>{const e=String(t).split("."),n=e[1]||"",r=Number(e[0])==t,o=r&&e[0].slice(-1),i=r&&e[0].slice(-2);return 1==o&&(i<11||i>19)?"one":o>=2&&o<=9&&(i<11||i>19)?"few":0!=n?"many":"other"},lv:t=>{const e=String(t).split("."),n=e[1]||"",r=n.length,o=Number(e[0])==t,i=o&&e[0].slice(-1),s=o&&e[0].slice(-2),a=n.slice(-2),l=n.slice(-1);return o&&0==i||s>=11&&s<=19||2==r&&a>=11&&a<=19?"zero":1==i&&11!=s||2==r&&1==l&&11!=a||2!=r&&1==l?"one":"other"},mas:gt,mg:mt,mgo:gt,mk:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=n.slice(-2),a=r.slice(-1),l=r.slice(-2);return o&&1==i&&11!=s||1==a&&11!=l?"one":"other"},ml:gt,mn:gt,mo:t=>{const e=String(t).split("."),n=!e[1],r=Number(e[0])==t&&e[0].slice(-2);return 1==t&&n?"one":!n||0==t||1!=t&&r>=1&&r<=19?"few":"other"},mr:gt,ms:vt,mt:t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 1==t?"one":2==t?"two":0==t||n>=3&&n<=10?"few":n>=11&&n<=19?"many":"other"},my:vt,nah:gt,naq:wt,nb:gt,nd:gt,ne:gt,nl:bt,nn:gt,nnh:gt,no:gt,nqo:vt,nr:gt,nso:mt,ny:gt,nyn:gt,om:gt,or:gt,os:gt,osa:vt,pa:mt,pap:gt,pcm:yt,pl:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-1),i=n.slice(-2);return 1==t&&r?"one":r&&o>=2&&o<=4&&(i<12||i>14)?"few":r&&1!=n&&(0==o||1==o)||r&&o>=5&&o<=9||r&&i>=12&&i<=14?"many":"other"},prg:t=>{const e=String(t).split("."),n=e[1]||"",r=n.length,o=Number(e[0])==t,i=o&&e[0].slice(-1),s=o&&e[0].slice(-2),a=n.slice(-2),l=n.slice(-1);return o&&0==i||s>=11&&s<=19||2==r&&a>=11&&a<=19?"zero":1==i&&11!=s||2==r&&1==l&&11!=a||2!=r&&1==l?"one":"other"},ps:gt,pt:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 0==n||1==n?"one":0!=n&&0==o&&r?"many":"other"},pt_PT:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 1==t&&r?"one":0!=n&&0==o&&r?"many":"other"},rm:gt,ro:t=>{const e=String(t).split("."),n=!e[1],r=Number(e[0])==t&&e[0].slice(-2);return 1==t&&n?"one":!n||0==t||1!=t&&r>=1&&r<=19?"few":"other"},rof:gt,ru:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-1),i=n.slice(-2);return r&&1==o&&11!=i?"one":r&&o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||r&&o>=5&&o<=9||r&&i>=11&&i<=14?"many":"other"},rwk:gt,sah:vt,saq:gt,sat:wt,sc:bt,scn:bt,sd:gt,sdh:gt,se:wt,seh:gt,ses:vt,sg:vt,sh:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=n.slice(-2),a=r.slice(-1),l=r.slice(-2);return o&&1==i&&11!=s||1==a&&11!=l?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},shi:t=>{const e=String(t).split("."),n=Number(e[0])==t;return t>=0&&t<=1?"one":n&&t>=2&&t<=10?"few":"other"},si:t=>{const e=String(t).split(".");return 0==t||1==t||0==e[0]&&1==(e[1]||"")?"one":"other"},sk:t=>{const e=String(t).split("."),n=e[0],r=!e[1];return 1==t&&r?"one":n>=2&&n<=4&&r?"few":r?"other":"many"},sl:t=>{const e=String(t).split("."),n=!e[1],r=e[0].slice(-2);return n&&1==r?"one":n&&2==r?"two":n&&(3==r||4==r)||!n?"few":"other"},sma:wt,smi:wt,smj:wt,smn:wt,sms:wt,sn:gt,so:gt,sq:gt,sr:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=n.slice(-2),a=r.slice(-1),l=r.slice(-2);return o&&1==i&&11!=s||1==a&&11!=l?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},ss:gt,ssy:gt,st:gt,su:vt,sv:bt,sw:bt,syr:gt,ta:gt,te:gt,teo:gt,th:vt,ti:mt,tig:gt,tk:gt,tl:t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",o=!e[1],i=n.slice(-1),s=r.slice(-1);return o&&(1==n||2==n||3==n)||o&&4!=i&&6!=i&&9!=i||!o&&4!=s&&6!=s&&9!=s?"one":"other"},tn:gt,to:vt,tpi:vt,tr:gt,ts:gt,tzm:t=>{const e=String(t).split("."),n=Number(e[0])==t;return 0==t||1==t||n&&t>=11&&t<=99?"one":"other"},ug:gt,uk:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-1),i=n.slice(-2);return r&&1==o&&11!=i?"one":r&&o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||r&&o>=5&&o<=9||r&&i>=11&&i<=14?"many":"other"},und:vt,ur:bt,uz:gt,ve:gt,vec:t=>{const e=String(t).split("."),n=e[0],r=!e[1],o=n.slice(-6);return 1==t&&r?"one":0!=n&&0==o&&r?"many":"other"},vi:vt,vo:gt,vun:gt,wa:mt,wae:gt,wo:vt,xh:gt,xog:gt,yi:bt,yo:vt,yue:vt,zh:vt,zu:yt});const Ct="zero",_t="one",kt="two",xt="few",Tt="many",Et="other",At={cardinal:[_t,Et],ordinal:[Et]},It={cardinal:[_t,Et],ordinal:[_t,Et]},Ot={cardinal:[Et],ordinal:[Et]},Lt={cardinal:[_t,kt,Et],ordinal:[Et]};var Dt=Object.freeze({__proto__:null,af:At,ak:At,am:At,an:At,ar:{cardinal:[Ct,_t,kt,xt,Tt,Et],ordinal:[Et]},ars:{cardinal:[Ct,_t,kt,xt,Tt,Et],ordinal:[Et]},as:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Tt,Et]},asa:At,ast:At,az:{cardinal:[_t,Et],ordinal:[_t,xt,Tt,Et]},bal:It,be:{cardinal:[_t,xt,Tt,Et],ordinal:[xt,Et]},bem:At,bez:At,bg:At,bho:At,bm:Ot,bn:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Tt,Et]},bo:Ot,br:{cardinal:[_t,kt,xt,Tt,Et],ordinal:[Et]},brx:At,bs:{cardinal:[_t,xt,Et],ordinal:[Et]},ca:{cardinal:[_t,Tt,Et],ordinal:[_t,kt,xt,Et]},ce:At,ceb:At,cgg:At,chr:At,ckb:At,cs:{cardinal:[_t,xt,Tt,Et],ordinal:[Et]},cy:{cardinal:[Ct,_t,kt,xt,Tt,Et],ordinal:[Ct,_t,kt,xt,Tt,Et]},da:At,de:At,doi:At,dsb:{cardinal:[_t,kt,xt,Et],ordinal:[Et]},dv:At,dz:Ot,ee:At,el:At,en:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Et]},eo:At,es:{cardinal:[_t,Tt,Et],ordinal:[Et]},et:At,eu:At,fa:At,ff:At,fi:At,fil:It,fo:At,fr:{cardinal:[_t,Tt,Et],ordinal:[_t,Et]},fur:At,fy:At,ga:{cardinal:[_t,kt,xt,Tt,Et],ordinal:[_t,Et]},gd:{cardinal:[_t,kt,xt,Et],ordinal:[_t,kt,xt,Et]},gl:At,gsw:At,gu:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Tt,Et]},guw:At,gv:{cardinal:[_t,kt,xt,Tt,Et],ordinal:[Et]},ha:At,haw:At,he:Lt,hi:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Tt,Et]},hnj:Ot,hr:{cardinal:[_t,xt,Et],ordinal:[Et]},hsb:{cardinal:[_t,kt,xt,Et],ordinal:[Et]},hu:It,hy:It,ia:At,id:Ot,ig:Ot,ii:Ot,io:At,is:At,it:{cardinal:[_t,Tt,Et],ordinal:[Tt,Et]},iu:Lt,ja:Ot,jbo:Ot,jgo:At,jmc:At,jv:Ot,jw:Ot,ka:{cardinal:[_t,Et],ordinal:[_t,Tt,Et]},kab:At,kaj:At,kcg:At,kde:Ot,kea:Ot,kk:{cardinal:[_t,Et],ordinal:[Tt,Et]},kkj:At,kl:At,km:Ot,kn:At,ko:Ot,ks:At,ksb:At,ksh:{cardinal:[Ct,_t,Et],ordinal:[Et]},ku:At,kw:{cardinal:[Ct,_t,kt,xt,Tt,Et],ordinal:[_t,Tt,Et]},ky:At,lag:{cardinal:[Ct,_t,Et],ordinal:[Et]},lb:At,lg:At,lij:{cardinal:[_t,Et],ordinal:[Tt,Et]},lkt:Ot,ln:At,lo:{cardinal:[Et],ordinal:[_t,Et]},lt:{cardinal:[_t,xt,Tt,Et],ordinal:[Et]},lv:{cardinal:[Ct,_t,Et],ordinal:[Et]},mas:At,mg:At,mgo:At,mk:{cardinal:[_t,Et],ordinal:[_t,kt,Tt,Et]},ml:At,mn:At,mo:{cardinal:[_t,xt,Et],ordinal:[_t,Et]},mr:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Et]},ms:{cardinal:[Et],ordinal:[_t,Et]},mt:{cardinal:[_t,kt,xt,Tt,Et],ordinal:[Et]},my:Ot,nah:At,naq:Lt,nb:At,nd:At,ne:It,nl:At,nn:At,nnh:At,no:At,nqo:Ot,nr:At,nso:At,ny:At,nyn:At,om:At,or:{cardinal:[_t,Et],ordinal:[_t,kt,xt,Tt,Et]},os:At,osa:Ot,pa:At,pap:At,pcm:At,pl:{cardinal:[_t,xt,Tt,Et],ordinal:[Et]},prg:{cardinal:[Ct,_t,Et],ordinal:[Et]},ps:At,pt:{cardinal:[_t,Tt,Et],ordinal:[Et]},pt_PT:{cardinal:[_t,Tt,Et],ordinal:[Et]},rm:At,ro:{cardinal:[_t,xt,Et],ordinal:[_t,Et]},rof:At,ru:{cardinal:[_t,xt,Tt,Et],ordinal:[Et]},rwk:At,sah:Ot,saq:At,sat:Lt,sc:{cardinal:[_t,Et],ordinal:[Tt,Et]},scn:{cardinal:[_t,Et],ordinal:[Tt,Et]},sd:At,sdh:At,se:Lt,seh:At,ses:Ot,sg:Ot,sh:{cardinal:[_t,xt,Et],ordinal:[Et]},shi:{cardinal:[_t,xt,Et],ordinal:[Et]},si:At,sk:{cardinal:[_t,xt,Tt,Et],ordinal:[Et]},sl:{cardinal:[_t,kt,xt,Et],ordinal:[Et]},sma:Lt,smi:Lt,smj:Lt,smn:Lt,sms:Lt,sn:At,so:At,sq:{cardinal:[_t,Et],ordinal:[_t,Tt,Et]},sr:{cardinal:[_t,xt,Et],ordinal:[Et]},ss:At,ssy:At,st:At,su:Ot,sv:It,sw:At,syr:At,ta:At,te:At,teo:At,th:Ot,ti:At,tig:At,tk:{cardinal:[_t,Et],ordinal:[xt,Et]},tl:It,tn:At,to:Ot,tpi:Ot,tr:At,ts:At,tzm:At,ug:At,uk:{cardinal:[_t,xt,Tt,Et],ordinal:[xt,Et]},und:Ot,ur:At,uz:At,ve:At,vec:{cardinal:[_t,Tt,Et],ordinal:[Tt,Et]},vi:{cardinal:[Et],ordinal:[_t,Et]},vo:At,vun:At,wa:At,wae:At,wo:Ot,xh:At,xog:At,yi:At,yo:Ot,yue:Ot,zh:Ot,zu:At});const Pt=(t,e)=>e?"other":1==t?"one":"other",Rt=(t,e)=>e?"other":0==t||1==t?"one":"other",Nt=(t,e)=>e?"other":t>=0&&t<=1?"one":"other",Mt=(t,e)=>{const n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},jt=(t,e)=>"other",Ft=(t,e)=>e?"other":1==t?"one":2==t?"two":"other";var $t=Object.freeze({__proto__:null,af:Pt,ak:Rt,am:Nt,an:Pt,ar:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ars:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},as:(t,e)=>e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",asa:Pt,ast:Mt,az:(t,e)=>{const n=String(t).split(".")[0],r=n.slice(-1),o=n.slice(-2),i=n.slice(-3);return e?1==r||2==r||5==r||7==r||8==r||20==o||50==o||70==o||80==o?"one":3==r||4==r||100==i||200==i||300==i||400==i||500==i||600==i||700==i||800==i||900==i?"few":0==n||6==r||40==o||60==o||90==o?"many":"other":1==t?"one":"other"},bal:(t,e)=>1==t?"one":"other",be:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return e?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"},bem:Pt,bez:Pt,bg:Pt,bho:Rt,bm:jt,bn:(t,e)=>e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",bo:jt,br:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2),s=r&&n[0].slice(-6);return e?"other":1==o&&11!=i&&71!=i&&91!=i?"one":2==o&&12!=i&&72!=i&&92!=i?"two":(3==o||4==o||9==o)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=t&&r&&0==s?"many":"other"},brx:Pt,bs:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return e?"other":i&&1==s&&11!=a||1==l&&11!=c?"one":i&&s>=2&&s<=4&&(a<12||a>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},ca:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?1==t||3==t?"one":2==t?"two":4==t?"few":"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},ce:Pt,ceb:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=o.slice(-1);return e?"other":i&&(1==r||2==r||3==r)||i&&4!=s&&6!=s&&9!=s||!i&&4!=a&&6!=a&&9!=a?"one":"other"},cgg:Pt,chr:Pt,ckb:Pt,cs:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1];return e?"other":1==t&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},cy:(t,e)=>e?0==t||7==t||8==t||9==t?"zero":1==t?"one":2==t?"two":3==t||4==t?"few":5==t||6==t?"many":"other":0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other",da:(t,e)=>{const n=String(t).split("."),r=n[0],o=Number(n[0])==t;return e||1!=t&&(o||0!=r&&1!=r)?"other":"one"},de:Mt,doi:Nt,dsb:(t,e)=>{const n=String(t).split("."),r=n[1]||"",o=!n[1],i=n[0].slice(-2),s=r.slice(-2);return e?"other":o&&1==i||1==s?"one":o&&2==i||2==s?"two":o&&(3==i||4==i)||3==s||4==s?"few":"other"},dv:Pt,dz:jt,ee:Pt,el:Pt,en:(t,e)=>{const n=String(t).split("."),r=!n[1],o=Number(n[0])==t,i=o&&n[0].slice(-1),s=o&&n[0].slice(-2);return e?1==i&&11!=s?"one":2==i&&12!=s?"two":3==i&&13!=s?"few":"other":1==t&&r?"one":"other"},eo:Pt,es:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?"other":1==t?"one":0!=r&&0==i&&o?"many":"other"},et:Mt,eu:Pt,fa:Nt,ff:(t,e)=>e?"other":t>=0&&t<2?"one":"other",fi:Mt,fil:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=o.slice(-1);return e?1==t?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=s&&6!=s&&9!=s||!i&&4!=a&&6!=a&&9!=a?"one":"other"},fo:Pt,fr:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?1==t?"one":"other":t>=0&&t<2?"one":0!=r&&0==i&&o?"many":"other"},fur:Pt,fy:Mt,ga:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?1==t?"one":"other":1==t?"one":2==t?"two":r&&t>=3&&t<=6?"few":r&&t>=7&&t<=10?"many":"other"},gd:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?1==t||11==t?"one":2==t||12==t?"two":3==t||13==t?"few":"other":1==t||11==t?"one":2==t||12==t?"two":r&&t>=3&&t<=10||r&&t>=13&&t<=19?"few":"other"},gl:Mt,gsw:Pt,gu:(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",guw:Rt,gv:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-1),s=r.slice(-2);return e?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=s&&20!=s&&40!=s&&60!=s&&80!=s?o?"other":"many":"few"},ha:Pt,haw:Pt,he:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1];return e?"other":1==r&&o||0==r&&!o?"one":2==r&&o?"two":"other"},hi:(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",hnj:jt,hr:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return e?"other":i&&1==s&&11!=a||1==l&&11!=c?"one":i&&s>=2&&s<=4&&(a<12||a>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},hsb:(t,e)=>{const n=String(t).split("."),r=n[1]||"",o=!n[1],i=n[0].slice(-2),s=r.slice(-2);return e?"other":o&&1==i||1==s?"one":o&&2==i||2==s?"two":o&&(3==i||4==i)||3==s||4==s?"few":"other"},hu:(t,e)=>e?1==t||5==t?"one":"other":1==t?"one":"other",hy:(t,e)=>e?1==t?"one":"other":t>=0&&t<2?"one":"other",ia:Mt,id:jt,ig:jt,ii:jt,io:Mt,is:(t,e)=>{const n=String(t).split("."),r=n[0],o=(n[1]||"").replace(/0+$/,""),i=Number(n[0])==t,s=r.slice(-1),a=r.slice(-2);return e?"other":i&&1==s&&11!=a||o%10==1&&o%100!=11?"one":"other"},it:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},iu:Ft,ja:jt,jbo:jt,jgo:Pt,jmc:Pt,jv:jt,jw:jt,ka:(t,e)=>{const n=String(t).split(".")[0],r=n.slice(-2);return e?1==n?"one":0==n||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==t?"one":"other"},kab:(t,e)=>e?"other":t>=0&&t<2?"one":"other",kaj:Pt,kcg:Pt,kde:jt,kea:jt,kk:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1);return e?6==o||9==o||r&&0==o&&0!=t?"many":"other":1==t?"one":"other"},kkj:Pt,kl:Pt,km:jt,kn:Nt,ko:jt,ks:Pt,ksb:Pt,ksh:(t,e)=>e?"other":0==t?"zero":1==t?"one":"other",ku:Pt,kw:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-2),i=r&&n[0].slice(-3),s=r&&n[0].slice(-5),a=r&&n[0].slice(-6);return e?r&&t>=1&&t<=4||o>=1&&o<=4||o>=21&&o<=24||o>=41&&o<=44||o>=61&&o<=64||o>=81&&o<=84?"one":5==t||5==o?"many":"other":0==t?"zero":1==t?"one":2==o||22==o||42==o||62==o||82==o||r&&0==i&&(s>=1e3&&s<=2e4||4e4==s||6e4==s||8e4==s)||0!=t&&1e5==a?"two":3==o||23==o||43==o||63==o||83==o?"few":1==t||1!=o&&21!=o&&41!=o&&61!=o&&81!=o?"other":"many"},ky:Pt,lag:(t,e)=>{const n=String(t).split(".")[0];return e?"other":0==t?"zero":0!=n&&1!=n||0==t?"other":"one"},lb:Pt,lg:Pt,lij:(t,e)=>{const n=String(t).split("."),r=!n[1],o=Number(n[0])==t;return e?11==t||8==t||o&&t>=80&&t<=89||o&&t>=800&&t<=899?"many":"other":1==t&&r?"one":"other"},lkt:jt,ln:Rt,lo:(t,e)=>e&&1==t?"one":"other",lt:(t,e)=>{const n=String(t).split("."),r=n[1]||"",o=Number(n[0])==t,i=o&&n[0].slice(-1),s=o&&n[0].slice(-2);return e?"other":1==i&&(s<11||s>19)?"one":i>=2&&i<=9&&(s<11||s>19)?"few":0!=r?"many":"other"},lv:(t,e)=>{const n=String(t).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==t,s=i&&n[0].slice(-1),a=i&&n[0].slice(-2),l=r.slice(-2),c=r.slice(-1);return e?"other":i&&0==s||a>=11&&a<=19||2==o&&l>=11&&l<=19?"zero":1==s&&11!=a||2==o&&1==c&&11!=l||2!=o&&1==c?"one":"other"},mas:Pt,mg:Rt,mgo:Pt,mk:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return e?1==s&&11!=a?"one":2==s&&12!=a?"two":7!=s&&8!=s||17==a||18==a?"other":"many":i&&1==s&&11!=a||1==l&&11!=c?"one":"other"},ml:Pt,mn:Pt,mo:(t,e)=>{const n=String(t).split("."),r=!n[1],o=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&r?"one":!r||0==t||1!=t&&o>=1&&o<=19?"few":"other"},mr:(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":"other":1==t?"one":"other",ms:(t,e)=>e&&1==t?"one":"other",mt:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":1==t?"one":2==t?"two":0==t||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},my:jt,nah:Pt,naq:Ft,nb:Pt,nd:Pt,ne:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?r&&t>=1&&t<=4?"one":"other":1==t?"one":"other"},nl:Mt,nn:Pt,nnh:Pt,no:Pt,nqo:jt,nr:Pt,nso:Rt,ny:Pt,nyn:Pt,om:Pt,or:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?1==t||5==t||r&&t>=7&&t<=9?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":1==t?"one":"other"},os:Pt,osa:jt,pa:Rt,pap:Pt,pcm:Nt,pl:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-1),s=r.slice(-2);return e?"other":1==t&&o?"one":o&&i>=2&&i<=4&&(s<12||s>14)?"few":o&&1!=r&&(0==i||1==i)||o&&i>=5&&i<=9||o&&s>=12&&s<=14?"many":"other"},prg:(t,e)=>{const n=String(t).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==t,s=i&&n[0].slice(-1),a=i&&n[0].slice(-2),l=r.slice(-2),c=r.slice(-1);return e?"other":i&&0==s||a>=11&&a<=19||2==o&&l>=11&&l<=19?"zero":1==s&&11!=a||2==o&&1==c&&11!=l||2!=o&&1==c?"one":"other"},ps:Pt,pt:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?"other":0==r||1==r?"one":0!=r&&0==i&&o?"many":"other"},pt_PT:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},rm:Pt,ro:(t,e)=>{const n=String(t).split("."),r=!n[1],o=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&r?"one":!r||0==t||1!=t&&o>=1&&o<=19?"few":"other"},rof:Pt,ru:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-1),s=r.slice(-2);return e?"other":o&&1==i&&11!=s?"one":o&&i>=2&&i<=4&&(s<12||s>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&s>=11&&s<=14?"many":"other"},rwk:Pt,sah:jt,saq:Pt,sat:Ft,sc:(t,e)=>{const n=String(t).split(".");return e?11==t||8==t||80==t||800==t?"many":"other":1!=t||n[1]?"other":"one"},scn:(t,e)=>{const n=String(t).split(".");return e?11==t||8==t||80==t||800==t?"many":"other":1!=t||n[1]?"other":"one"},sd:Pt,sdh:Pt,se:Ft,seh:Pt,ses:jt,sg:jt,sh:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return e?"other":i&&1==s&&11!=a||1==l&&11!=c?"one":i&&s>=2&&s<=4&&(a<12||a>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},shi:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?"other":t>=0&&t<=1?"one":r&&t>=2&&t<=10?"few":"other"},si:(t,e)=>{const n=String(t).split(".");return e?"other":0==t||1==t||0==n[0]&&1==(n[1]||"")?"one":"other"},sk:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1];return e?"other":1==t&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},sl:(t,e)=>{const n=String(t).split("."),r=!n[1],o=n[0].slice(-2);return e?"other":r&&1==o?"one":r&&2==o?"two":r&&(3==o||4==o)||!r?"few":"other"},sma:Ft,smi:Ft,smj:Ft,smn:Ft,sms:Ft,sn:Pt,so:Pt,sq:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return e?1==t?"one":4==o&&14!=i?"many":"other":1==t?"one":"other"},sr:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return e?"other":i&&1==s&&11!=a||1==l&&11!=c?"one":i&&s>=2&&s<=4&&(a<12||a>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},ss:Pt,ssy:Pt,st:Pt,su:jt,sv:(t,e)=>{const n=String(t).split("."),r=!n[1],o=Number(n[0])==t,i=o&&n[0].slice(-1),s=o&&n[0].slice(-2);return e?1!=i&&2!=i||11==s||12==s?"other":"one":1==t&&r?"one":"other"},sw:Mt,syr:Pt,ta:Pt,te:Pt,teo:Pt,th:jt,ti:Rt,tig:Pt,tk:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-1);return e?6==r||9==r||10==t?"few":"other":1==t?"one":"other"},tl:(t,e)=>{const n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],s=r.slice(-1),a=o.slice(-1);return e?1==t?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=s&&6!=s&&9!=s||!i&&4!=a&&6!=a&&9!=a?"one":"other"},tn:Pt,to:jt,tpi:jt,tr:Pt,ts:Pt,tzm:(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?"other":0==t||1==t||r&&t>=11&&t<=99?"one":"other"},ug:Pt,uk:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=Number(n[0])==t,s=i&&n[0].slice(-1),a=i&&n[0].slice(-2),l=r.slice(-1),c=r.slice(-2);return e?3==s&&13!=a?"few":"other":o&&1==l&&11!=c?"one":o&&l>=2&&l<=4&&(c<12||c>14)?"few":o&&0==l||o&&l>=5&&l<=9||o&&c>=11&&c<=14?"many":"other"},und:jt,ur:Mt,uz:Pt,ve:Pt,vec:(t,e)=>{const n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},vi:(t,e)=>e&&1==t?"one":"other",vo:Pt,vun:Pt,wa:Rt,wae:Pt,wo:jt,xh:Pt,xog:Pt,yi:Mt,yo:jt,yue:jt,zh:jt,zu:Nt});function zt(t){if("string"!=typeof t||t.length<2)throw new RangeError("Invalid language tag: ".concat(t));if(t.startsWith("pt-PT"))return"pt-PT";var e=t.match(/.+?(?=[-_])/);return e?e[0]:t}function Ht(t){if("function"==typeof t){var e=zt(t.name);return{isDefault:!1,id:ct(e),lc:e,locale:t.name,getPlural:t,cardinals:t.cardinals||[],ordinals:t.ordinals||[]}}var n=zt(t),r=ct(n);return function(t){return t in $t}(r)?{isDefault:!0,id:r,lc:n,locale:t,getCardinal:St[r],getPlural:$t[r],cardinals:Dt[r].cardinal,ordinals:Dt[r].ordinal}:null}function Bt(t){return ct(zt(t))in $t}var Vt=function(){function o(t,e){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:e&&e.strictNumberSign||!1,strictPluralKeys:!0},e),"*"===t?this.plurals=function(t){var e=Object.keys($t).filter(function(e){return e!==t});return e.unshift(t),e.map(Ht)}(o.defaultLocale):Array.isArray(t)?this.plurals=t.map(Ht).filter(Boolean):t&&(n=Ht(t))&&(this.plurals=[n]),0===this.plurals.length){var n=Ht(o.defaultLocale);this.plurals=[n]}}return o.escape=function(t,e){var n=e?/[#{}]/g:/[{}]/g;return String(t).replace(n,"'$&'")},o.supportedLocalesOf=function(t){return(Array.isArray(t)?t:[t]).filter(Bt)},o.prototype.resolvedOptions=function(){return t(t({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},o.prototype.compile=function(t){var o,i,s=new pt(this.options),a="return "+s.compile(t,this.plurals[0]),l=[],c=[];try{for(var u=e(Object.entries(s.runtime)),d=u.next();!d.done;d=u.next()){var h=n(d.value,2),p=h[1];l.push(h[0]),c.push(p)}}catch(t){o={error:t}}finally{try{d&&!d.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return(new(Function.bind.apply(Function,r(r([void 0],n(l),!1),[a],!1)))).apply(void 0,r([],n(c),!1))},o.defaultLocale="en",o}();return Vt}()},3650(t){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=typeof e[5]<"u";return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);r&&s[u[0]]||(typeof i<"u"&&(typeof u[5]>"u"||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]&&(u[1]="@media ".concat(u[2]," {").concat(u[1],"}")),u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),e.push(u))}},e}},9593(t){t.exports=function(t){return t[1]}},1217(t,e,n){n.d(e,{t:()=>o});var r=n(8447);class o extends r.B{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}},1698(t,e,n){n.d(e,{c:()=>u});var r=n(1540),o=n(5710),i=n(2563),s=n(6742),a=n(3305),l=n(1126),c=n(4171);let u=(()=>{class t{constructor(t){t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const i=function(t){return t&&t instanceof r.vU||function(t){return t&&(0,l.T)(t.next)&&(0,l.T)(t.error)&&(0,l.T)(t.complete)}(t)&&(0,o.Uv)(t)}(t)?t:new r.Ms(t,e,n);return(0,c.Y)(()=>{const{operator:t,source:e}=this;i.add(t?t.call(i,e):e?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=d(e))((e,n)=>{const o=new r.Ms({next:e=>{try{t(e)}catch(t){n(t),o.unsubscribe()}},error:n,complete:e});this.subscribe(o)})}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[i.s](){return this}pipe(...t){return(0,s.m)(t)(this)}toPromise(t){return new(t=d(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function d(t){var e;return null!==(e=t??a.$.Promise)&&void 0!==e?e:Promise}},8447(t,e,n){n.d(e,{B:()=>l});var r=n(1698),o=n(5710);const i=(0,n(5644).L)(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var s=n(5891),a=n(4171);let l=(()=>{class t extends r.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new c(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new i}next(t){(0,a.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const e of this.currentObservers)e.next(t)}})}error(t){(0,a.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}})}complete(){(0,a.Y)(()=>{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:e,isStopped:n,observers:r}=this;return e||n?o.Kn:(this.currentObservers=null,r.push(t),new o.yU(()=>{this.currentObservers=null,(0,s.o)(r,t)}))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:n,isStopped:r}=this;e?t.error(n):r&&t.complete()}asObservable(){const t=new r.c;return t.source=this,t}}return t.create=(t,e)=>new c(t,e),t})();class c extends l{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:o.Kn}}},1540(t,e,n){n.d(e,{Ms:()=>m,vU:()=>h});var r=n(1126),o=n(5710),i=n(3305),s=n(191),a=n(850);const l=c("C",void 0,void 0);function c(t,e,n){return{kind:t,value:e,error:n}}var u=n(3695),d=n(4171);class h extends o.yU{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,(0,o.Uv)(t)&&t.add(this)):this.destination=v}static create(t,e,n){return new m(t,e,n)}next(t){this.isStopped?b(c("N",t,void 0),this):this._next(t)}error(t){this.isStopped?b(c("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?b(l,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const p=Function.prototype.bind;function f(t,e){return p.call(t,e)}class g{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(t){y(t)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(t){y(t)}else y(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(t){y(t)}}}class m extends h{constructor(t,e,n){let o;if(super(),(0,r.T)(t)||!t)o={next:t??void 0,error:e??void 0,complete:n??void 0};else{let e;this&&i.$.useDeprecatedNextContext?(e=Object.create(t),e.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&f(t.next,e),error:t.error&&f(t.error,e),complete:t.complete&&f(t.complete,e)}):o=t}this.destination=new g(o)}}function y(t){i.$.useDeprecatedSynchronousErrorHandling?(0,d.l)(t):(0,s.m)(t)}function b(t,e){const{onStoppedNotification:n}=i.$;n&&u.f.setTimeout(()=>n(t,e))}const v={closed:!0,next:a.l,error:function(t){throw t},complete:a.l}},5710(t,e,n){n.d(e,{Kn:()=>a,yU:()=>s,Uv:()=>l});var r=n(1126);const o=(0,n(5644).L)(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});var i=n(5891);class s{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:n}=this;if((0,r.T)(n))try{n()}catch(e){t=e instanceof o?e.errors:[e]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const e of i)try{c(e)}catch(e){t=t??[],e instanceof o?t=[...t,...e.errors]:t.push(e)}}if(t)throw new o(t)}}add(t){var e;if(t&&t!==this)if(this.closed)c(t);else{if(t instanceof s){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&(0,i.o)(e,t)}remove(t){const{_finalizers:e}=this;e&&(0,i.o)(e,t),t instanceof s&&t._removeParent(this)}}s.EMPTY=(()=>{const t=new s;return t.closed=!0,t})();const a=s.EMPTY;function l(t){return t instanceof s||t&&"closed"in t&&(0,r.T)(t.remove)&&(0,r.T)(t.add)&&(0,r.T)(t.unsubscribe)}function c(t){(0,r.T)(t)?t():t.unsubscribe()}},3305(t,e,n){n.d(e,{$:()=>r});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6627(t,e,n){n.d(e,{z:()=>h});var r=n(1698),o=n(3740),i=n(1787),s=n(9220),a=n(3759),l=n(4327),c=n(9321),u=n(2483),d=n(8266);function h(...t){const e=(0,l.lI)(t),n=(0,l.ms)(t),{args:d,keys:h}=(0,o.D)(t);if(0===d.length)return(0,i.H)([],e);const f=new r.c(function(t,e,n=s.D){return r=>{p(e,()=>{const{length:o}=t,s=new Array(o);let a=o,l=o;for(let c=0;c<o;c++)p(e,()=>{const o=(0,i.H)(t[c],e);let d=!1;o.subscribe((0,u._)(r,t=>{s[c]=t,d||(d=!0,l--),l||r.next(n(s.slice()))},()=>{--a||r.complete()}))},r)},r)}}(d,e,h?t=>(0,c.e)(h,t):s.D));return n?f.pipe((0,a.I)(n)):f}function p(t,e,n){t?(0,d.N)(n,t,e):e()}},6564(t,e,n){n.d(e,{w:()=>r});const r=new(n(1698).c)(t=>t.complete())},2653(t,e,n){n.d(e,{p:()=>u});var r=n(1698),o=n(3740),i=n(7225),s=n(4327),a=n(2483),l=n(3759),c=n(9321);function u(...t){const e=(0,s.ms)(t),{args:n,keys:u}=(0,o.D)(t),d=new r.c(t=>{const{length:e}=n;if(!e)return void t.complete();const r=new Array(e);let o=e,s=e;for(let l=0;l<e;l++){let e=!1;(0,i.Tg)(n[l]).subscribe((0,a._)(t,t=>{e||(e=!0,s--),r[l]=t},()=>o--,void 0,()=>{(!o||!e)&&(s||t.next(u?(0,c.e)(u,r):r),t.complete())}))}});return e?d.pipe((0,l.I)(e)):d}},1787(t,e,n){n.d(e,{H:()=>w});var r=n(7225),o=n(8266),i=n(5351),s=n(2483);function a(t,e=0){return(0,i.N)((n,r)=>{n.subscribe((0,s._)(r,n=>(0,o.N)(r,t,()=>r.next(n),e),()=>(0,o.N)(r,t,()=>r.complete(),e),n=>(0,o.N)(r,t,()=>r.error(n),e)))})}function l(t,e=0){return(0,i.N)((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}var c=n(1698),u=n(6952),d=n(1126);function h(t,e){if(!t)throw new Error("Iterable cannot be null");return new c.c(n=>{(0,o.N)(n,e,()=>{const r=t[Symbol.asyncIterator]();(0,o.N)(n,e,()=>{r.next().then(t=>{t.done?n.complete():n.next(t.value)})},0,!0)})})}var p=n(6600),f=n(6505),g=n(6786),m=n(4876),y=n(8394),b=n(8810),v=n(3173);function w(t,e){return e?function(t,e){if(null!=t){if((0,p.l)(t))return function(t,e){return(0,r.Tg)(t).pipe(l(e),a(e))}(t,e);if((0,g.X)(t))return function(t,e){return new c.c(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}(t,e);if((0,f.y)(t))return function(t,e){return(0,r.Tg)(t).pipe(l(e),a(e))}(t,e);if((0,y.T)(t))return h(t,e);if((0,m.x)(t))return function(t,e){return new c.c(n=>{let r;return(0,o.N)(n,e,()=>{r=t[u.l](),(0,o.N)(n,e,()=>{let t,e;try{({value:t,done:e}=r.next())}catch(t){return void n.error(t)}e?n.complete():n.next(t)},0,!0)}),()=>(0,d.T)(r?.return)&&r.return()})}(t,e);if((0,v.U)(t))return function(t,e){return h((0,v.C)(t),e)}(t,e)}throw(0,b.L)(t)}(t,e):(0,r.Tg)(t)}},7225(t,e,n){n.d(e,{Tg:()=>g});var r=n(1635),o=n(6786),i=n(6505),s=n(1698),a=n(6600),l=n(8394),c=n(8810),u=n(4876),d=n(3173),h=n(1126),p=n(191),f=n(2563);function g(t){if(t instanceof s.c)return t;if(null!=t){if((0,a.l)(t))return function(t){return new s.c(e=>{const n=t[f.s]();if((0,h.T)(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if((0,o.X)(t))return function(t){return new s.c(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}(t);if((0,i.y)(t))return function(t){return new s.c(e=>{t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,p.m)})}(t);if((0,l.T)(t))return m(t);if((0,u.x)(t))return function(t){return new s.c(e=>{for(const n of t)if(e.next(n),e.closed)return;e.complete()})}(t);if((0,d.U)(t))return function(t){return m((0,d.C)(t))}(t)}throw(0,c.L)(t)}function m(t){return new s.c(e=>{(function(t,e){var n,o,i,s;return(0,r.sH)(this,void 0,void 0,function*(){try{for(n=(0,r.xN)(t);!(o=yield n.next()).done;)if(e.next(o.value),e.closed)return}catch(t){i={error:t}}finally{try{o&&!o.done&&(s=n.return)&&(yield s.call(n))}finally{if(i)throw i.error}}e.complete()})})(t,e).catch(t=>e.error(t))})}},3016(t,e,n){n.d(e,{of:()=>i});var r=n(4327),o=n(1787);function i(...t){const e=(0,r.lI)(t);return(0,o.H)(t,e)}},2483(t,e,n){n.d(e,{_:()=>o});var r=n(1540);function o(t,e,n,r,o){return new i(t,e,n,r,o)}class i extends r.vU{constructor(t,e,n,r,o,i){super(t),this.onFinalize=o,this.shouldUnsubscribe=i,this._next=e?function(n){try{e(n)}catch(e){t.error(e)}}:super._next,this._error=r?function(e){try{r(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}},7178(t,e,n){n.d(e,{W:()=>s});var r=n(7225),o=n(2483),i=n(5351);function s(t){return(0,i.N)((e,n)=>{let i,a=null,l=!1;a=e.subscribe((0,o._)(n,void 0,void 0,o=>{i=(0,r.Tg)(t(o,s(t)(e))),a?(a.unsubscribe(),a=null,i.subscribe(n)):l=!0})),l&&(a.unsubscribe(),a=null,i.subscribe(n))})}},1459(t,e,n){n.d(e,{H:()=>i});var r=n(5823),o=n(1126);function i(t,e){return(0,o.T)(e)?(0,r.Z)(t,e,1):(0,r.Z)(t,1)}},1483(t,e,n){n.d(e,{p:()=>i});var r=n(5351),o=n(2483);function i(t,e){return(0,r.N)((n,r)=>{let i=0;n.subscribe((0,o._)(r,n=>t.call(e,n,i++)&&r.next(n)))})}},7947(t,e,n){n.d(e,{T:()=>i});var r=n(5351),o=n(2483);function i(t,e){return(0,r.N)((n,r)=>{let i=0;n.subscribe((0,o._)(r,n=>{r.next(t.call(e,n,i++))}))})}},1890(t,e,n){n.d(e,{U:()=>i});var r=n(5823),o=n(9220);function i(t=1/0){return(0,r.Z)(o.D,t)}},5823(t,e,n){n.d(e,{Z:()=>l});var r=n(7947),o=n(7225),i=n(5351),s=(n(8266),n(2483)),a=n(1126);function l(t,e,n=1/0){return(0,a.T)(e)?l((n,i)=>(0,r.T)((t,r)=>e(n,t,i,r))((0,o.Tg)(t(n,i))),n):("number"==typeof e&&(n=e),(0,i.N)((e,r)=>function(t,e,n,r){const i=[];let a=0,l=0,c=!1;const u=()=>{c&&!i.length&&!a&&e.complete()},d=t=>a<r?h(t):i.push(t),h=t=>{a++;let c=!1;(0,o.Tg)(n(t,l++)).subscribe((0,s._)(e,t=>{e.next(t)},()=>{c=!0},void 0,()=>{if(c)try{for(a--;i.length&&a<r;){const t=i.shift();h(t)}u()}catch(t){e.error(t)}}))};return t.subscribe((0,s._)(e,d,()=>{c=!0,u()})),()=>{}}(e,r,t,n)))}},2867(t,e,n){n.d(e,{n:()=>s});var r=n(7225),o=n(5351),i=n(2483);function s(t,e){return(0,o.N)((n,o)=>{let s=null,a=0,l=!1;const c=()=>l&&!s&&o.complete();n.subscribe((0,i._)(o,n=>{s?.unsubscribe();let l=0;const u=a++;(0,r.Tg)(t(n,u)).subscribe(s=(0,i._)(o,t=>o.next(e?e(n,t,u,l++):t),()=>{s=null,c()}))},()=>{l=!0,c()}))})}},7610(t,e,n){n.d(e,{s:()=>s});var r=n(6564),o=n(5351),i=n(2483);function s(t){return t<=0?()=>r.w:(0,o.N)((e,n)=>{let r=0;e.subscribe((0,i._)(n,e=>{++r<=t&&(n.next(e),t<=r&&n.complete())}))})}},5424(t,e,n){n.d(e,{Q:()=>a});var r=n(5351),o=n(2483),i=n(7225),s=n(850);function a(t){return(0,r.N)((e,n)=>{(0,i.Tg)(t).subscribe((0,o._)(n,()=>n.complete(),s.l)),!n.closed&&e.subscribe(n)})}},2040(t,e,n){n.d(e,{M:()=>a});var r=n(1126),o=n(5351),i=n(2483),s=n(9220);function a(t,e,n){const a=(0,r.T)(t)||e||n?{next:t,error:e,complete:n}:t;return a?(0,o.N)((t,e)=>{var n;null===(n=a.subscribe)||void 0===n||n.call(a);let r=!0;t.subscribe((0,i._)(e,t=>{var n;null===(n=a.next)||void 0===n||n.call(a,t),e.next(t)},()=>{var t;r=!1,null===(t=a.complete)||void 0===t||t.call(a),e.complete()},t=>{var n;r=!1,null===(n=a.error)||void 0===n||n.call(a,t),e.error(t)},()=>{var t,e;r&&(null===(t=a.unsubscribe)||void 0===t||t.call(a)),null===(e=a.finalize)||void 0===e||e.call(a)}))}):s.D}},3695(t,e,n){n.d(e,{f:()=>r});const r={setTimeout(t,e,...n){const{delegate:o}=r;return o?.setTimeout?o.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){const{delegate:e}=r;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0}},6952(t,e,n){n.d(e,{l:()=>r});const r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},2563(t,e,n){n.d(e,{s:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},8747(t,e,n){n.d(e,{G:()=>r});const r=(0,n(5644).L)(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})},4327(t,e,n){n.d(e,{lI:()=>a,ms:()=>s});var r=n(1126),o=n(9921);function i(t){return t[t.length-1]}function s(t){return(0,r.T)(i(t))?t.pop():void 0}function a(t){return(0,o.m)(i(t))?t.pop():void 0}},3740(t,e,n){n.d(e,{D:()=>a});const{isArray:r}=Array,{getPrototypeOf:o,prototype:i,keys:s}=Object;function a(t){if(1===t.length){const e=t[0];if(r(e))return{args:e,keys:null};if(function(t){return t&&"object"==typeof t&&o(t)===i}(e)){const t=s(e);return{args:t.map(t=>e[t]),keys:t}}}return{args:t,keys:null}}},5891(t,e,n){function r(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}n.d(e,{o:()=>r})},5644(t,e,n){function r(t){const e=t(t=>{Error.call(t),t.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}n.d(e,{L:()=>r})},9321(t,e,n){function r(t,e){return t.reduce((t,n,r)=>(t[n]=e[r],t),{})}n.d(e,{e:()=>r})},4171(t,e,n){n.d(e,{Y:()=>i,l:()=>s});var r=n(3305);let o=null;function i(t){if(r.$.useDeprecatedSynchronousErrorHandling){const e=!o;if(e&&(o={errorThrown:!1,error:null}),t(),e){const{errorThrown:t,error:e}=o;if(o=null,t)throw e}}else t()}function s(t){r.$.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=t)}},8266(t,e,n){function r(t,e,n,r=0,o=!1){const i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}n.d(e,{N:()=>r})},9220(t,e,n){function r(t){return t}n.d(e,{D:()=>r})},6786(t,e,n){n.d(e,{X:()=>r});const r=t=>t&&"number"==typeof t.length&&"function"!=typeof t},8394(t,e,n){n.d(e,{T:()=>o});var r=n(1126);function o(t){return Symbol.asyncIterator&&(0,r.T)(t?.[Symbol.asyncIterator])}},1126(t,e,n){function r(t){return"function"==typeof t}n.d(e,{T:()=>r})},6600(t,e,n){n.d(e,{l:()=>i});var r=n(2563),o=n(1126);function i(t){return(0,o.T)(t[r.s])}},4876(t,e,n){n.d(e,{x:()=>i});var r=n(6952),o=n(1126);function i(t){return(0,o.T)(t?.[r.l])}},6505(t,e,n){n.d(e,{y:()=>o});var r=n(1126);function o(t){return(0,r.T)(t?.then)}},3173(t,e,n){n.d(e,{C:()=>i,U:()=>s});var r=n(1635),o=n(1126);function i(t){return(0,r.AQ)(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:t,done:n}=yield(0,r.N3)(e.read());if(n)return yield(0,r.N3)(void 0);yield yield(0,r.N3)(t)}}finally{e.releaseLock()}})}function s(t){return(0,o.T)(t?.getReader)}},9921(t,e,n){n.d(e,{m:()=>o});var r=n(1126);function o(t){return t&&(0,r.T)(t.schedule)}},5351(t,e,n){n.d(e,{N:()=>o});var r=n(1126);function o(t){return e=>{if(function(t){return(0,r.T)(t?.lift)}(e))return e.lift(function(e){try{return t(e,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}},3759(t,e,n){n.d(e,{I:()=>i});var r=n(7947);const{isArray:o}=Array;function i(t){return(0,r.T)(e=>function(t,e){return o(e)?t(...e):t(e)}(t,e))}},850(t,e,n){function r(){}n.d(e,{l:()=>r})},6742(t,e,n){n.d(e,{F:()=>o,m:()=>i});var r=n(9220);function o(...t){return i(t)}function i(t){return 0===t.length?r.D:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},191(t,e,n){n.d(e,{m:()=>i});var r=n(3305),o=n(3695);function i(t){o.f.setTimeout(()=>{const{onUnhandledError:e}=r.$;if(!e)throw t;e(t)})}},8810(t,e,n){function r(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(e,{L:()=>r})},9408(){var t=Object.defineProperty,e=Object.defineProperties,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,s=(e,n,r)=>n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,a=(t,e)=>{for(var n in e||(e={}))o.call(e,n)&&s(t,n,e[n]);if(r)for(var n of r(e))i.call(e,n)&&s(t,n,e[n]);return t},l=(t,e,n)=>(s(t,"symbol"!=typeof e?e+"":e,n),n),c=globalThis;function u(t){return(c.__Zone_symbol_prefix||"__zone_symbol__")+t}var d=Object.getOwnPropertyDescriptor,h=Object.defineProperty,p=Object.getPrototypeOf,f=Object.create,g=Array.prototype.slice,m="addEventListener",y="removeEventListener",b=u(m),v=u(y),w="true",S="false",C=u("");function _(t,e){return Zone.current.wrap(t,e)}function k(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}var x=u,T=typeof window<"u",E=T?window:void 0,A=T&&E||globalThis;function I(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=_(t[n],e+"_"+n));return t}function O(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}var L=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,D=!("nw"in A)&&typeof A.process<"u"&&"[object process]"===A.process.toString(),P=!D&&!L&&!(!T||!E.HTMLElement),R=typeof A.process<"u"&&"[object process]"===A.process.toString()&&!L&&!(!T||!E.HTMLElement),N={},M=x("enable_beforeunload"),j=function(t){if(!(t=t||A.event))return;let e=N[t.type];e||(e=N[t.type]=x("ON_PROPERTY"+t.type));const n=this||t.target||A,r=n[e];let o;return P&&n===E&&"error"===t.type?(o=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===o&&t.preventDefault()):(o=r&&r.apply(this,arguments),"beforeunload"===t.type&&A[M]&&"string"==typeof o?t.returnValue=o:null!=o&&!o&&t.preventDefault()),o};function F(t,e,n){let r=d(t,e);if(!r&&n&&d(n,e)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const o=x("on"+e+"patched");if(t.hasOwnProperty(o)&&t[o])return;delete r.writable,delete r.value;const i=r.get,s=r.set,a=e.slice(2);let l=N[a];l||(l=N[a]=x("ON_PROPERTY"+a)),r.set=function(e){let n=this;!n&&t===A&&(n=A),n&&("function"==typeof n[l]&&n.removeEventListener(a,j),s?.call(n,null),n[l]=e,"function"==typeof e&&n.addEventListener(a,j,!1))},r.get=function(){let n=this;if(!n&&t===A&&(n=A),!n)return null;const o=n[l];if(o)return o;if(i){let t=i.call(this);if(t)return r.set.call(this,t),"function"==typeof n.removeAttribute&&n.removeAttribute(e),t}return null},h(t,e,r),t[o]=!0}function $(t,e,n){if(e)for(let r=0;r<e.length;r++)F(t,"on"+e[r],n);else{const e=[];for(const n in t)"on"==n.slice(0,2)&&e.push(n);for(let r=0;r<e.length;r++)F(t,e[r],n)}}var z=x("originalInstance");function H(t){const e=A[t];if(!e)return;A[x(t)]=e,A[t]=function(){const n=I(arguments,t);switch(n.length){case 0:this[z]=new e;break;case 1:this[z]=new e(n[0]);break;case 2:this[z]=new e(n[0],n[1]);break;case 3:this[z]=new e(n[0],n[1],n[2]);break;case 4:this[z]=new e(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},U(A[t],e);const n=new e(function(){});let r;for(r in n)"XMLHttpRequest"===t&&"responseBlob"===r||function(e){"function"==typeof n[e]?A[t].prototype[e]=function(){return this[z][e].apply(this[z],arguments)}:h(A[t].prototype,e,{set:function(n){"function"==typeof n?(this[z][e]=_(n,t+"."+e),U(this[z][e],n)):this[z][e]=n},get:function(){return this[z][e]}})}(r);for(r in e)"prototype"!==r&&e.hasOwnProperty(r)&&(A[t][r]=e[r])}function B(t,e,n){let r=t;for(;r&&!r.hasOwnProperty(e);)r=p(r);!r&&t[e]&&(r=t);const o=x(e);let i=null;if(r&&(!(i=r[o])||!r.hasOwnProperty(o))&&(i=r[o]=r[e],O(r&&d(r,e)))){const t=n(i,o,e);r[e]=function(){return t(this,arguments)},U(r[e],i)}return i}function V(t,e,n){let r=null;function o(t){const e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=B(t,e,t=>function(e,r){const i=n(e,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?k(i.name,r[i.cbIdx],i,o):t.apply(e,r)})}function U(t,e){t[x("OriginalDelegate")]=e}function W(t){return"function"==typeof t}function G(t){return"number"==typeof t}var q={useG:!0},Q={},Z={},X=new RegExp("^"+C+"(\\w+)(true|false)$"),Y=x("propagationStopped");function K(t,e){const n=(e?e(t):t)+S,r=(e?e(t):t)+w,o=C+n,i=C+r;Q[t]={},Q[t][S]=o,Q[t][w]=i}function J(t,r,o,i){const s=i&&i.add||m,l=i&&i.rm||y,c=i&&i.listeners||"eventListeners",u=i&&i.rmAll||"removeAllListeners",d=x(s),h="."+s+":",f="prependListener",g="."+f+":",b=function(t,e,n){if(t.isRemoved)return;const r=t.callback;let o;"object"==typeof r&&r.handleEvent&&(t.callback=t=>r.handleEvent(t),t.originalDelegate=r);try{t.invoke(t,e,[n])}catch(t){o=t}const i=t.options;return i&&"object"==typeof i&&i.once&&e[l].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,i),o};function v(e,n,o){if(!(n=n||t.event))return;const i=e||n.target||t,s=i[Q[n.type][o?w:S]];if(s){const t=[];if(1===s.length){const e=b(s[0],i,n);e&&t.push(e)}else{const e=s.slice();for(let r=0;r<e.length&&(!n||!0!==n[Y]);r++){const o=b(e[r],i,n);o&&t.push(o)}}if(1===t.length)throw t[0];for(let e=0;e<t.length;e++){const n=t[e];r.nativeScheduleMicroTask(()=>{throw n})}}}const _=function(t){return v(this,t,!1)},k=function(t){return v(this,t,!0)};function T(r,o){if(!r)return!1;let i=!0;o&&void 0!==o.useG&&(i=o.useG);const m=o&&o.vh;let y=!0;o&&void 0!==o.chkDup&&(y=o.chkDup);let b=!1;o&&void 0!==o.rt&&(b=o.rt);let v=r;for(;v&&!v.hasOwnProperty(s);)v=p(v);if(!v&&r[s]&&(v=r),!v||v[d])return!1;const T=o&&o.eventNameToString,E={},A=v[d]=v[s],I=v[x(l)]=v[l],O=v[x(c)]=v[c],L=v[x(u)]=v[u];let P;o&&o.prepend&&(P=v[x(o.prepend)]=v[o.prepend]);const R=i?function(t){if(!E.isExisting)return A.call(E.target,E.eventName,E.capture?k:_,E.options)}:function(t){return A.call(E.target,E.eventName,t.invoke,E.options)},N=i?function(t){if(!t.isRemoved){const e=Q[t.eventName];let n;e&&(n=e[t.capture?w:S]);const r=n&&t.target[n];if(r)for(let e=0;e<r.length;e++)if(r[e]===t){r.splice(e,1),t.isRemoved=!0,t.removeAbortListener&&(t.removeAbortListener(),t.removeAbortListener=null),0===r.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return I.call(t.target,t.eventName,t.capture?k:_,t.options)}:function(t){return I.call(t.target,t.eventName,t.invoke,t.options)},M=o?.diff||function(t,e){const n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},j=Zone[x("UNPATCHED_EVENTS")],F=t[x("PASSIVE_EVENTS")],$=function(r,s,l,c,u=!1,d=!1){return function(){const h=this||t;let p=arguments[0];o&&o.transferEventName&&(p=o.transferEventName(p));let f=arguments[1];if(!f)return r.apply(this,arguments);if(D&&"uncaughtException"===p)return r.apply(this,arguments);let g=!1;if("function"!=typeof f){if(!f.handleEvent)return r.apply(this,arguments);g=!0}if(m&&!m(r,f,h,arguments))return;const b=!!F&&-1!==F.indexOf(p),v=function(t){if("object"==typeof t&&null!==t){const e=a({},t);return t.signal&&(e.signal=t.signal),e}return t}(function(t,r){return r?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?(t=>e(t,n({passive:!0})))(a({},t)):t:{passive:!0}:t}(arguments[2],b)),C=v?.signal;if(C?.aborted)return;if(j)for(let t=0;t<j.length;t++)if(p===j[t])return b?r.call(h,p,f,v):r.apply(this,arguments);const _=!!v&&("boolean"==typeof v||v.capture),k=!(!v||"object"!=typeof v)&&v.once,x=Zone.current;let A=Q[p];A||(K(p,T),A=Q[p]);const I=A[_?w:S];let O,L=h[I],P=!1;if(L){if(P=!0,y)for(let t=0;t<L.length;t++)if(M(L[t],f))return}else L=h[I]=[];const R=h.constructor.name,N=Z[R];N&&(O=N[p]),O||(O=R+s+(T?T(p):p)),E.options=v,k&&(E.options.once=!1),E.target=h,E.capture=_,E.eventName=p,E.isExisting=P;const $=i?q:void 0;$&&($.taskData=E),C&&(E.options.signal=void 0);const z=x.scheduleEventTask(O,f,$,l,c);if(C){E.options.signal=C;const t=()=>z.zone.cancelTask(z);r.call(C,"abort",t,{once:!0}),z.removeAbortListener=()=>C.removeEventListener("abort",t)}return E.target=null,$&&($.taskData=null),k&&(E.options.once=!0),"boolean"!=typeof z.options&&(z.options=v),z.target=h,z.capture=_,z.eventName=p,g&&(z.originalDelegate=f),d?L.unshift(z):L.push(z),u?h:void 0}};return v[s]=$(A,h,R,N,b),P&&(v[f]=$(P,g,function(t){return P.call(E.target,E.eventName,t.invoke,E.options)},N,b,!0)),v[l]=function(){const e=this||t;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=arguments[2],i=!!r&&("boolean"==typeof r||r.capture),s=arguments[1];if(!s)return I.apply(this,arguments);if(m&&!m(I,s,e,arguments))return;const a=Q[n];let l;a&&(l=a[i?w:S]);const c=l&&e[l];if(c)for(let t=0;t<c.length;t++){const r=c[t];if(M(r,s))return c.splice(t,1),r.isRemoved=!0,0!==c.length||(r.allRemoved=!0,e[l]=null,i||"string"!=typeof n)||(e[C+"ON_PROPERTY"+n]=null),r.zone.cancelTask(r),b?e:void 0}return I.apply(this,arguments)},v[c]=function(){const e=this||t;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=[],i=tt(e,T?T(n):n);for(let t=0;t<i.length;t++){const e=i[t];r.push(e.originalDelegate?e.originalDelegate:e.callback)}return r},v[u]=function(){const e=this||t;let n=arguments[0];if(n){o&&o.transferEventName&&(n=o.transferEventName(n));const t=Q[n];if(t){const r=e[t[S]],o=e[t[w]];if(r){const t=r.slice();for(let e=0;e<t.length;e++){const r=t[e];this[l].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}if(o){const t=o.slice();for(let e=0;e<t.length;e++){const r=t[e];this[l].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}}}else{const t=Object.keys(e);for(let e=0;e<t.length;e++){const n=X.exec(t[e]);let r=n&&n[1];r&&"removeListener"!==r&&this[u].call(this,r)}this[u].call(this,"removeListener")}if(b)return this},U(v[s],A),U(v[l],I),L&&U(v[u],L),O&&U(v[c],O),!0}let E=[];for(let t=0;t<o.length;t++)E[t]=T(o[t],i);return E}function tt(t,e){if(!e){const n=[];for(let r in t){const o=X.exec(r);let i=o&&o[1];if(i&&(!e||i===e)){const e=t[r];if(e)for(let t=0;t<e.length;t++)n.push(e[t])}}return n}let n=Q[e];n||(K(e),n=Q[e]);const r=t[n[S]],o=t[n[w]];return r?o?r.concat(o):r.slice():o?o.slice():[]}function et(t,e){const n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",t=>function(e,n){e[Y]=!0,t&&t.apply(e,n)})}var nt=x("zoneTask");function rt(t,e,n,r){let o=null,i=null;n+=r;const s={};function a(e){const n=e.data;n.args[0]=function(){return e.invoke.apply(this,arguments)};const r=o.apply(t,n.args);return G(r)?n.handleId=r:(n.handle=r,n.isRefreshable=W(r.refresh)),e}function l(e){const{handle:n,handleId:r}=e.data;return i.call(t,n??r)}o=B(t,e+=r,n=>function(o,i){var c;if(W(i[0])){const t={isRefreshable:!1,isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},n=i[0];i[0]=function(){try{return n.apply(this,arguments)}finally{const{handle:e,handleId:n,isPeriodic:r,isRefreshable:o}=t;!r&&!o&&(n?delete s[n]:e&&(e[nt]=null))}};const o=k(e,i[0],t,a,l);if(!o)return o;const{handleId:u,handle:d,isRefreshable:h,isPeriodic:p}=o.data;if(u)s[u]=o;else if(d&&(d[nt]=o,h&&!p)){const t=d.refresh;d.refresh=function(){const{zone:e,state:n}=o;return"notScheduled"===n?(o._state="scheduled",e._updateTaskCount(o,1)):"running"===n&&(o._state="scheduling"),t.call(this)}}return null!=(c=d??u)?c:o}return n.apply(t,i)}),i=B(t,n,e=>function(n,r){const o=r[0];let i;G(o)?(i=s[o],delete s[o]):(i=o?.[nt],i?o[nt]=null:i=o),i?.type?i.cancelFn&&i.zone.cancelTask(i):e.apply(t,r)})}function ot(t,e,n){if(!n||0===n.length)return e;const r=n.filter(e=>e.target===t);if(0===r.length)return e;const o=r[0].ignoreProperties;return e.filter(t=>-1===o.indexOf(t))}function it(t,e,n,r){t&&$(t,ot(t,e,n),r)}function st(t){return Object.getOwnPropertyNames(t).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}function at(t,e,n,r,o){const i=Zone.__symbol__(r);if(e[i])return;const s=e[i]=e[r];e[r]=function(i,a,l){return a&&a.prototype&&o.forEach(function(e){const o=`${n}.${r}::`+e,i=a.prototype;try{if(i.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(i,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,o),t._redefineProperty(a.prototype,e,n)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}catch{}}),s.call(e,i,a,l)},t.attachOriginToPatched(e[r],s)}var lt,ct=function(){const t=globalThis,e=!0===t[u("forceDuplicateZoneCheck")];if(t.Zone&&(e||"function"!=typeof t.Zone.__symbol__))throw new Error("Zone already loaded.");return null!=t.Zone||(t.Zone=function(){const t=c.performance;function e(e){t&&t.mark&&t.mark(e)}function n(e,n){t&&t.measure&&t.measure(e,n)}e("Zone");const r=class t{constructor(t,e){l(this,"_parent"),l(this,"_name"),l(this,"_properties"),l(this,"_zoneDelegate"),this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new s(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(c.Promise!==L.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 e=t.current;for(;e.parent;)e=e.parent;return e}static get current(){return P.zone}static get currentTask(){return R}static __load_patch(r,o,i=!1){if(L.hasOwnProperty(r)){const t=!0===c[u("forceDuplicateZoneCheck")];if(!i&&t)throw Error("Already loaded patch: "+r)}else if(!c["__Zone_disable_"+r]){const i="Zone:"+r;e(i),L[r]=o(c,t,D),n(i,i)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}run(t,e,n,r){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{P=P.parent}}runGuarded(t,e=null,n,r){P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{P=P.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||S).name+"; Execution: "+this.name+")");const r=t,{type:o,data:{isPeriodic:i=!1,isRefreshable:s=!1}={}}=t;if(t.state===C&&(o===O||o===I))return;const a=t.state!=x;a&&r._transitionTo(x,k);const l=R;R=r,P={parent:P,zone:this};try{o==I&&t.data&&!i&&!s&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{const e=t.state;if(e!==C&&e!==E)if(o==O||i||s&&e===_)a&&r._transitionTo(k,x,_);else{const t=r._zoneDelegates;this._updateTaskCount(r,-1),a&&r._transitionTo(C,x,C),s&&(r._zoneDelegates=t)}P=P.parent,R=l}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(_,C);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(E,_,C),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==_&&t._transitionTo(k,_),t}scheduleMicroTask(t,e,n,r){return this.scheduleTask(new a(A,t,e,n,r,void 0))}scheduleMacroTask(t,e,n,r,o){return this.scheduleTask(new a(I,t,e,n,r,o))}scheduleEventTask(t,e,n,r,o){return this.scheduleTask(new a(O,t,e,n,r,o))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||S).name+"; Execution: "+this.name+")");if(t.state===k||t.state===x){t._transitionTo(T,k,x);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(E,T),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(C,T),t.runCount=-1,t}}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)}};l(r,"__symbol__",u);let o=r;const i={name:"",onHasTask:(t,e,n,r)=>t.hasTask(n,r),onScheduleTask:(t,e,n,r)=>t.scheduleTask(n,r),onInvokeTask:(t,e,n,r,o,i)=>t.invokeTask(n,r,o,i),onCancelTask:(t,e,n,r)=>t.cancelTask(n,r)};class s{constructor(t,e,n){l(this,"_zone"),l(this,"_taskCounts",{microTask:0,macroTask:0,eventTask:0}),l(this,"_forkDlgt"),l(this,"_forkZS"),l(this,"_forkCurrZone"),l(this,"_interceptDlgt"),l(this,"_interceptZS"),l(this,"_interceptCurrZone"),l(this,"_invokeDlgt"),l(this,"_invokeZS"),l(this,"_invokeCurrZone"),l(this,"_handleErrorDlgt"),l(this,"_handleErrorZS"),l(this,"_handleErrorCurrZone"),l(this,"_scheduleTaskDlgt"),l(this,"_scheduleTaskZS"),l(this,"_scheduleTaskCurrZone"),l(this,"_invokeTaskDlgt"),l(this,"_invokeTaskZS"),l(this,"_invokeTaskCurrZone"),l(this,"_cancelTaskDlgt"),l(this,"_cancelTaskZS"),l(this,"_cancelTaskCurrZone"),l(this,"_hasTaskDlgt"),l(this,"_hasTaskDlgtOwner"),l(this,"_hasTaskZS"),l(this,"_hasTaskCurrZone"),this._zone=t,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this._zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this._zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this._zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this._zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this._zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this._zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this._zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||e&&e._hasTaskZS)&&(this._hasTaskZS=r?n:i,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,n.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this._zone),n.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this._zone),n.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this._zone))}get zone(){return this._zone}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new o(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=A)throw new Error("Task is missing scheduleFn.");v(e)}return n}invokeTask(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(e){this.handleError(t,e)}}_updateTaskCount(t,e){const n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this._zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class a{constructor(t,e,n,r,o,i){if(l(this,"type"),l(this,"source"),l(this,"invoke"),l(this,"callback"),l(this,"data"),l(this,"scheduleFn"),l(this,"cancelFn"),l(this,"_zone",null),l(this,"runCount",0),l(this,"_zoneDelegates",null),l(this,"_state","notScheduled"),this.type=t,this.source=e,this.data=r,this.scheduleFn=o,this.cancelFn=i,!n)throw new Error("callback is not defined");this.callback=n;const s=this;this.invoke=t===O&&r&&r.useG?a.invokeTask:function(){return a.invokeTask.call(c,s,this,arguments)}}static invokeTask(t,e,n){t||(t=this),N++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1===N&&!c[f]&&w(),N--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(C,_)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==C&&(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 d=u("setTimeout"),h=u("Promise"),p=u("then"),f=u("enable_native_microtask_draining");let g,m=[],y=!1;function b(t){var e;!g&&c[h]&&(g=c[h].resolve(0)),g?(null!=(e=g[p])?e:g.then).call(g,t):c[d](t,0)}function v(t){const e=c[f];(e&&0===m.length&&!y||!e&&0===N&&0===m.length)&&b(w),t&&m.push(t)}function w(){if(!y){for(y=!0;m.length;){const t=m;m=[];for(const e of t)try{e.zone.runTask(e,null,null)}catch(t){D.onUnhandledError(t)}}c[f]?(y=!1,D.microtaskDrainDone()):(D.microtaskDrainDone(),y=!1)}}const S={name:"NO ZONE"},C="notScheduled",_="scheduling",k="scheduled",x="running",T="canceling",E="unknown",A="microTask",I="macroTask",O="eventTask",L={},D={symbol:u,currentZoneFrame:()=>P,onUnhandledError:M,microtaskDrainDone:M,scheduleMicroTask:v,showUncaughtError:()=>!o[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:M,patchMethod:()=>M,bindArguments:()=>[],patchThen:()=>M,patchMacroTask:()=>M,patchEventPrototype:()=>M,getGlobalObjects:()=>{},ObjectDefineProperty:()=>M,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>M,wrapWithCurrentZone:()=>M,filterProperties:()=>[],attachOriginToPatched:()=>M,_redefineProperty:()=>M,patchCallbacks:()=>M,nativeScheduleMicroTask:b};let P={parent:null,zone:new o(null,null)},R=null,N=0;function M(){}return n("Zone","Zone"),o}()),t.Zone}();(function(t){t.__load_patch("ZoneAwarePromise",(t,e,n)=>{const r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,s=[],a=!1!==t[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=i("Promise"),c=i("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;s.length;){const t=s.shift();try{t.zone.runGuarded(()=>{throw t.throwOriginal?t.rejection:t})}catch(t){d(t)}}};const u=i("unhandledPromiseRejectionHandler");function d(t){n.onUnhandledError(t);try{const n=e[u];"function"==typeof n&&n.call(this,t)}catch{}}function h(t){return t&&"function"==typeof t.then}function p(t){return t}function f(t){return D.reject(t)}const g=i("state"),m=i("value"),y=i("finally"),b=i("parentPromiseValue"),v=i("parentPromiseState"),w=null,S=!1;function C(t,e){return n=>{try{T(t,e,n)}catch(e){T(t,!1,e)}}}const _=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},k="Promise resolved with itself",x=i("currentTaskTrace");function T(t,r,i){const l=_();if(t===i)throw new TypeError(k);if(t[g]===w){let c=null;try{("object"==typeof i||"function"==typeof i)&&(c=i&&i.then)}catch(e){return l(()=>{T(t,!1,e)})(),t}if(r!==S&&i instanceof D&&i.hasOwnProperty(g)&&i.hasOwnProperty(m)&&i[g]!==w)A(i),T(t,i[g],i[m]);else if(r!==S&&"function"==typeof c)try{c.call(i,l(C(t,r)),l(C(t,!1)))}catch(e){l(()=>{T(t,!1,e)})()}else{t[g]=r;const l=t[m];if(t[m]=i,t[y]===y&&!0===r&&(t[g]=t[v],t[m]=t[b]),r===S&&i instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&o(i,x,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e<l.length;)I(t,l[e++],l[e++],l[e++],l[e++]);if(0==l.length&&r==S){t[g]=0;let r=i;try{throw new Error("Uncaught (in promise): "+function(t){return t&&t.toString===Object.prototype.toString?(t.constructor&&t.constructor.name||"")+": "+JSON.stringify(t):t?t.toString():Object.prototype.toString.call(t)}(i)+(i&&i.stack?"\n"+i.stack:""))}catch(t){r=t}a&&(r.throwOriginal=!0),r.rejection=i,r.promise=t,r.zone=e.current,r.task=e.currentTask,s.push(r),n.scheduleMicroTask()}}}return t}const E=i("rejectionHandledHandler");function A(t){if(0===t[g]){try{const n=e[E];n&&"function"==typeof n&&n.call(this,{rejection:t[m],promise:t})}catch{}t[g]=S;for(let e=0;e<s.length;e++)t===s[e].promise&&s.splice(e,1)}}function I(t,e,n,r,o){A(t);const i=t[g],s=i?"function"==typeof r?r:p:"function"==typeof o?o:f;e.scheduleMicroTask("Promise.then",()=>{try{const r=t[m],o=!!n&&y===n[y];o&&(n[b]=r,n[v]=i);const a=e.run(s,void 0,o&&s!==f&&s!==p?[]:[r]);T(n,!0,a)}catch(t){T(n,!1,t)}},n)}const O=function(){},L=t.AggregateError;class D{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return t instanceof D?t:T(new this(null),!0,t)}static reject(t){return T(new this(null),S,t)}static withResolvers(){const t={};return t.promise=new D((e,n)=>{t.resolve=e,t.reject=n}),t}static any(t){if(!t||"function"!=typeof t[Symbol.iterator])return Promise.reject(new L([],"All promises were rejected"));const e=[];let n=0;try{for(let r of t)n++,e.push(D.resolve(r))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(0===n)return Promise.reject(new L([],"All promises were rejected"));let r=!1;const o=[];return new D((t,i)=>{for(let s=0;s<e.length;s++)e[s].then(e=>{r||(r=!0,t(e))},t=>{o.push(t),n--,0===n&&(r=!0,i(new L(o,"All promises were rejected")))})})}static race(t){let e,n,r=new this((t,r)=>{e=t,n=r});function o(t){e(t)}function i(t){n(t)}for(let e of t)h(e)||(e=this.resolve(e)),e.then(o,i);return r}static all(t){return D.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof D?this:D).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,r,o=new this((t,e)=>{n=t,r=e}),i=2,s=0;const a=[];for(let o of t){h(o)||(o=this.resolve(o));const t=s;try{o.then(r=>{a[t]=e?e.thenCallback(r):r,i--,0===i&&n(a)},o=>{e?(a[t]=e.errorCallback(o),i--,0===i&&n(a)):r(o)})}catch(t){r(t)}i++,s++}return i-=2,0===i&&n(a),o}constructor(t){const e=this;if(!(e instanceof D))throw new Error("Must be an instanceof Promise.");e[g]=w,e[m]=[];try{const n=_();t&&t(n(C(e,!0)),n(C(e,S)))}catch(t){T(e,!1,t)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return D}then(t,n){var r;let o=null==(r=this.constructor)?void 0:r[Symbol.species];(!o||"function"!=typeof o)&&(o=this.constructor||D);const i=new o(O),s=e.current;return this[g]==w?this[m].push(s,i,t,n):I(this,s,i,t,n),i}catch(t){return this.then(null,t)}finally(t){var n;let r=null==(n=this.constructor)?void 0:n[Symbol.species];(!r||"function"!=typeof r)&&(r=D);const o=new r(O);o[y]=y;const i=e.current;return this[g]==w?this[m].push(i,o,t,t):I(this,i,o,t,t),o}}D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;const P=t[l]=t.Promise;t.Promise=D;const R=i("thenPatched");function N(t){const e=t.prototype,n=r(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const o=e.then;e[c]=o,t.prototype.then=function(t,e){return new D((t,e)=>{o.call(this,t,e)}).then(t,e)},t[R]=!0}if(n.patchThen=N,P){N(P);const e=P.try;e&&"function"==typeof e&&(D.try=e),B(t,"fetch",t=>function(t){return function(e,n){let r=t.apply(e,n);if(r instanceof D)return r;let o=r.constructor;return o[R]||N(o),r}}(t))}return Promise[e.__symbol__("uncaughtPromiseErrors")]=s,D})})(lt=ct),function(t){t.__load_patch("toString",t=>{const e=Function.prototype.toString,n=x("OriginalDelegate"),r=x("Promise"),o=x("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=t[r];if(n)return e.call(n)}if(this===Error){const n=t[o];if(n)return e.call(n)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;const s=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":s.call(this)}})}(lt),function(t){t.__load_patch("util",(t,e,n)=>{const r=st(t);n.patchOnProperties=$,n.patchMethod=B,n.bindArguments=I,n.patchMacroTask=V;const o=e.__symbol__("BLACK_LISTED_EVENTS"),i=e.__symbol__("UNPATCHED_EVENTS");t[i]&&(t[o]=t[i]),t[o]&&(e[o]=e[i]=t[o]),n.patchEventPrototype=et,n.patchEventTarget=J,n.ObjectDefineProperty=h,n.ObjectGetOwnPropertyDescriptor=d,n.ObjectCreate=f,n.ArraySlice=g,n.patchClass=H,n.wrapWithCurrentZone=_,n.filterProperties=ot,n.attachOriginToPatched=U,n._redefineProperty=Object.defineProperty,n.patchCallbacks=at,n.getGlobalObjects=()=>({globalSources:Z,zoneSymbolEventNames:Q,eventNames:r,isBrowser:P,isMix:R,isNode:D,TRUE_STR:w,FALSE_STR:S,ZONE_SYMBOL_PREFIX:C,ADD_EVENT_LISTENER_STR:m,REMOVE_EVENT_LISTENER_STR:y})})}(lt),function(t){t.__load_patch("timers",t=>{const e="clear";rt(t,"set",e,"Timeout"),rt(t,"set",e,"Interval"),rt(t,"set",e,"Immediate")}),t.__load_patch("requestAnimationFrame",t=>{rt(t,"request","cancel","AnimationFrame"),rt(t,"mozRequest","mozCancel","AnimationFrame"),rt(t,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++)B(t,n[r],(n,r,o)=>function(r,i){return e.current.run(n,t,i,o)})}),t.__load_patch("EventTarget",(t,e,n)=>{(function(t,e){e.patchEventPrototype(t,e)})(t,n),function(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:o,FALSE_STR:i,ZONE_SYMBOL_PREFIX:s}=e.getGlobalObjects();for(let t=0;t<n.length;t++){const e=n[t],a=s+(e+i),l=s+(e+o);r[e]={},r[e][i]=a,r[e][o]=l}const a=t.EventTarget;a&&a.prototype&&e.patchEventTarget(t,e,[a&&a.prototype])}(t,n);const r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,n,[r.prototype])}),t.__load_patch("MutationObserver",(t,e,n)=>{H("MutationObserver"),H("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(t,e,n)=>{H("IntersectionObserver")}),t.__load_patch("FileReader",(t,e,n)=>{H("FileReader")}),t.__load_patch("on_property",(t,e,n)=>{!function(t,e){if(D&&!R||Zone[t.symbol("patchEvents")])return;const n=e.__Zone_ignore_on_properties;let r=[];if(P){const t=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]),it(t,st(t),n,p(t))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let t=0;t<r.length;t++){const o=e[r[t]];o?.prototype&&it(o.prototype,st(o.prototype),n)}}(n,t)}),t.__load_patch("customElements",(t,e,n)=>{!function(t,e){const{isBrowser:n,isMix:r}=e.getGlobalObjects();(n||r)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,n)}),t.__load_patch("XHR",(t,e)=>{!function(t){const l=t.XMLHttpRequest;if(!l)return;const c=l.prototype;let u=c[b],d=c[v];if(!u){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;u=t[b],d=t[v]}}const h="readystatechange",p="scheduled";function f(t){const r=t.data,s=r.target;s[i]=!1,s[a]=!1;const l=s[o];u||(u=s[b],d=s[v]),l&&d.call(s,h,l);const c=s[o]=()=>{if(s.readyState===s.DONE)if(!r.aborted&&s[i]&&t.state===p){const n=s[e.__symbol__("loadfalse")];if(0!==s.status&&n&&n.length>0){const o=t.invoke;t.invoke=function(){const n=s[e.__symbol__("loadfalse")];for(let e=0;e<n.length;e++)n[e]===t&&n.splice(e,1);!r.aborted&&t.state===p&&o.call(t)},n.push(t)}else t.invoke()}else!r.aborted&&!1===s[i]&&(s[a]=!0)};return u.call(s,h,c),s[n]||(s[n]=t),C.apply(s,r.args),s[i]=!0,t}function g(){}function m(t){const e=t.data;return e.aborted=!0,_.apply(e.target,e.args)}const y=B(c,"open",()=>function(t,e){return t[r]=0==e[2],t[s]=e[1],y.apply(t,e)}),w=x("fetchTaskAborting"),S=x("fetchTaskScheduling"),C=B(c,"send",()=>function(t,n){if(!0===e.current[S]||t[r])return C.apply(t,n);{const e={target:t,url:t[s],isPeriodic:!1,args:n,aborted:!1},r=k("XMLHttpRequest.send",g,e,f,m);t&&!0===t[a]&&!e.aborted&&r.state===p&&r.invoke()}}),_=B(c,"abort",()=>function(t,r){const o=function(t){return t[n]}(t);if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===e.current[w])return _.apply(t,r)})}(t);const n=x("xhrTask"),r=x("xhrSync"),o=x("xhrListener"),i=x("xhrScheduled"),s=x("xhrURL"),a=x("xhrErrorBeforeScheduled")}),t.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,e){const n=t.constructor.name;for(let r=0;r<e.length;r++){const o=e[r],i=t[o];if(i){if(!O(d(t,o)))continue;t[o]=(t=>{const e=function(){return t.apply(this,I(arguments,n+"."+o))};return U(e,t),e})(i)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){tt(t,e).forEach(r=>{const o=t.PromiseRejectionEvent;if(o){const t=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(t)}})}}t.PromiseRejectionEvent&&(e[x("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[x("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(t,e,n)=>{!function(t,e){e.patchMethod(t,"queueMicrotask",t=>function(t,e){Zone.current.scheduleMicroTask("queueMicrotask",e[0])})}(t,n)})}(ct)},6148(t,e,n){n.d(e,{A:()=>a});var r=n(9593),o=n.n(r),i=n(3650),s=n.n(i)()(o());s.push([t.id,"/* You can add global styles to this file, and also import other style files */\n.p-button.p-button-link {\n text-decoration-line: underline;\n text-decoration-style: dotted;\n text-decoration-thickness: var(--link-decoration-thickness);\n text-underline-offset: var(--link-underline-offset);\n}",""]);const a=s},5072(t){var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var i={},s=[],a=0;a<t.length;a++){var l=t[a],c=r.base?l[0]+r.base:l[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var h=n(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==h)e[h].references++,e[h].updater(p);else{var f=o(p,r);r.byIndex=a,e.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function o(t,e){var n=e.domAPI(e);return n.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var i=r(t=t||[],o=o||{});return function(t){t=t||[];for(var s=0;s<i.length;s++){var a=n(i[s]);e[a].references--}for(var l=r(t,o),c=0;c<i.length;c++){var u=n(i[c]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}i=l}}},7659(t){var e={};t.exports=function(t,n){var r=function(t){if(typeof e[t]>"u"){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch{n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540(t){t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},5056(t,e,n){t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},7825(t){t.exports=function(t){if(typeof document>"u")return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=typeof n.layer<"u";o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&typeof btoa<"u"&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},1113(t){t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},7154(t,e,n){var r;t.exports=(n.d(r={},{ApplicationSettingsStorageService:()=>Tr.ApplicationSettingsStorageService,AuthenticationService:()=>Tr.AuthenticationService,AuthenticationStorageService:()=>Tr.AuthenticationStorageService,AutocompleteService:()=>Tr.AutocompleteService,BuildUtil:()=>Tr.BuildUtil,ConfigurationContextService:()=>Tr.ConfigurationContextService,ConnectorBuildStatus:()=>Tr.ConnectorBuildStatus,ConnectorsService:()=>Tr.ConnectorsService,DateUtil:()=>Tr.DateUtil,EventName:()=>Tr.EventName,EventService:()=>Tr.EventService,GraphConfigService:()=>Tr.GraphConfigService,HttpErrorResponse:()=>Tr.HttpErrorResponse,LanguageContextService:()=>Tr.LanguageContextService,LanguageService:()=>Tr.LanguageService,Loggers:()=>Tr.Loggers,MonitoringService:()=>Tr.MonitoringService,NamespaceMap:()=>Tr.NamespaceMap,NamespacesService:()=>Tr.NamespacesService,NavigationContextService:()=>Tr.NavigationContextService,ObjectUtil:()=>Tr.ObjectUtil,OntoToastrService:()=>Tr.OntoToastrService,OpenidStorageService:()=>Tr.OpenidStorageService,ParentWindowMessageService:()=>Tr.ParentWindowMessageService,ProductInfoContextService:()=>Tr.ProductInfoContextService,REPOSITORY_ID_PARAM:()=>Tr.REPOSITORY_ID_PARAM,Rdf4jRepositoryService:()=>Tr.Rdf4jRepositoryService,RepositoryContextService:()=>Tr.RepositoryContextService,RepositoryStorageService:()=>Tr.RepositoryStorageService,RuntimeConfigurationContextService:()=>Tr.RuntimeConfigurationContextService,SavedQuery:()=>Tr.SavedQuery,SecurityContextService:()=>Tr.SecurityContextService,SecurityService:()=>Tr.SecurityService,ServiceProvider:()=>Tr.ServiceProvider,SparqlService:()=>Tr.SparqlService,SparqlStorageService:()=>Tr.SparqlStorageService,SubscriptionList:()=>Tr.SubscriptionList,ThemeService:()=>Tr.ThemeService,UrlPathParams:()=>Tr.UrlPathParams,WindowService:()=>Tr.WindowService,getBasePath:()=>Tr.getBasePath,getCurrentRoute:()=>Tr.getCurrentRoute,isLoginPage:()=>Tr.isLoginPage,navigateTo:()=>Tr.navigateTo,openInNewTab:()=>Tr.openInNewTab,service:()=>Tr.service}),r)},6868(t,e,n){n.d(e,{B3:()=>v,MD:()=>S,OI:()=>h,Sq:()=>f,T3:()=>w,YU:()=>d,bT:()=>m,fw:()=>l});var r=n(6860),o=n(6268),i=n(6817),s=(n(5697),n(5487)),a=n(83);let l=(()=>{class t extends s.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,e){super(),this._platformLocation=t,null!=e&&(this._baseHref=e)}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}path(t=!1){const e=this._platformLocation.hash??"#";return e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=(0,s.om)(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){const o=this.prepareExternalUrl(n+(0,s.Q)(r))||this._platformLocation.pathname;this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,r){const o=this.prepareExternalUrl(n+(0,s.Q)(r))||this._platformLocation.pathname;this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static ɵfac=function(e){return new(e||t)(i.KVO(a.Vw),i.KVO(s.kB,8))};static ɵprov=i.jDH({token:t,factory:t.ɵfac})}return t})();const c=/\s+/,u=[];let d=(()=>{class t{_ngEl;_renderer;initialClasses=u;rawClass;stateMap=new Map;constructor(t,e){this._ngEl=t,this._renderer=e}set klass(t){this.initialClasses=null!=t?t.trim().split(c):u}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(c):t}ngDoCheck(){for(const t of this.initialClasses)this._updateState(t,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const e of t)this._updateState(e,!0);else if(null!=t)for(const e of Object.keys(t))this._updateState(e,!!t[e]);this._applyStateDiff()}_updateState(t,e){const n=this.stateMap.get(t);void 0!==n?(n.enabled!==e&&(n.changed=!0,n.enabled=e),n.touched=!0):this.stateMap.set(t,{enabled:e,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const e=t[0],n=t[1];n.changed?(this._toggleClass(e,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(e,!1),this.stateMap.delete(e)),n.touched=!1}}_toggleClass(t,e){(t=t.trim()).length>0&&t.split(c).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}static ɵfac=function(e){return new(e||t)(o.rXU(o.aKT),o.rXU(o.sFG))};static ɵdir=o.FsC({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),h=(()=>{class t{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return void 0!==t.ngComponentOutletNgModule}_needToReCreateComponentInstance(t){return void 0!==t.ngComponentOutlet||void 0!==t.ngComponentOutletContent||void 0!==t.ngComponentOutletInjector||void 0!==t.ngComponentOutletEnvironmentInjector||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,o.w6W)(this.ngComponentOutletNgModule,function(t){return t.get(o.Ab1).injector}(e)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:e,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(const[e,n]of this._inputsUsed)n?(t.setInput(e,this.ngComponentOutletInputs[e]),this._inputsUsed.set(e,!1)):(t.setInput(e,void 0),this._inputsUsed.delete(e))}static ɵfac=function(e){return new(e||t)(o.rXU(o.c1b))};static ɵdir=o.FsC({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[o.OA$]})}return t})();class p{$implicit;ngForOf;index;count;constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let f=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=this._viewContainer;t.forEachOperation((t,n,r)=>{if(null==t.previousIndex)e.createEmbeddedView(this._template,new p(t.item,this._ngForOf,-1,-1),null===r?void 0:r);else if(null==r)e.remove(null===n?void 0:n);else if(null!==n){const o=e.get(n);e.move(o,r),g(o,t)}});for(let t=0,n=e.length;t<n;t++){const r=e.get(t).context;r.index=t,r.count=n,r.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{g(e.get(t.currentIndex),t)})}static ngTemplateContextGuard(t,e){return!0}static ɵfac=function(e){return new(e||t)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(r._q3))};static ɵdir=o.FsC({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function g(t,e){t.context.$implicit=e.item}let m=(()=>{class t{_viewContainer;_context=new y;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,e){this._viewContainer=t,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){b(t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){b(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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,e){return!0}static ɵfac=function(e){return new(e||t)(o.rXU(o.c1b),o.rXU(o.C4Q))};static ɵdir=o.FsC({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})();class y{$implicit=null;ngIf=null}function b(t,e){if(t&&!t.createEmbeddedView)throw new i.buA(2020,!1)}let v=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split("."),i=-1===n.indexOf("-")?void 0:o.czy.DashCase;null!=e?this._renderer.setStyle(this._ngEl.nativeElement,n,r?`${e}${r}`:e,i):this._renderer.removeStyle(this._ngEl.nativeElement,n,i)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}static ɵfac=function(e){return new(e||t)(o.rXU(o.aKT),o.rXU(r.MKu),o.rXU(o.sFG))};static ɵdir=o.FsC({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),w=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=(0,i.WQX)(i.zZn);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const e=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,e,{injector:this._getInjector()})}}_getInjector(){return"outlet"===this.ngTemplateOutletInjector?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,e,n)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,e,n),get:(t,e,n)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,e,n)}})}static ɵfac=function(e){return new(e||t)(o.rXU(o.c1b))};static ɵdir=o.FsC({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[o.OA$]})}return t})(),S=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=o.$C({type:t});static ɵinj=i.G2t({})}return t})()},5487(t,e,n){n.d(e,{Q:()=>l,Sm:()=>d,aZ:()=>h,hb:()=>c,kB:()=>u,om:()=>s});var r=n(6817),o=n(8447),i=n(83);function s(t,e){return t?e?t.endsWith("/")?e.startsWith("/")?t+e.slice(1):t+e:e.startsWith("/")?t+e:`${t}/${e}`:t:e}function a(t){const e=t.search(/#|\?|$/);return"/"===t[e-1]?t.slice(0,e-1)+t.slice(e):t}function l(t){return t&&"?"!==t[0]?`?${t}`:t}let c=(()=>{class t{historyGo(t){throw new Error("")}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:()=>(0,r.WQX)(d),providedIn:"root"})}return t})();const u=new r.nKC("");let d=(()=>{class t extends c{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,e){super(),this._platformLocation=t,this._baseHref=e??this._platformLocation.getBaseHrefFromDOM()??(0,r.WQX)(r.qQL).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 s(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+l(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const o=this.prepareExternalUrl(n+l(r));this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,r){const o=this.prepareExternalUrl(n+l(r));this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static ɵfac=function(e){return new(e||t)(r.KVO(i.Vw),r.KVO(u,8))};static ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),h=(()=>{class t{_subject=new o.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;const e=this._locationStrategy.getBaseHref();this._basePath=function(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(a(p(e))),this._locationStrategy.onPopState(t=>{this._subject.next({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+l(e))}normalize(e){return t.stripTrailingSlash(function(t,e){if(!t||!e.startsWith(t))return e;const n=e.substring(t.length);return""===n||["/",";","?","#"].includes(n[0])?n:e}(this._basePath,p(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._locationStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+l(e)),n)}replaceState(t,e="",n=null){this._locationStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+l(e)),n)}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.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{const e=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(e,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e??void 0,complete:n??void 0})}static normalizeQueryParams=l;static joinWithSlash=s;static stripTrailingSlash=a;static ɵfac=function(e){return new(e||t)(r.KVO(c))};static ɵprov=r.jDH({token:t,factory:()=>new h((0,r.KVO)(c)),providedIn:"root"})}return t})();function p(t){return t.replace(/\/index.html$/,"")}},83(t,e,n){n.d(e,{Vw:()=>l,hj:()=>c,ig:()=>s,qj:()=>a,rb:()=>i,tl:()=>u});var r=n(6817);let o=null;function i(){return o}function s(t){o??=t}class a{}let l=(()=>{class t{historyGo(t){throw new Error("")}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:()=>(0,r.WQX)(u),providedIn:"platform"})}return t})();const c=new r.nKC("");let u=(()=>{class t extends l{_location;_history;_doc=(0,r.WQX)(r.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(t){const e=i().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=i().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.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,e,n){this._history.pushState(t,e,n)}replaceState(t,e,n){this._history.replaceState(t,e,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:()=>new t,providedIn:"platform"})}return t})()},4460(t,e,n){n.d(e,{AJ:()=>s,UE:()=>a,Vy:()=>l,Xr:()=>c,kt:()=>g}),n(467);var r=n(6268),o=n(6817),i=n(6860);const s="browser";function a(t){return t===s}function l(t){return"server"===t}let c=(()=>{class t{static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>new u((0,o.WQX)(o.qQL),window)})}return t})();class u{document;window;offset=()=>[0,0];constructor(t,e){this.document=t,this.window=e}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,e){this.window.scrollTo({...e,left:t[0],top:t[1]})}scrollToAnchor(t,e){const n=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const t=r.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n,e),n.focus({preventScroll:!0}))}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn((0,o.OsK)(2400,!1))}}scrollToElement(t,e){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo({...e,left:r-i[0],top:o-i[1]})}}const d=t=>t.src,h=new o.nKC("",{factory:()=>d}),p=/^((\s*\d+w\s*(,|$)){1,})$/,f=[1,2];let g=(()=>{class t{imageLoader=(0,o.WQX)(h);config=function(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((t,e)=>t-e)),Object.assign({},r.mY,t,e)}((0,o.WQX)(r.VeQ));renderer=(0,o.WQX)(r.sFG);imgElement=(0,o.WQX)(r.aKT).nativeElement;injector=(0,o.WQX)(o.zZn);destroyRef=(0,o.WQX)(o.abz);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,"loading")})}ngOnInit(){(0,r._jY)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true"),this.updateSrcAndSrcset(),this.sizes?"lazy"===this.getLoadingBehavior()?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&p.test(this.ngSrcset)&&"lazy"===this.getLoadingBehavior()&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){t.ngSrc&&!t.ngSrc.isFirstChange()&&this.updateSrcAndSrcset(!0)}getAspectRatio(){return this.width&&this.height&&0!==this.height?this.width/this.height:null}callImageLoader(t){let e=t;this.loaderParams&&(e.loaderParams=this.loaderParams);const n=this.getAspectRatio();return null!==n&&e.width&&(e.height=Math.round(e.width/n)),this.imageLoader(e)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const t=p.test(this.ngSrcset);return this.ngSrcset.split(",").filter(t=>""!==t).map(e=>{e=e.trim();const n=t?parseFloat(e):parseFloat(e)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:n})} ${e}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:t}=this.config;let e=t;return"100vw"===this.sizes?.trim()&&(e=t.filter(t=>t>=640)),e.map(t=>`${this.callImageLoader({src:this.ngSrc,width:t})} ${t}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);const e=this.getRewrittenSrc();let n;return this.setHostAttribute("src",e),this.ngSrcset?n=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(n=this.getAutomaticSrcset()),n&&this.setHostAttribute("srcset",n),n}getFixedSrcset(){return f.map(t=>`${this.callImageLoader({src:this.ngSrc,width:this.width*t})} ${t}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==d&&!t}generatePlaceholder(t){const{placeholderResolution:e}=this.config;return!0===t?`url("${y(this.callImageLoader({src:this.ngSrc,width:e,isPlaceholder:!0}))}")`:"string"==typeof t?`url("${y(t)}")`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")||!!t.blur}removePlaceholderOnLoad(t){const e=()=>{const t=this.injector.get(i.gRc);n(),r(),this.placeholder=!1,t.markForCheck()},n=this.renderer.listen(t,"load",e),r=this.renderer.listen(t,"error",e);this.destroyRef.onDestroy(()=>{n(),r()}),function(t,e){t.complete&&t.naturalWidth&&e()}(t,e)}setHostAttribute(t,e){this.renderer.setAttribute(this.imgElement,t,e)}static ɵfac=function(e){return new(e||t)};static ɵdir=r.FsC({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(t,e){2&t&&r.xc7("position",e.fill?"absolute":null)("width",e.fill?"100%":null)("height",e.fill?"100%":null)("inset",e.fill?"0":null)("background-size",e.placeholder?"cover":null)("background-position",e.placeholder?"50% 50%":null)("background-repeat",e.placeholder?"no-repeat":null)("background-image",e.placeholder?e.generatePlaceholder(e.placeholder):null)("filter",e.placeholder&&e.shouldBlurPlaceholder(e.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",m],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",i.Udg],height:[2,"height","height",i.Udg],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",i.L39],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",i.L39],fill:[2,"fill","fill",i.L39],placeholder:[2,"placeholder","placeholder",b],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[r.OA$]})}return t})();function m(t){return"string"==typeof t?t:(0,r.aCM)(t)}function y(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function b(t){return"string"==typeof t&&"true"!==t&&"false"!==t&&""!==t?t:(0,i.L39)(t)}},6268(t,e,n){n.d(e,{$C:()=>za,$Ln:()=>Ql,$o8:()=>ie,AVh:()=>Wd,Ab1:()=>Ia,Aen:()=>Gd,Agw:()=>ae,Avn:()=>du,B4B:()=>Nn,BIS:()=>ce,BMQ:()=>Lc,C4Q:()=>Si,C5r:()=>Jh,C6U:()=>_d,C7A:()=>Vl,Co$:()=>Pa,CsU:()=>Gl,DH7:()=>kh,DNE:()=>ll,DUP:()=>qr,DkB:()=>wu,EBC:()=>Un,EFF:()=>lh,EJ8:()=>Ua,Ef8:()=>H,FsC:()=>Va,FuF:()=>va,GBs:()=>wd,H1s:()=>nc,HbH:()=>Qd,Hgh:()=>nu,Hps:()=>Ul,JRh:()=>vh,Jt5:()=>mu,Jv_:()=>Mh,KED:()=>op,Lme:()=>Sh,NAR:()=>yd,NCX:()=>wi,NOj:()=>qn,NSC:()=>bu,NYb:()=>Xl,NyB:()=>xd,OA$:()=>R,OR8:()=>es,Ocv:()=>fp,Ol2:()=>Ma,PLl:()=>se,PYt:()=>Oa,QR4:()=>Dc,QTQ:()=>hs,Ql9:()=>cp,R50:()=>_h,R7$:()=>pr,RV6:()=>uu,SdG:()=>bd,SpI:()=>wh,TFI:()=>lc,UQu:()=>ap,VBU:()=>Fa,VeQ:()=>de,Vt3:()=>tl,VwU:()=>pd,VzW:()=>Ra,XpG:()=>gd,Y8G:()=>Qc,YEm:()=>ne,Zhj:()=>_a,_9s:()=>Yi,_9u:()=>ee,_jY:()=>Yr,_qm:()=>jt,_ys:()=>eo,a8H:()=>Zr,aCM:()=>Ge,aKT:()=>zt,bH1:()=>Na,bIt:()=>hd,bMT:()=>Xh,bVm:()=>iu,bc$:()=>le,c1b:()=>qs,cDI:()=>Bl,cdK:()=>Jl,cf$:()=>Kr,czy:()=>yr,d80:()=>up,dOL:()=>ql,dfE:()=>Gn,e6s:()=>xu,eHC:()=>Us,eq3:()=>zh,eu8:()=>su,eux:()=>eu,gXe:()=>Me,hnC:()=>ba,i5U:()=>Yh,iLQ:()=>rc,j41:()=>Xc,jOp:()=>Oc,k0s:()=>Kc,kBR:()=>gu,kS0:()=>It,lJ4:()=>$h,lJT:()=>sc,l_i:()=>Hh,lsd:()=>Cd,mGM:()=>Sd,mNQ:()=>Eh,mS5:()=>V,mU9:()=>ya,mY:()=>ue,mal:()=>no,mxI:()=>xh,n$t:()=>$n,nI1:()=>Zh,nI4:()=>oo,nM4:()=>Qa,nVh:()=>zc,npT:()=>Pn,nrm:()=>Jc,o8S:()=>ac,ozJ:()=>ks,phd:()=>ec,pl0:()=>oc,qBF:()=>pe,qex:()=>ou,rXU:()=>ds,rj2:()=>tu,rpG:()=>hp,sFG:()=>Ki,sMw:()=>Bh,sZ2:()=>re,sdS:()=>Td,sgu:()=>xa,tvf:()=>me,uiO:()=>S,utN:()=>xs,vDg:()=>Ts,vxM:()=>Bc,vzT:()=>Pc,w6W:()=>La,wEZ:()=>kd,wni:()=>vd,xGo:()=>Tt,xc7:()=>Ud,xe9:()=>pp,yLl:()=>Kl,ypd:()=>ic,ziy:()=>to,zoo:()=>Jr});var r=n(467),o=n(6817),i=n(6499),s=n(8447),a=n(5710),l=n(7947);function c(t){return{toString:t}.toString()}const u="__annotations__",d="__parameters__",h="__prop__metadata__";function p(t,e,n,r,o){return c(()=>{const r=f(e);function i(...t){if(this instanceof i)return r.call(this,...t),this;const e=new i(...t);return function(n){return o&&o(n,...t),(n.hasOwnProperty(u)?n[u]:Object.defineProperty(n,u,{value:[]})[u]).push(e),n}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function f(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}function g(t,e,n){return c(()=>{const n=f(e);function r(...t){if(this instanceof r)return n.apply(this,t),this;const e=new r(...t);return o.annotation=e,o;function o(t,n,r){const o=t.hasOwnProperty(d)?t[d]:Object.defineProperty(t,d,{value:[]})[d];for(;o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(e),t}}return r.prototype.ngMetadataName=t,r.annotationCls=r,r})}const m=(0,o.z6V)(g("Inject",t=>({token:t})),-1),y=(0,o.z6V)(g("Optional"),8),b=(0,o.z6V)(g("Self"),2),v=(0,o.z6V)(g("SkipSelf"),4),w=(0,o.z6V)(g("Host"),1);function S(t){const e=o.laP.ng;if(e&&e.ɵcompilerFacade)return e.ɵcompilerFacade;throw new Error("JIT compiler unavailable")}const C={ɵɵdefineInjectable:o.jDH,ɵɵdefineInjector:o.G2t,ɵɵinject:o.KVO,ɵɵinvalidFactoryDep:o.dmw,resolveForwardRef:o.nl4},_=Function;function k(t){return"function"==typeof t}const x=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,T=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,E=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,A=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class I{_reflect;constructor(t){this._reflect=t||o.laP.Reflect}factory(t){return(...e)=>new t(...e)}_zipTypesAndAnnotations(t,e){let n;n=(0,o.WfI)(typeof t>"u"?e.length:t.length);for(let r=0;r<n.length;r++)n[r]=typeof t>"u"?[]:t[r]&&t[r]!=Object?[t[r]]:[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n}_ownParameters(t,e){if(n=t.toString(),x.test(n)||A.test(n)||T.test(n)&&!E.test(n))return null;var n;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;const r=t.ctorParameters;if(r&&r!==e.ctorParameters){const t="function"==typeof r?r():r,e=t.map(t=>t&&t.type),n=t.map(t=>t&&O(t.decorators));return this._zipTypesAndAnnotations(e,n)}const i=t.hasOwnProperty(d)&&t[d],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return s||i?this._zipTypesAndAnnotations(s,i):(0,o.WfI)(t.length)}parameters(t){if(!k(t))return[];const e=L(t);let n=this._ownParameters(t,e);return!n&&e!==Object&&(n=this.parameters(e)),n||[]}_ownAnnotations(t,e){if(t.annotations&&t.annotations!==e.annotations){let e=t.annotations;return"function"==typeof e&&e.annotations&&(e=e.annotations),e}return t.decorators&&t.decorators!==e.decorators?O(t.decorators):t.hasOwnProperty(u)?t[u]:null}annotations(t){if(!k(t))return[];const e=L(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)}_ownPropMetadata(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){let e=t.propMetadata;return"function"==typeof e&&e.propMetadata&&(e=e.propMetadata),e}if(t.propDecorators&&t.propDecorators!==e.propDecorators){const e=t.propDecorators,n={};return Object.keys(e).forEach(t=>{n[t]=O(e[t])}),n}return t.hasOwnProperty(h)?t[h]:null}propMetadata(t){if(!k(t))return{};const e=L(t),n={};if(e!==Object){const t=this.propMetadata(e);Object.keys(t).forEach(e=>{n[e]=t[e]})}const r=this._ownPropMetadata(t,e);return r&&Object.keys(r).forEach(t=>{const e=[];n.hasOwnProperty(t)&&e.push(...n[t]),e.push(...r[t]),n[t]=e}),n}ownPropMetadata(t){return k(t)&&this._ownPropMetadata(t,L(t))||{}}hasLifecycleHook(t,e){return t instanceof _&&e in t.prototype}}function O(t){return t?t.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function L(t){const e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}function D(t,e,n,r){null!==e?e.applyValueToInputSignal(e,r):t[n]=r}class P{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}const R=(()=>{const t=()=>N;return t.ngInherit=!0,t})();function N(t){return t.type.prototype.ngOnChanges&&(t.setInput=j),M}function M(){const t=$(this),e=t?.current;if(e){const n=t.previous;if(n===o.MZA)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function j(t,e,n,r,i){const s=this.declaredInputs[r],a=$(t)||function(t,e){return t[F]=e}(t,{previous:o.MZA,current:null}),l=a.current||(a.current={}),c=a.previous,u=c[s];l[s]=new P(u&&u.currentValue,n,c===o.MZA),D(t,e,i,n)}const F="__ngSimpleChanges__";function $(t){return t[F]||null}const z=[],H=function(t,e=null,n){for(let r=0;r<z.length;r++)(0,z[r])(t,e,n)};var B,V=((B=V||{})[B.TemplateCreateStart=0]="TemplateCreateStart",B[B.TemplateCreateEnd=1]="TemplateCreateEnd",B[B.TemplateUpdateStart=2]="TemplateUpdateStart",B[B.TemplateUpdateEnd=3]="TemplateUpdateEnd",B[B.LifecycleHookStart=4]="LifecycleHookStart",B[B.LifecycleHookEnd=5]="LifecycleHookEnd",B[B.OutputStart=6]="OutputStart",B[B.OutputEnd=7]="OutputEnd",B[B.BootstrapApplicationStart=8]="BootstrapApplicationStart",B[B.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",B[B.BootstrapComponentStart=10]="BootstrapComponentStart",B[B.BootstrapComponentEnd=11]="BootstrapComponentEnd",B[B.ChangeDetectionStart=12]="ChangeDetectionStart",B[B.ChangeDetectionEnd=13]="ChangeDetectionEnd",B[B.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",B[B.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",B[B.AfterRenderHooksStart=16]="AfterRenderHooksStart",B[B.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",B[B.ComponentStart=18]="ComponentStart",B[B.ComponentEnd=19]="ComponentEnd",B[B.DeferBlockStateStart=20]="DeferBlockStateStart",B[B.DeferBlockStateEnd=21]="DeferBlockStateEnd",B[B.DynamicComponentStart=22]="DynamicComponentStart",B[B.DynamicComponentEnd=23]="DynamicComponentEnd",B[B.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",B[B.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",B);function U(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:i,ngAfterViewChecked:s,ngOnDestroy:a}=e;r&&(t.contentHooks??=[]).push(-n,r),o&&((t.contentHooks??=[]).push(n,o),(t.contentCheckHooks??=[]).push(n,o)),i&&(t.viewHooks??=[]).push(-n,i),s&&((t.viewHooks??=[]).push(n,s),(t.viewCheckHooks??=[]).push(n,s)),null!=a&&(t.destroyHooks??=[]).push(n,a)}}function W(t,e,n){Q(t,e,3,n)}function G(t,e,n,r){(3&t[o.Wg1])===n&&Q(t,e,n,r)}function q(t,e){let n=t[o.Wg1];(3&n)===e&&(n&=16383,n+=1,t[o.Wg1]=n)}function Q(t,e,n,r){const i=r??-1,s=e.length-1;let a=0;for(let l=void 0!==r?65535&t[o.wVl]:0;l<s;l++)if("number"==typeof e[l+1]){if(a=e[l],null!=r&&a>=r)break}else e[l]<0&&(t[o.wVl]+=65536),(a<i||-1==i)&&(X(t,n,e,l),t[o.wVl]=(4294901760&t[o.wVl])+l+2),l++}function Z(t,e){H(V.LifecycleHookStart,t,e);const n=(0,i.Ht)(null);try{e.call(t)}finally{(0,i.Ht)(n),H(V.LifecycleHookEnd,t,e)}}function X(t,e,n,r){const i=n[r]<0,s=n[r+1],a=t[i?-n[r]:n[r]];i?t[o.Wg1]>>14<t[o.wVl]>>16&&(3&t[o.Wg1])===e&&(t[o.Wg1]+=16384,Z(a,s)):Z(a,s)}class Y{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n,r){this.factory=t,this.name=r,this.canSeeViewProviders=e,this.injectImpl=n}}function K(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function J(t){return 3===t||4===t||6===t}function tt(t){return 64===t.charCodeAt(0)}function et(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?n=o:0===n||nt(t,n,o,0,-1===n||2===n?e[++r]:null)}}return t}function nt(t,e,n,r,o){let i=0,s=t.length;if(-1===e)s=-1;else for(;i<t.length;){const n=t[i++];if("number"==typeof n){if(n===e){s=-1;break}if(n>e){s=i-1;break}}}for(;i<t.length;){const e=t[i];if("number"==typeof e)break;if(e===n)return void(null!==o&&(t[i+1]=o));i++,null!==o&&i++}-1!==s&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,n),null!==o&&t.splice(i++,0,o)}function rt(t){return-1!==t}function ot(t){return 32767&t}function it(t,e){let n=function(t){return t>>16}(t),r=e;for(;n>0;)r=r[o.X5O],n--;return r}let st=!0;function at(t){const e=st;return st=t,e}let lt=0;const ct={};function ut(t,e){const n=ht(t,e);if(-1!==n)return n;const r=e[o.eDl];r.firstCreatePass&&(t.injectorIndex=e.length,dt(r.data,t),dt(e,null),dt(r.blueprint,null));const i=pt(t,e),s=t.injectorIndex;if(rt(i)){const t=ot(i),n=it(i,e),r=n[o.eDl].data;for(let o=0;o<8;o++)e[s+o]=n[t+o]|r[t+o]}return e[s+8]=i,s}function dt(t,e){t.push(0,0,0,0,0,0,0,0,e)}function ht(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function pt(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){if(r=At(i),null===r)return-1;if(n++,i=i[o.X5O],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ft(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(o.p9y)&&(r=n[o.p9y]),null==r&&(r=n[o.p9y]=lt++);const i=255&r;e.data[t+(i>>5)]|=1<<i}(t,e,n)}function gt(t,e,n){if(8&n||void 0!==t)return t;(0,o.$Hz)(e,"NodeInjector")}function mt(t,e,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const i=t[o.YEL],s=(0,o.a2B)(void 0);try{return i?i.get(e,r,8&n):(0,o.MzJ)(e,r,8&n)}finally{(0,o.a2B)(s)}}return gt(r,e,n)}function yt(t,e,n,r=0,i){if(null!==t){if(2048&e[o.Wg1]&&!(2&r)){const i=function(t,e,n,r,i){let s=t,a=e;for(;null!==s&&null!==a&&2048&a[o.Wg1]&&!(0,o.EFk)(a);){const t=bt(s,a,n,2|r,ct);if(t!==ct)return t;let e=s.parent;if(!e){const t=a[o.oMQ];if(t){const e=t.get(n,ct,-5&r);if(e!==ct)return e}e=At(a),a=a[o.X5O]}s=e}return i}(t,e,n,r,ct);if(i!==ct)return i}const i=bt(t,e,n,r,ct);if(i!==ct)return i}return mt(e,n,r,i)}function bt(t,e,n,r,i){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(o.p9y)?t[o.p9y]:void 0;return"number"==typeof e?e>=0?255&e:xt:e}(n);if("function"==typeof s){if(!(0,o.ihb)(e,t,r))return 1&r?gt(i,n,r):mt(e,n,r,i);try{let t;if(t=s(r),null!=t||8&r)return t;(0,o.$Hz)(n)}finally{(0,o.niQ)()}}else if("number"==typeof s){let i=null,a=ht(t,e),l=-1,c=1&r?e[o.b5C][o.qlT]:null;for((-1===a||4&r)&&(l=-1===a?pt(t,e):e[a+8],-1!==l&&_t(r,!1)?(i=e[o.eDl],a=ot(l),e=it(l,e)):a=-1);-1!==a;){const t=e[o.eDl];if(Ct(s,a,t.data)){const t=vt(a,e,n,i,r,c);if(t!==ct)return t}l=e[a+8],-1!==l&&_t(r,e[o.eDl].data[a+8]===c)&&Ct(s,a,e)?(i=t,a=ot(l),e=it(l,e)):a=-1}}return i}function vt(t,e,n,r,i,s){const a=e[o.eDl],l=a.data[t+8],c=wt(l,a,n,null==r?(0,o.Qs1)(l)&&st:r!=a&&!!(3&l.type),1&i&&s===l);return null!==c?St(e,a,c,l,i):ct}function wt(t,e,n,r,i){const s=t.providerIndexes,a=e.data,l=1048575&s,c=t.directiveStart,u=s>>20,d=i?l+u:t.directiveEnd;for(let t=r?l:l+u;t<d;t++){const e=a[t];if(t<c&&n===e||t>=c&&e.type===n)return t}if(i){const t=a[c];if(t&&(0,o.JlV)(t)&&t.type===n)return c}return null}function St(t,e,n,r,i){let s=t[n];const a=e.data;if(s instanceof Y){const l=s;if(l.resolving)throw(0,o.PQT)("");const c=at(l.canSeeViewProviders);l.resolving=!0;const u=l.injectImpl?(0,o.a2B)(l.injectImpl):null;(0,o.ihb)(t,r,0);try{s=t[n]=l.factory(void 0,i,a,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){const r=N(e);(n.preOrderHooks??=[]).push(t,r),(n.preOrderCheckHooks??=[]).push(t,r)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}(n,a[n],e)}finally{null!==u&&(0,o.a2B)(u),at(c),l.resolving=!1,(0,o.niQ)()}}return s}function Ct(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function _t(t,e){return!(2&t||1&t&&e)}class kt{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return yt(this._tNode,this._lView,t,(0,o.hjC)(n),e)}}function xt(){return new kt((0,o.Mx4)(),(0,o.OAn)())}function Tt(t){return c(()=>{const e=t.prototype.constructor,n=e[o.zSs]||Et(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[o.zSs]||Et(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}function Et(t){return(0,o.Jzi)(t)?()=>{const e=Et((0,o.nl4)(t));return e&&e()}:(0,o.wGu)(t)}function At(t){const e=t[o.eDl],n=e.type;return 2===n?e.declTNode:1===n?t[o.qlT]:null}function It(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const o=n[r];if(J(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(o===e)return n[r+1];r+=2}}}return null}((0,o.Mx4)(),t)}const Ot=g("Attribute",t=>({attributeName:t,__NG_ELEMENT_ID__:()=>It(t)}));let Lt=null;function Dt(t){return Pt((Lt=Lt||new I).parameters(t))}function Pt(t){return t.map(t=>function(t){const e={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let n=0;n<t.length;n++){const r=t[n];if(void 0===r)continue;const i=Object.getPrototypeOf(r);if(r instanceof y||"Optional"===i.ngMetadataName)e.optional=!0;else if(r instanceof v||"SkipSelf"===i.ngMetadataName)e.skipSelf=!0;else if(r instanceof b||"Self"===i.ngMetadataName)e.self=!0;else if(r instanceof w||"Host"===i.ngMetadataName)e.host=!0;else if(r instanceof m)e.token=r.token;else if(r instanceof Ot){if(void 0===r.attributeName)throw new o.buA(-204,!1);e.attribute=r.attributeName}else e.token=r}else e.token=void 0===t||Array.isArray(t)&&0===t.length?null:t;return e}(t))}const Rt=(0,o.kLh)({provide:String,useValue:o.kLh});function Nt(t){return void 0!==t.useClass}function Mt(t){return void 0!==t.useFactory}const jt=p("Injectable",void 0,void 0,0,(t,e)=>function(t,e){let n=null,r=null;t.hasOwnProperty(o.yAH)||Object.defineProperty(t,o.yAH,{get:()=>(null===n&&(n=S().compileInjectable(C,`ng:///${t.name}/ɵprov.js`,function(t,e){const n=e||{providedIn:null},r={name:t.name,type:t,typeArgumentCount:0,providedIn:n.providedIn};return(Nt(n)||Mt(n))&&void 0!==n.deps&&(r.deps=Pt(n.deps)),Nt(n)?r.useClass=n.useClass:function(t){return Rt in t}(n)?r.useValue=n.useValue:Mt(n)?r.useFactory=n.useFactory:function(t){return void 0!==t.useExisting}(n)&&(r.useExisting=n.useExisting),r}(t,e))),n)}),t.hasOwnProperty(o.zSs)||Object.defineProperty(t,o.zSs,{get:()=>{if(null===r){const e=S();r=e.compileFactory(C,`ng:///${t.name}/ɵfac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:Dt(t),target:e.FactoryTarget.Injectable})}return r},configurable:!0})}(t,e));function Ft(){return $t((0,o.Mx4)(),(0,o.OAn)())}function $t(t,e){return new zt((0,o.d31)(t,e))}let zt=class{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=Ft};function Ht(t){return t instanceof zt?t.nativeElement:t}function Bt(){return this._results[Symbol.iterator]()}class Vt{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new s.B}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const n=(0,o.Bqz)(t);(this._changesDetected=!(0,o.ng7)(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Bt}function Ut(t){return!(128&~t.flags)}var Wt=function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t}(Wt||{});const Gt=new Map;let qt=0;function Qt(t){Gt.delete(t[o.ID])}const Zt="__ngContext__";function Xt(t,e){(0,o.q$2)(e)?(t[Zt]=e[o.ID],function(t){Gt.set(t[o.ID],t)}(e)):t[Zt]=e}function Yt(t){return Jt(t[o.EJG])}function Kt(t){return Jt(t[o.K29])}function Jt(t){for(;null!==t&&!(0,o.A0l)(t);)t=t[o.K29];return t}let te;function ee(t){te=t}function ne(){if(void 0!==te)return te;if(typeof document<"u")return document;throw new o.buA(210,!1)}const re=new o.nKC("",{factory:()=>oe}),oe="ng",ie={provide:o.Z63,multi:!0,useValue:()=>{const t=(0,o.WQX)(re);if(!/^[a-zA-Z0-9\-_]+$/.test(t))throw new o.buA(211,`APP_ID value "${t}" is not alphanumeric. The APP_ID must be a string of alphanumeric characters. (a-zA-Z0-9), hyphens (-) and underscores (_) are allowed.`)}},se=new o.nKC(""),ae=new o.nKC("",{providedIn:"platform",factory:()=>"unknown"}),le=new o.nKC(""),ce=new o.nKC("",{factory:()=>(0,o.WQX)(o.qQL).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ue={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},de=new o.nKC("",{factory:()=>ue});let he=(()=>{class t{static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>{const e=new t;return e.store=function(t,e){const n=t.getElementById(e+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return{}}((0,o.WQX)(o.qQL),(0,o.WQX)(re)),e}});store={};onSerializeCallbacks={};get(t,e){return void 0!==this.store[t]?this.store[t]:e}set(t,e){this.store[t]=e}remove(t){delete this.store[t]}hasKey(t){return this.store.hasOwnProperty(t)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(t,e){this.onSerializeCallbacks[t]=e}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}return t})();const pe=new o.nKC(""),fe=new o.nKC("",{factory:()=>!1}),ge=new o.nKC(""),me=new o.nKC(""),ye={passive:!0,capture:!0},be=new WeakMap,ve=new WeakMap,we=new WeakMap,Se=["click","keydown"],Ce=["mouseenter","mouseover","focusin"],_e=new Map;class ke{callbacks=new Set;listener=()=>{for(const t of this.callbacks)t()}}function xe(t,e){let n=ve.get(t);if(!n){n=new ke,ve.set(t,n);for(const e of Se)t.addEventListener(e,n.listener,ye)}return n.callbacks.add(e),()=>{const{callbacks:r,listener:o}=n;if(r.delete(e),0===r.size){ve.delete(t);for(const e of Se)t.removeEventListener(e,o,ye)}}}function Te(t,e){let n=be.get(t);if(!n){n=new ke,be.set(t,n);for(const e of Ce)t.addEventListener(e,n.listener,ye)}return n.callbacks.add(e),()=>{const{callbacks:r,listener:o}=n;if(r.delete(e),0===r.size){for(const e of Ce)t.removeEventListener(e,o,ye);be.delete(t)}}}function Ee(t){return t?`${t.rootMargin}/${"number"==typeof t.threshold?t.threshold:t.threshold?.join("\n")}`:""}const Ae=new WeakMap,Ie=new o.nKC("");function Oe(t){return!(32&~t.flags)}function Le(t){let e=t._lView;return 2===e[o.eDl].type?null:((0,o.EFk)(e)&&(e=e[o.Yw1]),e)}function De(t){return t.get(ge,!1,{optional:!0})}function Pe(t,e){const n=t.contentQueries;if(null!==n){const r=(0,i.Ht)(null);try{for(let r=0;r<n.length;r+=2){const i=n[r+1];if(-1!==i){const s=t.data[i];(0,o.GA0)(n[r]),s.contentQueries(2,e[i],i)}}}finally{(0,i.Ht)(r)}}}function Re(t,e,n){(0,o.GA0)(0);const r=(0,i.Ht)(null);try{e(t,n)}finally{(0,i.Ht)(r)}}function Ne(t,e,n){if((0,o.srX)(e)){const r=(0,i.Ht)(null);try{const r=e.directiveEnd;for(let o=e.directiveStart;o<r;o++){const e=t.data[o];e.contentQueries&&e.contentQueries(1,n[o],o)}}finally{(0,i.Ht)(r)}}}var Me=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t}(Me||{});let je,Fe;function $e(){if(void 0===je&&(je=null,o.laP.trustedTypes))try{je=o.laP.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return je}function ze(t){return $e()?.createHTML(t)||t}function He(){if(void 0===Fe&&(Fe=null,o.laP.trustedTypes))try{Fe=o.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Fe}function Be(t){return He()?.createHTML(t)||t}function Ve(t){return He()?.createScript(t)||t}function Ue(t){return He()?.createScriptURL(t)||t}class We{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${o.ok8})`}}function Ge(t){return t instanceof We?t.changingThisBreaksApplicationSecurity:t}function qe(t,e){const n=function(t){return t instanceof We&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${o.ok8})`)}return n===e}function Qe(t){const e=new Xe(t);return function(){try{return!!(new window.DOMParser).parseFromString(ze(""),"text/html")}catch{return!1}}()?new Ze(e):e}class Ze{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(ze(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}}class Xe{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=ze(t),e}}const Ye=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ke(t){return(t=String(t)).match(Ye)?t:"unsafe:"+t}function Je(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function tn(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const en=Je("area,br,col,hr,img,wbr"),nn=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rn=Je("rp,rt"),on=tn(en,tn(nn,Je("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")),tn(rn,Je("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")),tn(rn,nn)),sn=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),an=tn(sn,Je("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"),Je("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")),ln=Je("script,style,template");class cn{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let e=t.firstChild,n=!0,r=[];for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)r.push(e),e=dn(e);else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=un(e);if(t){e=t;break}e=r.pop()}return this.buf.join("")}startElement(t){const e=hn(t).toLowerCase();if(!on.hasOwnProperty(e))return this.sanitizedSomething=!0,!ln.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let t=0;t<n.length;t++){const e=n.item(t),r=e.name,o=r.toLowerCase();if(!an.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let i=e.value;sn[o]&&(i=Ke(i)),this.buf.push(" ",r,'="',mn(i),'"')}return this.buf.push(">"),!0}endElement(t){const e=hn(t).toLowerCase();on.hasOwnProperty(e)&&!en.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(mn(t))}}function un(t){const e=t.nextSibling;if(e&&t!==e.previousSibling)throw pn(e);return e}function dn(t){const e=t.firstChild;if(e&&function(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,e))throw pn(e);return e}function hn(t){const e=t.nodeName;return"string"==typeof e?e:"FORM"}function pn(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const fn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gn=/([^\#-~ |!])/g;function mn(t){return t.replace(/&/g,"&").replace(fn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(gn,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let yn;function bn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const vn=/^>|^->|<!--|-->|--!>|<!-$/g,wn=/(<|>)/g;function Sn(t,e){return t.createText(e)}function Cn(t,e,n){t.setValue(e,n)}function _n(t,e){return t.createComment(function(t){return t.replace(vn,t=>t.replace(wn,"$1"))}(e))}function kn(t,e,n){return t.createElement(e,n)}function xn(t,e,n,r,o){t.insertBefore(e,n,r,o)}function Tn(t,e,n){t.appendChild(e,n)}function En(t,e,n,r,o){null!==r?xn(t,e,n,r,o):Tn(t,e,n)}function An(t,e,n,r){t.removeChild(null,e,n,r)}function In(t,e,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&function(t,e,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];t.setAttribute(e,s,a,i)}else{const i=o,s=n[++r];tt(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),r++}}}(t,e,r),null!==o&&function(t,e,n){""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}(t,e,o),null!==i&&function(t,e,n){t.setAttribute(e,"style",n)}(t,e,i)}var On=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t}(On||{});let Ln;function Dn(t,e,n){for(const[r,o]of n){let n=e&&"*"!==r&&"unknown"!==r?`:${e}:${r}`:r;n=n.toLowerCase();for(const e of o)Ln[`${n}|${e.toLowerCase()}`]=t}}function Pn(t){const e=zn();return e?Be(e.sanitize(On.HTML,t)||""):qe(t,"HTML")?Be(Ge(t)):function(t,e){let n=null;try{yn=yn||Qe(t);let r=e?String(e):"";n=yn.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=yn.getInertBodyElement(r)}while(r!==i);return ze((new cn).sanitizeChildren(bn(n)||n))}finally{if(n){const t=bn(n)||n;for(;t.firstChild;)t.firstChild.remove()}}}(ne(),(0,o.eFE)(t))}function Rn(t){const e=zn();return e?e.sanitize(On.STYLE,t)||"":qe(t,"Style")?Ge(t):(0,o.eFE)(t)}function Nn(t){const e=zn();return e?e.sanitize(On.URL,t)||"":qe(t,"URL")?Ge(t):Ke((0,o.eFE)(t))}function Mn(t){const e=zn();if(e)return Ue(e.sanitize(On.RESOURCE_URL,t)||"");if(qe(t,"ResourceURL"))return Ue(Ge(t));throw new o.buA(904,!1)}function jn(t){const e=zn();if(e)return Ve(e.sanitize(On.SCRIPT,t)||"");if(qe(t,"Script"))return Ve(Ge(t));throw new o.buA(905,!1)}const Fn={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function $n(t,e,n){return function(t,e){return!0===Fn[t.toLowerCase()]?.[e.toLowerCase()]?Mn:Nn}(e,n)(t)}function zn(){const t=(0,o.OAn)();return t&&t[o.M0L].sanitizer}const Hn=new Set(["href","xlink:href"]),Bn={iframe:{sandbox:!0,allow:!0,allowfullscreen:!0,referrerpolicy:!0,csp:!0,fetchpriority:!0},":svg:animate":{attributename:!0,to:Hn,values:Hn,from:Hn},":svg:set":{attributename:!0,to:Hn},":svg:animatemotion":{attributename:!0},":svg:animatetransform":{attributename:!0}};function Vn(t,e,n){const r=e.toLowerCase(),i=n.toLowerCase(),s=-1===(0,o._px)()?null:(0,o.CpD)();if(s&&2!==s.type)return t;const a=":"!==r[0]&&s?.namespace?`:${s.namespace}:${r}`:r,l=Bn[a]?.[i];if(!l)return t;const c=(0,o.OAn)();if(s&&"iframe"===r&&function(t){const e=(0,o.OAn)();t.src="",t.srcdoc=ze(""),An(e[o.GpT],t)}((0,o.d31)(s,c)),":"===e[0]&&e.split(":").pop(),"boolean"!=typeof l){if(!s)throw new o.buA(-910,!1);const e=(0,o.d31)(s,c).getAttribute("attributeName");if(e&&l.has(e.toLowerCase()))throw new o.buA(-910,!1);return t}throw new o.buA(-910,!1)}function Un(t){return t.ownerDocument}function Wn(t){return t instanceof Function?t():t}function Gn(t){if(qn(t),!(0,o.xUg)(t).standalone)throw new o.buA(907,`The ${(0,o.PP7)(t)} component is not marked as standalone, but Angular expects to have a standalone component here. Please make sure the ${(0,o.PP7)(t)} component does not have the \`standalone: false\` flag in the decorator.`)}function qn(t){if(!(0,o.xUg)(t))throw new o.buA(906,`The ${(0,o.PP7)(t)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function Qn(t,e,n){let r=t.length;for(;;){const o=t.indexOf(e,n);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const n=e.length;if(o+n===r||t.charCodeAt(o+n)<=32)return o}n=o+1}}const Zn="ng-template";function Xn(t,e,n,r){let o=0;if(r){for(;o<e.length&&"string"==typeof e[o];o+=2)if("class"===e[o]&&-1!==Qn(e[o+1].toLowerCase(),n,0))return!0}else if(Yn(t))return!1;if(o=e.indexOf(1,o),o>-1){let t;for(;++o<e.length&&"string"==typeof(t=e[o]);)if(t.toLowerCase()===n)return!0}return!1}function Yn(t){return 4===t.type&&t.value!==Zn}function Kn(t,e,n){return e===(4!==t.type||n?t.value:Zn)}function Jn(t,e,n){let r=4;const o=t.attrs,i=null!==o?function(t){for(let e=0;e<t.length;e++)if(J(t[e]))return e;return t.length}(o):0;let s=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!Kn(t,l,n)||""===l&&1===e.length){if(tr(r))return!1;s=!0}}else if(8&r){if(null===o||!Xn(t,o,l,n)){if(tr(r))return!1;s=!0}}else{const c=e[++a],u=er(l,o,Yn(t),n);if(-1===u){if(tr(r))return!1;s=!0;continue}if(""!==c){let t;if(t=u>i?"":o[u+1].toLowerCase(),2&r&&c!==t){if(tr(r))return!1;s=!0}}}}else{if(!s&&!tr(r)&&!tr(l))return!1;if(s&&tr(l))continue;s=!1,r=l|1&r}}return tr(r)||s}function tr(t){return!(1&t)}function er(t,e,n,r){if(null===e)return-1;let o=0;if(r||!n){let n=!1;for(;o<e.length;){const r=e[o];if(r===t)return o;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++o];for(;"string"==typeof t;)t=e[++o];continue}if(4===r)break;if(0===r){o+=4;continue}}o+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function nr(t,e,n=!1){for(let r=0;r<e.length;r++)if(Jn(t,e[r],n))return!0;return!1}function rr(t,e){t:for(let n=0;n<e.length;n++){const r=e[n];if(t.length===r.length){for(let e=0;e<t.length;e++)if(t[e]!==r[e])continue t;return!0}}return!1}function or(t,e){return t?":not("+e.trim()+")":e}function ir(t){let e=t[0],n=1,r=2,o="",i=!1;for(;n<t.length;){let s=t[n];if("string"==typeof s)if(2&r){const e=t[++n];o+="["+s+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!tr(s)&&(e+=or(i,o),o=""),r=s,i=i||!tr(r);n++}return""!==o&&(e+=or(i,o)),e}const sr={};function ar(t,e,n,r,i,s,a,l,c,u,d){const h=o.Yw1+r,p=h+i,f=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:sr);return n}(h,p),g="function"==typeof u?u():u;return f[o.eDl]={type:t,blueprint:f,template:n,queries:null,viewQuery:l,declTNode:e,data:f.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:p,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 s?s():s,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:d}}function lr(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=ar(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function cr(t,e,n,r,i,s,a,l,c,u,d){const h=e.blueprint.slice();return h[o.jgP]=i,h[o.Wg1]=1228|r,(null!==u||t&&2048&t[o.Wg1])&&(h[o.Wg1]|=2048),(0,o.HUe)(h),h[o.f7T]=h[o.X5O]=t,h[o.SKP]=n,h[o.M0L]=a||t&&t[o.M0L],h[o.GpT]=l||t&&t[o.GpT],h[o.YEL]=c||t&&t[o.YEL]||null,h[o.qlT]=s,h[o.ID]=qt++,h[o.tcA]=d,h[o.oMQ]=u,h[o.b5C]=2==e.type?t[o.b5C]:h,h}function ur(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function dr(t,e,n,r){if(0===n)return-1;const o=e.length;for(let o=0;o<n;o++)e.push(r),t.blueprint.push(r),t.data.push(null);return o}function hr(t,e){return t[o.EJG]?t[o.Yrj][o.K29]=e:t[o.EJG]=e,t[o.Yrj]=e,e}function pr(t=1){fr((0,o.klJ)(),(0,o.OAn)(),(0,o._px)()+t,!1)}function fr(t,e,n,r){if(!r)if(3&~e[o.Wg1]){const r=t.preOrderHooks;null!==r&&G(e,r,0,n)}else{const r=t.preOrderCheckHooks;null!==r&&W(e,r,n)}(0,o.ypq)(n)}var gr=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(gr||{});function mr(t,e,n,r){const o=(0,i.Ht)(null);try{const[o,s,a]=t.inputs[n];let l=null;0!==(s&gr.SignalBased)&&(l=e[o][i.bh]),null!==l&&void 0!==l.transformFn?r=l.transformFn(r):null!==a&&(r=a.call(e,r)),null!==t.setInput?t.setInput(e,l,r,n,o):D(e,l,o,r)}finally{(0,i.Ht)(o)}}var yr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(yr||{});let br;function vr(t,e){return br(t,e)}const wr=new o.nKC("",{factory:()=>!1}),Sr=new o.nKC("",{factory:()=>Cr}),Cr=4e3,_r=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function kr(t){return t[o.YEL].get(wr,!1)}function xr(t){const e=Er.get(t);if(e){for(const t of e.cleanupFns)t();Er.delete(t)}Ar.delete(t)}const Tr=()=>{},Er=new WeakMap,Ar=new WeakMap,Ir=new WeakMap,Or=new WeakSet;function Lr(t,e){const n=Ir.get(t);if(n&&n.length>0){const t=n.findIndex(t=>t===e);t>-1&&n.splice(t,1)}0===n?.length&&Ir.delete(t)}function Dr(t,e){const n=Ir.get(t);n?n.includes(e)||n.push(e):Ir.set(t,[e])}function Pr(t){const e=t[o.Isx]??={};return e.enter??=new Map}function Rr(t){const e=t[o.Isx]??={};return e.leave??=new Map}function Nr(t){const e="function"==typeof t?t():t;let n=Array.isArray(e)?e:null;return"string"==typeof e&&(n=e.trim().split(/\s+/).filter(t=>t)),n}function Mr(t){return t.composedPath?t.composedPath()[0]:t.target}function jr(t,e){const n=Ar.get(e);return void 0===n||e===Mr(t)&&(void 0!==n.animationName&&t.animationName===n.animationName||void 0!==n.propertyName&&("all"===n.propertyName||t.propertyName===n.propertyName))}function Fr(t,e,n){const r=t.get(e.index)??{animateFns:[]};r.animateFns.push(n),t.set(e.index,r)}function $r(t,e){if(t)for(const e of t)e();for(const t of e)t()}function zr(t,e){const n=Rr(t).get(e.index);n&&(n.resolvers=void 0)}function Hr(t,e,n,r,o){Lr(e,n),$r(r,o),zr(t,e)}function Br(t){if(!t)return 0;const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function Vr(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function Ur(t,e){return void 0!==t&&t.duration>e.duration}function Wr(t){return(null!=t.animationName||null!=t.propertyName)&&t.duration>0}function Gr(t,e,n){if(!n)return;const r=t.getAnimations();return 0===r.length?function(t,e){const n=getComputedStyle(t),r=function(t){const e=Vr(t,"animation-name"),n=Vr(t,"animation-delay"),r=Vr(t,"animation-duration"),o=Vr(t,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let t=0;t<e.length;t++){const s=Br(n[t])+Br(r[t]);s>i.duration&&"infinite"!==o[t]&&(i.animationName=e[t],i.duration=s)}return i}(n),o=function(t){const e=Vr(t,"transition-property"),n=Vr(t,"transition-duration"),r=Vr(t,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let t=0;t<e.length;t++){const i=Br(r[t])+Br(n[t]);i>o.duration&&(o.propertyName=e[t],o.duration=i)}return o}(n),i=r.duration>o.duration?r:o;Ur(e.get(t),i)||Wr(i)&&e.set(t,i)}(t,e):function(t,e,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(const t of n){const e=t.effect?.getTiming();if(e?.iterations===1/0)continue;const n="number"==typeof e?.duration?e.duration:0;let o=(e?.delay??0)+n;const i=t.playbackRate;let s,a;void 0!==i&&0!==i&&1!==i&&(o/=Math.abs(i)),t.animationName?a=t.animationName:s=t.transitionProperty,o>=r.duration&&(r={animationName:a,propertyName:s,duration:o})}Ur(e.get(t),r)||Wr(r)&&e.set(t,r)}(t,e,r)}const qr=new Set;var Qr=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Qr||{});const Zr=new o.nKC(""),Xr=new Set;function Yr(t){Xr.has(t)||(Xr.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}let Kr=(()=>{class t{impl=null;execute(){this.impl?.execute()}static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();const Jr=[0,1,2,3];let to=(()=>{class t{ngZone=(0,o.WQX)(o.SKi);scheduler=(0,o.WQX)(o.hk6);errorHandler=(0,o.WQX)(o.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,o.WQX)(Zr,{optional:!0})}execute(){const t=this.sequences.size>0;t&&H(V.AfterRenderHooksStart),this.executing=!0;for(const t of Jr)for(const e of this.sequences)if(!e.erroredOrDestroyed&&e.hooks[t])try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,e.hooks[t])(e.pipelinedValue),e.snapshot))}catch(t){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(t)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&H(V.AfterRenderHooksEnd)}register(t){const{view:e}=t;void 0!==e?((e[o.JEi]??=[]).push(t),(0,o.blu)(e),e[o.Wg1]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,e){return e?e.run(Qr.AFTER_NEXT_RENDER,t):t()}static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();class eo{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,e,n,r,o,i=null){this.impl=t,this.hooks=e,this.view=n,this.once=r,this.snapshot=i,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[o.JEi];t&&(this.view[o.JEi]=t.filter(t=>t!==this))}}function no(t,e){const n=e?.injector??(0,o.WQX)(o.zZn);return Yr("NgAfterNextRender"),ro(t,n,e,!0)}function ro(t,e,n,r){const i=e.get(Kr);i.impl??=e.get(to);const s=e.get(Zr,null,{optional:!0}),a=!0!==n?.manualCleanup?e.get(o.abz):null,l=e.get(o.r4V,null,{optional:!0}),c=new eo(i.impl,function(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t),l?.view,r,a,s?.snapshot(null));return i.impl.register(c),c}const oo={destroy(){}},io=new o.nKC("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:(0,o.WQX)(o.uvJ)})});function so(t,e,n){const r=t.get(io);if(Array.isArray(e))for(const t of e)r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);else r.queue.add(e),n?.detachedLeaveAnimationFns?.push(e);r.scheduler&&r.scheduler(t)}function ao(t){const e=t.get(io);e.isScheduled||(no(()=>{e.isScheduled=!1;for(let t of e.queue)t();e.queue.clear()},{injector:e.injector}),e.isScheduled=!0)}function lo(t){const e=t.get(io);e.scheduler=ao,e.scheduler(t)}function co(t,e){for(const[n,r]of e)so(t,r.animateFns)}function uo(t,e,n,r){const i=t?.[o.Isx]?.enter;null!==e&&i&&i.has(n.index)&&co(r,i)}function ho(t,e,n,r,i,s,a,l){if(null!=i){let c,u=!1;(0,o.A0l)(i)?c=i:(0,o.q$2)(i)&&(u=!0,i=i[o.jgP]);const d=(0,o.IvY)(i);0===t&&null!==r?(uo(l,r,s,n),null==a?Tn(e,r,d):xn(e,r,d,a||null,!0)):1===t&&null!==r?(uo(l,r,s,n),xn(e,r,d,a||null,!0),function(t,e){const n=Ir.get(t);if(!n||0===n.length)return;const r=e.parentNode,o=e.previousSibling;for(let t=n.length-1;t>=0;t--){const i=n[t],s=i.parentNode;i===e?(n.splice(t,1),Or.add(i),i.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&i===o||s&&r&&s!==r)&&(n.splice(t,1),i.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),i.parentNode?.removeChild(i))}}(s,d)):2===t?(l?.[o.Isx]?.leave?.has(s.index)&&Dr(s,d),Or.delete(d),bo(l,s,n,t=>{Or.has(d)?Or.delete(d):An(e,d,u,t)})):3===t&&(Or.delete(d),bo(l,s,n,()=>{e.destroyNode(d)})),null!=c&&function(t,e,n,r,i,s,a){const l=r[o.s6P];l!==(0,o.IvY)(r)&&ho(e,t,n,s,l,i,a);for(let n=o.Y20;n<r.length;n++){const i=r[n];Lo(i[o.eDl],i,t,e,s,l)}}(e,t,n,c,s,r,a)}}function po(t,e){fo(t,e),e[o.jgP]=null,e[o.qlT]=null}function fo(t,e){e[o.M0L].changeDetectionScheduler?.notify(9),Lo(t,e,e[o.GpT],2,null,null)}function go(t,e){const n=t[o.nfM],r=n.indexOf(e);n.splice(r,1)}function mo(t,e){if((0,o.EPY)(e))return;const n=e[o.GpT];n.destroyNode&&Lo(t,e,n,3,null,null),function(t){let e=t[o.EJG];if(!e)return yo(t[o.eDl],t);for(;e;){let n=null;if((0,o.q$2)(e))n=e[o.EJG];else{const t=e[o.Y20];t&&(n=t)}if(!n){for(;e&&!e[o.K29]&&e!==t;)(0,o.q$2)(e)&&yo(e[o.eDl],e),e=e[o.f7T];null===e&&(e=t),(0,o.q$2)(e)&&yo(e[o.eDl],e),n=e&&e[o.K29]}e=n}}(e)}function yo(t,e){if((0,o.EPY)(e))return;const n=(0,i.Ht)(null);try{e[o.Wg1]&=-129,e[o.Wg1]|=256,e[o.Iaj]&&(0,i.XR)(e[o.Iaj]),function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let t=0;t<n.length;t+=2){const r=e[n[t]];if(!(r instanceof Y)){const e=n[t+1];if(Array.isArray(e))for(let t=0;t<e.length;t+=2){const n=r[e[t]],o=e[t+1];H(V.LifecycleHookStart,n,o);try{o.call(n)}finally{H(V.LifecycleHookEnd,n,o)}}else{H(V.LifecycleHookStart,r,e);try{e.call(r)}finally{H(V.LifecycleHookEnd,r,e)}}}}}(t,e),function(t,e){const n=t.cleanup,r=e[o.VVG];if(null!==n)for(let t=0;t<n.length-1;t+=2)if("string"==typeof n[t]){const e=n[t+3];e>=0?r[e]():r[-e].unsubscribe(),t+=2}else n[t].call(r[n[t+1]]);null!==r&&(e[o.VVG]=null);const i=e[o.Czx];if(null!==i){e[o.Czx]=null;for(let t=0;t<i.length;t++)(0,i[t])()}const s=e[o.tQN];if(null!==s){e[o.tQN]=null;for(const t of s)t.destroy()}}(t,e),1===e[o.eDl].type&&e[o.GpT].destroy();const n=e[o.rQE];if(null!==n&&(0,o.A0l)(e[o.f7T])){n!==e[o.f7T]&&go(n,e);const r=e[o.Ds7];null!==r&&r.detachView(t)}Qt(e)}finally{(0,i.Ht)(n)}}function bo(t,e,n,r){const i=t?.[o.Isx];if(null==i||null==i.leave||!i.leave.has(e.index))return r(!1);t&&qr.add(t[o.ID]),so(n,()=>{if(i.leave&&i.leave.has(e.index)){const n=i.leave.get(e.index),s=[];if(n){for(let t=0;t<n.animateFns.length;t++){const e=n.animateFns[t],{promise:r}=e();s.push(r)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(s),function(t,e){const n=t[o.Isx]?.running;n?n.then(()=>{t[o.Isx].running=void 0,qr.delete(t[o.ID]),e(!0)}):e(!1)}(t,r)}else t&&qr.delete(t[o.ID]),r(!1)},i)}function vo(t,e,n){return wo(t,e.parent,n)}function wo(t,e,n){let r=e;for(;null!==r&&168&r.type;)r=(e=r).parent;if(null===r)return n[o.jgP];if((0,o.Qs1)(r)){const{encapsulation:e}=t.data[r.directiveStart+r.componentOffset];if(e===Me.None||e===Me.Emulated)return null}return(0,o.d31)(r,n)}function So(t,e,n){return ko(t,e,n)}function Co(t,e,n){return 40&t.type?(0,o.d31)(t,n):null}let _o,ko=Co;function xo(t,e){ko=t,_o=e}function To(t,e,n,r){const i=vo(t,r,e),s=e[o.GpT],a=So(r.parent||e[o.qlT],r,e);if(null!=i)if(Array.isArray(n))for(let t=0;t<n.length;t++)En(s,i,n[t],a,!1);else En(s,i,n,a,!1);void 0!==_o&&_o(s,r,e,n,i)}function Eo(t,e){if(null!==e){const n=e.type;if(3&n)return(0,o.d31)(e,t);if(4&n)return Io(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return Eo(t,n);{const n=t[e.index];return(0,o.A0l)(n)?Io(-1,n):(0,o.IvY)(n)}}if(128&n)return Eo(t,e.next);if(32&n)return vr(e,t)()||(0,o.IvY)(t[e.index]);{const n=Ao(t,e);return null!==n?Array.isArray(n)?n[0]:Eo((0,o._0$)(t[o.b5C]),n):Eo(t,e.next)}}return null}function Ao(t,e){return null!==e?t[o.b5C][o.qlT].projection[e.projection]:null}function Io(t,e){const n=o.Y20+t+1;if(n<e.length){const t=e[n],r=t[o.eDl].firstChild;if(null!==r)return Eo(t,r)}return e[o.s6P]}function Oo(t,e,n,r,i,s,a){for(;null!=n;){const l=r[o.YEL];if(128===n.type){n=n.next;continue}const c=r[n.index],u=n.type;if(a&&0===e&&(c&&Xt((0,o.IvY)(c),r),n.flags|=2),!Oe(n))if(8&u)Oo(t,e,n.child,r,i,s,!1),ho(e,t,l,i,c,n,s,r);else if(32&u){const o=vr(n,r);let a;for(;a=o();)ho(e,t,l,i,a,n,s,r);ho(e,t,l,i,c,n,s,r)}else 16&u?Do(t,e,r,n,i,s):ho(e,t,l,i,c,n,s,r);n=a?n.projectionNext:n.next}}function Lo(t,e,n,r,o,i){Oo(n,r,t.firstChild,e,o,i,!1)}function Do(t,e,n,r,i,s){const a=n[o.b5C],l=a[o.qlT].projection[r.projection];if(Array.isArray(l))for(let a=0;a<l.length;a++)ho(e,t,n[o.YEL],i,l[a],r,s,n);else{let n=l;const c=a[o.f7T];Ut(r)&&(n.flags|=128),Oo(t,e,n,c,i,s,!0)}}function Po(t,e,n,r,i){const s=(0,o._px)(),a=2&r;try{(0,o.ypq)(-1),a&&e.length>o.Yw1&&fr(t,e,o.Yw1,!1),H(a?V.TemplateUpdateStart:V.TemplateCreateStart,i,n),n(r,i)}finally{(0,o.ypq)(s),H(a?V.TemplateUpdateEnd:V.TemplateCreateEnd,i,n)}}function Ro(t,e,n){(function(t,e,n){const r=n.directiveStart,i=n.directiveEnd;(0,o.Qs1)(n)&&function(t,e,n){const r=(0,o.d31)(e,t),i=lr(n),s=t[o.M0L].rendererFactory,a=hr(t,cr(t,i,null,ur(n),r,e,null,s.createRenderer(r,n),null,null,null));t[e.index]=a}(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||ut(n,e);const s=n.initialInputs;for(let a=r;a<i;a++){const i=t.data[a],l=St(e,t,a,n);Xt(l,e),null!==s&&Bo(0,a-r,l,i,0,s),(0,o.JlV)(i)&&((0,o.KdJ)(n.index,e)[o.SKP]=St(e,t,a,n))}})(t,e,n),!(64&~n.flags)&&function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=(0,o.Z9v)();try{(0,o.ypq)(s);for(let n=r;n<i;n++){const r=t.data[n],i=e[n];(0,o.RZ9)(n),(null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs)&&$o(r,i)}}finally{(0,o.ypq)(-1),(0,o.RZ9)(a)}}(t,e,n)}function No(t,e,n=o.d31){const r=e.localNames;if(null!==r){let o=e.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(e,t):t[s];t[o++]=a}}}function Mo(t,e,n,r,i,s){qo(t,e[o.eDl],e,n,r)?(0,o.Qs1)(t)&&Fo(e,t.index):(3&t.type&&(n=function(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(n)),jo(t,e,n,r,i,s))}function jo(t,e,n,r,i,s){if(3&t.type){const a=(0,o.d31)(t,e);r=null!=s?s(r,t.value||"",n):r,i.setProperty(a,n,r)}}function Fo(t,e){const n=(0,o.KdJ)(e,t);16&n[o.Wg1]||(n[o.Wg1]|=64)}function $o(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function zo(t,e){const n=t.directiveRegistry;let r=null;if(n)for(let t=0;t<n.length;t++){const i=n[t];nr(e,i.selectors,!1)&&(r??=[],(0,o.JlV)(i)?r.unshift(i):r.push(i))}return r}function Ho(t,e,n,r,i,s,a){if(null==s)t.removeAttribute(e,i,n);else{const l=null==a?(0,o.eFE)(s):a(s,r||"",i);t.setAttribute(e,i,l,n)}}function Bo(t,e,n,r,o,i){const s=i[e];if(null!==s)for(let t=0;t<s.length;t+=2)mr(r,n,s[t],s[t+1])}function Vo(t,e,n,r,i){const s=o.Yw1+n,a=e[o.eDl],l=i(a,e,t,r,n);e[s]=l,(0,o.iMd)(t,!0);const c=2===t.type;return c?(In(e[o.GpT],l,t),(0===(0,o.znI)()||(0,o.yoD)(t))&&Xt(l,e),(0,o.Fje)()):Xt(l,e),(0,o.SX7)()&&(!c||!Oe(t))&&To(a,e,l,t),t}function Uo(t){let e=t;return(0,o.YWB)()?(0,o.Pfq)():(e=e.parent,(0,o.iMd)(e,!1)),e}function Wo(t,e,n){return(null===t||(0,o.JlV)(t))&&(n=(0,o.zAe)(n[e.index])),n[o.GpT]}function Go(t,e){const n=t[o.YEL];if(!n)return;let r;try{r=n.get(o.ZTf,null)}catch{r=null}r?.(e)}function qo(t,e,n,r,o){const i=t.inputs?.[r],s=t.hostDirectiveInputs?.[r];let a=!1;if(s)for(let t=0;t<s.length;t+=2){const r=s[t];mr(e.data[r],n[r],s[t+1],o),a=!0}if(i)for(const t of i)mr(e.data[t],n[t],r,o),a=!0;return a}function Qo(t,e){const n=(0,o.KdJ)(e,t),r=n[o.eDl];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),null!==n[o.jgP]&&null===n[o.tcA]&&(n[o.tcA]=null),H(V.ComponentStart);try{Zo(r,n,n[o.SKP])}finally{H(V.ComponentEnd,n[o.SKP])}}function Zo(t,e,n){(0,o.ID8)(e);try{const r=t.viewQuery;null!==r&&Re(1,r,n);const i=t.template;null!==i&&Po(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[o.Ds7]?.finishViewCreation(t),t.staticContentQueries&&Pe(t,e),t.staticViewQueries&&Re(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)Qo(t,e[n])}(e,s)}catch(e){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),e}finally{e[o.Wg1]&=-5,(0,o.bll)()}}function Xo(t,e,n,r){const s=(0,i.Ht)(null);try{const i=e.tView,s=cr(t,i,n,4096&t[o.Wg1]?4096:16,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);s[o.rQE]=t[e.index];const a=t[o.Ds7];return null!==a&&(s[o.Ds7]=a.createEmbeddedView(i)),Zo(i,s,n),s}finally{(0,i.Ht)(s)}}function Yo(t,e){return!e||null===e.firstChild||Ut(t)}function Ko(t,e,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const s=e[n.index];null!==s&&r.push((0,o.IvY)(s)),(0,o.A0l)(s)&&Jo(s,r);const a=n.type;if(8&a)Ko(t,e,n.child,r);else if(32&a){const t=vr(n,e);let o;for(;o=t();)r.push(o)}else if(16&a){const t=Ao(e,n);if(Array.isArray(t))r.push(...t);else{const n=(0,o._0$)(e[o.b5C]);Ko(n[o.eDl],n,t,r,!0)}}n=i?n.projectionNext:n.next}return r}function Jo(t,e){for(let n=o.Y20;n<t.length;n++){const r=t[n],i=r[o.eDl].firstChild;null!==i&&Ko(r[o.eDl],r,i,e)}t[o.s6P]!==t[o.jgP]&&e.push(t[o.s6P])}function ti(t){if(null!==t[o.JEi]){for(const e of t[o.JEi])e.impl.addSequence(e);t[o.JEi].length=0}}let ei=[];const ni={...i.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{(0,o.blu)(t.lView)},consumerOnSignalRead(){this.lView[o.Iaj]=this}},ri={...i.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=(0,o._0$)(t.lView);for(;e&&!oi(e[o.eDl]);)e=(0,o._0$)(e);e&&(0,o.HAh)(e)},consumerOnSignalRead(){this.lView[o.Iaj]=this}};function oi(t){return 2!==t.type}function ii(t){if(null===t[o.tQN])return;let e=!0;for(;e;){let n=!1;for(const e of t[o.tQN])e.dirty&&(n=!0,null===e.zone||Zone.current===e.zone?e.run():e.zone.run(()=>e.run()));e=n&&!!(8192&t[o.Wg1])}}function si(t,e=0){const n=t[o.M0L].rendererFactory;n.begin?.();try{!function(t,e){const n=(0,o.yP_)();try{(0,o.cBl)(!0),di(t,e);let n=0;for(;(0,o.dMS)(t);){if(100===n)throw new o.buA(103,!1);n++,di(t,1)}}finally{(0,o.cBl)(n)}}(t,e)}finally{n.end?.()}}function ai(t,e,n,r){if((0,o.EPY)(e))return;const s=e[o.Wg1];(0,o.ID8)(e);let a=!0,l=null,c=null;oi(t)?(c=function(t){return t[o.Iaj]??function(t){const e=ei.pop()??Object.create(ni);return e.lView=t,e}(t)}(e),l=(0,i.Bg)(c)):null===(0,i.nR)()?(a=!1,c=function(t){const e=t[o.Iaj]??Object.create(ri);return e.lView=t,e}(e),l=(0,i.Bg)(c)):e[o.Iaj]&&((0,i.XR)(e[o.Iaj]),e[o.Iaj]=null);try{(0,o.HUe)(e),(0,o.Kw3)(t.bindingStartIndex),null!==n&&Po(t,e,n,2,r);const i=!(3&~s);if(i){const n=t.preOrderCheckHooks;null!==n&&W(e,n,null)}else{const n=t.preOrderHooks;null!==n&&G(e,n,0,null),q(e,0)}if(function(t){for(let e=Yt(t);null!==e;e=Kt(e)){if(!(2&e[o.Wg1]))continue;const t=e[o.nfM];for(let e=0;e<t.length;e++)(0,o.HAh)(t[e])}}(e),ii(e),li(e,0),null!==t.contentQueries&&Pe(t,e),i){const n=t.contentCheckHooks;null!==n&&W(e,n)}else{const n=t.contentHooks;null!==n&&G(e,n,1),q(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const r=n[t];if(r<0)(0,o.ypq)(~r);else{const i=r,s=n[++t],a=n[++t];(0,o.vQI)(s,i);const l=e[i];H(V.HostBindingsUpdateStart,l);try{a(2,l)}finally{H(V.HostBindingsUpdateEnd,l)}}}}finally{(0,o.ypq)(-1)}}(t,e);const a=t.components;null!==a&&hi(e,a,0);const l=t.viewQuery;if(null!==l&&Re(2,l,r),i){const n=t.viewCheckHooks;null!==n&&W(e,n)}else{const n=t.viewHooks;null!==n&&G(e,n,2),q(e,2)}if(!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),e[o.pcR]){for(const t of e[o.pcR])t();e[o.pcR]=null}ti(e),e[o.Wg1]&=-73}catch(t){throw(0,o.blu)(e),t}finally{null!==c&&((0,i.Wu)(c,l),a&&function(t){t.lView[o.Iaj]!==t&&(t.lView=null,ei.push(t))}(c)),(0,o.bll)()}}function li(t,e){for(let n=Yt(t);null!==n;n=Kt(n))for(let t=o.Y20;t<n.length;t++)ui(n[t],e)}function ci(t,e,n){H(V.ComponentStart);const r=(0,o.KdJ)(e,t);try{ui(r,n)}finally{H(V.ComponentEnd,r[o.SKP])}}function ui(t,e){(0,o.F1c)(t)&&di(t,e)}function di(t,e){const n=t[o.eDl],r=t[o.Wg1],s=t[o.Iaj];let a=!!(0===e&&16&r);if(a||=!!(64&r&&0===e),a||=!!(1024&r),a||=!(!s?.dirty||!(0,i.si)(s)),a||=!1,s&&(s.dirty=!1),t[o.Wg1]&=-9217,a)ai(n,t,n.template,t[o.SKP]);else if(8192&r){const e=(0,i.Ht)(null);try{ii(t),li(t,1);const e=n.components;null!==e&&hi(t,e,1),ti(t)}finally{(0,i.Ht)(e)}}}function hi(t,e,n){for(let r=0;r<e.length;r++)ci(t,e[r],n)}function pi(t,e){const n=(0,o.yP_)()?64:1088;for(t[o.M0L].changeDetectionScheduler?.notify(e);t;){t[o.Wg1]|=n;const e=(0,o._0$)(t);if((0,o.EFk)(t)&&!e)return t;t=e}return null}function fi(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function gi(t,e){const n=o.Y20+e;if(n<t.length)return t[n]}function mi(t,e,n,r=!0){const i=e[o.eDl];if(function(t,e,n,r){const i=o.Y20+r,s=n.length;r>0&&(n[i-1][o.K29]=e),r<s-o.Y20?(e[o.K29]=n[i],(0,o.EYC)(n,o.Y20+r,e)):(n.push(e),e[o.K29]=null),e[o.f7T]=n;const a=e[o.rQE];null!==a&&n!==a&&vi(a,e);const l=e[o.Ds7];null!==l&&l.insertView(t),(0,o._gW)(e),e[o.Wg1]|=128}(i,e,t,n),r){const r=Io(n,t),s=e[o.GpT],a=s.parentNode(t[o.s6P]);null!==a&&function(t,e,n,r,i,s){r[o.jgP]=i,r[o.qlT]=e,Lo(t,r,n,1,i,s)}(i,t[o.qlT],s,e,a,r)}const s=e[o.tcA];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function yi(t,e){const n=bi(t,e);return void 0!==n&&mo(n[o.eDl],n),n}function bi(t,e){if(t.length<=o.Y20)return;const n=o.Y20+e,r=t[n];if(r){const i=r[o.rQE];null!==i&&i!==t&&go(i,r),e>0&&(t[n-1][o.K29]=r[o.K29]);const s=(0,o.E6O)(t,o.Y20+e);po(r[o.eDl],r);const a=s[o.Ds7];null!==a&&a.detachView(s[o.eDl]),r[o.f7T]=null,r[o.K29]=null,r[o.Wg1]&=-129}return r}function vi(t,e){const n=t[o.nfM],r=e[o.f7T];((0,o.q$2)(r)||e[o.b5C]!==r[o.f7T][o.b5C])&&(t[o.Wg1]|=2),null===n?t[o.nfM]=[e]:n.push(e)}class wi{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,e=t[o.eDl];return Ko(e,t,e.firstChild,[])}constructor(t,e){this._lView=t,this._cdRefInjectingView=e}get context(){return this._lView[o.SKP]}set context(t){this._lView[o.SKP]=t}get destroyed(){return(0,o.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[o.f7T];if((0,o.A0l)(t)){const e=t[o.bm_],n=e?e.indexOf(this):-1;n>-1&&(bi(t,n),(0,o.E6O)(e,n))}this._attachedToViewContainer=!1}mo(this._lView[o.eDl],this._lView)}onDestroy(t){(0,o.ik5)(this._lView,t)}markForCheck(){pi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[o.Wg1]&=-129}reattach(){(0,o._gW)(this._lView),this._lView[o.Wg1]|=128}detectChanges(){this._lView[o.Wg1]|=1024,si(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new o.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=(0,o.EFk)(this._lView),e=this._lView[o.rQE];null!==e&&!t&&go(e,this._lView),fo(this._lView[o.eDl],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new o.buA(902,!1);this._appRef=t;const e=(0,o.EFk)(this._lView),n=this._lView[o.rQE];null!==n&&!e&&vi(n,this._lView),(0,o._gW)(this._lView)}}let Si=class{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Ci;constructor(t,e,n){this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,n){const r=Xo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:n});return new wi(r)}};function Ci(){return _i((0,o.Mx4)(),(0,o.OAn)())}function _i(t,e){return 4&t.type?new Si(e,t,$t(t,e)):null}function ki(t,e,n){const r=e.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?Co(t,0,n):(0,o.IvY)(n[i])}function xi(t,e,n,r,o){const i=e.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(3&e.type||(a=s,s=o),null!==s&&-1===e.componentOffset)for(let e=1;e<i.length;e++)xn(t,s,n[i[e]],a,!1)}}function Ti(t,e,n,r,i){let s=t.data[e];if(null===s)s=Ei(t,e,n,r,i),(0,o.JjR)()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const t=(0,o.Ab)();s.injectorIndex=null===t?-1:t.injectorIndex}return(0,o.iMd)(s,!0),s}function Ei(t,e,n,r,i){const s=(0,o.veI)(),a=(0,o.YWB)(),l=t.data[e]=function(t,e,n,r,i,s){let a=e?e.injectorIndex:-1,l=0;return(0,o.KtD)()&&(l|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:l,providerIndexes:0,value:i,namespace:(0,o.UaU)(),attrs:s,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?s:s&&s.parent,n,e,r,i);return function(t,e,n,r){null===t.firstChild&&(t.firstChild=e),null!==n&&(r?null==n.child&&null!==e.parent&&(n.child=e):null===n.next&&(n.next=e,e.prev=n))}(t,l,s,a),l}function Ai(t,e){if(t.push(e),t.length>1)for(let n=t.length-2;n>=0;n--){const r=t[n];Ii(r)||Oi(r,e)&&null===Li(r)&&Di(r,e.index)}}function Ii(t){return!(64&t.type)}function Oi(t,e){return Ii(e)||t.index>e.index}function Li(t){const e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function Di(t,e){const n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(xo(ki,xi),t.insertBeforeIndex=e)}function Pi(t,e){const n=t.data[e];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Ri(t,e,n){const r=Ei(t,n,64,null,null);return Ai(e,r),r}function Ni(t,e){const n=e[t.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Mi(t){return t>>>17}function ji(t){return(131070&t)>>>1}function Fi(t,e,n){t.index=0;const r=Ni(e,n);t.removes=null!==r?e.remove[r]:o.Mlv}function $i(t){if(t.index<t.removes.length){const e=t.removes[t.index++];return e>0?t.lView[e]:(t.stack.push(t.index,t.removes),Fi(t,t.lView[o.eDl].data[~e],t.lView),$i(t))}return 0===t.stack.length?(t.lView=void 0,null):(t.removes=t.stack.pop(),t.index=t.stack.pop(),$i(t))}function zi(){const t={stack:[],index:-1};return function(e,n){for(t.lView=n;t.stack.length;)t.stack.pop();return Fi(t,e.value,n),$i.bind(null,t)}}function Hi(t,e,n){for(const r of n.node.cases[n.case]){const n=e.get(r.index-o.Yw1);n&&An(t,n,!1)}}function Bi(t){const e=t[o.qFA]??[],n=t[o.f7T][o.GpT],r=[];for(const t of e)void 0!==t.data.di?r.push(t):Ui(t,n);t[o.qFA]=r}function Vi(t){const{lContainer:e}=t,n=e[o.qFA];if(null===n)return;const r=e[o.f7T][o.GpT];for(const t of n)Ui(t,r)}function Ui(t,e){let n=0,r=t.firstChild;if(r){const o=t.data.r;for(;n<o;){const t=r.nextSibling;An(e,r,!1),r=t,n++}}}function Wi(t){Bi(t);const e=t[o.jgP];(0,o.q$2)(e)&&Gi(e);for(let e=o.Y20;e<t.length;e++)Gi(t[e])}function Gi(t){!function(t){const e=t[o.tcA];if(e){const{i18nNodes:n,dehydratedIcuData:r}=e;if(n&&r){const e=t[o.GpT];for(const t of r.values())Hi(e,n,t)}e.i18nNodes=void 0,e.dehydratedIcuData=void 0}}(t);const e=t[o.eDl];for(let n=o.Yw1;n<e.bindingStartIndex;n++)(0,o.A0l)(t[n])?Wi(t[n]):(0,o.q$2)(t[n])&&Gi(t[n])}let qi=class{},Qi=class{};class Zi{resolveComponentFactory(t){throw new o.buA(917,!1)}}let Xi=class{static NULL=new Zi};class Yi{}let Ki=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>function(){const t=(0,o.OAn)(),e=(0,o.Mx4)(),n=(0,o.KdJ)(e.index,t);return((0,o.q$2)(n)?n:t)[o.GpT]}()},Ji=(()=>{class t{static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>null})}return t})();function ts(t){return void 0!==t.ngModule}function es(t){return!!(0,o.phH)(t)}function ns(t){return!!(0,o.oyA)(t)}function rs(t){return!!(0,o.HaV)(t)}function os(t){return!!(0,o.xUg)(t)}function is(t,e){if((0,o.Jzi)(t)&&!(t=(0,o.nl4)(t)))throw new Error(`Expected forwardRef function, imported from "${(0,o.PP7)(e)}", to return a standalone entity or NgModule but got "${(0,o.PP7)(t)||t}".`);if(null==(0,o.phH)(t)){const n=(0,o.xUg)(t)||(0,o.HaV)(t)||(0,o.oyA)(t);if(null==n)throw ts(t)?new Error(`A module with providers was imported from "${(0,o.PP7)(e)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,o.PP7)(t)}" type, imported from "${(0,o.PP7)(e)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!n.standalone){const n=function(t){return(0,o.xUg)(t)?"component":(0,o.HaV)(t)?"directive":(0,o.oyA)(t)?"pipe":"type"}(t);throw new Error(`The "${(0,o.PP7)(t)}" ${n}, imported from "${(0,o.PP7)(e)}", is not standalone. Does the ${n} have the standalone: false flag?`)}}}function ss(t,e){for(const n of t)e.add(n)}const as=new class{ownerNgModule=new WeakMap;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new WeakMap;standaloneComponentsScopeCache=new WeakMap;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const e=(0,o.phH)(t);if(e?.declarations)for(const n of Wn(e.declarations))os(n)&&this.ownerNgModule.set(n,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,e){this.resolveNgModulesDecls();const n=(0,o.xUg)(t);if(null===n)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(n.standalone){const n=this.getStandaloneComponentScope(t,e);return n.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...n.compilation.directives,...n.compilation.pipes,...n.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const e=this.getNgModuleScope(this.ownerNgModule.get(t));return e.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...e.compilation.directives,...e.compilation.pipes]}}}registerNgModule(t,e){if(!es(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const e=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,e),e}computeNgModuleScope(t){const e=(0,o.WbQ)(t),n={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const t of Wn(e.imports))if(es(t)){const e=this.getNgModuleScope(t);ss(e.exported.directives,n.compilation.directives),ss(e.exported.pipes,n.compilation.pipes)}else{if(!(0,o.QuC)(t)){n.compilation.isPoisoned=!0;break}if(rs(t)||os(t))n.compilation.directives.add(t);else{if(!ns(t))throw new o.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");n.compilation.pipes.add(t)}}if(!n.compilation.isPoisoned)for(const t of Wn(e.declarations)){if(es(t)||(0,o.QuC)(t)){n.compilation.isPoisoned=!0;break}ns(t)?n.compilation.pipes.add(t):n.compilation.directives.add(t)}for(const t of Wn(e.exports))if(es(t)){const e=this.getNgModuleScope(t);ss(e.exported.directives,n.exported.directives),ss(e.exported.pipes,n.exported.pipes),ss(e.exported.directives,n.compilation.directives),ss(e.exported.pipes,n.compilation.pipes)}else ns(t)?n.exported.pipes.add(t):n.exported.directives.add(t);return n}getStandaloneComponentScope(t,e){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const n=this.computeStandaloneComponentScope(t,e);return this.standaloneComponentsScopeCache.set(t,n),n}computeStandaloneComponentScope(t,e){const n={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const r of(0,o.Bqz)(e??[])){const e=(0,o.nl4)(r);try{is(e,t)}catch{return n.compilation.isPoisoned=!0,n}if(es(e)){n.compilation.ngModules.add(e);const t=this.getNgModuleScope(e);if(t.exported.isPoisoned)return n.compilation.isPoisoned=!0,n;ss(t.exported.directives,n.compilation.directives),ss(t.exported.pipes,n.compilation.pipes)}else if(ns(e))n.compilation.pipes.add(e);else{if(!rs(e)&&!os(e))return n.compilation.isPoisoned=!0,n;n.compilation.directives.add(e)}}return n}isOrphanComponent(t){const e=(0,o.xUg)(t);return!(!e||e.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}},ls={};class cs{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){const r=this.injector.get(t,ls,n);return r!==ls||e===ls?r:this.parentInjector.get(t,e,n)}}function us(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(null!==e)for(let t=0;t<e.length;t++){const n=e[t];if("number"==typeof n)s=n;else if(1==s)i=(0,o.n$e)(i,n);else if(2==s){const i=e[++t];r=(0,o.n$e)(r,n+": "+i+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function ds(t,e=0){const n=(0,o.OAn)();return null===n?(0,o.KVO)(t,e):yt((0,o.Mx4)(),n,(0,o.nl4)(t),e)}function hs(){throw new Error("invalid")}function ps(t,e,n,r,i){const s=null===r?null:{"":-1},a=i(t,n);if(null!==a){let r=a,i=null,l=null;for(const t of a)if(null!==t.resolveHostDirectives){[r,i,l]=t.resolveHostDirectives(a);break}!function(t,e,n,r,i,s,a){const l=r.length;let c=null;for(let i=0;i<l;i++){const s=r[i];null===c&&(0,o.JlV)(s)&&(c=s,fs(t,n,i)),ft(ut(n,e),t,s.type)}(function(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e})(n,t.data.length,l),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let t=0;t<l;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let u=!1,d=!1,h=dr(t,e,l,null);l>0&&(n.directiveToIndex=new Map);for(let o=0;o<l;o++){const l=r[o];if(n.mergedAttrs=et(n.mergedAttrs,l.hostAttrs),vs(t,n,e,h,l),ws(h,l,i),null!==a&&a.has(l)){const[t,e]=a.get(l);n.directiveToIndex.set(l.type,[h,t+n.directiveStart,e+n.directiveStart])}else(null===s||!s.has(l))&&n.directiveToIndex.set(l.type,h);null!==l.contentQueries&&(n.flags|=4),(null!==l.hostBindings||null!==l.hostAttrs||0!==l.hostVars)&&(n.flags|=64);const c=l.type.prototype;!u&&(c.ngOnChanges||c.ngOnInit||c.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),u=!0),!d&&(c.ngOnChanges||c.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),d=!0),h++}!function(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){const o=t.data[r];if(null!==n&&n.has(o)){const t=n.get(o);ms(0,e,t,r),ms(1,e,t,r),bs(e,r,!0)}else gs(0,e,o,r),gs(1,e,o,r),bs(e,r,!1)}}(t,n,s)}(t,e,n,r,s,i,l)}null!==s&&null!==r&&function(t,e,n){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new o.buA(-301,!1);r.push(e[t],i)}}(n,r,s)}function fs(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function gs(t,e,n,r){const o=0===t?n.inputs:n.outputs;for(const n in o)if(o.hasOwnProperty(n)){let o;o=0===t?e.inputs??={}:e.outputs??={},o[n]??=[],o[n].push(r),ys(e,n)}}function ms(t,e,n,r){const o=0===t?n.inputs:n.outputs;for(const n in o)if(o.hasOwnProperty(n)){const i=o[n];let s;s=0===t?e.hostDirectiveInputs??={}:e.hostDirectiveOutputs??={},s[i]??=[],s[i].push(r,n),ys(e,i)}}function ys(t,e){"class"===e?t.flags|=8:"style"===e&&(t.flags|=16)}function bs(t,e,n){const{attrs:r,inputs:o,hostDirectiveInputs:i}=t;if(null===r||!n&&null===o||n&&null===i||Yn(t))return t.initialInputs??=[],void t.initialInputs.push(null);let s=null,a=0;for(;a<r.length;){const t=r[a];if(0!==t)if(5!==t){if("number"==typeof t)break;if(!n&&o.hasOwnProperty(t)){const n=o[t];for(const o of n)if(o===e){s??=[],s.push(t,r[a+1]);break}}else if(n&&i.hasOwnProperty(t)){const n=i[t];for(let t=0;t<n.length;t+=2)if(n[t]===e){s??=[],s.push(n[t+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}t.initialInputs??=[],t.initialInputs.push(s)}function vs(t,e,n,r,i){t.data[r]=i;const s=i.factory||(i.factory=(0,o.wGu)(i.type,!0)),a=new Y(s,(0,o.JlV)(i),ds,null);t.blueprint[r]=a,n[r]=a,function(t,e,n,r,o){const i=o.hostBindings;if(i){let o=t.hostBindingOpCodes;null===o&&(o=t.hostBindingOpCodes=[]);const s=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(o)!=s&&o.push(s),o.push(n,r,i)}}(t,e,r,dr(t,n,i.hostVars,sr),i)}function ws(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;(0,o.JlV)(e)&&(n[""]=t)}}function Ss(t,e,n,r,i,s,a,l){const c=e[o.eDl],u=c.consts,d=Ti(c,t,n,r,(0,o.db4)(u,a));return s&&ps(c,e,d,(0,o.db4)(u,l),i),d.mergedAttrs=et(d.mergedAttrs,d.attrs),null!==d.attrs&&us(d,d.attrs,!1),null!==d.mergedAttrs&&us(d,d.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,d),d}function Cs(t,e){U(t,e),(0,o.srX)(e)&&t.queries.elementEnd(e)}function _s(t,e,n,r,i,s){const a=e.consts,l=Ti(e,t,n,r,(0,o.db4)(a,i));if(l.mergedAttrs=et(l.mergedAttrs,l.attrs),null!=s){const t=(0,o.db4)(a,s);l.localNames=[];for(let e=0;e<t.length;e+=2)l.localNames.push(t[e],-1)}return null!==l.attrs&&us(l,l.attrs,!1),null!==l.mergedAttrs&&us(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}function ks(t){return!!Ts(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function xs(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Symbol.iterator]();let r;for(;!(r=n.next()).done;)e(r.value)}}function Ts(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Es(t,e,n){return t[e]=n}function As(t,e){return t[e]}function Is(t,e,n){return n!==sr&&!Object.is(t[e],n)&&(t[e]=n,!0)}function Os(t,e,n,r){const o=Is(t,e,n);return Is(t,e+1,r)||o}function Ls(t,e,n,r,o){const i=Os(t,e,n,r);return Is(t,e+2,o)||i}function Ds(t,e,n,r,o,i){const s=Os(t,e,n,r);return Os(t,e+2,o,i)||s}function Ps(t,e,n){return function r(i){const s=r.__ngNativeEl__;void 0!==s&&function(t,e){if(null==t||"object"!=typeof t)return;let n=Ae.get(t);n||(n=new WeakSet,Ae.set(t,n)),n.add(e)}(i,s),pi((0,o.Qs1)(t)?(0,o.KdJ)(t.index,e):e,5);const a=e[o.SKP];let l=Rs(e,a,n,i),c=r.__ngNextListenerFn__;for(;c;)l=Rs(e,a,c,i)&&l,c=c.__ngNextListenerFn__;return l}}function Rs(t,e,n,r){const o=(0,i.Ht)(null);try{return H(V.OutputStart,e,n),!1!==n(r)}catch(e){return Go(t,e),!1}finally{H(V.OutputEnd,e,n),(0,i.Ht)(o)}}function Ns(t,e,n,r,i,s,a,l){const c=(0,o.yoD)(t);let u=!1,d=null;if(!r&&c&&(d=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let t=0;t<i.length-1;t+=2){const s=i[t];if(s===n&&i[t+1]===r){const n=e[o.VVG],r=i[t+2];return n&&n.length>r?n[r]:null}"string"==typeof s&&(t+=2)}return null}(e,n,s,t.index)),null!==d)(d.__ngLastListenerFn__||d).__ngNextListenerFn__=a,d.__ngLastListenerFn__=a,u=!0;else{const a=(0,o.d31)(t,n),c=r?r(a):a;r||(l.__ngNativeEl__=a);const u=i.listen(c,s,l);(function(t){return t.startsWith("animation")||t.startsWith("transition")})(s)||Ms(r?e=>r((0,o.IvY)(e[t.index])):t.index,e,n,s,l,u,!1)}return u}function Ms(t,e,n,r,i,s,a){const l=e.firstCreatePass?(0,o.vNG)(e):null,c=(0,o.d_l)(n),u=c.length;c.push(i,s),l&&l.push(r,t,u,(u+1)*(a?-1:1))}function js(t,e,n,r,i,s){const a=e[o.eDl],l=e[n][a.data[n].outputs[r]].subscribe(s);Ms(t.index,a,e,i,s,l,!0)}class Fs{lView;tView;tNode;hasPassThrough;constructor(t,e,n){this.lView=t,this.tView=e,this.tNode=n,this.hasPassThrough=!!(4096&n.flags)}get customControl(){return-1!==this.tNode.customControlIndex?this.lView[this.tNode.customControlIndex]:void 0}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,e){zs(this.tView.data[this.tNode.customControlIndex],t)&&js(this.tNode,this.lView,this.tNode.customControlIndex,t,t,Ps(this.tNode,this.lView,e))}listenToCustomControlModel(t){const e=1024&this.tNode.flags?"valueChange":"checkedChange";js(this.tNode,this.lView,this.tNode.customControlIndex,e,e,Ps(this.tNode,this.lView,t))}listenToDom(t,e){Ns(this.tNode,this.tView,this.lView,void 0,this.lView[o.GpT],t,e,Ps(this.tNode,this.lView,e))}setInputOnDirectives(t,e){const n=this.tNode.inputs?.[t],r=this.tNode.hostDirectiveInputs?.[t];if(!n&&!r)return!1;if(n)for(const r of n)mr(this.tView.data[r],this.lView[r],t,e);if(r)for(let t=0;t<r.length;t+=2){const n=r[t];mr(this.tView.data[n],this.lView[n],r[t+1],e)}return!0}setCustomControlModelInput(t){mr(this.tView.data[this.tNode.customControlIndex],this.lView[this.tNode.customControlIndex],1024&this.tNode.flags?"value":"checked",t)}customControlHasInput(t){return-1!==this.tNode.customControlIndex&&null!=this.tView.data[this.tNode.customControlIndex].inputs[t]}}function $s(t,e){return function(t,e){return e in t.inputs}(t,e)&&zs(t,e+"Change")}function zs(t,e){return e in t.outputs}const Hs=Symbol("BINDING");function Bs(t){return t.debugInfo?.className||t.type.name||null}class Vs extends Xi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=(0,o.xUg)(t);return new Us(e,this.ngModule)}}class Us extends Qi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function(t){return Object.keys(t).map(e=>{const[n,r,o]=t[e],i={propName:n,templateName:e,isSignal:0!==(r&gr.SignalBased)};return o&&(i.transform=o),i})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function(t){return t.map(ir).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,n,r,s,a){H(V.DynamicComponentStart);const l=(0,i.Ht)(null);try{const i=this.componentDef,l=function(t,e,n){let r=e instanceof o.uvJ?e:e?.injector;return r&&null!==t.getStandaloneInjector&&(r=t.getStandaloneInjector(r)||r),r?new cs(n,r):n}(i,r||this.ngModule,t),c=function(t){const e=t.get(Yi,null);if(null===e)throw new o.buA(407,!1);return{rendererFactory:e,sanitizer:t.get(Ji,null),changeDetectionScheduler:t.get(o.hk6,null),ngReflect:!1,tracingService:t.get(Zr,null,{optional:!0})}}(l),u=c.tracingService;return u&&u.componentCreate?u.componentCreate(Bs(i),()=>this.createComponentRef(c,l,e,n,s,a)):this.createComponentRef(c,l,e,n,s,a)}finally{(0,i.Ht)(l)}}createComponentRef(t,e,n,r,i,s){const a=this.componentDef,l=function(t,e,n,r){const i=t?["ng-version","21.2.15"]:function(t){const e=[],n=[];let r=1,o=2;for(;r<t.length;){let i=t[r];if("string"==typeof i)2===o?""!==i&&e.push(i,t[++r]):8===o&&n.push(i);else{if(!tr(o))break;o=i}r++}return n.length&&e.push(1,...n),e}(e.selectors[0]);let s=null,a=null,l=0;if(n)for(const t of n)l+=t[Hs].requiredVars,t.create&&(t.targetIdx=0,(s??=[]).push(t)),t.update&&(t.targetIdx=0,(a??=[]).push(t));if(r)for(let t=0;t<r.length;t++){const e=r[t];if("function"!=typeof e)for(const n of e.bindings){l+=n[Hs].requiredVars;const e=t+1;n.create&&(n.targetIdx=e,(s??=[]).push(n)),n.update&&(n.targetIdx=e,(a??=[]).push(n))}}const c=[e];if(r)for(const t of r){const e=(0,o.HaV)("function"==typeof t?t:t.type);c.push(e)}return ar(0,null,function(t,e){return t||e?n=>{if(1&n&&t)for(const e of t)e.create();if(2&n&&e)for(const t of e)t.update()}:null}(s,a),1,l,c,null,null,null,[i],null)}(r,a,s,i),c=t.rendererFactory.createRenderer(null,a),u=r?function(t,e,n,r){const i=r.get(fe,!1)||n===Me.ShadowDom||n===Me.ExperimentalIsolatedShadowDom,s=t.selectRootElement(e,i);if("script"===s.tagName.toLowerCase())throw new o.buA(905,!1);return s}(c,r,a.encapsulation,e):function(t,e){const n=function(t){return(t.selectors[0][0]||"div").toLowerCase()}(t);return kn(e,n,"svg"===n?o.jNX:"math"===n?o.rJ1:null)}(a,c),d=s?.some(Ws)||i?.some(t=>"function"!=typeof t&&t.bindings.some(Ws)),h=cr(null,l,null,512|ur(a),null,null,t,c,e,null,null);h[o.Yw1]=u,(0,o.ID8)(h);let p=null;try{const t=Ss(o.Yw1,h,2,"#host",()=>l.directiveRegistry,!0,0);In(c,u,t),Xt(u,h),Ro(l,h,t),Ne(l,t,h),Cs(l,t),void 0!==n&&function(t,e,n){const r=t.projection=[];for(let t=0;t<e.length;t++){const e=n[t];r.push(null!=e&&e.length?Array.from(e):null)}}(t,this.ngContentSelectors,n),p=(0,o.KdJ)(t.index,h),h[o.SKP]=p[o.SKP],Zo(l,h,null)}catch(t){throw null!==p&&Qt(p),Qt(h),t}finally{H(V.DynamicComponentEnd),(0,o.bll)()}return new Gs(this.componentType,h,!!d)}}function Ws(t){const e=t[Hs].kind;return"input"===e||"twoWay"===e}class Gs extends qi{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e,n){super(),this._rootLView=e,this._hasInputBindings=n,this._tNode=(0,o.XRZ)(e[o.eDl],o.Yw1),this.location=$t(this._tNode,e),this.instance=(0,o.KdJ)(this._tNode.index,e)[o.SKP],this.hostView=this.changeDetectorRef=new wi(e,void 0),this.componentType=t}setInput(t,e){const n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;const r=this._rootLView;qo(n,r[o.eDl],r,t,e),this.previousInputValues.set(t,e),pi((0,o.KdJ)(n.index,r),1)}get injector(){return new kt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let qs=class{static __NG_ELEMENT_ID__=Qs};function Qs(){return Ks((0,o.Mx4)(),(0,o.OAn)())}class Zs extends qs{_lContainer;_hostTNode;_hostLView;constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return $t(this._hostTNode,this._hostLView)}get injector(){return new kt(this._hostTNode,this._hostLView)}get parentInjector(){const t=pt(this._hostTNode,this._hostLView);if(rt(t)){const e=it(t,this._hostLView),n=ot(t);return new kt(e[o.eDl].data[n+8],e)}return new kt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Xs(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-o.Y20}createEmbeddedView(t,e,n){let r,o;"number"==typeof n?r=n:null!=n&&(r=n.index,o=n.injector);const i=t.createEmbeddedViewImpl(e||{},o,null);return this.insertImpl(i,r,Yo(this._hostTNode,null)),i}createComponent(t,e,n,r,i,s,a){const l=t&&!k(t);let c;if(l)c=e;else{const t=e||{};c=t.index,n=t.injector,r=t.projectableNodes,i=t.environmentInjector||t.ngModuleRef,s=t.directives,a=t.bindings}const u=l?t:new Us((0,o.xUg)(t)),d=n||this.parentInjector;if(!i&&null==u.ngModule){const t=(l?d:this.parentInjector).get(o.uvJ,null);t&&(i=t)}(0,o.xUg)(u.componentType??{});const h=u.create(d,r,null,i,s,a);return this.insertImpl(h.hostView,c,Yo(this._hostTNode,null)),h}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,n){const r=t._lView;if((0,o.ITl)(r)){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=r[o.f7T],n=new Zs(e,e[o.qlT],e[o.f7T]);n.detach(n.indexOf(t))}}const i=this._adjustIndex(e),s=this._lContainer;return mi(s,r,i,n),t.attachToViewContainerRef(),(0,o.EYC)(Ys(s),i,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Xs(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=bi(this._lContainer,e);n&&((0,o.E6O)(Ys(this._lContainer),e),mo(n[o.eDl],n))}detach(t){const e=this._adjustIndex(t,-1),n=bi(this._lContainer,e);return n&&null!=(0,o.E6O)(Ys(this._lContainer),e)?new wi(n):null}_adjustIndex(t,e=0){return t??this.length+e}}function Xs(t){return t[o.bm_]}function Ys(t){return t[o.bm_]||(t[o.bm_]=[])}function Ks(t,e){let n;const r=e[t.index];return(0,o.A0l)(r)?n=r:(n=fi(r,e,null,t),e[t.index]=n,hr(e,n)),Js(n,e,t,r),new Zs(n,t,e)}let Js=function(t,e,n,r){if(t[o.s6P])return;let i;i=8&n.type?(0,o.IvY)(r):function(t,e){const n=t[o.GpT],r=n.createComment(""),i=(0,o.d31)(e,t),s=n.parentNode(i);return xn(n,s,r,n.nextSibling(i),!1),r}(e,n),t[o.s6P]=i};class ta{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new ta(this.queryList)}setDirty(){this.queryList.setDirty()}}class ea{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new ea(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==fa(t,e).matches&&this.queries[e].setDirty()}}class na{flags;read;predicate;constructor(t,e,n=null){this.flags=e,this.read=n,this.predicate="string"==typeof t?function(t){return t.split(",").map(t=>t.trim())}(t):t}}class ra{queries;constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,o=this.getByIndex(n).embeddedTView(t,r);o&&(o.indexInDeclarationView=n,null!==e?e.push(o):e=[o])}return null!==e?new ra(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class oa{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,e=-1){this.metadata=t,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new oa(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const o=n[r];this.matchTNodeWithReadOption(t,e,ia(e,o)),this.matchTNodeWithReadOption(t,e,wt(e,t,o,!1,!1))}else n===Si?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,wt(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===zt||r===qs||r===Si&&4&e.type)this.addMatch(e.index,-2);else{const n=wt(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function ia(t,e){const n=t.localNames;if(null!==n)for(let t=0;t<n.length;t+=2)if(n[t]===e)return n[t+1];return null}function sa(t,e,n,r){return-1===n?function(t,e){return 11&t.type?$t(t,e):4&t.type?_i(t,e):null}(e,t):-2===n?function(t,e,n){return n===zt?$t(e,t):n===Si?_i(e,t):n===qs?Ks(e,t):void 0}(t,e,r):St(t,t[o.eDl],n,e)}function aa(t,e,n,r){const i=e[o.Ds7].queries[r];if(null===i.matches){const r=t.data,o=n.matches,s=[];for(let t=0;null!==o&&t<o.length;t+=2){const i=o[t];s.push(i<0?null:sa(e,r[i],o[t+1],n.metadata.read))}i.matches=s}return i.matches}function la(t,e,n,r){const i=t.queries.getByIndex(n),s=i.matches;if(null!==s){const a=aa(t,e,i,n);for(let t=0;t<s.length;t+=2){const n=s[t];if(n>0)r.push(a[t/2]);else{const i=s[t+1],a=e[-n];for(let t=o.Y20;t<a.length;t++){const e=a[t];e[o.rQE]===e[o.f7T]&&la(e[o.eDl],e,i,r)}if(null!==a[o.nfM]){const t=a[o.nfM];for(let e=0;e<t.length;e++){const n=t[e];la(n[o.eDl],n,i,r)}}}}}return r}function ca(t,e){return t[o.Ds7].queries[e].queryList}function ua(t,e,n){const r=new Vt(!(4&~n));return(0,o.B22)(t,e,r,r.destroy),(e[o.Ds7]??=new ea).queries.push(new ta(r))-1}function da(t,e,n){const r=(0,o.klJ)();return r.firstCreatePass&&(pa(r,new na(t,e,n),-1),!(2&~e)&&(r.staticViewQueries=!0)),ua(r,(0,o.OAn)(),e)}function ha(t,e,n,r){const i=(0,o.klJ)();if(i.firstCreatePass){const s=(0,o.Mx4)();pa(i,new na(e,n,r),s.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(i,t),!(2&~n)&&(i.staticContentQueries=!0)}return ua(i,(0,o.OAn)(),n)}function pa(t,e,n){null===t.queries&&(t.queries=new ra),t.queries.track(new oa(e,n))}function fa(t,e){return t.queries.getByIndex(e)}function ga(t,e){const n=t[o.eDl],r=fa(n,e);return r.crossesNgTemplate?la(n,t,e,[]):aa(n,t,r,e)}function ma(t,e,n){let r;const s=(0,i.KZ)(()=>{r._dirtyCounter();const n=function(t,e){const n=t._lView,r=t._queryIndex;if(void 0===n||void 0===r||4&n[o.Wg1])return e?void 0:o.Mlv;const i=ca(n,r),s=ga(n,r);return i.reset(s,Ht),e?i.first:i._changesDetected||void 0===t._flatValue?t._flatValue=i.toArray():t._flatValue}(r,t);if(e&&void 0===n)throw new o.buA(-951,!1);return n});return r=s[i.bh],r._dirtyCounter=(0,o.vPA)(0),r._flatValue=void 0,s}function ya(t){return ma(!0,!1)}function ba(t){return ma(!0,!0)}function va(t){return ma(!1,!1)}function wa(t,e){const n=t[i.bh];n._lView=(0,o.OAn)(),n._queryIndex=e,n._queryList=ca(n._lView,e),n._queryList.onDirty(()=>n._dirtyCounter.update(t=>t+1))}let Sa=new Map;const Ca=new Set;function _a(t){return ka.apply(this,arguments)}function ka(){return ka=(0,r.A)(function*(t){const e=Sa;Sa=new Map;const n=new Map;function o(e){const r=n.get(e);if(r)return r;const o=t(e).then(t=>function(t,e){return Ta.apply(this,arguments)}(e,t));return n.set(e,o),o}const i=Array.from(e).map((s=(0,r.A)(function*([t,e]){if(e.styleUrl&&e.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");const n=[];e.templateUrl&&n.push(o(e.templateUrl).then(t=>{e.template=t}));const r="string"==typeof e.styles?[e.styles]:e.styles??[];e.styles=r;let{styleUrl:i,styleUrls:s}=e;if(i&&(s=[i],e.styleUrl=void 0),s?.length){const t=Promise.all(s.map(t=>o(t))).then(t=>{r.push(...t),e.styleUrls=void 0});n.push(t)}yield Promise.all(n),Ca.delete(t)}),function(t){return s.apply(this,arguments)}));var s;yield Promise.all(i)}),ka.apply(this,arguments)}function xa(){return 0===Sa.size}function Ta(){return(Ta=(0,r.A)(function*(t,e){if("string"==typeof e)return e;if(void 0!==e.status&&200!==e.status)throw new o.buA(918,!1);return e.text()})).apply(this,arguments)}const Ea=new Map;function Aa(t,e){(function(t,e,n){if(e&&e!==n)throw new o.buA(921,!1)})(0,Ea.get(e)||null,t),Ea.set(e,t)}let Ia=class{},Oa=class{};function La(t,e){return new Da(t,e??null,[])}class Da extends Ia{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Vs(this);constructor(t,e,n,r=!0){super(),this.ngModuleType=t,this._parent=e;const i=(0,o.phH)(t);this._bootstrapComponents=Wn(i.bootstrap),this._r3Injector=(0,o.Pz9)(t,e,[{provide:Ia,useValue:this},{provide:Xi,useValue:this.componentFactoryResolver},...n],(0,o.AsM)(t),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Pa extends Oa{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Da(this.moduleType,t,[])}}function Ra(t,e,n){return new Da(t,e,n,!1)}class Na extends Ia{injector;componentFactoryResolver=new Vs(this);instance=null;constructor(t){super();const e=new o.e5P([...t.providers,{provide:Ia,useValue:this},{provide:Xi,useValue:this.componentFactoryResolver}],t.parent||(0,o.WB9)(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Ma(t,e,n=null){return new Na({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}let ja=(()=>{class t{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const e=(0,o.jXY)(!1,t.type),n=e.length>0?Ma([e],this._injector,""):null;this.cachedInjectors.set(t,n)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=(0,o.jDH)({token:t,providedIn:"environment",factory:()=>new t((0,o.KVO)(o.uvJ))})}return t})();function Fa(t){return c(()=>{const e=Wa(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Wt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?t=>t.get(ja).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Me.Emulated,styles:t.styles||o.Mlv,_:null,schemas:t.schemas||null,tView:null,id:""};e.standalone&&Yr("NgStandalone"),Ga(n);const r=t.dependencies;return n.directiveDefs=qa(r,$a),n.pipeDefs=qa(r,o.oyA),n.id=function(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,"function"==typeof t.consts?"":t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(const t of n.join("|"))e=Math.imul(31,e)+t.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n})}function $a(t){return(0,o.xUg)(t)||(0,o.HaV)(t)}function za(t){return c(()=>({type:t.type,bootstrap:t.bootstrap||o.Mlv,declarations:t.declarations||o.Mlv,imports:t.imports||o.Mlv,exports:t.exports||o.Mlv,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Ha(t,e){if(null==t)return o.MZA;const n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];let i,s,a,l;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,l=o[3]||null):(i=o,s=o,a=gr.None,l=null),n[i]=[r,a,l],e[i]=s}return n}function Ba(t){if(null==t)return o.MZA;const e={};for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function Va(t){return c(()=>{const e=Wa(t);return Ga(e),e})}function Ua(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Wa(t){const e={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputConfig:t.inputs||o.MZA,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:!0===t.signals,selectors:t.selectors||o.Mlv,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:Ha(t.inputs,e),outputs:Ba(t.outputs),debugInfo:null}}function Ga(t){t.features?.forEach(e=>e(t))}function qa(t,e){return t?()=>{const n="function"==typeof t?t():t,r=[];for(const t of n){const n=e(t);null!==n&&r.push(n)}return r}:null}function Qa(t){const e=e=>{const n=Array.isArray(t);null===e.hostDirectives?(e.resolveHostDirectives=Za,e.hostDirectives=n?t.map(Ka):[t]):n?e.hostDirectives.unshift(...t.map(Ka)):e.hostDirectives.unshift(t)};return e.ngInherit=!0,e}function Za(t){const e=[];let n=!1,r=null,i=null;for(let s=0;s<t.length;s++){const a=t[s];if(null!==a.hostDirectives){const t=e.length;r??=new Map,i??=new Map,Xa(a,e,r),i.set(a,[t,e.length-1])}0===s&&(0,o.JlV)(a)&&(n=!0,e.push(a))}for(let r=n?1:0;r<t.length;r++)e.push(t[r]);return[e,r,i]}function Xa(t,e,n){if(null!==t.hostDirectives)for(const r of t.hostDirectives)if("function"==typeof r){const t=r();for(const r of t)Ya(Ka(r),e,n)}else Ya(r,e,n)}function Ya(t,e,n){const r=(0,o.HaV)(t.directive);(function(t,e){for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=t[n])})(r.declaredInputs,t.inputs),Xa(r,e,n),n.set(r,t),e.push(r)}function Ka(t){return"function"==typeof t?{directive:(0,o.nl4)(t),inputs:o.MZA,outputs:o.MZA}:{directive:(0,o.nl4)(t.directive),inputs:Ja(t.inputs),outputs:Ja(t.outputs)}}function Ja(t){if(void 0===t||0===t.length)return o.MZA;const e={};for(let n=0;n<t.length;n+=2)e[t[n]]=t[n+1];return e}function tl(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const r=[t];for(;e;){let i;if((0,o.JlV)(t))i=e.ɵcmp||e.ɵdir;else{if(e.ɵcmp)throw new o.buA(903,!1);i=e.ɵdir}if(i){if(n){r.push(i);const e=t;e.inputs=nl(t.inputs),e.declaredInputs=nl(t.declaredInputs),e.outputs=nl(t.outputs);const n=i.hostBindings;n&&il(t,n);const s=i.viewQuery,a=i.contentQueries;if(s&&rl(t,s),a&&ol(t,a),el(t,i),(0,o.dwj)(t.outputs,i.outputs),(0,o.JlV)(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let r=0;r<e.length;r++){const o=e[r];o&&o.ngInherit&&o(t),o===tl&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=et(o.hostAttrs,n=et(n,o.hostAttrs))}}(r)}function el(t,e){for(const n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;const r=e.inputs[n];void 0!==r&&(t.inputs[n]=r,t.declaredInputs[n]=e.declaredInputs[n])}}function nl(t){return t===o.MZA?{}:t===o.Mlv?[]:t}function rl(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function ol(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,o)=>{e(t,r,o),n(t,r,o)}:e}function il(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}function sl(t,e,n,r,i,s,a,l){if(n.firstCreatePass){t.mergedAttrs=et(t.mergedAttrs,t.attrs);const e=t.tView=ar(2,t,i,s,a,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,t),e.queries=n.queries.embeddedTView(t))}l&&(t.flags|=l),(0,o.iMd)(t,!1);const c=cl(n,e,t,r);(0,o.SX7)()&&To(n,e,c,t),Xt(c,e);const u=fi(c,e,c,t);e[r+o.Yw1]=u,hr(e,u)}function al(t,e,n,r,i,s,a,l,c,u,d){const h=n+o.Yw1;let p;if(e.firstCreatePass){if(p=Ti(e,h,4,a||null,l||null),null!=u){const t=(0,o.db4)(e.consts,u);p.localNames=[];for(let e=0;e<t.length;e+=2)p.localNames.push(t[e],-1)}}else p=e.data[h];return sl(p,t,e,n,r,i,s,c),null!=u&&No(t,p,d),p}function ll(t,e,n,r,i,s,a,l){const c=(0,o.OAn)(),u=(0,o.klJ)();return function(t,e,n,r,i,s,a,l,c,u,d){const h=n+o.Yw1;let p;e.firstCreatePass?(p=Ti(e,h,4,a||null,l||null),(0,o.ckz)()&&ps(e,t,p,(0,o.db4)(e.consts,u),zo),U(e,p)):p=e.data[h],sl(p,t,e,n,r,i,s,void 0),(0,o.yoD)(p)&&Ro(e,t,p),null!=u&&No(t,p,d)}(c,u,t,e,n,r,i,(0,o.db4)(u.consts,s),0,a,l),ll}let cl=function(t,e,n,r){return(0,o.m7n)(!0),e[o.GpT].createComment("")};var ul=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(ul||{}),dl=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(dl||{}),hl=function(t){return t[t.Initial=-1]="Initial",t}(hl||{}),pl=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(pl||{});function fl(t,e,n){const r=yl(t);null===e[r]&&(e[r]=[]),e[r].push(n)}function gl(t,e){const n=yl(t),r=e[n];if(null!==r){for(const t of r)t();e[n]=null}}function ml(t){gl(1,t),gl(0,t),gl(2,t)}function yl(t){let e=4;return 1===t?e=5:2===t&&(e=9),e}function bl(t){return t+1}function vl(t,e){return t[bl(e.index)]}function wl(t,e){const n=bl(e.index);return t.data[n]}function Sl(t,e){return e===dl.Placeholder?t.placeholderBlockConfig?.[0]??null:e===dl.Loading?t.loadingBlockConfig?.[0]??null:null}function Cl(t){return t.loadingBlockConfig?.[1]??null}function _l(t,e){if(!t||0===t.length)return e;const n=new Set(t);for(const t of e)n.add(t);return t.length===n.size?t:Array.from(n)}function kl(t,e,n,r){const i=n.get(o.SKi);return function(t,e,n,r){const o=Ee(r);let i=we.get(t)?.get(o);_e.has(o)||_e.set(o,{observer:n(r),count:0});const s=_e.get(o);if(!i){i=new ke,s.observer.observe(t);let e=we.get(t);e?e.set(o,i):(e=new Map,we.set(t,e)),e.set(o,i),s.count++}return i.callbacks.add(e),()=>{if(we.get(t)?.has(o)){if(i.callbacks.delete(e),0===i.callbacks.size){s.observer.unobserve(t),s.count--;const e=we.get(t);e&&(e.delete(o),0===e.size&&we.delete(t))}0===s.count&&(s.observer.disconnect(),_e.delete(o))}}}(t,()=>i.run(e),t=>i.runOutsideAngular(()=>function(t){const e=Ee(t);return new IntersectionObserver(t=>{for(const n of t)n.isIntersecting&&we.has(n.target)&&we.get(n.target)?.get(e)?.listener()},t)}(t)),r)}function xl(t,e,n,r,i,s,a,l){const c=t[o.YEL],u=c.get(o.SKi);let d;d=function(t,e){const n=e?.injector??(0,o.WQX)(o.zZn);return Yr("NgAfterRender"),ro(t,n,e,!1)}({read:function(){if((0,o.EPY)(t))return void d.destroy();const h=vl(t,e),p=h[1];if(p!==hl.Initial&&p!==dl.Placeholder)return void d.destroy();const f=function(t,e,n){return null==n?t:n>=0?(0,o.jRZ)(n,t):t[e.index][o.Y20]??null}(t,e,r);if(!f||(d.destroy(),(0,o.EPY)(f)))return;const g=function(t,e){return(0,o.vaC)(o.Yw1+e,t)}(f,n),m=i(g,()=>{u.run(()=>{t!==f&&(0,o.DyX)(f,m),s()})},c,l);t!==f&&(0,o.ik5)(f,m),fl(a,h,m)}},{injector:c})}function Tl(t,e){const n=e.get(El);return n.add(t),()=>n.remove(t)}let El=(()=>{class t{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,o.WQX)(o.SKi);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(t){(this.executingCallbacks?this.deferred:this.current).add(t),null===this.idleId&&this.scheduleIdleCallback()}remove(t){const{current:e,deferred:n}=this;e.delete(t),n.delete(t),0===e.size&&0===n.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const t=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const t of this.current)t();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const t of this.deferred)this.current.add(t);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(t))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();function Al(t){return(e,n)=>Il(t,e,n)}function Il(t,e,n){const r=n.get(Ol),i=n.get(o.SKi);return r.add(t,e,i),()=>r.remove(e)}let Ol=(()=>{class t{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(t,e,n){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+t,e),this.scheduleTimer(n)}remove(t){const{current:e,deferred:n}=this;-1===this.removeFromQueue(e,t)&&this.removeFromQueue(n,t),0===e.length&&0===n.length&&this.clearTimeout()}addToQueue(t,e,n){let r=t.length;for(let n=0;n<t.length;n+=2)if(t[n]>e){r=n;break}(0,o.llW)(t,r,e,n)}removeFromQueue(t,e){let n=-1;for(let r=0;r<t.length;r+=2)if(t[r+1]===e){n=r;break}return n>-1&&(0,o.gsJ)(t,n,2),n}scheduleTimer(t){const e=()=>{this.clearTimeout(),this.executingCallbacks=!0;const e=[...this.current],n=Date.now();for(let t=0;t<e.length;t+=2){const r=e[t+1];if(!(e[t]<=n))break;r()}let r=-1;for(let t=0;t<this.current.length&&this.current[t]<=n;t+=2)r=t+1;if(r>=0&&(0,o.gsJ)(this.current,0,r+1),this.executingCallbacks=!1,this.deferred.length>0){for(let t=0;t<this.deferred.length;t+=2)this.addToQueue(this.current,this.deferred[t],this.deferred[t+1]);this.deferred.length=0}this.scheduleTimer(t)};if(this.current.length>0){const n=Date.now(),r=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-r>16){this.clearTimeout();const o=Math.max(r-n,16);this.invokeTimerAt=r,this.timeoutId=t.runOutsideAngular(()=>setTimeout(()=>t.run(e),o))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ll=(()=>{class t{cachedInjectors=new Map;getOrCreateInjector(t,e,n,r){if(!this.cachedInjectors.has(t)){const o=n.length>0?Ma(n,e,r):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 ɵprov=(0,o.jDH)({token:t,providedIn:"environment",factory:()=>new t})}return t})();const Dl=new o.nKC("");function Pl(t,e,n){return t.get(Ll).getOrCreateInjector(e,t,n,"")}function Rl(t,e,n,r=!1){const i=n[o.f7T],s=i[o.eDl];if((0,o.EPY)(i))return;const a=vl(i,e),l=a[7];if(!(null!==l&&t<l)&&Fl(a[1],t)&&Fl(a[0]??-1,t)){const o=wl(s,e),l=r||null===Cl(o)&&null===Sl(o,dl.Loading)&&!Sl(o,dl.Placeholder)?Nl:Hl;try{l(t,a,n,e,i)}catch(t){Go(i,t)}}}function Nl(t,e,n,r,i){H(V.DeferBlockStateStart);const s=function(t,e,n){const r=wl(e[o.eDl],n);switch(t){case dl.Complete:return r.primaryTmplIndex;case dl.Loading:return r.loadingTmplIndex;case dl.Error:return r.errorTmplIndex;case dl.Placeholder:return r.placeholderTmplIndex;default:return null}}(t,i,r);if(null!==s){e[1]=t;const a=i[o.eDl],l=(0,o.XRZ)(a,s+o.Yw1),c=0;let u;if(yi(n,c),t===dl.Complete){const t=wl(a,r),e=t.providers;e&&e.length>0&&(u=function(t,e,n){if(t instanceof cs){const r=t.injector,o=Pl(t.parentInjector,e,n);return new cs(r,o)}const r=t.get(o.uvJ);if(r!==t){const o=Pl(r,e,n);return new cs(t,o)}return Pl(t,e,n)}(i[o.YEL],t,e))}const{dehydratedView:d,dehydratedViewIx:h}=function(t,e){const n=t[o.qFA]?.findIndex(t=>t.data.s===e[1])??-1;return{dehydratedView:n>-1?t[o.qFA][n]:null,dehydratedViewIx:n}}(n,e),p=Xo(i,l,null,{injector:u,dehydratedView:d});if(mi(n,p,c,Yo(l,d)),pi(p,2),h>-1&&n[o.qFA]?.splice(h,1),(t===dl.Complete||t===dl.Error)&&Array.isArray(e[8])){for(const t of e[8])t();e[8]=null}}H(V.DeferBlockStateEnd)}function Ml(t,e,n,r,i){const s=Date.now(),a=wl(i[o.eDl],r);if(null===e[2]||e[2]<=s){e[2]=null;const o=Cl(a),l=null!==e[3];if(t!==dl.Loading||null===o||l){t>dl.Loading&&l&&(e[3](),e[3]=null,e[0]=null),Nl(t,e,n,r,i);const o=Sl(a,t);null!==o&&(e[2]=s+o,jl(o,e,r,n,i))}else{e[0]=t;const s=jl(o,e,r,n,i);e[3]=s}}else e[0]=t}function jl(t,e,n,r,i){return Il(t,()=>{const t=e[0];e[2]=null,e[0]=null,null!==t&&Rl(t,n,r)},i[o.YEL])}function Fl(t,e){return t<e}function $l(t,e){Rl(dl.Placeholder,e,t[e.index])}function zl(t,e,n){t.loadingPromise.then(()=>{t.loadingState===ul.COMPLETE?Rl(dl.Complete,e,n):t.loadingState===ul.FAILED&&Rl(dl.Error,e,n)})}let Hl=null;function Bl(t,e,n,r){return c(()=>{const o=t;null!==e&&(o.hasOwnProperty("decorators")&&void 0!==o.decorators?o.decorators.push(...e):o.decorators=e),null!==n&&(o.ctorParameters=n),null!==r&&(o.propDecorators=o.hasOwnProperty("propDecorators")&&void 0!==o.propDecorators?{...o.propDecorators,...r}:r)})}let Vl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"platform"})}return t})();function Ul(t){return"function"==typeof t&&void 0!==t[i.bh]}function Wl(t){return Ul(t)&&"function"==typeof t.set}function Gl(t,e){!function(t,e){if(typeof COMPILED>"u"||!COMPILED){const n=o.laP;n.ng??={},n.ng[t]=e}}(t,e)}const ql=new o.nKC(""),Ql=new o.nKC("");let Zl,Xl=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,e,n){this._ngZone=t,this.registry=e,(0,o.M6u)()&&(this._destroyRef=(0,o.WQX)(o.abz,{optional:!0})??void 0),Zl||(function(t){Zl=t}(n),n.addToWindow(e)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),e=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{o.SKi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),e.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t()},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!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,e,n),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,e,n){return[]}static ɵfac=function(e){return new(e||t)((0,o.KVO)(o.SKi),(0,o.KVO)(Yl),(0,o.KVO)(Ql))};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac})}return t})(),Yl=(()=>{class t{_applications=new Map;registerApplication(t,e){this._applications.set(t,e)}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,e=!0){return Zl?.findTestabilityInTree(this,t,e)??null}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"platform"})}return t})();function Kl(t){return!!t&&"function"==typeof t.then}function Jl(t){return!!t&&"function"==typeof t.subscribe}const tc=new o.nKC("");function ec(t){return(0,o.EmA)([{provide:tc,multi:!0,useValue:t}])}let nc=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e});appInits=(0,o.WQX)(tc,{optional:!0})??[];injector=(0,o.WQX)(o.zZn);constructor(){}runInitializers(){if(this.initialized)return;const t=[];for(const e of this.appInits){const n=(0,o.N4e)(this.injector,e);if(Kl(n))t.push(n);else if(Jl(n)){const e=new Promise((t,e)=>{n.subscribe({complete:t,error:e})});t.push(e)}}const e=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const rc=new o.nKC("");function oc(){}function ic(){(0,i.KO)(()=>{throw new o.buA(600,"")})}function sc(t,e){return Array.isArray(e)?e.reduce(sc,t):{...t,...e}}let ac=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,o.WQX)(o.ZTf);afterRenderManager=(0,o.WQX)(Kr);zonelessEnabled=(0,o.WQX)(o.Evm);rootEffectScheduler=(0,o.WQX)(o.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new s.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,o.WQX)(o.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,l.T)(t=>!t))}constructor(){(0,o.WQX)(Zr,{optional:!0})}whenStable(){let t;return new Promise(e=>{t=this.isStable.subscribe({next:t=>{t&&e()}})}).finally(()=>{t.unsubscribe()})}_injector=(0,o.WQX)(o.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,e){return this.bootstrapImpl(t,e)}bootstrapImpl(t,e,n=o.zZn.NULL){return this._injector.get(o.SKi).run(()=>{H(V.BootstrapComponentStart);const r=t instanceof Qi;if(!this._injector.get(nc).done)throw new o.buA(405,"");let i;i=r?t:this._injector.get(Xi).resolveComponentFactory(t),this.componentTypes.push(i.componentType);const s=function(t){return t.isBoundToModule}(i)?void 0:this._injector.get(Ia),a=i.create(n,[],e||i.selector,s),l=a.location.nativeElement,c=a.injector.get(ql,null);return c?.registerApplication(l),a.onDestroy(()=>{this.detachView(a.hostView),lc(this.components,a),c?.unregisterApplication(l)}),this._loadComponent(a),H(V.BootstrapComponentEnd,a),a})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){H(V.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(Qr.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw H(V.ChangeDetectionEnd),new o.buA(101,!1);const t=(0,i.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,i.Ht)(t),this.afterTick.next(),H(V.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Yi,null,{optional:!0}));let t=0;for(;0!==this.dirtyFlags&&t++<10;){H(V.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{H(V.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(7&this.dirtyFlags){const e=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:n}of this.allViews)(e||(0,o.dMS)(n))&&(si(n,e&&!this.zonelessEnabled?0:1),t=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>(0,o.dMS)(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;lc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(t){this.internalErrorHandler(t)}this.components.push(t),this._injector.get(rc,[]).forEach(e=>e(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._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>lc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new o.buA(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function lc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function cc(){let t,e;return{promise:new Promise((n,r)=>{t=n,e=r}),resolve:t,reject:e}}function uc(t){const e=(0,o.OAn)(),n=(0,o.Mx4)();if($l(e,n),!gc(0,e))return;const r=e[o.YEL];fl(0,vl(e,n),t(()=>mc(0,e,n),r))}function dc(t){const e=(0,o.OAn)(),n=e[o.YEL],r=(0,o.Mx4)(),i=wl(e[o.eDl],r);i.loadingState===ul.NOT_STARTED&&fl(1,vl(e,r),t(()=>pc(i,e,r),n))}function hc(t,e,n){const r=e[o.YEL],i=vl(e,n),s=i[6];fl(2,i,t(()=>yc(r,s),r))}function pc(t,e,n){fc(t,e,n)}function fc(t,e,n){const r=e[o.YEL],i=e[o.eDl];if(t.loadingState!==ul.NOT_STARTED)return t.loadingPromise??Promise.resolve();const s=vl(e,n),a=function(t,e){return(0,o.XRZ)(t,e.primaryTmplIndex+o.Yw1)}(i,t);t.loadingState=ul.IN_PROGRESS,gl(1,s);let l=t.dependencyResolverFn;const c=r.get(o.u5s).add();return l?(t.loadingPromise=Promise.allSettled(l()).then(n=>{let r=!1,i=null;const s=[],l=[];for(let t=0;t<n.length;t++){const e=n[t];if("fulfilled"!==e.status){r=!0,i=e.reason instanceof Error?e.reason:new Error(String(e.reason));break}{const t=e.value,n=(0,o.xUg)(t)||(0,o.HaV)(t);if(n)s.push(n);else{const e=(0,o.oyA)(t);e&&l.push(e)}}}if(r){if(t.loadingState=ul.FAILED,null===t.errorTmplIndex){const t=new o.buA(-750,"");Go(e,t)}}else{t.loadingState=ul.COMPLETE;const e=a.tView;if(s.length>0){e.directiveRegistry=_l(e.directiveRegistry,s);const n=s.map(t=>t.type),r=(0,o.jXY)(!1,...n);t.providers=r}l.length>0&&(e.pipeRegistry=_l(e.pipeRegistry,l))}}),t.loadingPromise.finally(()=>{t.loadingPromise=null,c()})):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=ul.COMPLETE,c()}),t.loadingPromise)}function gc(t,e){return e[o.YEL].get(Dl,null,{optional:!0})?.behavior!==pl.Manual}function mc(t,e,n){const r=e[o.eDl],i=e[n.index];if(!gc(0,e))return;const s=vl(e,n),a=wl(r,n);switch(ml(s),a.loadingState){case ul.NOT_STARTED:Rl(dl.Loading,n,i),fc(a,e,n),a.loadingState===ul.IN_PROGRESS&&zl(a,n,i);break;case ul.IN_PROGRESS:Rl(dl.Loading,n,i),zl(a,n,i);break;case ul.COMPLETE:Rl(dl.Complete,n,i);break;case ul.FAILED:Rl(dl.Error,n,i)}}function yc(t,e,n){return bc.apply(this,arguments)}function bc(){return(bc=(0,r.A)(function*(t,e,n){const o=t.get(Ie);if(o.hydrating.has(e))return;const{parentBlockPromise:i,hydrationQueue:s}=function(t,e){const n=e.get(Ie),r=e.get(he).get("__nghDeferData__",{});let o=!1,i=t,s=null;const a=[];for(;!o&&i;){o=n.has(i);const t=n.hydrating.get(i);if(null===s&&null!=t){s=t.promise;break}a.unshift(i),i=r[i].p}return{parentBlockPromise:s,hydrationQueue:a}}(e,t);if(0===s.length)return;null!==i&&s.shift(),function(t,e){for(let n of e)t.hydrating.set(n,cc())}(o,s),null!==i&&(yield i);const a=s[0];o.has(a)?yield vc(t,s,n):o.awaitParentBlock(a,(0,r.A)(function*(){return yield vc(t,s,n)}))})).apply(this,arguments)}function vc(t,e,n){return wc.apply(this,arguments)}function wc(){return(wc=(0,r.A)(function*(t,e,n){const r=t.get(Ie),i=r.hydrating,s=t.get(o.rev),a=s.add();for(let n=0;n<e.length;n++){const o=e[n],s=r.get(o);if(null==s){Cc(n,e,r),_c(e.slice(n),r);break}if(yield xc(s),yield kc(t),Sc(s)){Vi(s),_c(e.slice(n),r);break}i.get(o).resolve()}const l=e[e.length-1];yield i.get(l)?.promise,s.remove(a),n&&n(e),function(t,e,n,r){null!==t&&(n.cleanup(e),Wi(t.lContainer),function(t){const e=t._views;for(const t of e){const e=Le(t);null!==e&&null!==e[o.jgP]&&((0,o.q$2)(e)?Gi(e):Wi(e))}}(r))}(r.get(l),e,r,t.get(ac))})).apply(this,arguments)}function Sc(t){return vl(t.lView,t.tNode)[1]===dl.Error}function Cc(t,e,n){const r=t-1,o=r>-1?n.get(e[r]):null;o&&Wi(o.lContainer)}function _c(t,e){const n=e.hydrating;for(const e in t)n.get(e)?.reject();e.cleanup(t)}function kc(t){return new Promise(e=>no(e,{injector:t}))}function xc(t){return Tc.apply(this,arguments)}function Tc(){return(Tc=(0,r.A)(function*(t){const{tNode:e,lView:n}=t,r=vl(n,e);return new Promise(t=>{(function(t,e){Array.isArray(t[8])||(t[8]=[]),t[8].push(e)})(r,t),mc(0,n,e)})})).apply(this,arguments)}function Ec(t,e,n){return 0===t?Ac(e,n):2!==t||!Ac(e,n)}function Ac(t,e){const n=t[o.YEL],r=wl(t[o.eDl],e),i=De(n),s=function(t){return null!=t&&!(1&~t)}(r.flags),a=null!==vl(t,e)[6];return!(s&&a&&i)}function Ic(t,e){const n=wl(t,e);return n.hydrateTriggers??=new Map}function Oc(t,e){const n=(0,o.OAn)();if(Is(n,(0,o.xbp)(),e)){const r=(0,o.klJ)(),i=(0,o.CpD)();if(qo(i,r,n,t,e))(0,o.Qs1)(i)&&Fo(n,i.index);else{const r=(0,o.d31)(i,n);Ho(n[o.GpT],r,null,i.value,t,e,null)}}return Oc}function Lc(t,e,n,r){const i=(0,o.OAn)();return Is(i,(0,o.xbp)(),e)&&((0,o.klJ)(),function(t,e,n,r,i,s){const a=(0,o.d31)(t,e);Ho(e[o.GpT],a,s,t.value,n,r,i)}((0,o.CpD)(),i,t,e,n,r)),Lc}function Dc(t){if(Yr("NgAnimateEnter"),!_r)return Dc;const e=(0,o.OAn)();if(kr(e))return Dc;const n=(0,o.Mx4)(),r=e[o.YEL].get(o.SKi);return Fr(Pr(e),n,()=>function(t,e,n,r){const i=(0,o.d31)(e,t),s=t[o.GpT],a=Nr(n),l=[];let c=!1;const u=t=>{if(Mr(t)!==i)return;const e=t instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{s.listen(i,e,d)})},d=t=>{Mr(t)===i&&(jr(t,i)&&(c=!0),function(t,e,n){const r=Er.get(e);if(Mr(t)===e&&r&&jr(t,e)){t.stopPropagation();for(const t of r.classList)n.removeClass(e,t);xr(e)}}(t,i,s))};if(a&&a.length>0){r.runOutsideAngular(()=>{l.push(s.listen(i,"animationstart",u)),l.push(s.listen(i,"transitionstart",u))}),function(t,e,n){const r=Er.get(t);if(r){for(const t of e)r.classList.push(t);for(const t of n)r.cleanupFns.push(t)}else Er.set(t,{classList:e,cleanupFns:n})}(i,a,l);for(const t of a)s.addClass(i,t);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(Gr(i,Ar,_r),!Ar.has(i))){for(const t of a)s.removeClass(i,t);xr(i)}})})}}(e,n,t,r)),lo(e[o.YEL]),co(e[o.YEL],Pr(e)),Dc}function Pc(t){if(Yr("NgAnimateLeave"),!_r)return Pc;const e=(0,o.OAn)();if(kr(e))return Pc;const n=(0,o.Mx4)(),r=e[o.YEL].get(o.SKi);return Fr(Rr(e),n,()=>function(t,e,n,r){const{promise:i,resolve:s}=cc(),a=(0,o.d31)(e,t),l=t[o.GpT];qr.add(t[o.ID]),(Rr(t).get(e.index).resolvers??=[]).push(s);const c=Nr(n);return c&&c.length>0?function(t,e,n,r,o,i){!function(t,e){if(!_r)return;const n=Er.get(t);if(n&&n.classList.length>0&&function(t,e){for(const n of e)if(t.classList.contains(n))return!0;return!1}(t,n.classList))for(const r of n.classList)e.removeClass(t,r);xr(t)}(t,o);const s=[],a=Rr(n).get(e.index)?.resolvers;let l,c=!1;const u=i=>{if((Mr(i)===t||"animation-fallback"===i.type)&&("animation-fallback"===i.type||jr(i,t))){if(c=!0,l&&clearTimeout(l),"animation-fallback"!==i.type&&i.stopPropagation(),Ar.delete(t),Lr(e,t),Array.isArray(e.projection))for(const e of r)o.removeClass(t,e);$r(a,s),zr(n,e)}};i.runOutsideAngular(()=>{s.push(o.listen(t,"animationend",u)),s.push(o.listen(t,"transitionend",u))}),Dr(e,t);for(const e of r)o.addClass(t,e);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(c)return;Gr(t,Ar,_r);const r=Ar.get(t);r?(l=setTimeout(()=>{u(new CustomEvent("animation-fallback"))},r.duration+50),s.push(()=>clearTimeout(l))):(Lr(e,t),$r(a,s),zr(n,e))})})}(a,e,t,c,l,r):s(),{promise:i,resolve:s}}(e,n,t,r)),lo(e[o.YEL]),Pc}class Rc{destroy(t){}updateValue(t,e){}swap(t,e){const n=Math.min(t,e),r=Math.max(t,e),o=this.detach(r);if(r-n>1){const t=this.detach(n);this.attach(n,o),this.attach(r,t)}else this.attach(n,o)}move(t,e){this.attach(e,this.detach(t))}}function Nc(t,e,n,r,o){return t===n&&Object.is(e,r)?1:Object.is(o(t,e),o(n,r))?-1:0}function Mc(t,e,n,r){return!(void 0===e||!e.has(r)||(t.attach(n,e.get(r)),e.delete(r),0))}function jc(t,e,n,r,o){if(Mc(t,e,r,n(r,o)))t.updateValue(r,o);else{const e=t.create(r,o);t.attach(r,e)}}function Fc(t,e,n,r){const o=new Set;for(let i=e;i<=n;i++)o.add(r(i,t.at(i)));return o}class $c{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const e=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let n=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,n]of this.kvMap)if(t(n,e),void 0!==this._vMap){const r=this._vMap;for(;r.has(n);)n=r.get(n),t(n,e)}}}function zc(t,e,n,r,i,s,a,l){Yr("NgControlFlow");const c=(0,o.OAn)(),u=(0,o.klJ)();return al(c,u,t,e,n,r,i,(0,o.db4)(u.consts,s),256,a,l),Hc}function Hc(t,e,n,r,i,s,a,l){Yr("NgControlFlow");const c=(0,o.OAn)(),u=(0,o.klJ)();return al(c,u,t,e,n,r,i,(0,o.db4)(u.consts,s),512,a,l),Hc}function Bc(t,e){Yr("NgControlFlow");const n=(0,o.OAn)(),r=(0,o.xbp)(),s=n[r]!==sr?n[r]:-1,a=-1!==s?Gc(n,o.Yw1+s):void 0;if(Is(n,r,t)){const r=(0,i.Ht)(null);try{if(void 0!==a&&yi(a,0),-1!==t){const r=o.Yw1+t,i=Gc(n,r),s=qc(n[o.eDl],r),a=null;mi(i,Xo(n,s,e,{dehydratedView:a}),0,Yo(s,a))}}finally{(0,i.Ht)(r)}}else if(void 0!==a){const t=gi(a,0);void 0!==t&&(t[o.SKP]=e)}}class Vc{lContainer;$implicit;$index;constructor(t,e,n){this.lContainer=t,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-o.Y20}}class Uc{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,n){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n}}class Wc extends Rc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,e,n){super(),this.lContainer=t,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-o.Y20}at(t){return this.getLView(t)[o.SKP].$implicit}attach(t,e){const n=e[o.tcA];this.needsIndexUpdate||=t!==this.length,mi(this.lContainer,e,t,Yo(this.templateTNode,n)),function(t,e){if(t.length<=o.Y20)return;const n=t[o.Y20+e],r=n?n[o.Isx]:void 0;n&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0&&(function(t,e){const n=t.get(io);if(e.detachedLeaveAnimationFns){for(const t of e.detachedLeaveAnimationFns)n.queue.delete(t);e.detachedLeaveAnimationFns=void 0}}(n[o.YEL],r),qr.delete(n[o.ID]),r.detachedLeaveAnimationFns=void 0)}(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function(t,e){if(t.length<=o.Y20)return;const n=t[o.Y20+e],r=n?n[o.Isx]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}(this.lContainer,t),function(t,e){return bi(t,e)}(this.lContainer,t)}create(t,e){return Xo(this.hostLView,this.templateTNode,new Vc(this.lContainer,e,t),{dehydratedView:null})}destroy(t){mo(t[o.eDl],t)}updateValue(t,e){this.getLView(t)[o.SKP].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[o.SKP].$index=t}getLView(t){return function(t,e){return gi(t,e)}(this.lContainer,t)}}function Gc(t,e){return t[e]}function qc(t,e){return(0,o.XRZ)(t,e)}function Qc(t,e,n){const r=(0,o.OAn)();return Is(r,(0,o.xbp)(),e)&&((0,o.klJ)(),Mo((0,o.CpD)(),r,t,e,r[o.GpT],n)),Qc}function Zc(t,e,n,r,o){qo(e,t,n,o?"class":"style",r)}function Xc(t,e,n,r){const i=(0,o.OAn)(),s=i[o.eDl],a=t+o.Yw1,l=s.firstCreatePass?Ss(a,i,2,e,zo,(0,o.ckz)(),n,r):s.data[a];if((0,o.Qs1)(l)){const n=i[o.M0L].tracingService;if(n&&n.componentCreate)return n.componentCreate(Bs(s.data[l.directiveStart+l.componentOffset]),()=>(Yc(t,e,i,l,r),Xc))}return Yc(t,e,i,l,r),Xc}function Yc(t,e,n,r,i){if(Vo(r,n,t,e,ru),(0,o.yoD)(r)){const t=n[o.eDl];Ro(t,n,r),Ne(t,r,n)}null!=i&&No(n,r)}function Kc(){const t=(0,o.klJ)(),e=Uo((0,o.Mx4)());return t.firstCreatePass&&Cs(t,e),(0,o.UhH)(e)&&(0,o.krE)(),(0,o.N79)(),null!=e.classesWithoutHost&&function(t){return!!(8&t.flags)}(e)&&Zc(t,e,(0,o.OAn)(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return!!(16&t.flags)}(e)&&Zc(t,e,(0,o.OAn)(),e.stylesWithoutHost,!1),Kc}function Jc(t,e,n,r){return Xc(t,e,n,r),Kc(),Jc}function tu(t,e,n,r){const i=(0,o.OAn)(),s=i[o.eDl],a=t+o.Yw1,l=s.firstCreatePass?_s(a,s,2,e,n,r):s.data[a];return Vo(l,i,t,e,ru),null!=r&&No(i,l),tu}function eu(){const t=Uo((0,o.Mx4)());return(0,o.UhH)(t)&&(0,o.krE)(),(0,o.N79)(),eu}function nu(t,e,n,r){return tu(t,e,n,r),eu(),nu}let ru=(t,e,n,r,i)=>((0,o.m7n)(!0),kn(e[o.GpT],r,(0,o.UaU)()));function ou(t,e,n){const r=(0,o.OAn)(),i=r[o.eDl],s=t+o.Yw1,a=i.firstCreatePass?Ss(s,r,8,"ng-container",zo,(0,o.ckz)(),e,n):i.data[s];if(Vo(a,r,t,"ng-container",cu),(0,o.yoD)(a)){const t=r[o.eDl];Ro(t,r,a),Ne(t,a,r)}return null!=n&&No(r,a),ou}function iu(){const t=(0,o.klJ)(),e=Uo((0,o.Mx4)());return t.firstCreatePass&&Cs(t,e),iu}function su(t,e,n){return ou(t,e,n),iu(),su}function au(t,e,n){const r=(0,o.OAn)(),i=r[o.eDl],s=t+o.Yw1,a=i.firstCreatePass?_s(s,i,8,"ng-container",e,n):i.data[s];return Vo(a,r,t,"ng-container",cu),null!=n&&No(r,a),au}function lu(){return Uo((0,o.Mx4)()),iu}let cu=(t,e,n,r,i)=>((0,o.m7n)(!0),_n(e[o.GpT],""));function uu(){return(0,o.OAn)()}function du(t,e,n){const r=(0,o.OAn)();return Is(r,(0,o.xbp)(),e)&&((0,o.klJ)(),jo((0,o.CpD)(),r,t,e,r[o.GpT],n)),du}const hu=void 0;var pu=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],hu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],hu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",hu,hu,hu],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let fu={};function gu(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=yu(e);if(n)return n;const r=e.split("-")[0];if(n=yu(r),n)return n;if("en"===r)return pu;throw new o.buA(701,!1)}function mu(t){return gu(t)[bu.PluralCase]}function yu(t){return t in fu||(fu[t]=o.laP.ng&&o.laP.ng.common&&o.laP.ng.common.locales&&o.laP.ng.common.locales[t]),fu[t]}var bu=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(bu||{});const vu=["zero","one","two","few","many"],wu="en-US",Su={marker:"element"},Cu={marker:"ICU"};var _u=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(_u||{});let ku=wu;function xu(t){"string"==typeof t&&(ku=t.toLowerCase().replace(/_/g,"-"))}let Tu=0,Eu=0,Au=(t,e,n,r)=>((0,o.m7n)(!0),function(t,e,n){const r=t[o.GpT];switch(n){case Node.COMMENT_NODE:return _n(r,e);case Node.TEXT_NODE:return Sn(r,e);case Node.ELEMENT_NODE:return kn(r,e,null)}}(t,n,r));function Iu(t,e,n,r){const i=n[o.GpT];let s,a=null;for(let l=0;l<e.length;l++){const c=e[l];if("string"==typeof c){const t=e[++l];null===n[t]&&(n[t]=Au(n,0,c,Node.TEXT_NODE))}else if("number"==typeof c)switch(1&c){case 0:const u=Mi(c);let d,h;if(null===a&&(a=u,s=i.parentNode(r)),u===a?(d=r,h=s):(d=null,h=(0,o.IvY)(n[u])),null!==h){const e=ji(c);xn(i,h,n[e],d,!1);const r=Pi(t,e);if(null!==r&&"object"==typeof r){const e=Ni(r,n);null!==e&&Iu(t,r.create[e],n,n[r.anchorIdx])}}break;case 1:const p=e[++l],f=e[++l];Ho(i,(0,o.vaC)(c>>>1,n),null,null,p,f,null)}else switch(c){case Cu:const t=e[++l],r=e[++l];null===n[r]&&Xt(n[r]=Au(n,0,t,Node.COMMENT_NODE),n);break;case Su:const o=e[++l],i=e[++l];null===n[i]&&Xt(n[i]=Au(n,0,o,Node.ELEMENT_NODE),n)}}}function Ou(t,e,n,r,i){for(let s=0;s<n.length;s++){const a=n[s],l=n[++s];if(a&i){let i="";for(let a=s+1;a<=s+l;a++){const s=n[a];if("string"==typeof s)i+=s;else if("number"==typeof s)if(s<0)i+=(0,o.eFE)(e[r-s]);else{const l=s>>>2;switch(3&s){case 1:const s=n[++a],c=n[++a],u=t.data[l];if("string"==typeof u)Ho(e[o.GpT],e[l],null,u,s,i,c);else{const t=(0,o._px)();(0,o.ypq)(l);try{Mo(u,e,s,i,e[o.GpT],c)}finally{(0,o.ypq)(t)}}break;case 0:const d=e[l];null!==d&&Cn(e[o.GpT],d,i);break;case 2:Du(t,Pi(t,l),e,i);break;case 3:Lu(t,Pi(t,l),r,e)}}}}else{const o=n[s+1];if(o>0&&!(3&~o)){const n=Pi(t,o>>>2);e[n.currentCaseLViewIndex]<0&&Lu(t,n,r,e)}}s+=l}}function Lu(t,e,n,r){let o=r[e.currentCaseLViewIndex];if(null!==o){let i=Tu;o<0&&(o=r[e.currentCaseLViewIndex]=~o,i=-1),Ou(t,r,e.update[o],n,i)}}function Du(t,e,n,r){const o=function(t,e){let n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:{const r=function(t,e){const n=mu(e)(parseInt(t,10)),r=vu[n];return void 0!==r?r:"other"}(e,ku);n=t.cases.indexOf(r),-1===n&&"other"!==r&&(n=t.cases.indexOf("other"));break}case 0:n=t.cases.indexOf("other")}return-1===n?null:n}(e,r);if(Ni(e,n)!==o&&(Pu(t,e,n),n[e.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const r=n[e.anchorIdx];r&&Iu(t,e.create[o],n,r)}}function Pu(t,e,n){let r=Ni(e,n);if(null!==r){const i=e.remove[r];for(let e=0;e<i.length;e++){const r=i[e];if(r>0){const t=(0,o.vaC)(r,n);null!==t&&An(n[o.GpT],t)}else Pu(t,Pi(t,~r),n)}}}const Ru=/\ufffd(\d+):?\d*\ufffd/gi,Nu=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Mu=/\ufffd(\d+)\ufffd/,ju=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Fu=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,$u=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,zu=/\uE500/g;function Hu(t,e,n,r,i,s,a){const l=dr(t,r,1,null);let c=l<<_u.SHIFT,u=(0,o.Ab)();e===u&&(u=null),null===u&&(c|=_u.APPEND_EAGERLY),a&&(c|=_u.COMMENT,function(t){void 0===br&&(br=t())}(zi)),i.push(c,null===s?"":s);const d=Ei(t,l,a?32:1,null===s?"":s,null);Ai(n,d);const h=d.index;return(0,o.iMd)(d,!1),null!==u&&e!==u&&function(t,e){let n=t.insertBeforeIndex;null===n?(xo(ki,xi),n=t.insertBeforeIndex=[null,e]):((0,o.Xln)(Array.isArray(n),!0,"Expecting array here"),n.push(e))}(u,h),d}function Bu(t,e,n,r,o,i,s,a){const l=a.match(Ru),c=Hu(e,n,r,s,o,l?null:a,!1).index;l&&Vu(i,a,c,null,0,null),t.push({kind:0,index:c})}function Vu(t,e,n,r,o,i){const s=t.length,a=s+1;t.push(null,null);const l=s+2,c=e.split(Ru);let u=0;for(let e=0;e<c.length;e++){const n=c[e];if(1&e){const e=o+parseInt(n,10);t.push(-1-e),u|=Wu(e)}else""!==n&&t.push(n)}return t.push(n<<2|(r?1:0)),r&&t.push(r,i),t[s]=u,t[a]=t.length-l,u}function Uu(t){let e=0;for(let n=0;n<t.length;n++){const r=t[n];"number"==typeof r&&r<0&&e++}return e}function Wu(t){return 1<<Math.min(t,31)}function Gu(t){let e,n,r="",o=0,i=!1;for(;null!==(e=Fu.exec(t));)i?e[0]===`�/*${n}�`&&(o=e.index,i=!1):(r+=t.substring(o,e.index+e[0].length),n=e[1],i=!0);return r+=t.slice(o),r}function qu(t,e,n,r,o,i,s){let a=0;const l={type:i.type,currentCaseLViewIndex:dr(e,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};(function(t,e,n){t.push(Wu(e.mainBinding),2,-1-e.mainBinding,n<<2|2)})(r,i,s),function(t,e,n){const r=t.data[e];null===r?t.data[e]=n:r.value=n}(e,s,l);const c=i.values,u=[];for(let t=0;t<c.length;t++){const s=c[t],d=[];for(let t=0;t<s.length;t++){const e=s[t];if("string"!=typeof e){const n=d.push(e)-1;s[t]=`\x3c!--�${n}�--\x3e`}}const h=[];u.push(h),a=Xu(h,e,l,n,r,o,i.cases[t],s.join(""),d)|a}a&&function(t,e,n){t.push(e,1,n<<2|3)}(r,a,s),t.push({kind:3,index:s,cases:u,currentCaseLViewIndex:l.currentCaseLViewIndex})}function Qu(t){const e=[],n=[];let r=1,o=0;const i=Zu(t=t.replace(ju,function(t,e,n){return r="select"===n?0:1,o=parseInt(e.slice(1),10),""}));for(let t=0;t<i.length;){let o=i[t++].trim();1===r&&(o=o.replace(/\s*(?:=)?(\w+)\s*/,"$1")),o.length&&e.push(o);const s=Zu(i[t++]);e.length>n.length&&n.push(s)}return{type:r,mainBinding:o,cases:e,values:n}}function Zu(t){if(!t)return[];let e=0;const n=[],r=[],o=/[{}]/g;let i;for(o.lastIndex=0;i=o.exec(t);){const o=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const n=t.substring(e,o);ju.test(n)?r.push(Qu(n)):r.push(n),e=o+1}}else{if(0==n.length){const n=t.substring(e,o);r.push(n),e=o+1}n.push("{")}}const s=t.substring(e);return r.push(s),r}function Xu(t,e,n,r,o,i,s,a,l){const c=[],u=[],d=[];n.cases.push(s),n.create.push(c),n.remove.push(u),n.update.push(d);const h=Qe(ne()).getInertBodyElement(a),p=bn(h)||h;return p?Yu(t,e,n,r,o,c,u,d,p,i,l,0):0}function Yu(t,e,n,r,o,i,s,a,l,c,u,d){let h=0,p=l.firstChild;for(;p;){const l=dr(e,r,1,null);switch(p.nodeType){case Node.ELEMENT_NODE:const f=p,g=f.tagName.toLowerCase();if(on.hasOwnProperty(g)){td(i,Su,g,c,l),e.data[l]=g;const m=f.attributes;for(let t=0;t<m.length;t++){const e=m.item(t),n=e.name.toLowerCase(),r=!!e.value.match(Ru),o=f.namespaceURI,s="http://www.w3.org/2000/svg"===o?`:svg:${g}`:"http://www.w3.org/1998/Math/MathML"===o?`:math:${g}`:g;if(r)an.hasOwnProperty(n)&&Vu(a,e.value,l,e.name,0,nd(n,s));else if(an[n]){let t=e.value;nd(n,s)?ed(i,l,e.name,"unsafe:blocked"):ed(i,l,e.name,t)}}const y={kind:1,index:l,children:[]};t.push(y),h=Yu(y.children,e,n,r,o,i,s,a,p,l,u,d+1)|h,Ku(s,l,d)}break;case Node.TEXT_NODE:const m=p.textContent||"",y=m.match(Ru);td(i,null,y?"":m,c,l),Ku(s,l,d),y&&(h=Vu(a,m,l,null,0,null)|h),t.push({kind:0,index:l});break;case Node.COMMENT_NODE:const b=Mu.exec(p.textContent||"");if(b){const n=u[parseInt(b[1],10)];td(i,Cu,"",c,l),qu(t,e,r,o,c,n,l),Ju(s,l,d)}}p=p.nextSibling}return h}function Ku(t,e,n){0===n&&t.push(e)}function Ju(t,e,n){0===n&&(t.push(~e),t.push(e))}function td(t,e,n,r,o){null!==e&&t.push(e),t.push(n,o,function(t,e,n){return e<<17|n<<1}(0,r,o))}function ed(t,e,n,r){t.push(e<<1|1,n,r)}function nd(t,e){const n=t.toLowerCase(),r=e?function(t){const e=t.toLowerCase(),[n,r]=function(t,e=!0){if(":"!=t[0])return[null,t];const n=t.indexOf(":",1);if(-1===n){if(e)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,n),t.slice(n+1)]}(e,!1);return n===o.jNX||n===o.rJ1?`:${n}:${r}`:r}(e):"*",i=(Ln||(Ln={},Dn(On.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Dn(On.STYLE,void 0,[["*",["style"]]]),Dn(On.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Dn(On.URL,"math",[["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),Dn(On.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Dn(On.URL,"svg",[["a",["href","xlink:href"]]]),Dn(On.ATTRIBUTE_NO_BINDING,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Dn(On.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),Ln);switch(i[`${r}|${n}`]||i[`*|${n}`]||On.NONE){case On.HTML:return Pn;case On.STYLE:return Rn;case On.SCRIPT:return jn;case On.URL:return Ke;case On.RESOURCE_URL:return Mn;case On.ATTRIBUTE_NO_BINDING:return Vn;default:return null}}const rd=/\[(\ufffd.+?\ufffd?)\]/,od=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,id=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,sd=/{([A-Z0-9_]+)}/g,ad=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,ld=/\/\*/,cd=/\d+\:(\d+)/;function ud(t,e,n=-1){const r=(0,o.klJ)(),i=(0,o.OAn)(),s=o.Yw1+t,a=(0,o.db4)(r.consts,e),l=(0,o.Ab)();r.firstCreatePass&&function(t,e,n,r,i,s){const a=(0,o.Ab)(),l=[],c=[],u=[[]],d=[[]];i=function(t,e){if(function(t){return-1===t}(e))return Gu(t);{const n=t.indexOf(`:${e}�`)+2+e.toString().length,r=t.search(new RegExp(`�\\/\\*\\d+:${e}�`));return Gu(t.substring(n,r))}}(i,s);const h=function(t){return t.replace(zu," ")}(i).split($u);for(let r=0;r<h.length;r++){let s=h[r];if(1&r){const e=47===s.charCodeAt(0),n=s.charCodeAt(e?1:0),r=o.Yw1+Number.parseInt(s.substring(e?2:1));if(e)u.shift(),d.shift(),(0,o.iMd)((0,o.Ab)(),!1);else{const e=Ri(t,u[0],r);u.unshift([]),(0,o.iMd)(e,!0);const i={kind:2,index:r,children:[],type:35===n?0:1};d[0].push(i),d.unshift(i.children)}}else{const r=Zu(s);for(let o=0;o<r.length;o++){let s=r[o];if(1&o){const r=s;if("object"!=typeof r)throw new Error(`Unable to parse ICU expression in "${i}" message.`);const o=Hu(t,a,u[0],n,l,"",!0).index;qu(d[0],t,n,c,e,r,o)}else""!==s&&Bu(d[0],t,a,u[0],l,c,n,s)}}}t.data[r]={create:l,update:c,ast:d[0],parentTNodeIndex:e}}(r,null===l?0:l.index,i,s,a,n),2===r.type?i[o.b5C][o.Wg1]|=32:i[o.Wg1]|=32;const c=r.data[s],u=wo(r,l===i[o.qlT]?null:l,i);(function(t,e,n,r){const i=t[o.GpT];for(let s=0;s<e.length;s++){const a=e[s++],l=(a&_u.APPEND_EAGERLY)===_u.APPEND_EAGERLY,c=a>>>_u.SHIFT;let u=t[c],d=!1;null===u&&(u=t[c]=Au(t,0,e[s],(a&_u.COMMENT)===_u.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),d=(0,o.SX7)()),l&&null!==n&&d&&xn(i,n,u,r,!1)}})(i,c.create,u,l&&8&l.type?i[l.index]:null),(0,o.xyx)(!0)}function dd(){(0,o.xyx)(!1)}function hd(t,e,n){const r=(0,o.OAn)(),i=(0,o.klJ)(),s=(0,o.Mx4)();return fd(i,r,r[o.GpT],s,t,e,n),hd}function pd(t,e,n){const r=(0,o.OAn)(),i=(0,o.klJ)(),s=(0,o.Mx4)();return(3&s.type||n)&&Ns(s,i,r,n,r[o.GpT],t,e,Ps(s,r,e)),pd}function fd(t,e,n,r,o,i,s){let a=!0,l=null;if((3&r.type||s)&&(l??=Ps(r,e,i),Ns(r,t,e,s,n,o,i,l)&&(a=!1)),a){const t=r.outputs?.[o],n=r.hostDirectiveOutputs?.[o];if(n&&n.length)for(let t=0;t<n.length;t+=2){const s=n[t],a=n[t+1];l??=Ps(r,e,i),js(r,e,s,a,o,l)}if(t&&t.length)for(const n of t)l??=Ps(r,e,i),js(r,e,n,o,o,l)}}function gd(t=1){return(0,o.jvu)(t)}function md(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(t);for(let o=0;o<e.length;o++){const i=e[o];if("*"!==i){if(null===r?nr(t,i,!0):rr(r,i))return o}else n=o}return n}function yd(t){const e=(0,o.OAn)()[o.b5C][o.qlT];if(!e.projection){const n=e.projection=(0,o.WfI)(t?t.length:1,null),r=n.slice();let i=e.child;for(;null!==i;){if(128!==i.type){const e=t?md(i,t):0;null!==e&&(r[e]?r[e].projectionNext=i:n[e]=i,r[e]=i)}i=i.next}}}function bd(t,e=0,n,r,i,s){const a=(0,o.OAn)(),l=(0,o.klJ)(),c=r?t+1:null;null!==c&&al(a,l,c,r,i,s,null,n);const u=Ti(l,o.Yw1+t,16,null,n||null);null===u.projection&&(u.projection=e),(0,o.Pfq)();const d=!a[o.tcA]||(0,o.KtD)();null===a[o.b5C][o.qlT].projection[u.projection]&&null!==c?function(t,e,n){const r=o.Yw1+n,i=e.data[r];mi(t[r],Xo(t,i,void 0,{dehydratedView:null}),0,Yo(i,null))}(a,l,c):d&&!Oe(u)&&function(t,e,n){Do(e[o.GpT],0,e,n,vo(t,n,e),So(n.parent||e[o.qlT],n,e))}(l,a,u)}function vd(t,e,n,r){return ha(t,e,n,r),vd}function wd(t,e,n){return da(t,e,n),wd}function Sd(t){const e=(0,o.OAn)(),n=(0,o.klJ)(),r=(0,o.w7Z)();(0,o.GA0)(r+1);const i=fa(n,r);if(t.dirty&&(0,o.vOT)(e)===!(2&~i.metadata.flags)){if(null===i.matches)t.reset([]);else{const n=ga(e,r);t.reset(n,Ht),t.notifyOnChanges()}return!0}return!1}function Cd(){return ca((0,o.OAn)(),(0,o.w7Z)())}function _d(t,e,n,r,o){return wa(e,ha(t,n,r,o)),_d}function kd(t,e,n,r){return wa(t,da(e,n,r)),kd}function xd(t=1){(0,o.GA0)((0,o.w7Z)()+t)}function Td(t){const e=(0,o.VPL)();return(0,o.Hh6)(e,o.Yw1+t)}function Ed(t,e){return t<<17|e<<2}function Ad(t){return t>>17&32767}function Id(t){return 2|t}function Od(t){return(131068&t)>>2}function Ld(t,e){return-131069&t|e<<2}function Dd(t){return 1|t}function Pd(t,e,n,r){const o=t[n+1],i=null===e;let s=r?Ad(o):Od(o),a=!1;for(;0!==s&&(!1===a||i);){const n=t[s+1];Rd(t[s],e)&&(a=!0,t[s+1]=r?Dd(n):Id(n)),s=r?Ad(n):Od(n)}a&&(t[n+1]=r?Id(o):Dd(o))}function Rd(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&(0,o.FRF)(t,e)>=0}const Nd={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Md(t){return t.substring(Nd.key,Nd.keyEnd)}function jd(t){return t.substring(Nd.value,Nd.valueEnd)}function Fd(t,e){const n=Nd.textEnd;return n===e?-1:(e=Nd.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Nd.key=e,n),Hd(t,e,n))}function $d(t,e){const n=Nd.textEnd;let r=Nd.key=Hd(t,e,n);return n===r?-1:(r=Nd.keyEnd=function(t,e,n){let r;for(;e<n&&(45===(r=t.charCodeAt(e))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)e++;return e}(t,r,n),r=Bd(t,r,n),r=Nd.value=Hd(t,r,n),r=Nd.valueEnd=function(t,e,n){let r=-1,o=-1,i=-1,s=e,a=s;for(;s<n;){const l=t.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=Vd(t,l,s,n):e===s-4&&85===i&&82===o&&76===r&&40===l?a=s=Vd(t,41,s,n):l>32&&(a=s),i=o,o=r,r=-33&l}return a}(t,r,n),Bd(t,r,n))}function zd(t){Nd.key=0,Nd.keyEnd=0,Nd.value=0,Nd.valueEnd=0,Nd.textEnd=t.length}function Hd(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Bd(t,e,n,r){return(e=Hd(t,e,n))<n&&e++,e}function Vd(t,e,n,r){let o=-1,i=n;for(;i<r;){const n=t.charCodeAt(i++);if(n==e&&92!==o)return i;o=92==n&&92===o?0:n}throw new Error}function Ud(t,e,n){return Xd(t,e,n,!1),Ud}function Wd(t,e){return Xd(t,e,null,!0),Wd}function Gd(t){Yd(nh,qd,t,!1)}function qd(t,e){for(let n=function(t){return zd(t),$d(t,Hd(t,0,Nd.textEnd))}(e);n>=0;n=$d(e,n))nh(t,Md(e),jd(e))}function Qd(t){Yd(rh,Zd,t,!0)}function Zd(t,e){for(let n=function(t){return zd(t),Fd(t,Hd(t,0,Nd.textEnd))}(e);n>=0;n=Fd(e,n))(0,o.ezK)(t,Md(e),!0)}function Xd(t,e,n,r){const i=(0,o.OAn)(),s=(0,o.klJ)(),a=(0,o.b$O)(2);s.firstUpdatePass&&Jd(s,t,a,r),e!==sr&&Is(i,a,e)&&oh(s,s.data[(0,o._px)()],i,i[o.GpT],t,i[a+1]=function(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=(0,o.AsM)(Ge(t)))),t}(e,n),r,a)}function Yd(t,e,n,r){const i=(0,o.klJ)(),s=(0,o.b$O)(2);i.firstUpdatePass&&Jd(i,null,s,r);const a=(0,o.OAn)();if(n!==sr&&Is(a,s,n)){const l=i.data[(0,o._px)()];if(ah(l,r)&&!Kd(i,s)){let t=r?l.classesWithoutHost:l.stylesWithoutHost;null!==t&&(n=(0,o.n$e)(t,n||"")),Zc(i,l,a,n,r)}else!function(t,e,n,r,i,s,a,l){i===sr&&(i=o.Mlv);let c=0,u=0,d=0<i.length?i[0]:null,h=0<s.length?s[0]:null;for(;null!==d||null!==h;){const o=c<i.length?i[c+1]:void 0,p=u<s.length?s[u+1]:void 0;let f,g=null;d===h?(c+=2,u+=2,o!==p&&(g=h,f=p)):null===h||null!==d&&d<h?(c+=2,g=d):(u+=2,g=h,f=p),null!==g&&oh(t,e,n,r,g,f,a,l),d=c<i.length?i[c]:null,h=u<s.length?s[u]:null}}(i,l,a,a[o.GpT],a[s+1],a[s+1]=function(t,e,n){if(null==n||""===n)return o.Mlv;const r=[],i=Ge(n);if(Array.isArray(i))for(let e=0;e<i.length;e++)t(r,i[e],!0);else if(i instanceof Set)for(const e of i)t(r,e,!0);else if("object"==typeof i)for(const e in i)i.hasOwnProperty(e)&&t(r,e,i[e]);else"string"==typeof i&&e(r,i);return r}(t,e,n),r,s)}}function Kd(t,e){return e>=t.expandoStartIndex}function Jd(t,e,n,r){const i=t.data;if(null===i[n+1]){const s=i[(0,o._px)()],a=Kd(t,n);ah(s,r)&&null===e&&!a&&(e=!1),e=function(t,e,n,r){const i=(0,o.MT)(t);let s=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=eh(n=th(null,t,e,n,r),e.attrs,r),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==i)if(n=th(i,t,e,n,r),null===s){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Od(r))return t[Ad(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=th(null,t,e,n[1],r),n=eh(n,e.attrs,r),function(t,e,n,r){t[Ad(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else s=function(t,e,n){let r;const o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++)r=eh(r,t[i].hostAttrs,n);return eh(r,e.attrs,n)}(t,e,r)}return void 0!==s&&(r?e.residualClasses=s:e.residualStyles=s),n}(i,s,e,r),function(t,e,n,r,i,s){let a=s?e.classBindings:e.styleBindings,l=Ad(a),c=Od(a);t[r]=n;let u,d=!1;if(Array.isArray(n)?(u=n[1],(null===u||(0,o.FRF)(n,u)>0)&&(d=!0)):u=n,i)if(0!==c){const e=Ad(t[l+1]);t[r+1]=Ed(e,l),0!==e&&(t[e+1]=Ld(t[e+1],r)),t[l+1]=function(t,e){return 131071&t|e<<17}(t[l+1],r)}else t[r+1]=Ed(l,0),0!==l&&(t[l+1]=Ld(t[l+1],r)),l=r;else t[r+1]=Ed(c,0),0===l?l=r:t[c+1]=Ld(t[c+1],r),c=r;d&&(t[r+1]=Id(t[r+1])),Pd(t,u,r,!0),Pd(t,u,r,!1),function(t,e,n,r,i){const s=i?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&(0,o.FRF)(s,e)>=0&&(n[r+1]=Dd(n[r+1]))}(e,u,t,r,s),a=Ed(l,c),s?e.classBindings=a:e.styleBindings=a}(i,s,e,n,a,r)}}function th(t,e,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=e[a],r=eh(r,i.hostAttrs,o),i!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function eh(t,e,n){const r=n?1:2;let i=-1;if(null!==e)for(let s=0;s<e.length;s++){const a=e[s];"number"==typeof a?i=a:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),(0,o.ezK)(t,a,!!n||e[++s]))}return void 0===t?null:t}function nh(t,e,n){(0,o.ezK)(t,e,Ge(n))}function rh(t,e,n){const r=String(e);""!==r&&!r.includes(" ")&&(0,o.ezK)(t,r,n)}function oh(t,e,n,r,i,s,a,l){if(!(3&e.type))return;const c=t.data,u=c[l+1],d=function(t){return!(1&~t)}(u)?ih(c,e,n,i,Od(u),a):void 0;sh(d)||(sh(s)||function(t){return!(2&~t)}(u)&&(s=ih(c,null,n,i,l,a)),function(t,e,n,r,o){if(e)o?t.addClass(n,r):t.removeClass(n,r);else{let e=-1===r.indexOf("-")?void 0:yr.DashCase;null==o?t.removeStyle(n,r,e):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),e|=yr.Important),t.setStyle(n,r,o,e))}}(r,a,(0,o.vaC)((0,o._px)(),n),i,s))}function ih(t,e,n,r,i,s){const a=null===e;let l;for(;i>0;){const e=t[i],s=Array.isArray(e),c=s?e[1]:e,u=null===c;let d=n[i+1];d===sr&&(d=u?o.Mlv:void 0);let h=u?(0,o.K7h)(d,r):c===r?d:void 0;if(s&&!sh(h)&&(h=(0,o.K7h)(e,r)),sh(h)&&(l=h,a))return l;const p=t[i+1];i=a?Ad(p):Od(p)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(l=(0,o.K7h)(t,r))}return l}function sh(t){return void 0!==t}function ah(t,e){return!!(t.flags&(e?8:16))}function lh(t,e=""){const n=(0,o.OAn)(),r=(0,o.klJ)(),i=t+o.Yw1,s=r.firstCreatePass?Ti(r,i,1,e,null):r.data[i],a=ch(r,n,s,e);n[i]=a,(0,o.SX7)()&&To(r,n,a,s),(0,o.iMd)(s,!1)}let ch=(t,e,n,r)=>((0,o.m7n)(!0),Sn(e[o.GpT],r));function uh(t,e){let n=!1,r=(0,o.c$7)();for(let o=1;o<e.length;o+=2)n=Is(t,r++,e[o])||n;if((0,o.Kw3)(r),!n)return sr;let i=e[0];for(let t=1;t<e.length;t+=2)i+=(0,o.eFE)(e[t])+(t+1!==e.length?e[t+1]:"");return i}function dh(t,e,n,r=""){return Is(t,(0,o.xbp)(),n)?e+(0,o.eFE)(n)+r:sr}function hh(t,e,n,r,i,s=""){const a=Os(t,(0,o.c$7)(),n,i);return(0,o.b$O)(2),a?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s:sr}function ph(t,e,n,r,i,s,a,l=""){const c=Ls(t,(0,o.c$7)(),n,i,a);return(0,o.b$O)(3),c?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l:sr}function fh(t,e,n,r,i,s,a,l,c,u=""){const d=Ds(t,(0,o.c$7)(),n,i,a,c);return(0,o.b$O)(4),d?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l+(0,o.eFE)(c)+u:sr}function gh(t,e,n,r,i,s,a,l,c,u,d,h=""){const p=(0,o.c$7)();let f=Ds(t,p,n,i,a,c);return f=Is(t,p+4,d)||f,(0,o.b$O)(5),f?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l+(0,o.eFE)(c)+u+(0,o.eFE)(d)+h:sr}function mh(t,e,n,r,i,s,a,l,c,u,d,h,p,f=""){const g=(0,o.c$7)();let m=Ds(t,g,n,i,a,c);return m=Os(t,g+4,d,p)||m,(0,o.b$O)(6),m?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l+(0,o.eFE)(c)+u+(0,o.eFE)(d)+h+(0,o.eFE)(p)+f:sr}function yh(t,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m=""){const y=(0,o.c$7)();let b=Ds(t,y,n,i,a,c);return b=Ls(t,y+4,d,p,g)||b,(0,o.b$O)(7),b?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l+(0,o.eFE)(c)+u+(0,o.eFE)(d)+h+(0,o.eFE)(p)+f+(0,o.eFE)(g)+m:sr}function bh(t,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m,y,b=""){const v=(0,o.c$7)();let w=Ds(t,v,n,i,a,c);return w=Ds(t,v+4,d,p,g,y)||w,(0,o.b$O)(8),w?e+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(a)+l+(0,o.eFE)(c)+u+(0,o.eFE)(d)+h+(0,o.eFE)(p)+f+(0,o.eFE)(g)+m+(0,o.eFE)(y)+b:sr}function vh(t){return wh("",t),vh}function wh(t,e,n){const r=(0,o.OAn)(),i=dh(r,t,e,n);return i!==sr&&Ch(r,(0,o._px)(),i),wh}function Sh(t,e,n,r,i){const s=(0,o.OAn)(),a=hh(s,t,e,n,r,i);return a!==sr&&Ch(s,(0,o._px)(),a),Sh}function Ch(t,e,n){const r=(0,o.vaC)(e,t);Cn(t[o.GpT],r,n)}function _h(t,e,n){Wl(e)&&(e=e());const r=(0,o.OAn)();return Is(r,(0,o.xbp)(),e)&&((0,o.klJ)(),Mo((0,o.CpD)(),r,t,e,r[o.GpT],n)),_h}function kh(t,e){const n=Wl(t);return n&&t.set(e),n}function xh(t,e){const n=(0,o.OAn)(),r=(0,o.klJ)(),i=(0,o.Mx4)();return fd(r,n,n[o.GpT],i,t,e),xh}const Th={};function Eh(t){return Is((0,o.OAn)(),(0,o.xbp)(),t)?(0,o.eFE)(t):sr}function Ah(t,e,n){const r=(0,o.klJ)();r.firstCreatePass&&Ih(e,r.data,r.blueprint,(0,o.JlV)(t),n)}function Ih(t,e,n,r,i){if(t=(0,o.nl4)(t),Array.isArray(t))for(let o=0;o<t.length;o++)Ih(t[o],e,n,r,i);else{const s=(0,o.klJ)(),a=(0,o.OAn)(),l=(0,o.Mx4)();let c=(0,o.Y3W)(t)?t:(0,o.nl4)(t.provide);const u=(0,o.Rc9)(t),d=1048575&l.providerIndexes,h=l.directiveStart,p=l.providerIndexes>>20;if((0,o.Y3W)(t)||!t.multi){const r=new Y(u,i,ds,null),o=Dh(c,e,i?d:d+p,h);-1===o?(ft(ut(l,a),s,c),Oh(s,t,e.length),e.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(r),a.push(r)):(n[o]=r,a[o]=r)}else{const o=Dh(c,e,d+p,h),f=Dh(c,e,d,d+p),g=f>=0&&n[f];if(i&&!g||!i&&!(o>=0&&n[o])){ft(ut(l,a),s,c);const o=function(t,e,n,r,o){const i=new Y(t,n,ds,null);return i.multi=[],i.index=e,i.componentProviders=0,Lh(i,o,r&&!n),i}(i?Rh:Ph,n.length,i,r,u);!i&&g&&(n[f].providerFactory=o),Oh(s,t,e.length,0),e.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(o),a.push(o)}else Oh(s,t,o>-1?o:f,Lh(n[i?f:o],u,!i&&r));!i&&r&&g&&n[f].componentProviders++}}}function Oh(t,e,n,r){const i=(0,o.Y3W)(e),s=(0,o.MME)(e);if(i||s){const a=(s?(0,o.nl4)(e.useClass):e).prototype.ngOnDestroy;if(a){const o=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,a]):o[t+1].push(r,a)}else o.push(n,a)}}}function Lh(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Dh(t,e,n,r){for(let o=n;o<r;o++)if(e[o]===t)return o;return-1}function Ph(t,e,n,r,o){return Nh(this.multi,[])}function Rh(t,e,n,r,i){const s=this.multi;let a;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=St(r,r[o.eDl],this.providerFactory.index,i);a=e.slice(0,t),Nh(s,a);for(let n=t;n<e.length;n++)a.push(e[n])}else a=[],Nh(s,a);return a}function Nh(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function Mh(t,e){return n=>{n.providersResolver=(e,n)=>Ah(e,n?n(t):t,!1),e&&(n.viewProvidersResolver=(t,n)=>Ah(t,n?n(e):e,!0))}}function jh(t){if("function"==typeof t)return t;const e=(0,o.Bqz)(t);return e.some(o.Jzi)?()=>e.map(o.nl4).map(Fh):e.map(Fh)}function Fh(t){return ts(t)?t.ngModule:t}function $h(t,e){const n=(0,o.gxQ)()+t,r=(0,o.OAn)();return r[n]===sr?Es(r,n,e()):As(r,n)}function zh(t,e,n){return Uh((0,o.OAn)(),(0,o.gxQ)(),t,e,n)}function Hh(t,e,n,r){return Wh((0,o.OAn)(),(0,o.gxQ)(),t,e,n,r)}function Bh(t,e,n,r,i){return Gh((0,o.OAn)(),(0,o.gxQ)(),t,e,n,r,i)}function Vh(t,e){const n=t[e];return n===sr?void 0:n}function Uh(t,e,n,r,o,i){const s=e+n;return Is(t,s,o)?Es(t,s+1,i?r.call(i,o):r(o)):Vh(t,s+1)}function Wh(t,e,n,r,o,i,s){const a=e+n;return Os(t,a,o,i)?Es(t,a+2,s?r.call(s,o,i):r(o,i)):Vh(t,a+2)}function Gh(t,e,n,r,o,i,s,a){const l=e+n;return Ls(t,l,o,i,s)?Es(t,l+3,a?r.call(a,o,i,s):r(o,i,s)):Vh(t,l+3)}function qh(t,e,n,r,o,i,s,a,l){const c=e+n;return Ds(t,c,o,i,s,a)?Es(t,c+4,l?r.call(l,o,i,s,a):r(o,i,s,a)):Vh(t,c+4)}function Qh(t,e,n,r,o,i){let s=e+n,a=!1;for(let e=0;e<o.length;e++)Is(t,s++,o[e])&&(a=!0);return a?Es(t,s,r.apply(i,o)):Vh(t,s)}function Zh(t,e){const n=(0,o.klJ)();let r;const i=t+o.Yw1;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=(0,o.wGu)(r.type,!0)),a=(0,o.a2B)(ds);try{const t=at(!1),e=s();return at(t),(0,o.M_e)(n,(0,o.OAn)(),i,e),e}finally{(0,o.a2B)(a)}}function Xh(t,e,n){const r=t+o.Yw1,i=(0,o.OAn)(),s=(0,o.Hh6)(i,r);return Kh(i,r)?Uh(i,(0,o.gxQ)(),e,s.transform,n,s):s.transform(n)}function Yh(t,e,n,r){const i=t+o.Yw1,s=(0,o.OAn)(),a=(0,o.Hh6)(s,i);return Kh(s,i)?Wh(s,(0,o.gxQ)(),e,a.transform,n,r,a):a.transform(n,r)}function Kh(t,e){return t[o.eDl].data[e].pure}function Jh(t,e){return _i(t,e)}function tp(t,e,n,r,i){const s=i[o.eDl];if(s!==r.tView)for(let a=o.Yw1;a<s.bindingStartIndex;a++){const s=i[a];if((0,o.A0l)(s)){(0,o.q$2)(s[o.jgP])&&tp(t,e,n,r,s[o.jgP]);for(let i=o.Y20;i<s.length;i++)tp(t,e,n,r,s[i])}else(0,o.q$2)(s)&&tp(t,e,n,r,s)}else!function(t,e,n,r,i){const s=i[o.SKP];let a=i[o.jgP];const l=i[o.f7T],c=i[o.qlT],u=i[o.YEL].get(o.SKi,null),d=()=>{if(r.encapsulation===Me.ShadowDom||r.encapsulation===Me.ExperimentalIsolatedShadowDom){const t=a.cloneNode(!1);a.replaceWith(t),a=t}const t=lr(n),e=cr(l,t,s,ur(n),a,c,null,null,null,null,null);(function(t,e,n,r){for(let r=o.Yw1;r<t[o.eDl].bindingStartIndex;r++){const i=t[r];if(((0,o.q$2)(i)||(0,o.A0l)(i))&&i[o.K29]===e){i[o.K29]=n;break}}t[o.EJG]===e&&(t[o.EJG]=n),t[o.Yrj]===e&&(t[o.Yrj]=n),n[o.K29]=e[o.K29],e[o.K29]=null,t[r]=n})(l,i,e,c.index),mo(i[o.eDl],i),Gi(i);const u=i[o.M0L].rendererFactory;(function(t,e){t.componentReplaced?.(e.id)})(u,r),e[o.GpT]=u.createRenderer(a,n),po(i[o.eDl],i),function(t){if(null!==t.projection){for(const e of t.projection)K(e)&&(e.projectionNext=null,e.flags&=-3);t.projection=null}}(c),Zo(t,e,s),ai(t,e,t.template,s)};null===u?ep(t,e,d):u.run(()=>ep(t,e,d))}(t,e,n,r,i)}function ep(t,e,n){try{n()}catch(n){if(null!==e&&n.message){const r=n.message+(n.stack?"\n"+n.stack:"");t?.hot?.send?.("angular:invalidate",{id:e,message:r,error:!0})}throw n}}const np={ɵɵanimateEnter:Dc,ɵɵanimateEnterListener:function t(e){if(Yr("NgAnimateEnter"),!_r)return t;const n=(0,o.OAn)();if(kr(n))return t;const r=(0,o.Mx4)();return Fr(Pr(n),r,()=>function(t,e,n){const r=(0,o.d31)(e,t);n.call(t[o.SKP],{target:r,animationComplete:Tr})}(n,r,e)),lo(n[o.YEL]),co(n[o.YEL],Pr(n)),t},ɵɵanimateLeave:Pc,ɵɵanimateLeaveListener:function t(e){if(Yr("NgAnimateLeave"),!_r)return t;const n=(0,o.OAn)(),r=(0,o.Mx4)();qr.add(n[o.ID]);const i=n[o.YEL].get(o.SKi),s=n[o.YEL].get(Sr);return Fr(Rr(n),r,()=>function(t,e,n,r,i){const{promise:s,resolve:a}=cc(),l=(0,o.d31)(e,t),c=[],u=t[o.GpT],d=kr(t);(Rr(t).get(e.index).resolvers??=[]).push(a);const h=Rr(t).get(e.index)?.resolvers;if(d)Hr(t,e,l,h,c);else{const s=setTimeout(()=>Hr(t,e,l,h,c),i),a={target:l,animationComplete:()=>{Hr(t,e,l,h,c),clearTimeout(s)}};Dr(e,l),r.runOutsideAngular(()=>{c.push(u.listen(l,"animationend",()=>{Hr(t,e,l,h,c),clearTimeout(s)},{once:!0}))}),n.call(t[o.SKP],a)}return{promise:s,resolve:a}}(n,r,e,i,s)),lo(n[o.YEL]),t},ɵɵattribute:Lc,ɵɵdefineComponent:Fa,ɵɵdefineDirective:Va,ɵɵdefineInjectable:o.jDH,ɵɵdefineInjector:o.G2t,ɵɵdefineNgModule:za,ɵɵdefinePipe:Ua,ɵɵdirectiveInject:ds,ɵɵgetInheritedFactory:Tt,ɵɵinject:o.KVO,ɵɵinjectAttribute:It,ɵɵinvalidFactory:hs,ɵɵinvalidFactoryDep:o.dmw,ɵɵtemplateRefExtractor:Jh,ɵɵresetView:o.Njj,ɵɵHostDirectivesFeature:Qa,ɵɵNgOnChangesFeature:R,ɵɵControlFeature:function(t){return e=>{e.controlDef={create:(t,e)=>{t?.ɵngControlCreate(e)},update:(t,e)=>{t?.ɵngControlUpdate?.(e)},passThroughInput:t}}},ɵɵProvidersFeature:Mh,ɵɵInheritDefinitionFeature:tl,ɵɵExternalStylesFeature:function(t){return e=>{t.length<1||(e.getExternalStyles=n=>t.map(t=>t+"?ngcomp"+(n?"="+encodeURIComponent(n):"")+"&e="+e.encapsulation))}},ɵɵnextContext:gd,ɵɵnamespaceHTML:o.joV,ɵɵnamespaceMathML:o.By9,ɵɵnamespaceSVG:o.qSk,ɵɵenableBindings:o.cSN,ɵɵdisableBindings:o.fuf,ɵɵelementStart:Xc,ɵɵelementEnd:Kc,ɵɵelement:Jc,ɵɵelementContainerStart:ou,ɵɵelementContainerEnd:iu,ɵɵdomElement:nu,ɵɵdomElementStart:tu,ɵɵdomElementEnd:eu,ɵɵdomElementContainer:function t(e,n,r){return au(e,n,r),lu(),t},ɵɵdomElementContainerStart:au,ɵɵdomElementContainerEnd:lu,ɵɵdomTemplate:function t(e,n,r,i,s,a,l,c){const u=(0,o.OAn)(),d=(0,o.klJ)();return al(u,d,e,n,r,i,s,(0,o.db4)(d.consts,a),void 0,l,c),t},ɵɵdomListener:pd,ɵɵelementContainer:su,ɵɵpureFunction0:$h,ɵɵpureFunction1:zh,ɵɵpureFunction2:Hh,ɵɵpureFunction3:Bh,ɵɵpureFunction4:function(t,e,n,r,i,s,a){return qh((0,o.OAn)(),(0,o.gxQ)(),t,e,n,r,i,s)},ɵɵpureFunction5:function(t,e,n,r,i,s,a){const l=(0,o.gxQ)()+t,c=(0,o.OAn)(),u=Ds(c,l,n,r,i,s);return Is(c,l+4,a)||u?Es(c,l+5,e(n,r,i,s,a)):As(c,l+5)},ɵɵpureFunction6:function(t,e,n,r,i,s,a,l){const c=(0,o.gxQ)()+t,u=(0,o.OAn)(),d=Ds(u,c,n,r,i,s);return Os(u,c+4,a,l)||d?Es(u,c+6,e(n,r,i,s,a,l)):As(u,c+6)},ɵɵpureFunction7:function(t,e,n,r,i,s,a,l,c){const u=(0,o.gxQ)()+t,d=(0,o.OAn)();let h=Ds(d,u,n,r,i,s);return Ls(d,u+4,a,l,c)||h?Es(d,u+7,e(n,r,i,s,a,l,c)):As(d,u+7)},ɵɵpureFunction8:function(t,e,n,r,i,s,a,l,c,u){const d=(0,o.gxQ)()+t,h=(0,o.OAn)(),p=Ds(h,d,n,r,i,s);return Ds(h,d+4,a,l,c,u)||p?Es(h,d+8,e(n,r,i,s,a,l,c,u)):As(h,d+8)},ɵɵpureFunctionV:function(t,e,n){return Qh((0,o.OAn)(),(0,o.gxQ)(),t,e,n)},ɵɵgetCurrentView:uu,ɵɵrestoreView:o.eBV,ɵɵlistener:hd,ɵɵprojection:bd,ɵɵsyntheticHostProperty:function t(e,n,r){const i=(0,o.OAn)();if(Is(i,(0,o.xbp)(),n)){const t=(0,o.klJ)(),s=(0,o.CpD)();jo(s,i,e,n,Wo((0,o.MT)(t.data),s,i),r)}return t},ɵɵsyntheticHostListener:function t(e,n){const r=(0,o.Mx4)(),i=(0,o.OAn)(),s=(0,o.klJ)();return fd(s,i,Wo((0,o.MT)(s.data),r,i),r,e,n),t},ɵɵpipeBind1:Xh,ɵɵpipeBind2:Yh,ɵɵpipeBind3:function(t,e,n,r,i){const s=t+o.Yw1,a=(0,o.OAn)(),l=(0,o.Hh6)(a,s);return Kh(a,s)?Gh(a,(0,o.gxQ)(),e,l.transform,n,r,i,l):l.transform(n,r,i)},ɵɵpipeBind4:function(t,e,n,r,i,s){const a=t+o.Yw1,l=(0,o.OAn)(),c=(0,o.Hh6)(l,a);return Kh(l,a)?qh(l,(0,o.gxQ)(),e,c.transform,n,r,i,s,c):c.transform(n,r,i,s)},ɵɵpipeBindV:function(t,e,n){const r=t+o.Yw1,i=(0,o.OAn)(),s=(0,o.Hh6)(i,r);return Kh(i,r)?Qh(i,(0,o.gxQ)(),e,s.transform,n,s):s.transform.apply(s,n)},ɵɵprojectionDef:yd,ɵɵdomProperty:du,ɵɵariaProperty:Oc,ɵɵproperty:Qc,ɵɵcontrol:function(){!function(){const t=(0,o.OAn)(),e=(0,o.klJ)(),n=(0,o.CpD)();-1!==n.controlDirectiveIndex&&e.data[n.controlDirectiveIndex].controlDef.update(t[n.controlDirectiveIndex],new Fs(t,e,n))}()},ɵɵcontrolCreate:function(){!function(){const t=(0,o.OAn)(),e=(0,o.klJ)(),n=(0,o.Mx4)();e.firstCreatePass&&function(t,e){for(let n=e.directiveStart;n<e.directiveEnd;n++)if(t.data[n].controlDef){e.controlDirectiveIndex=n;break}if(-1===e.controlDirectiveIndex)return;const n=t.data[e.controlDirectiveIndex].controlDef;n.passThroughInput&&(e.inputs?.[n.passThroughInput]?.length??0)>1?e.flags|=4096:function(t,e){for(let n=e.directiveStart;n<e.directiveEnd;n++){const r=t.data[n];if($s(r,"value"))return e.flags|=1024,void(e.customControlIndex=n);if($s(r,"checked"))return e.flags|=2048,void(e.customControlIndex=n)}}(t,e)}(e,n),-1!==n.controlDirectiveIndex&&(Yr("NgSignalForms"),e.data[n.controlDirectiveIndex].controlDef.create(t[n.controlDirectiveIndex],new Fs(t,e,n)))}()},ɵɵpipe:Zh,ɵɵqueryRefresh:Sd,ɵɵqueryAdvance:xd,ɵɵviewQuery:wd,ɵɵviewQuerySignal:kd,ɵɵloadQuery:Cd,ɵɵcontentQuery:vd,ɵɵcontentQuerySignal:_d,ɵɵreference:Td,ɵɵclassMap:Qd,ɵɵstyleMap:Gd,ɵɵstyleProp:Ud,ɵɵclassProp:Wd,ɵɵadvance:pr,ɵɵtemplate:ll,ɵɵconditional:Bc,ɵɵconditionalCreate:zc,ɵɵconditionalBranchCreate:Hc,ɵɵdefer:function(t,e,n,r,i,s,a,l,c,u){const d=(0,o.OAn)(),h=(0,o.klJ)(),p=t+o.Yw1,f=al(d,h,t,null,0,0),g=d[o.YEL],m=De(g);if(h.firstCreatePass){Yr("NgDefer");const t={primaryTmplIndex:e,loadingTmplIndex:r??null,placeholderTmplIndex:i??null,errorTmplIndex:s??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ul.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:u??0};c?.(h,t,l,a),function(t,e,n){const r=bl(e);t.data[r]=n}(h,p,t)}const y=d[p];let b=null,v=null;if(y[o.qFA]?.length>0){const t=y[o.qFA][0].data;v=t.di??null,b=t.s}const w=[null,hl.Initial,null,null,null,null,v,b,null,null];!function(t,e,n){t[bl(e)]=n}(d,p,w);let S=null;null!==v&&m&&(S=g.get(Ie),S.add(v,{lView:d,tNode:f,lContainer:y}));const C=()=>{ml(w),null!==v&&S?.cleanup([v])};fl(0,w,()=>(0,o.DyX)(d,C)),(0,o.ik5)(d,C)},ɵɵdeferWhen:function(t){const e=(0,o.OAn)(),n=(0,o.CpD)();if(Ec(0,e,n)&&Is(e,(0,o.xbp)(),t)){const r=(0,i.Ht)(null);try{const r=!!t,o=vl(e,n)[1];!1===r&&o===hl.Initial?$l(e,n):!0===r&&(o===hl.Initial||o===dl.Placeholder)&&mc(0,e,n)}finally{(0,i.Ht)(r)}}},ɵɵdeferOnIdle:function(){Ec(0,(0,o.OAn)(),(0,o.Mx4)())&&uc(Tl)},ɵɵdeferOnImmediate:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(0,t,e)&&(null===wl(t[o.eDl],e).loadingTmplIndex&&$l(t,e),mc(0,t,e))},ɵɵdeferOnTimer:function(t){Ec(0,(0,o.OAn)(),(0,o.Mx4)())&&uc(Al(t))},ɵɵdeferOnHover:function(t,e){const n=(0,o.OAn)(),r=(0,o.Mx4)();Ec(0,n,r)&&($l(n,r),xl(n,r,t,e,Te,()=>mc(0,n,r),0))},ɵɵdeferOnInteraction:function(t,e){const n=(0,o.OAn)(),r=(0,o.Mx4)();Ec(0,n,r)&&($l(n,r),xl(n,r,t,e,xe,()=>mc(0,n,r),0))},ɵɵdeferOnViewport:function(t,e,n){const r=(0,o.OAn)(),i=(0,o.Mx4)();Ec(0,r,i)&&($l(r,i),xl(r,i,t,e,kl,()=>mc(0,r,i),0,n))},ɵɵdeferPrefetchWhen:function(t){const e=(0,o.OAn)(),n=(0,o.CpD)();if(Ec(1,e,n)&&Is(e,(0,o.xbp)(),t)){const r=(0,i.Ht)(null);try{const r=!!t,i=wl(e[o.eDl],n);!0===r&&i.loadingState===ul.NOT_STARTED&&pc(i,e,n)}finally{(0,i.Ht)(r)}}},ɵɵdeferPrefetchOnIdle:function(){Ec(1,(0,o.OAn)(),(0,o.Mx4)())&&dc(Tl)},ɵɵdeferPrefetchOnImmediate:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();if(!Ec(1,t,e))return;const n=wl(t[o.eDl],e);n.loadingState===ul.NOT_STARTED&&fc(n,t,e)},ɵɵdeferPrefetchOnTimer:function(t){Ec(1,(0,o.OAn)(),(0,o.Mx4)())&&dc(Al(t))},ɵɵdeferPrefetchOnHover:function(t,e){const n=(0,o.OAn)(),r=(0,o.Mx4)();if(!Ec(1,n,r))return;const i=wl(n[o.eDl],r);i.loadingState===ul.NOT_STARTED&&xl(n,r,t,e,Te,()=>pc(i,n,r),1)},ɵɵdeferPrefetchOnInteraction:function(t,e){const n=(0,o.OAn)(),r=(0,o.Mx4)();if(!Ec(1,n,r))return;const i=wl(n[o.eDl],r);i.loadingState===ul.NOT_STARTED&&xl(n,r,t,e,xe,()=>pc(i,n,r),1)},ɵɵdeferPrefetchOnViewport:function(t,e,n){const r=(0,o.OAn)(),i=(0,o.Mx4)();if(!Ec(1,r,i))return;const s=wl(r[o.eDl],i);s.loadingState===ul.NOT_STARTED&&xl(r,i,t,e,kl,()=>pc(s,r,i),1,n)},ɵɵdeferHydrateWhen:function(t){const e=(0,o.OAn)(),n=(0,o.CpD)();if(!Ec(2,e,n))return;const r=(0,o.xbp)();if(Ic((0,o.klJ)(),n).set(6,null),Is(e,r,t)){const r=e[o.YEL],s=(0,i.Ht)(null);try{1==!!t&&yc(r,vl(e,n)[6])}finally{(0,i.Ht)(s)}}},ɵɵdeferHydrateNever:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(2,t,e)&&Ic((0,o.klJ)(),e).set(7,null)},ɵɵdeferHydrateOnIdle:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(2,t,e)&&(Ic((0,o.klJ)(),e).set(0,null),hc(Tl,t,e))},ɵɵdeferHydrateOnImmediate:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(2,t,e)&&(Ic((0,o.klJ)(),e).set(1,null),yc(t[o.YEL],vl(t,e)[6]))},ɵɵdeferHydrateOnTimer:function(t){const e=(0,o.OAn)(),n=(0,o.Mx4)();Ec(2,e,n)&&(Ic((0,o.klJ)(),n).set(5,{type:5,delay:t}),hc(Al(t),e,n))},ɵɵdeferHydrateOnHover:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(2,t,e)&&Ic((0,o.klJ)(),e).set(4,null)},ɵɵdeferHydrateOnInteraction:function(){const t=(0,o.OAn)(),e=(0,o.Mx4)();Ec(2,t,e)&&Ic((0,o.klJ)(),e).set(3,null)},ɵɵdeferHydrateOnViewport:function(t){const e=(0,o.OAn)(),n=(0,o.Mx4)();Ec(2,e,n)&&Ic((0,o.klJ)(),n).set(2,t?{type:2,intersectionObserverOptions:t}:null)},ɵɵdeferEnableTimerScheduling:function(t,e,n,r){const i=t.consts;null!=n&&(e.placeholderBlockConfig=(0,o.db4)(i,n)),null!=r&&(e.loadingBlockConfig=(0,o.db4)(i,r)),null===Hl&&(Hl=Ml)},ɵɵrepeater:function(t){const e=(0,i.Ht)(null),n=(0,o._px)();try{const r=(0,o.OAn)(),s=r[o.eDl],a=r[n],l=n+1,c=Gc(r,l);if(void 0===a.liveCollection){const t=qc(s,l);a.liveCollection=new Wc(c,r,t)}else a.liveCollection.reset();const u=a.liveCollection;if(function(t,e,n,r){let o,s,a=0,l=t.length-1;if(Array.isArray(e)){(0,i.Ht)(r);let c=e.length-1;for((0,i.Ht)(null);a<=l&&a<=c;){const r=t.at(a),i=e[a],u=Nc(a,r,a,i,n);if(0!==u){u<0&&t.updateValue(a,i),a++;continue}const d=t.at(l),h=e[c],p=Nc(l,d,c,h,n);if(0!==p){p<0&&t.updateValue(l,h),l--,c--;continue}const f=n(a,r),g=n(l,d),m=n(a,i);if(Object.is(m,g)){const e=n(c,h);Object.is(e,f)?(t.swap(a,l),t.updateValue(l,h),c--,l--):t.move(l,a),t.updateValue(a,i),a++;continue}if(o??=new $c,s??=Fc(t,a,l,n),Mc(t,o,a,m))t.updateValue(a,i),a++,l++;else if(s.has(m))o.set(f,t.detach(a)),l--;else{const n=t.create(a,e[a]);t.attach(a,n),a++,l++}}for(;a<=c;)jc(t,o,n,a,e[a]),a++}else if(null!=e){(0,i.Ht)(r);const c=e[Symbol.iterator]();(0,i.Ht)(null);let u=c.next();for(;!u.done&&a<=l;){const e=t.at(a),r=u.value,i=Nc(a,e,a,r,n);if(0!==i)i<0&&t.updateValue(a,r),a++,u=c.next();else{o??=new $c,s??=Fc(t,a,l,n);const i=n(a,r);if(Mc(t,o,a,i))t.updateValue(a,r),a++,l++,u=c.next();else if(s.has(i)){const r=n(a,e);o.set(r,t.detach(a)),l--}else t.attach(a,t.create(a,r)),a++,l++,u=c.next()}}for(;!u.done;)jc(t,o,n,t.length,u.value),u=c.next()}for(;a<=l;)t.destroy(t.detach(l--));o?.forEach(e=>{t.destroy(e)})}(u,t,a.trackByFn,e),u.updateIndexes(),a.hasEmptyBlock){const t=(0,o.xbp)(),e=0===u.length;if(Is(r,t,e)){const t=n+2,o=Gc(r,t);if(e){const e=qc(s,t),n=null;mi(o,Xo(r,e,void 0,{dehydratedView:n}),0,Yo(e,n))}else s.firstUpdatePass&&Bi(o),yi(o,0)}}}finally{(0,i.Ht)(e)}},ɵɵrepeaterCreate:function(t,e,n,r,i,s,a,l,c,u,d,h,p){Yr("NgControlFlow");const f=(0,o.OAn)(),g=(0,o.klJ)(),m=void 0!==c,y=(0,o.OAn)(),b=l?a.bind(y[o.b5C][o.SKP]):a,v=new Uc(m,b);y[o.Yw1+t]=v,al(f,g,t+1,e,n,r,i,(0,o.db4)(g.consts,s),256),m&&al(f,g,t+2,c,u,d,h,(0,o.db4)(g.consts,p),512)},ɵɵrepeaterTrackByIndex:function(t){return t},ɵɵrepeaterTrackByIdentity:function(t,e){return e},ɵɵcomponentInstance:function(){return(0,o.OAn)()[o.b5C][o.SKP]},ɵɵtext:lh,ɵɵtextInterpolate:vh,ɵɵtextInterpolate1:wh,ɵɵtextInterpolate2:Sh,ɵɵtextInterpolate3:function t(e,n,r,i,s,a,l){const c=(0,o.OAn)(),u=ph(c,e,n,r,i,s,a,l);return u!==sr&&Ch(c,(0,o._px)(),u),t},ɵɵtextInterpolate4:function t(e,n,r,i,s,a,l,c,u){const d=(0,o.OAn)(),h=fh(d,e,n,r,i,s,a,l,c,u);return h!==sr&&Ch(d,(0,o._px)(),h),t},ɵɵtextInterpolate5:function t(e,n,r,i,s,a,l,c,u,d,h){const p=(0,o.OAn)(),f=gh(p,e,n,r,i,s,a,l,c,u,d,h);return f!==sr&&Ch(p,(0,o._px)(),f),t},ɵɵtextInterpolate6:function t(e,n,r,i,s,a,l,c,u,d,h,p,f){const g=(0,o.OAn)(),m=mh(g,e,n,r,i,s,a,l,c,u,d,h,p,f);return m!==sr&&Ch(g,(0,o._px)(),m),t},ɵɵtextInterpolate7:function t(e,n,r,i,s,a,l,c,u,d,h,p,f,g,m){const y=(0,o.OAn)(),b=yh(y,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m);return b!==sr&&Ch(y,(0,o._px)(),b),t},ɵɵtextInterpolate8:function t(e,n,r,i,s,a,l,c,u,d,h,p,f,g,m,y,b){const v=(0,o.OAn)(),w=bh(v,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m,y,b);return w!==sr&&Ch(v,(0,o._px)(),w),t},ɵɵtextInterpolateV:function t(e){const n=(0,o.OAn)(),r=uh(n,e);return r!==sr&&Ch(n,(0,o._px)(),r),t},ɵɵi18n:function(t,e,n){ud(t,e,n),dd()},ɵɵi18nAttributes:function(t,e){const n=(0,o.klJ)(),r=(0,o.db4)(n.consts,e);!function(t,e,n){const r=(0,o.Mx4)(),i=r.index,s=[];if(t.firstCreatePass&&null===t.data[e]){for(let t=0;t<n.length;t+=2){const e=n[t],o=n[t+1];if(""!==o){if(Nu.test(o))throw new Error(`ICU expressions are not supported in attributes. Message: "${o}".`);const t=r.namespace?`:${r.namespace}:${r.value}`:r.value;Vu(s,o,i,e,Uu(s),nd(e,t))}}t.data[e]=s}}(n,t+o.Yw1,r)},ɵɵi18nExp:function t(e){return function(t){t&&(Tu|=1<<Math.min(Eu,31)),Eu++}(Is((0,o.OAn)(),(0,o.xbp)(),e)),t},ɵɵi18nStart:ud,ɵɵi18nEnd:dd,ɵɵi18nApply:function(t){!function(t,e,n){try{if(Eu>0){const r=t.data[n];Ou(t,e,Array.isArray(r)?r:r.update,(0,o.c$7)()-Eu-1,Tu)}}finally{Tu=0,Eu=0}}((0,o.klJ)(),(0,o.OAn)(),t+o.Yw1)},ɵɵi18nPostprocess:function(t,e={}){return function(t,e={}){let n=t;if(rd.test(t)){const t={},e=[0];n=n.replace(od,(n,r,o)=>{const i=r||o,s=t[i]||[];if(s.length||(i.split("|").forEach(t=>{const e=t.match(cd),n=e?parseInt(e[1],10):0,r=ld.test(t);s.push([n,r,t])}),t[i]=s),!s.length)throw new Error(`i18n postprocess: unmatched placeholder - ${i}`);const a=e[e.length-1];let l=0;for(let t=0;t<s.length;t++)if(s[t][0]===a){l=t;break}const[c,u,d]=s[l];return u?e.pop():a!==c&&e.push(c),s.splice(l,1),d})}return Object.keys(e).length&&(n=n.replace(id,(t,n,r,o,i,s)=>e.hasOwnProperty(r)?`${n}${e[r]}${s}`:t),n=n.replace(sd,(t,n)=>e.hasOwnProperty(n)?e[n]:t),n=n.replace(ad,(t,n)=>{if(e.hasOwnProperty(n)){const r=e[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${t} with key: ${n}`);return r.shift()}return t})),n}(t,e)},ɵɵresolveWindow:function(t){return t.ownerDocument.defaultView},ɵɵresolveDocument:Un,ɵɵresolveBody:function(t){return t.ownerDocument.body},ɵɵsetComponentScope:function(t,e,n){const r=t.ɵcmp;r.directiveDefs=qa(e,$a),r.pipeDefs=qa(n,o.oyA)},ɵɵsetNgModuleScope:function(t,e){return c(()=>{const n=(0,o.WbQ)(t);n.declarations=jh(e.declarations||o.Mlv),n.imports=jh(e.imports||o.Mlv),n.exports=jh(e.exports||o.Mlv),e.bootstrap&&(n.bootstrap=jh(e.bootstrap)),as.registerNgModule(t,e)})},ɵɵregisterNgModuleType:Aa,ɵɵgetComponentDepsFactory:function(t,e){return()=>{try{return as.getComponentDependencies(t,e).dependencies}catch(e){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,e),e}}},ɵsetClassDebugInfo:function(t,e){const n=(0,o.xUg)(t);null!==n&&(n.debugInfo=e)},ɵɵdeclareLet:function t(e){Yr("NgLet");const n=(0,o.klJ)(),r=(0,o.OAn)(),i=e+o.Yw1,s=Ti(n,i,128,null,null);return(0,o.iMd)(s,!1),(0,o.M_e)(n,r,i,Th),t},ɵɵstoreLet:function(t){const e=(0,o.klJ)(),n=(0,o.OAn)(),r=(0,o._px)();return(0,o.M_e)(e,n,r,t),t},ɵɵarrowFunction:function(t,e,n){const r=(0,o.gxQ)()+t,i=(0,o.OAn)();return i[r]===sr?Es(i,r,e(n,i)):As(i,r)},ɵɵreadContextLet:function(t){const e=(0,o.VPL)(),n=(0,o.Hh6)(e,o.Yw1+t);if(n===Th)throw new o.buA(314,!1);return n},ɵɵattachSourceLocations:function(t,e){const n=(0,o.klJ)(),r=(0,o.OAn)(),i=r[o.GpT],s="data-ng-source-location";for(const[a,l,c,u]of e){(0,o.XRZ)(n,a+o.Yw1);const e=(0,o.vaC)(a+o.Yw1,r);e.hasAttribute(s)||i.setAttribute(e,s,`${t}@o:${l},l:${c},c:${u}`)}},ɵɵinterpolate:Eh,ɵɵinterpolate1:function(t,e,n=""){return dh((0,o.OAn)(),t,e,n)},ɵɵinterpolate2:function(t,e,n,r,i=""){return hh((0,o.OAn)(),t,e,n,r,i)},ɵɵinterpolate3:function(t,e,n,r,i,s,a=""){return ph((0,o.OAn)(),t,e,n,r,i,s,a)},ɵɵinterpolate4:function(t,e,n,r,i,s,a,l,c=""){return fh((0,o.OAn)(),t,e,n,r,i,s,a,l,c)},ɵɵinterpolate5:function(t,e,n,r,i,s,a,l,c,u,d=""){return gh((0,o.OAn)(),t,e,n,r,i,s,a,l,c,u,d)},ɵɵinterpolate6:function(t,e,n,r,i,s,a,l,c,u,d,h,p=""){return mh((0,o.OAn)(),t,e,n,r,i,s,a,l,c,u,d,h,p)},ɵɵinterpolate7:function(t,e,n,r,i,s,a,l,c,u,d,h,p,f,g=""){return yh((0,o.OAn)(),t,e,n,r,i,s,a,l,c,u,d,h,p,f,g)},ɵɵinterpolate8:function(t,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m,y=""){return bh((0,o.OAn)(),t,e,n,r,i,s,a,l,c,u,d,h,p,f,g,m,y)},ɵɵinterpolateV:function(t){return uh((0,o.OAn)(),t)},ɵɵsanitizeHtml:Pn,ɵɵsanitizeStyle:Rn,ɵɵsanitizeResourceUrl:Mn,ɵɵsanitizeScript:jn,ɵɵvalidateAttribute:Vn,ɵɵsanitizeUrl:Nn,ɵɵsanitizeUrlOrResourceUrl:$n,ɵɵtrustConstantHtml:function(t){return ze(t[0])},ɵɵtrustConstantResourceUrl:function(t){return function(t){return $e()?.createScriptURL(t)||t}(t[0])},forwardRef:o.Rfq,resolveForwardRef:o.nl4,ɵɵtwoWayProperty:_h,ɵɵtwoWayBindingSet:kh,ɵɵtwoWayListener:xh,ɵɵreplaceMetadata:function(t,e,n,r,i=null,s=null){const a=(0,o.xUg)(t);e.apply(null,[t,n,...r]);const{newDef:l,oldDef:c}=function(t,e){const n={...t};return{newDef:Object.assign(t,e,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type}),oldDef:n}}(a,(0,o.xUg)(t));if(t[o.CQl]=l,c.tView){const t=Gt.values();for(const e of t)(0,o.EFk)(e)&&null===e[o.f7T]&&tp(i,s,l,c,e)}},ɵɵgetReplaceMetadataURL:function(t,e,n){const r=`./@ng/component?c=${t}&t=${encodeURIComponent(e)}`;return new URL(r,n).href}};let rp=null;function op(t){null!==rp&&(t.defaultEncapsulation!==rp.defaultEncapsulation||t.preserveWhitespaces!==rp.preserveWhitespaces)||(rp=t)}const ip=[];function sp(t){return ts(t)?t.ngModule:t}const ap=p("NgModule",t=>t,void 0,0,(t,e)=>function(t,e={}){(function(t,e){const n=(0,o.Bqz)(e.declarations||o.Mlv);let r=null;Object.defineProperty(t,o.hmW,{configurable:!0,get:()=>(null===r&&(r=S().compileNgModule(np,`ng:///${t.name}/ɵmod.js`,{type:t,bootstrap:(0,o.Bqz)(e.bootstrap||o.Mlv).map(o.nl4),declarations:n.map(o.nl4),imports:(0,o.Bqz)(e.imports||o.Mlv).map(o.nl4).map(sp),exports:(0,o.Bqz)(e.exports||o.Mlv).map(o.nl4).map(sp),schemas:e.schemas?(0,o.Bqz)(e.schemas):null,id:e.id||null}),r.schemas||(r.schemas=[])),r)});let i=null;Object.defineProperty(t,o.zSs,{get:()=>{if(null===i){const e=S();i=e.compileFactory(np,`ng:///${t.name}/ɵfac.js`,{name:t.name,type:t,deps:Dt(t),target:e.FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!1});let s=null;Object.defineProperty(t,o.ONQ,{get:()=>{if(null===s){const n={name:t.name,type:t,providers:e.providers||o.Mlv,imports:[(e.imports||o.Mlv).map(o.nl4),(e.exports||o.Mlv).map(o.nl4)]};s=S().compileInjector(np,`ng:///${t.name}/ɵinj.js`,n)}return s},configurable:!1})})(t,e),void 0!==e.id&&Aa(t,e.id),function(t,e){ip.push({moduleType:t,ngModule:e})}(t,e)}(t,e));class lp{ngModuleFactory;componentFactories;constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let cp=(()=>{class t{compileModuleSync(t){return new Pa(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const e=this.compileModuleSync(t),n=Wn((0,o.phH)(t).declarations).reduce((t,e)=>{const n=(0,o.xUg)(e);return n&&t.push(new Us(n)),t},[]);return new lp(e,n)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const up=new o.nKC("");let dp=(()=>{class t{applicationErrorHandler=(0,o.WQX)(o.ZTf);appRef=(0,o.WQX)(ac);taskService=(0,o.WQX)(o.rev);ngZone=(0,o.WQX)(o.SKi);zonelessEnabled=(0,o.WQX)(o.Evm);tracing=(0,o.WQX)(Zr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new a.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(o.AbJ):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,o.WQX)(o.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const t=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(t)):this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const e=this.useMicrotaskScheduler?o.uiq:o.l4E;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>e(()=>this.tick())):this.ngZone.runOutsideAngular(()=>e(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(o.AbJ+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(t){this.applicationErrorHandler(t)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function hp(){return[{provide:o.hk6,useExisting:dp},{provide:o.SKi,useClass:o.myG},{provide:o.Evm,useValue:!0}]}const pp=new o.nKC("",{factory:()=>(0,o.WQX)(pp,{optional:!0,skipSelf:!0})||typeof $localize<"u"&&$localize.locale||wu}),fp=new o.nKC("",{factory:()=>"USD"})},6499(t,e,n){n.d(e,{Ag:()=>E,Bg:()=>y,EF:()=>I,H8:()=>x,Ht:()=>a,JC:()=>h,KE:()=>c,KO:()=>P,KZ:()=>T,Ny:()=>A,TO:()=>m,Wu:()=>b,XR:()=>w,a7:()=>k,bh:()=>s,j2:()=>N,lh:()=>$,mC:()=>M,mK:()=>d,n5:()=>R,nR:()=>l,pL:()=>u,s0:()=>j,si:()=>v,vX:()=>F});let r=null,o=!1,i=1;const s=Symbol("SIGNAL");function a(t){const e=r;return r=t,e}function l(){return r}function c(){return o}const u={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function d(t){if(o)throw new Error("");if(null===r)return;r.consumerOnSignalRead(t);const e=r.producersTail;if(void 0!==e&&e.producer===t)return;let n;const i=r.recomputing;if(i&&(n=void 0!==e?e.nextProducer:r.producers,void 0!==n&&n.producer===t))return r.producersTail=n,void(n.lastReadVersion=t.version);const s=t.consumersTail;if(void 0!==s&&s.consumer===r&&(!i||function(t,e){const n=e.producersTail;if(void 0!==n){let r=e.producers;do{if(r===t)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(s,r)))return;const a=_(r),l={producer:t,consumer:r,nextProducer:n,prevConsumer:s,lastReadVersion:t.version,nextConsumer:void 0};r.producersTail=l,void 0!==e?e.nextProducer=l:r.producers=l,a&&S(t,l)}function h(t){if((!_(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==i)){if(!t.producerMustRecompute(t)&&!v(t))return void m(t);t.producerRecomputeValue(t),m(t)}}function p(t){if(void 0===t.consumers)return;const e=o;o=!0;try{for(let e=t.consumers;void 0!==e;e=e.nextConsumer){const t=e.consumer;t.dirty||g(t)}}finally{o=e}}function f(){return!1!==r?.consumerAllowSignalWrites}function g(t){t.dirty=!0,p(t),t.consumerMarkedDirty?.(t)}function m(t){t.dirty=!1,t.lastCleanEpoch=i}function y(t){return t&&function(t){t.producersTail=void 0,t.recomputing=!0}(t),a(t)}function b(t,e){a(e),t&&function(t){t.recomputing=!1;const e=t.producersTail;let n=void 0!==e?e.nextProducer:t.producers;if(void 0!==n){if(_(t))do{n=C(n)}while(void 0!==n);void 0!==e?e.nextProducer=void 0:t.producers=void 0}}(t)}function v(t){for(let e=t.producers;void 0!==e;e=e.nextProducer){const t=e.producer,n=e.lastReadVersion;if(n!==t.version||(h(t),n!==t.version))return!0}return!1}function w(t){if(_(t)){let e=t.producers;for(;void 0!==e;)e=C(e)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function S(t,e){const n=t.consumersTail,r=_(t);if(void 0!==n?(e.nextConsumer=n.nextConsumer,n.nextConsumer=e):(e.nextConsumer=void 0,t.consumers=e),e.prevConsumer=n,t.consumersTail=e,!r)for(let e=t.producers;void 0!==e;e=e.nextProducer)S(e.producer,e)}function C(t){const e=t.producer,n=t.nextProducer,r=t.nextConsumer,o=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,void 0!==r?r.prevConsumer=o:e.consumersTail=o,void 0!==o)o.nextConsumer=r;else if(e.consumers=r,!_(e)){let t=e.producers;for(;void 0!==t;)t=C(t)}return n}function _(t){return t.consumerIsAlwaysLive||void 0!==t.consumers}function k(t){}function x(t,e){return Object.is(t,e)}function T(t,e){const n=Object.create(O);n.computation=t,void 0!==e&&(n.equal=e);const r=()=>{if(h(n),d(n),n.value===I)throw n.error;return n.value};return r[s]=n,r}const E=Symbol("UNSET"),A=Symbol("COMPUTING"),I=Symbol("ERRORED"),O={...u,value:E,dirty:!0,error:null,equal:x,kind:"computed",producerMustRecompute:t=>t.value===E||t.value===A,producerRecomputeValue(t){if(t.value===A)throw new Error("");const e=t.value;t.value=A;const n=y(t);let r,o=!1;try{r=t.computation(),a(null),o=e!==E&&e!==I&&r!==I&&t.equal(e,r)}catch(e){r=I,t.error=e}finally{b(t,n)}o?t.value=e:(t.value=r,t.version++)}};let L=function(){throw new Error};function D(t){L(t)}function P(t){L=t}function R(t,e){const n=Object.create(j);n.value=t,void 0!==e&&(n.equal=e);const r=()=>function(t){return d(t),t.value}(n);return r[s]=n,[r,t=>N(n,t),t=>M(n,t)]}function N(t,e){f()||D(t),t.equal(t.value,e)||(t.value=e,function(t){t.version++,i++,p(t)}(t))}function M(t,e){f()||D(t),N(t,e(t.value))}const j={...u,equal:x,value:void 0,kind:"signal"},F={...u,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function $(t){if(t.dirty=!1,t.version>0&&!v(t))return;t.version++;const e=y(t);try{t.cleanup(),t.fn()}finally{b(t,e)}}},6817(t,e,n){n.d(e,{JEi:()=>bn,Isx:()=>vn,EJG:()=>on,Yrj:()=>sn,VVG:()=>Je,Y20:()=>xn,SKP:()=>tn,hk6:()=>fi,eVN:()=>Ar,b5C:()=>ln,rQE:()=>cn,X5O:()=>an,qFA:()=>Sn,qQL:()=>Fo,dUD:()=>g,abz:()=>$o,tQN:()=>mn,pcR:()=>gn,oMQ:()=>pn,Mlv:()=>me,MZA:()=>ge,M0L:()=>nn,Z63:()=>ye,Ap:()=>m,dTm:()=>Si,VML:()=>vi,uvJ:()=>Me,zcH:()=>si,bkB:()=>Wo,Wg1:()=>Qe,Yw1:()=>wn,jgP:()=>Ge,tcA:()=>Ke,ID:()=>hn,YEL:()=>en,B9r:()=>ve,GBX:()=>Le,ZTf:()=>ai,nKC:()=>et,zZn:()=>jo,rJ1:()=>tr,nfM:()=>kn,s6P:()=>Cn,K29:()=>Xe,CQl:()=>mt,p9y:()=>St,zSs:()=>wt,ONQ:()=>tt,hmW:()=>vt,yAH:()=>J,SKi:()=>Ko,myG:()=>oi,oTH:()=>we,Czx:()=>fn,f7T:()=>Ze,wVl:()=>un,GYQ:()=>mi,u5s:()=>bi,rev:()=>Uo,Ds7:()=>dn,e5P:()=>je,Iaj:()=>yn,GpT:()=>rn,buA:()=>b,AQb:()=>yi,kHH:()=>Bo,jNX:()=>Jn,eDl:()=>qe,qlT:()=>Ye,bm_:()=>_n,RxE:()=>p,r4V:()=>hi,ok8:()=>y,Evm:()=>gi,laP:()=>w,EYC:()=>ae,AbJ:()=>Xo,ng7:()=>oe,llW:()=>de,gsJ:()=>ue,GZS:()=>$n,iYM:()=>H,PEr:()=>Gn,z7f:()=>V,LZP:()=>U,Xln:()=>R,yzR:()=>Un,TWe:()=>Wn,LIA:()=>P,GWr:()=>$,pbo:()=>z,bBq:()=>Hn,Af3:()=>We,zQk:()=>qn,oZy:()=>Qn,tF7:()=>W,ZFY:()=>Wt,cP4:()=>Bn,MdC:()=>Vn,XvL:()=>F,KET:()=>zn,Tkx:()=>Kn,iw4:()=>N,tdH:()=>di,pr_:()=>q,IAh:()=>j,U45:()=>O,WrV:()=>L,kNT:()=>G,MI:()=>Yn,biv:()=>Xn,ZQF:()=>M,Cv0:()=>D,W0r:()=>Fn,R2n:()=>jn,O8q:()=>Nn,VKj:()=>Rn,Rom:()=>Mn,z6V:()=>ee,n$e:()=>x,hjC:()=>Jt,Pz9:()=>Mo,PQT:()=>jt,VX4:()=>Ft,_Z$:()=>Pt,N79:()=>Pr,xLP:()=>se,QZP:()=>Ci,A7J:()=>pt,BI7:()=>ht,U7d:()=>ut,uXy:()=>dt,nZS:()=>ct,ihb:()=>yo,ID8:()=>bo,gv8:()=>li,dwj:()=>_,Bqz:()=>ie,OsK:()=>v,Rfq:()=>E,c$7:()=>ro,gxQ:()=>no,ckz:()=>Rr,kLh:()=>C,xUg:()=>xt,KdJ:()=>cr,db4:()=>pr,VPL:()=>Xr,MT:()=>po,Z9v:()=>uo,Ab:()=>Gr,w7Z:()=>fo,Mx4:()=>Ur,veI:()=>Wr,HaV:()=>Et,Agf:()=>Tt,znI:()=>Lr,wGu:()=>re,ebl:()=>K,OAn:()=>zr,_0$:()=>Cr,UaU:()=>Lo,vaC:()=>rr,d31:()=>or,ZRn:()=>ir,phH:()=>_t,WbQ:()=>kt,WB9:()=>Ne,d_l:()=>_r,vNG:()=>kr,oyA:()=>At,_px:()=>xo,CpD:()=>Eo,XRZ:()=>sr,klJ:()=>Hr,Fje:()=>Dr,b$O:()=>so,SMZ:()=>S,WQX:()=>Kt,MzJ:()=>Ut,jXY:()=>_e,MME:()=>Oe,JlV:()=>Ln,Qs1:()=>In,srX:()=>An,vOT:()=>ur,YWB:()=>Qr,EPY:()=>Pn,yoD:()=>On,P3H:()=>Kr,Jzi:()=>I,rFz:()=>Yr,JjR:()=>ao,M6u:()=>Ue,KtD:()=>Nr,muV:()=>Y,A0l:()=>En,q$2:()=>Tn,yP_:()=>to,EFk:()=>Dn,UhH:()=>Mr,QuC:()=>Ot,Y3W:()=>Ie,K7h:()=>pe,FRF:()=>fe,ezK:()=>he,m7n:()=>Ro,niQ:()=>Co,krE:()=>$r,bll:()=>_o,Hh6:()=>ar,EmA:()=>Se,blu:()=>vr,HAh:()=>gr,WfI:()=>ce,xbp:()=>io,jvu:()=>ko,Rc9:()=>$e,E6O:()=>le,DyX:()=>Sr,eFE:()=>Lt,dMS:()=>yr,HUe:()=>fr,nl4:()=>A,N4e:()=>Ve,XaM:()=>ft,uiq:()=>Qo,l4E:()=>qo,Kw3:()=>oo,vQI:()=>co,RZ9:()=>ho,GA0:()=>go,iMd:()=>qr,Pfq:()=>Zr,xyx:()=>lo,a2B:()=>Vt,kcM:()=>at,DFp:()=>ot,P2g:()=>Jr,cBl:()=>eo,ypq:()=>To,vPA:()=>ci,HO5:()=>ui,M_e:()=>lr,B22:()=>xr,ik5:()=>wr,AsM:()=>k,PP7:()=>Dt,$8:()=>B,$Hz:()=>$t,zAe:()=>nr,IvY:()=>er,_gW:()=>br,F1c:()=>dr,ITl:()=>hr,brz:()=>xe,jRZ:()=>mr,SX7:()=>Po,jDH:()=>Q,G2t:()=>Z,fuf:()=>Fr,cSN:()=>jr,KVO:()=>Xt,dmw:()=>Yt,joV:()=>Oo,By9:()=>Io,qSk:()=>Ao,Njj:()=>Vr,eBV:()=>Br});var r=n(6499),o=n(1217),i=n(1698),s=n(8447),a=n(5710);let l;function c(){return l}function u(t){const e=l;return l=t,e}const d=Symbol("NotFound");function h(t){return t===d||"ɵNotFound"===t?.name}Error;class p{full;major;minor;patch;constructor(t){this.full=t;const e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}}const f=new p("21.2.15"),g=(()=>{const t=f.full;return`https://${t.includes("-next")||t.includes("-rc")||"0.0.0-PLACEHOLDER"===t?"next":`v${f.major}`}.angular.dev`})(),m=`${g}/errors`,y="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class b extends Error{code;constructor(t,e){super(v(t,e)),this.code=t}}function v(t,e){return`${function(t){return`NG0${Math.abs(t)}`}(t)}${e?": "+e:""}`}const w=globalThis;function S(){return!1}function C(t){for(let e in t)if(t[e]===C)return e;throw Error("")}function _(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function k(t){if("string"==typeof t)return t;if(Array.isArray(t))return`[${t.map(k).join(", ")}]`;if(null==t)return""+t;const e=t.overriddenName||t.name;if(e)return`${e}`;const n=t.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function x(t,e){return t?e?`${t} ${e}`:t:e||""}const T=C({__forward_ref__:C});function E(t){return t.__forward_ref__=E,t}function A(t){return I(t)?t():t}function I(t){return"function"==typeof t&&t.hasOwnProperty(T)&&t.__forward_ref__===E}function O(t,e){"number"!=typeof t&&B(e,typeof t,"number","===")}function L(t,e,n){O(t,"Expected a number"),function(t,e){t<=e||B("Expected number to be less than or equal to",t,e,"<=")}(t,n),z(t,e,"Expected number to be greater than or equal to")}function D(t,e){"string"!=typeof t&&B(e,null===t?"null":typeof t,"string","===")}function P(t,e){"function"!=typeof t&&B(e,null===t?"null":typeof t,"function","===")}function R(t,e,n){t!=e&&B(n,t,e,"==")}function N(t,e,n){t==e&&B(n,t,e,"!=")}function M(t,e,n){t!==e&&B(n,t,e,"===")}function j(t,e,n){t===e&&B(n,t,e,"!==")}function F(t,e,n){t<e||B(n,t,e,"<")}function $(t,e,n){t>e||B(n,t,e,">")}function z(t,e,n){t>=e||B(n,t,e,">=")}function H(t,e){null==t&&B(e,t,null,"!=")}function B(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function V(t){t instanceof Node||B(`The provided value must be an instance of a DOM Node but got ${k(t)}`)}function U(t){t instanceof Element||B(`The provided value must be an element but got ${k(t)}`)}function W(t,e){H(t,"Array must be defined.");const n=t.length;(e<0||e>=n)&&B(`Index expected to be less than ${n} but got ${e}`)}function G(t,...e){if(-1!==e.indexOf(t))return!0;B(`Expected value to be one of ${JSON.stringify(e)} but was ${JSON.stringify(t)}.`)}function q(t){null!==(0,r.nR)()&&B(`${t}() should never be called in a reactive context.`)}function Q(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Z(t){return{providers:t.providers||[],imports:t.imports||[]}}function X(t){return function(t,e){return t.hasOwnProperty(e)&&t[e]||null}(t,J)}function Y(t){return null!==X(t)}function K(t){return t&&t.hasOwnProperty(tt)?t[tt]:null}const J=C({ɵprov:C}),tt=C({ɵinj:C});class et{_desc;ngMetadataName="InjectionToken";ɵprov;constructor(t,e){this._desc=t,this.ɵprov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ɵprov=Q({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let nt;function rt(){return B("getInjectorProfilerContext should never be called in production mode"),nt}function ot(t){B("setInjectorProfilerContext should never be called in production mode");const e=nt;return nt=t,e}const it=[],st=()=>{};function at(t){return B("setInjectorProfiler should never be called in production mode"),null!==t?(it.includes(t)||it.push(t),()=>function(t){const e=it.indexOf(t);-1!==e&&it.splice(e,1)}(t)):(it.length=0,st)}function lt(t){B("Injector profiler should never be called in production mode");for(let e=0;e<it.length;e++)(0,it[e])(t)}function ct(t,e=!1){let n;B("Injector profiler should never be called in production mode"),n="function"==typeof t||t instanceof et?t:A(t.provide);let r=t;t instanceof et&&(r=t.ɵprov||t),lt({type:2,context:rt(),providerRecord:{token:n,provider:r,isViewProvider:e}})}function ut(t){B("Injector profiler should never be called in production mode"),lt({type:5,context:rt(),token:t})}function dt(t){B("Injector profiler should never be called in production mode"),lt({type:1,context:rt(),instance:{value:t}})}function ht(t,e,n){B("Injector profiler should never be called in production mode"),lt({type:0,context:rt(),service:{token:t,value:e,flags:n}})}function pt(t){B("Injector profiler should never be called in production mode"),lt({type:4,context:rt(),effectPhase:t})}function ft(t,e,n){B("runInInjectorProfilerContext should never be called in production mode");const r=ot({injector:t,token:e});try{n()}finally{ot(r)}}function gt(t){return t&&!!t.ɵproviders}const mt=C({ɵcmp:C}),yt=C({ɵdir:C}),bt=C({ɵpipe:C}),vt=C({ɵmod:C}),wt=C({ɵfac:C}),St=C({__NG_ELEMENT_ID__:C}),Ct=C({__NG_ENV_ID__:C});function _t(t){return It(t),t[vt]||null}function kt(t){const e=_t(t);if(!e)throw new b(915,!1);return e}function xt(t){return It(t),t[mt]||null}function Tt(t){const e=Et(t);if(!e)throw new b(916,!1);return e}function Et(t){return It(t),t[yt]||null}function At(t){return It(t),t[bt]||null}function It(t,e){if(null==t)throw new b(-919,!1)}function Ot(t){const e=xt(t)||Et(t)||At(t);return null!==e&&e.standalone}function Lt(t){return"string"==typeof t?t:null==t?"":String(t)}function Dt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Lt(t)}function Pt(t){const e=xt(t);return null!==e&&e.debugInfo?function(t){return t.filePath&&t.lineNumber?`${t.className} (at ${t.filePath}:${t.lineNumber})`:t.className}(e.debugInfo):Dt(t)}const Rt=C({ngErrorCode:C}),Nt=C({ngErrorMessage:C}),Mt=C({ngTokenPath:C});function jt(t,e){return zt("",-200,e)}function Ft(t,e){return function(t){return t.message=function(t,e,n=[],r=null){let o="";return n&&n.length>1&&(o=` Path: ${n.join(" -> ")}.`),v(e,`${t}${r?` Source: ${r}.`:""}${o}`)}(t[Nt]||t.message,t[Rt],t[Mt],null),t}(jt(0,e))}function $t(t,e){throw new b(-201,!1)}function zt(t,e,n){const r=new b(e,t);return r[Rt]=e,r[Nt]=t,n&&(r[Mt]=n),r}let Ht;function Bt(){return Ht}function Vt(t){const e=Ht;return Ht=t,e}function Ut(t,e,n){const r=X(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==e?e:void $t()}function Wt(t){}const Gt={},qt="__NG_DI_FLAG__";class Qt{injector;constructor(t){this.injector=t}retrieve(t,e){const n=Jt(e)||0;try{return this.injector.get(t,8&n?null:Gt,n)}catch(t){if(h(t))return t;throw t}}}function Zt(t,e=0){const n=c();if(void 0===n)throw new b(-203,!1);if(null===n)return Ut(t,void 0,e);{const r=function(t){return{optional:!!(8&t),host:!!(1&t),self:!!(2&t),skipSelf:!!(4&t)}}(e),o=n.retrieve(t,r);if(h(o)){if(r.optional)return null;throw o}return o}}function Xt(t,e=0){return(Bt()||Zt)(A(t),e)}function Yt(t){throw new b(202,!1)}function Kt(t,e){return Xt(t,Jt(e))}function Jt(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function te(t){const e=[];for(let n=0;n<t.length;n++){const r=A(t[n]);if(Array.isArray(r)){if(0===r.length)throw new b(900,!1);let t,n=0;for(let e=0;e<r.length;e++){const o=r[e],i=ne(o);"number"==typeof i?-1===i?t=o.token:n|=i:t=o}e.push(Xt(t,n))}else e.push(Xt(r))}return e}function ee(t,e){return t[qt]=e,t.prototype[qt]=e,t}function ne(t){return t[qt]}function re(t,e){return t.hasOwnProperty(wt)?t[wt]:null}function oe(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let o=t[r],i=e[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function ie(t){return t.flat(Number.POSITIVE_INFINITY)}function se(t,e){t.forEach(t=>Array.isArray(t)?se(t,e):e(t))}function ae(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function le(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ce(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}function ue(t,e,n){const r=t.length-n;for(;e<r;)t[e]=t[e+n],e++;for(;n--;)t.pop()}function de(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(1===o)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;)t[o]=t[o-2],o--;t[e]=n,t[e+1]=r}}function he(t,e,n){let r=fe(t,e);return r>=0?t[1|r]=n:(r=~r,de(t,r,e,n)),r}function pe(t,e){const n=fe(t,e);if(n>=0)return t[1|n]}function fe(t,e){return function(t,e){let n=0,r=t.length>>1;for(;r!==n;){const o=n+(r-n>>1),i=t[o<<1];if(e===i)return o<<1;i>e?r=o:n=o+1}return~(r<<1)}(t,e)}const ge={},me=[],ye=new et(""),be=new et("",-1),ve=new et("");class we{get(t,e=Gt){if(e===Gt){const t=zt("",-201);throw t.name="ɵNotFound",t}return e}}function Se(t){return{ɵproviders:t}}function Ce(...t){return{ɵproviders:_e(0,t),ɵfromNgModule:!0}}function _e(t,...e){const n=[],r=new Set;let o;const i=t=>{n.push(t)};return se(e,t=>{const e=t;xe(e,i,[],r)&&(o||=[],o.push(e))}),void 0!==o&&ke(o,i),n}function ke(t,e){for(let n=0;n<t.length;n++){const{ngModule:r,providers:o}=t[n];Te(o,t=>{e(t,r)})}}function xe(t,e,n,r){if(!(t=A(t)))return!1;let o=null,i=K(t);const s=!i&&xt(t);if(i||s){if(s&&!s.standalone)return!1;o=t}else{const e=t.ngModule;if(i=K(e),!i)return!1;o=e}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const t="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const o of t)xe(o,e,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let t;r.add(o),se(i.imports,o=>{xe(o,e,n,r)&&(t||=[],t.push(o))}),void 0!==t&&ke(t,e)}if(!a){const t=re(o)||(()=>new o);e({provide:o,useFactory:t,deps:me},o),e({provide:ve,useValue:o,multi:!0},o),e({provide:ye,useValue:()=>Xt(o),multi:!0},o)}const s=i.providers;if(null!=s&&!a){const n=t;Te(s,t=>{e(t,n)})}}}return o!==t&&void 0!==t.providers}function Te(t,e){for(let n of t)gt(n)&&(n=n.ɵproviders),Array.isArray(n)?Te(n,e):e(n)}const Ee=C({provide:String,useValue:C});function Ae(t){return null!==t&&"object"==typeof t&&Ee in t}function Ie(t){return"function"==typeof t}function Oe(t){return!!t.useClass}const Le=new et(""),De={},Pe={};let Re;function Ne(){return void 0===Re&&(Re=new we),Re}class Me{}class je extends Me{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,Be(t,t=>this.processProvider(t)),this.records.set(be,He(void 0,this)),r.has("environment")&&this.records.set(Me,He(void 0,this));const o=this.records.get(Le);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(ve,me,{self:!0}))}retrieve(t,e){const n=Jt(e)||0;try{return this.get(t,Gt,n)}catch(t){if(h(t))return t;throw t}}destroy(){ze(this),this._destroyed=!0;const t=(0,r.Ht)(null);try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of t)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,r.Ht)(t)}}onDestroy(t){return ze(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ze(this);const e=u(this),n=Vt(void 0);try{return t()}finally{u(e),Vt(n)}}get(t,e=Gt,n){if(ze(this),t.hasOwnProperty(Ct))return t[Ct](this);const r=Jt(n),o=u(this),i=Vt(void 0);try{if(!(4&r)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&"InjectionToken"===s.ngMetadataName)&&X(t);e=n&&this.injectableDefInScope(n)?He(Fe(t),De):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e,r)}return(2&r?Ne():this.parent).get(t,e=8&r&&e===Gt?null:e)}catch(t){const e=function(t){return t[Rt]}(t);throw-200===e||-201===e?new b(e,null):t}finally{Vt(i),u(o)}var s}resolveInjectorInitializers(){const t=(0,r.Ht)(null),e=u(this),n=Vt(void 0);try{const t=this.get(ye,me,{self:!0});for(const e of t)e()}finally{u(e),Vt(n),(0,r.Ht)(t)}}toString(){return"R3Injector[...]"}processProvider(t){let e=Ie(t=A(t))?t:A(t&&t.provide);const n=Ae(r=t)?He(void 0,r.useValue):He($e(r),De);var r;if(!Ie(t)&&!0===t.multi){let n=this.records.get(e);n||(n=He(void 0,De,!0),n.factory=()=>te(n.multi),this.records.set(e,n)),e=t,n.multi.push(t)}this.records.set(e,n)}hydrate(t,e,n){const o=(0,r.Ht)(null);try{if(e.value===Pe)throw jt();return e.value===De&&(e.value=Pe,e.value=e.factory(void 0,n)),"object"==typeof e.value&&e.value&&null!==(i=e.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this._ngOnDestroyHooks.add(e.value),e.value}finally{(0,r.Ht)(o)}var i}injectableDefInScope(t){if(!t.providedIn)return!1;const e=A(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function Fe(t){const e=X(t),n=null!==e?e.factory:re(t);if(null!==n)return n;if(t instanceof et)throw new b(-204,!1);if(t instanceof Function)return function(t){if(t.length>0)throw new b(-204,!1);const e=function(t){return(t?.[J]??null)||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new b(-204,!1)}function $e(t,e,n){let r;if(Ie(t)){const e=A(t);return re(e)||Fe(e)}if(Ae(t))r=()=>A(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...te(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=(e,n)=>Xt(A(t.useExisting),void 0!==n&&8&n?8:void 0);else{const e=A(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return re(e)||Fe(e);r=()=>new e(...te(t.deps))}return r}function ze(t){if(t.destroyed)throw new b(-205,!1)}function He(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Be(t,e){for(const n of t)Array.isArray(n)?Be(n,e):n&>(n)?Be(n.ɵproviders,e):e(n)}function Ve(t,e){let n;t instanceof je?(ze(t),n=t):n=new Qt(t);const r=u(n),o=Vt(void 0);try{return e()}finally{u(r),Vt(o)}}function Ue(){return void 0!==Bt()||null!=c()}function We(t){if(!Ue())throw new b(-203,!1)}const Ge=0,qe=1,Qe=2,Ze=3,Xe=4,Ye=5,Ke=6,Je=7,tn=8,en=9,nn=10,rn=11,on=12,sn=13,an=14,ln=15,cn=16,un=17,dn=18,hn=19,pn=20,fn=21,gn=22,mn=23,yn=24,bn=25,vn=26,wn=27,Sn=6,Cn=7,_n=8,kn=9,xn=10;function Tn(t){return Array.isArray(t)&&"object"==typeof t[1]}function En(t){return Array.isArray(t)&&!0===t[1]}function An(t){return!!(4&t.flags)}function In(t){return t.componentOffset>-1}function On(t){return!(1&~t.flags)}function Ln(t){return!!t.template}function Dn(t){return!!(512&t[Qe])}function Pn(t){return!(256&~t[Qe])}function Rn(t,e){Mn(t,e[qe])}function Nn(t,e){const n=e+wn;W(t,n),F(n,t[qe].bindingStartIndex,"TNodes should be created before any bindings")}function Mn(t,e){jn(t);const n=e.data;for(let e=wn;e<n.length;e++)if(n[e]===t)return;B("This TNode does not belong to this TView.")}function jn(t){H(t,"TNode must be defined"),t&&"object"==typeof t&&t.hasOwnProperty("directiveStylingLast")||B("Not of type TNode, got: "+t)}function Fn(t){H(t,"Expected TIcu to be defined"),"number"!=typeof t.currentCaseLViewIndex&&B("Object is not of TIcu type.")}function $n(t,e="Type passed in is not ComponentType, it does not have 'ɵcmp' property."){xt(t)||B(e)}function zn(t,e="Type passed in is not NgModuleType, it does not have 'ɵmod' property."){_t(t)||B(e)}function Hn(t){H(t,"currentTNode should exist!"),H(t.parent,"currentTNode should have a parent")}function Bn(t){H(t,"LContainer must be defined"),R(En(t),!0,"Expecting LContainer")}function Vn(t){H(t,"LView must be defined"),R(Tn(t),!0,"Expecting LView")}function Un(t,e){R(t.firstCreatePass,!0,e||"Should only be called in first create pass.")}function Wn(t,e){R(t.firstUpdatePass,!0,"Should only be called in first update pass.")}function Gn(t){(void 0===t.type||null==t.selectors||void 0===t.inputs)&&B("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function qn(t,e){Zn(wn,t.bindingStartIndex,e)}function Qn(t,e){Zn(t[1].expandoStartIndex,t.length,e)}function Zn(t,e,n){t<=n&&n<e||B(`Index out of range (expecting ${t} <= ${n} < ${e})`)}function Xn(t,e){H(t[ln],"Component views should exist."),H(t[ln][Ye].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function Yn(t,e){H(t,"Component views should always have a parent view (component's host view)")}function Kn(t,e){Qn(t,e),Qn(t,e+8),O(t[e+0],"injectorIndex should point to a bloom filter"),O(t[e+1],"injectorIndex should point to a bloom filter"),O(t[e+2],"injectorIndex should point to a bloom filter"),O(t[e+3],"injectorIndex should point to a bloom filter"),O(t[e+4],"injectorIndex should point to a bloom filter"),O(t[e+5],"injectorIndex should point to a bloom filter"),O(t[e+6],"injectorIndex should point to a bloom filter"),O(t[e+7],"injectorIndex should point to a bloom filter"),O(t[e+8],"injectorIndex should point to parent injector")}const Jn="svg",tr="math";function er(t){for(;Array.isArray(t);)t=t[Ge];return t}function nr(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[Ge]}return null}function rr(t,e){return er(e[t])}function or(t,e){return er(e[t.index])}function ir(t,e){const n=null===t?-1:t.index;return-1!==n?er(e[n]):null}function sr(t,e){return t.data[e]}function ar(t,e){return t[e]}function lr(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function cr(t,e){const n=e[t];return Tn(n)?n:n[Ge]}function ur(t){return!(4&~t[Qe])}function dr(t){return!(128&~t[Qe])}function hr(t){return En(t[Ze])}function pr(t,e){return null==e?null:t[e]}function fr(t){t[un]=0}function gr(t){1024&t[Qe]||(t[Qe]|=1024,dr(t)&&vr(t))}function mr(t,e){for(;t>0;)e=e[an],t--;return e}function yr(t){return!!(9216&t[Qe]||t[yn]?.dirty)}function br(t){t[nn].changeDetectionScheduler?.notify(8),64&t[Qe]&&(t[Qe]|=1024),yr(t)&&vr(t)}function vr(t){t[nn].changeDetectionScheduler?.notify(0);let e=Cr(t);for(;null!==e&&!(8192&e[Qe])&&(e[Qe]|=8192,dr(e));)e=Cr(e)}function wr(t,e){if(Pn(t))throw new b(911,!1);null===t[fn]&&(t[fn]=[]),t[fn].push(e)}function Sr(t,e){if(null===t[fn])return;const n=t[fn].indexOf(e);-1!==n&&t[fn].splice(n,1)}function Cr(t){const e=t[Ze];return En(e)?e[Ze]:e}function _r(t){return t[Je]??=[]}function kr(t){return t.cleanup??=[]}function xr(t,e,n,r){const o=_r(e);o.push(n),t.firstCreatePass&&kr(t).push(r,o.length-1)}const Tr={lFrame:wo(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Er,Ar=((Er=Ar||{})[Er.Off=0]="Off",Er[Er.Exhaustive=1]="Exhaustive",Er[Er.OnlyDirtyViews=2]="OnlyDirtyViews",Er);let Ir=0,Or=!1;function Lr(){return Tr.lFrame.elementDepthCount}function Dr(){Tr.lFrame.elementDepthCount++}function Pr(){Tr.lFrame.elementDepthCount--}function Rr(){return Tr.bindingsEnabled}function Nr(){return null!==Tr.skipHydrationRootTNode}function Mr(t){return Tr.skipHydrationRootTNode===t}function jr(){Tr.bindingsEnabled=!0}function Fr(){Tr.bindingsEnabled=!1}function $r(){Tr.skipHydrationRootTNode=null}function zr(){return Tr.lFrame.lView}function Hr(){return Tr.lFrame.tView}function Br(t){return Tr.lFrame.contextLView=t,t[tn]}function Vr(t){return Tr.lFrame.contextLView=null,t}function Ur(){let t=Wr();for(;null!==t&&64===t.type;)t=t.parent;return t}function Wr(){return Tr.lFrame.currentTNode}function Gr(){const t=Tr.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function qr(t,e){const n=Tr.lFrame;n.currentTNode=t,n.isParent=e}function Qr(){return Tr.lFrame.isParent}function Zr(){Tr.lFrame.isParent=!1}function Xr(){return Tr.lFrame.contextLView}function Yr(){return B("Must never be called in production mode"),Ir!==Ar.Off}function Kr(){return B("Must never be called in production mode"),Ir===Ar.Exhaustive}function Jr(t){B("Must never be called in production mode"),Ir=t}function to(){return Or}function eo(t){const e=Or;return Or=t,e}function no(){const t=Tr.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ro(){return Tr.lFrame.bindingIndex}function oo(t){return Tr.lFrame.bindingIndex=t}function io(){return Tr.lFrame.bindingIndex++}function so(t){const e=Tr.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ao(){return Tr.lFrame.inI18n}function lo(t){Tr.lFrame.inI18n=t}function co(t,e){const n=Tr.lFrame;n.bindingIndex=n.bindingRootIndex=t,ho(e)}function uo(){return Tr.lFrame.currentDirectiveIndex}function ho(t){Tr.lFrame.currentDirectiveIndex=t}function po(t){const e=Tr.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function fo(){return Tr.lFrame.currentQueryIndex}function go(t){Tr.lFrame.currentQueryIndex=t}function mo(t){const e=t[qe];return 2===e.type?e.declTNode:1===e.type?t[Ye]:null}function yo(t,e,n){if(4&n){let r=e,o=t;for(;r=r.parent,!(null!==r||1&n||(r=mo(o),null===r||(o=o[an],10&r.type))););if(null===r)return!1;e=r,t=o}const r=Tr.lFrame=vo();return r.currentTNode=e,r.lView=t,!0}function bo(t){const e=vo(),n=t[qe];Tr.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function vo(){const t=Tr.lFrame,e=null===t?null:t.child;return null===e?wo(t):e}function wo(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function So(){const t=Tr.lFrame;return Tr.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Co=So;function _o(){const t=So();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ko(t){return(Tr.lFrame.contextLView=mr(t,Tr.lFrame.contextLView))[tn]}function xo(){return Tr.lFrame.selectedIndex}function To(t){Tr.lFrame.selectedIndex=t}function Eo(){const t=Tr.lFrame;return sr(t.tView,t.selectedIndex)}function Ao(){Tr.lFrame.currentNamespace=Jn}function Io(){Tr.lFrame.currentNamespace=tr}function Oo(){Tr.lFrame.currentNamespace=null}function Lo(){return Tr.lFrame.currentNamespace}let Do=!0;function Po(){return Do}function Ro(t){Do=t}function No(t,e=null,n=null,r){const o=Mo(t,e,n);return o.resolveInjectorInitializers(),o}function Mo(t,e=null,n=null,r,o=new Set){const i=[n||me,Ce(t)];return new je(i,e||Ne(),null,o)}class jo{static THROW_IF_NOT_FOUND=Gt;static NULL=new we;static create(t,e){return Array.isArray(t)?No({name:""},e,t):No({name:t.name??""},t.parent,t.providers)}static ɵprov=Q({token:jo,providedIn:"any",factory:()=>Xt(be)});static __NG_ELEMENT_ID__=-1}const Fo=new et("");let $o=class{static __NG_ELEMENT_ID__=Ho;static __NG_ENV_ID__=t=>t};class zo extends $o{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Pn(this._lView)}onDestroy(t){const e=this._lView;return wr(e,t),()=>Sr(e,t)}}function Ho(){return new zo(zr())}const Bo=!1,Vo=new et("");let Uo=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new o.t(!1);debugTaskTracker=Kt(Vo,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new i.c(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static ɵprov=Q({token:t,providedIn:"root",factory:()=>new t})}return t})();const Wo=class extends s.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ue()&&(this.destroyRef=Kt($o,{optional:!0})??void 0,this.pendingTasks=Kt(Uo,{optional:!0})??void 0)}emit(t){const e=(0,r.Ht)(null);try{super.next(t)}finally{(0,r.Ht)(e)}}subscribe(t,e,n){let r=t,o=e||(()=>null),i=n;if(t&&"object"==typeof t){const e=t;r=e.next?.bind(e),o=e.error?.bind(e),i=e.complete?.bind(e)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),i&&(i=this.wrapInTimeout(i)));const s=super.subscribe({next:r,error:o,complete:i});return t instanceof a.yU&&t.add(s),s}wrapInTimeout(t){return e=>{const n=this.pendingTasks?.add();setTimeout(()=>{try{t(e)}finally{void 0!==n&&this.pendingTasks?.remove(n)}})}}};function Go(...t){}function qo(t){let e,n;function r(){t=Go;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function Qo(t){return queueMicrotask(()=>t()),()=>{t=Go}}const Zo="isAngularZone",Xo=Zo+"_ID";let Yo=0;class Ko{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Wo(!1);onMicrotaskEmpty=new Wo(!1);onStable=new Wo(!1);onError=new Wo(!1);constructor(t){const{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Bo}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.callbackScheduled=!1,i.scheduleInRootZone=o,function(t){const e=()=>{!function(t){function e(){qo(()=>{t.callbackScheduled=!1,ei(t),t.isCheckStableRunning=!0,ti(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),ei(t))}(t)},n=Yo++;t._inner=t._inner.fork({name:"angular",properties:{[Zo]:!0,[Xo]:n,[Xo+n]:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function(t){return ii(t,"__ignore_ng_zone__")}(a))return n.invokeTask(o,i,s,a);try{return ni(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),ri(t)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return ni(t),n.invoke(o,i,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function(t){return ii(t,"__scheduler_tick__")}(a)&&e(),ri(t)}},onHasTask:(e,n,r,o)=>{e.hasTask(r,o),n===r&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,ei(t),ti(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,n,r,o)=>(e.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Zo)}static assertInAngularZone(){if(!Ko.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(Ko.isInAngularZone())throw new b(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,t,Jo,Go,Go);try{return o.runTask(i,e,n)}finally{o.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Jo={};function ti(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ei(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function ni(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ri(t){t._nesting--,ti(t)}class oi{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Wo;onMicrotaskEmpty=new Wo;onStable=new Wo;onError=new Wo;run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}function ii(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}class si{_console=console;handleError(t){this._console.error("ERROR",t)}}const ai=new et("",{factory:()=>{const t=Kt(Ko),e=Kt(Me);let n;return r=>{t.runOutsideAngular(()=>{e.destroyed&&!n?setTimeout(()=>{throw r}):(n??=e.get(si),n.handleError(r))})}}}),li={provide:ye,useValue:()=>{Kt(si,{optional:!0})},multi:!0};function ci(t,e){const[n,o,i]=(0,r.n5)(t,e?.equal),s=n;return s.set=o,s.update=i,s.asReadonly=ui.bind(s),s}function ui(){const t=this[r.bh];if(void 0===t.readonlyFn){const e=()=>this();e[r.bh]=t,t.readonlyFn=e}return t.readonlyFn}function di(t,e){if(null!==(0,r.nR)())throw new b(-602,!1)}let hi=class{view;node;constructor(t,e){this.view=t,this.node=e}static __NG_ELEMENT_ID__=pi};function pi(){return new hi(zr(),Ur())}class fi{}const gi=new et("",{factory:()=>!0}),mi=new et("",{factory:()=>!1}),yi=new et("");let bi=(()=>{class t{internalPendingTasks=Kt(Uo);scheduler=Kt(fi);errorHandler=Kt(ai);add(){const t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){const e=this.add();t().catch(this.errorHandler).finally(e)}static ɵprov=Q({token:t,providedIn:"root",factory:()=>new t})}return t})(),vi=(()=>{class t{static ɵprov=Q({token:t,providedIn:"root",factory:()=>new wi})}return t})();class wi{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const e=this.queues.get(t.zone);e.has(t)&&(e.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);const n=this.queues.get(e);n.has(t)||n.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[e,n]of this.queues)t||=null===e?this.flushQueue(n):e.run(()=>this.flushQueue(n));t||(this.dirtyEffectCount=0)}}flushQueue(t){let e=!1;for(const n of t)n.dirty&&(this.dirtyEffectCount--,e=!0,n.run());return e}}class Si{[r.bh];constructor(t){this[r.bh]=t}destroy(){this[r.bh].destroy()}}function Ci(t,e){const n=e?.injector??Kt(jo);let r,o=!0!==e?.manualCleanup?n.get($o):null;const i=n.get(hi,null,{optional:!0}),s=n.get(fi);return null!==i?(r=function(t,e,n){const r=Object.create(xi);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=e,r.fn=Ti(r,n),t[mn]??=new Set,t[mn].add(r),r.consumerMarkedDirty(r),r}(i.view,s,t),o instanceof zo&&o._lView===i.view&&(o=null)):r=function(t,e,n){const r=Object.create(ki);return r.fn=Ti(r,t),r.scheduler=e,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}(t,n.get(vi),s),r.injector=n,null!==o&&(r.onDestroyFns=[o.onDestroy(()=>r.destroy())]),new Si(r)}const _i={...r.vX,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const t=eo(!1);try{(0,r.lh)(this)}finally{eo(t)}},cleanup(){if(!this.cleanupFns?.length)return;const t=(0,r.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,r.Ht)(t)}}},ki={..._i,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if((0,r.XR)(this),null!==this.onDestroyFns)for(const t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}},xi={..._i,consumerMarkedDirty(){this.view[Qe]|=8192,vr(this.view),this.notifier.notify(13)},destroy(){if((0,r.XR)(this),null!==this.onDestroyFns)for(const t of this.onDestroyFns)t();this.cleanup(),this.view[mn]?.delete(this)}};function Ti(t,e){return()=>{e(e=>(t.cleanupFns??=[]).push(e))}}},5697(t,e,n){n.d(e,{Zf:()=>a,EW:()=>c,uu:()=>d,O8:()=>l}),n(467);var r=n(6817),o=n(6499);function i(t,e,n){const r=Object.create(s);r.source=t,r.computation=e,null!=n&&(r.equal=n);const i=()=>{if((0,o.JC)(r),(0,o.mK)(r),r.value===o.EF)throw r.error;return r.value};return i[o.bh]=r,(0,o.a7)(r),i}const s={...o.pL,value:o.Ag,dirty:!0,error:null,equal:o.H8,kind:"linkedSignal",producerMustRecompute:t=>t.value===o.Ag||t.value===o.Ny,producerRecomputeValue(t){if(t.value===o.Ny)throw new Error("");const e=t.value;t.value=o.Ny;const n=(0,o.Bg)(t);let r,i=!1;try{const n=t.source(),s=e!==o.Ag&&e!==o.EF;r=t.computation(n,s?{source:t.sourceValue,value:e}:void 0),t.sourceValue=n,(0,o.Ht)(null),i=s&&r!==o.EF&&t.equal(e,r)}catch(e){r=o.EF,t.error=e}finally{(0,o.Wu)(t,n)}i?t.value=e:(t.value=r,t.version++)}};class a{destroyed=!1;listeners=null;errorHandler=(0,r.WQX)(r.zcH,{optional:!0});destroyRef=(0,r.WQX)(r.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new r.buA(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{const e=this.listeners?.indexOf(t);void 0!==e&&-1!==e&&this.listeners?.splice(e,1)}}}emit(t){if(this.destroyed)return void console.warn((0,r.OsK)(953,!1));if(null===this.listeners)return;const e=(0,o.Ht)(null);try{for(const e of this.listeners)try{e(t)}catch(t){this.errorHandler?.handleError(t)}}finally{(0,o.Ht)(e)}}}function l(t){return function(t){const e=(0,o.Ht)(null);try{return t()}finally{(0,o.Ht)(e)}}(t)}function c(t,e){return(0,o.KZ)(t,e?.equal)}const u=t=>t;function d(t,e){return function(t){const e=t[o.bh],n=t;return n.set=t=>function(t,e){(0,o.JC)(t),(0,o.j2)(t,e),(0,o.TO)(t)}(e,t),n.update=t=>function(t,e){if((0,o.JC)(t),t.value===o.EF)throw t.error;(0,o.mC)(t,e),(0,o.TO)(t)}(e,t),n.asReadonly=r.HO5.bind(t),n}("function"==typeof t?i(t,u,e?.equal):i(t.source,t.computation,t.equal))}Error,Error},6860(t,e,n){n.d(e,{CGW:()=>h,ES_:()=>d,HJs:()=>ut,Jn2:()=>S,L39:()=>nt,MKu:()=>J,SmG:()=>j,TL3:()=>et,Tg_:()=>L,Udg:()=>rt,_q3:()=>Y,a0P:()=>ct,ebz:()=>m,fpN:()=>tt,gRc:()=>F,hFB:()=>f,oH4:()=>P,sbv:()=>b,uEv:()=>lt});var r=n(6268),o=n(6817),i=n(5697),s=n(5710),a=n(6499);const l=Symbol("InputSignalNode#UNSET"),c={...a.s0,transformFn:void 0,applyValueToInputSignal(t,e){(0,a.j2)(t,e)}};function u(t,e){const n=Object.create(c);function r(){if((0,a.mK)(n),n.value===l)throw new o.buA(-950,null);return n.value}return n.value=t,n.transformFn=e?.transform,r[a.bh]=n,r}class d{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>(0,r.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function h(t){return new i.Zf}function p(t,e){return u(t,e)}const f=(p.required=function(t){return u(l,t)},p);function g(t,e){return(0,r.mU9)(e)}const m=(g.required=function(t,e){return(0,r.hnC)(e)},g);function y(t,e){return(0,r.mU9)(e)}const b=(y.required=function(t,e){return(0,r.hnC)(e)},y);let v=(()=>{class t{zone=(0,o.WQX)(o.SKi);changeDetectionScheduler=(0,o.WQX)(o.hk6);applicationRef=(0,o.WQX)(r.o8S);applicationErrorHandler=(0,o.WQX)(o.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const w=new o.nKC("",{factory:()=>!1});function S(t){const e=t?.scheduleInRootZone,n=function({ngZoneFactory:t,scheduleInRootZone:e}){return t??=()=>new o.SKi({...C(),scheduleInRootZone:e}),[{provide:o.Evm,useValue:!1},{provide:o.SKi,useFactory:t},{provide:o.Z63,multi:!0,useFactory:()=>{const t=(0,o.WQX)(v,{optional:!0});return()=>t.initialize()}},{provide:o.Z63,multi:!0,useFactory:()=>{const t=(0,o.WQX)(_);return()=>{t.initialize()}}},{provide:o.AQb,useValue:e??o.kHH}]}({ngZoneFactory:()=>{const n=C(t);return n.scheduleInRootZone=e,n.shouldCoalesceEventChangeDetection&&(0,r._jY)("NgZone_CoalesceEvent"),new o.SKi(n)},scheduleInRootZone:e});return(0,o.EmA)([{provide:w,useValue:!0},n])}function C(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let _=(()=>{class t{subscription=new s.yU;initialized=!1;zone=(0,o.WQX)(o.SKi);pendingTasks=(0,o.WQX)(o.rev);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{o.SKi.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{o.SKi.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static ɵfac=function(e){return new(e||t)};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const k=new o.nKC(""),x=new o.nKC("");function T(t){return!t.moduleRef}function E(t){const e=T(t)?t.r3Injector:t.moduleRef.injector,n=e.get(o.SKi);return n.run(()=>{T(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const i=e.get(o.ZTf);let s;if(n.runOutsideAngular(()=>{s=n.onError.subscribe({next:i})}),T(t)){const n=()=>e.destroy(),r=t.platformInjector.get(k);r.add(n),e.onDestroy(()=>{s.unsubscribe(),r.delete(n)})}else{const e=()=>t.moduleRef.destroy(),n=t.platformInjector.get(k);n.add(e),t.moduleRef.onDestroy(()=>{(0,r.TFI)(t.allPlatformModules,t.moduleRef),s.unsubscribe(),n.delete(e)})}return function(t,e,n){try{const o=n();return(0,r.yLl)(o)?o.catch(n=>{throw e.runOutsideAngular(()=>t(n)),n}):o}catch(n){throw e.runOutsideAngular(()=>t(n)),n}}(i,n,()=>{const n=e.get(o.rev),i=n.add(),s=e.get(r.H1s);return s.runInitializers(),s.donePromise.then(()=>{const n=e.get(r.xe9,r.DkB);if((0,r.e6s)(n||r.DkB),!e.get(x,!0))return T(t)?e.get(r.o8S):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(T(t)){const n=e.get(r.o8S);return void 0!==t.rootComponent&&n.bootstrap(t.rootComponent),n}return A?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{n.remove(i)})})})}let A;function I(){A=O}function O(t,e){const n=t.injector.get(r.o8S);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>n.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new o.buA(-403,!1);t.instance.ngDoBootstrap(n)}e.push(t)}let L=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,e){const n=[(0,r.rpG)(),...e?.applicationProviders??[],o.gv8],i=(0,r.VzW)(t.moduleType,this.injector,n);return I(),E({moduleRef:i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,e=[]){const n=(0,r.lJT)({},e);return I(),function(t,e,n){const o=new r.Co$(n);return Promise.resolve(o)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new o.buA(404,!1);this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t());const t=this._injector.get(k,null);t&&(t.forEach(t=>t()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static ɵfac=function(e){return new(e||t)((0,o.KVO)(o.zZn))};static ɵprov=(0,o.jDH)({token:t,factory:t.ɵfac,providedIn:"platform"})}return t})(),D=null;function P(t,e,n=[]){const i=`Platform: ${e}`,s=new o.nKC(i);return(e=[])=>{let a=N();if(!a){const l=[...n,...e,{provide:s,useValue:!0}];a=t?.(l)??function(t){if(N())throw new o.buA(400,!1);(0,r.pl0)(),(0,r.ypd)(),D=t;const e=t.get(L);return M(t),e}(R(l,i))}return function(){const t=N();if(!t)throw new o.buA(-401,!1);return t}()}}function R(t=[],e){return o.zZn.create({name:e,providers:[{provide:o.GBX,useValue:"platform"},{provide:k,useValue:new Set([()=>D=null])},...t]})}function N(){return D?.get(L)??null}function M(t){const e=t.get(r.PLl,null);(0,o.N4e)(t,()=>{e?.forEach(t=>t())})}function j(){}let F=class{static __NG_ELEMENT_ID__=$};function $(t){return function(t,e,n){if((0,o.Qs1)(t)&&!n){const n=(0,o.KdJ)(t.index,e);return new r.NCX(n,n)}return 175&t.type?new r.NCX(e[o.b5C],e):null}((0,o.Mx4)(),(0,o.OAn)(),!(16&~t))}class z{supports(t){return(0,r.ozJ)(t)}create(t){return new B(t)}}const H=(t,e)=>e;class B{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||H}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,o=null;for(;e||n;){const i=!n||e&&e.currentIndex<G(n,r,o)?e:n,s=G(i,r,o),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{o||(o=[]);const t=s-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<o.length?o[n]:o[n]=0,i=r+n;e<=i&&i<t&&(o[n]=r+1)}o[i.previousIndex]=e-t}}s!==a&&t(i,s,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!(0,r.ozJ)(t))throw new o.buA(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,o,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],o=this._trackByFn(e,n),null!==i&&Object.is(i.trackById,o)?(s&&(i=this._verifyReinsertion(i,n,o,e)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,o,e),s=!0),i=i._next}else e=0,(0,r.utN)(t,t=>{o=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,o)?(s&&(i=this._verifyReinsertion(i,t,o,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,o,e),s=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new V(e,n),o,r),t}_verifyReinsertion(t,e,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new W),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new W),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class V{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,e){this.item=t,this.trackById=e}}class U{_head=null;_tail=null;add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class W{map=new Map;put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new U,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function G(t,e,n){const r=t.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+e+o}class q{supports(t){return t instanceof Map||(0,r.vDg)(t)}create(){return new Q}}class Q{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||(0,r.vDg)(t)))throw new o.buA(900,!1)}else t=new Map;return this.check(t)?this:null}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}const n=new Z(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Z{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}}function X(){return new Y([new z])}let Y=(()=>{class t{factories;static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:X});constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{const n=(0,o.WQX)(t,{optional:!0,skipSelf:!0});return t.create(e,n||X())}}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new o.buA(901,!1)}}return t})();function K(){return new J([new q])}let J=(()=>{class t{static ɵprov=(0,o.jDH)({token:t,providedIn:"root",factory:K});factories;constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{const n=(0,o.WQX)(t,{optional:!0,skipSelf:!0});return t.create(e,n||K())}}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new o.buA(901,!1)}}return t})();const tt=P(null,"core",[]);function et(t){const{rootComponent:e,appProviders:n,platformProviders:i,platformRef:s}=t;(0,r.Ef8)(r.mS5.BootstrapApplicationStart);try{const t=s?.injector??function(t=[]){if(D)return D;(0,r.pl0)();const e=R(t);return D=e,(0,r.ypd)(),M(e),e}(i),a=[(0,r.rpG)(),o.gv8,...n||[]];return E({r3Injector:new r.bH1({providers:a,parent:t,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:t,rootComponent:e})}catch(t){return Promise.reject(t)}finally{(0,r.Ef8)(r.mS5.BootstrapApplicationEnd)}}function nt(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function rt(t,e=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?e:Number(t)}const ot=Symbol("NOT_SET"),it=new Set,st={...a.s0,kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ot,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==ot&&!(0,a.si)(this))return this.signal;try{for(const t of this.cleanup??it)t()}finally{this.cleanup?.clear()}const e=[];void 0!==t&&e.push(t),e.push(this.registerCleanupFn);const n=(0,a.Bg)(this);let r;try{r=this.userFn.apply(null,e)}finally{(0,a.Wu)(this,n)}return(this.value===ot||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}};class at extends r._ys{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,e,n,i,s,l=null){super(t,[void 0,void 0,void 0,void 0],n,!1,s.get(o.abz),l),this.scheduler=i;for(const t of r.zoo){const n=e[t];if(void 0===n)continue;const r=Object.create(st);r.sequence=this,r.phase=t,r.userFn=n,r.dirty=!0,r.signal=()=>((0,a.mK)(r),r.value),r.signal[a.bh]=r,r.registerCleanupFn=t=>(r.cleanup??=new Set).add(t),this.nodes[t]=r,this.hooks[t]=t=>r.phaseFn(t)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(null!==this.onDestroyFns)for(const t of this.onDestroyFns)t();super.destroy();for(const t of this.nodes)if(t)try{for(const e of t.cleanup??it)e()}finally{(0,a.XR)(t)}}}function lt(t,e){const n=e?.injector??(0,o.WQX)(o.zZn),i=n.get(o.hk6),s=n.get(r.cf$),a=n.get(r.a8H,null,{optional:!0});s.impl??=n.get(r.ziy);let l=t;"function"==typeof l&&(l={mixedReadWrite:t});const c=n.get(o.r4V,null,{optional:!0}),u=new at(s.impl,[l.earlyRead,l.write,l.mixedReadWrite,l.read],c?.view,i,n,a?.snapshot(null));return s.impl.register(u),u}function ct(t,e){const n=(0,o.xUg)(t),i=e.elementInjector||(0,o.WB9)();return new r.eHC(n).create(i,e.projectableNodes,e.hostElement,e.environmentInjector,e.directives,e.bindings)}function ut(t){const e=(0,o.xUg)(t);if(!e)return null;const n=new r.eHC(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}},3639(t,e,n){n.d(e,{nX:()=>Le,Pu:()=>Gn,Zp:()=>_e,nU:()=>gt,wU:()=>Zt,c1:()=>Ve,XR:()=>Xn,wF:()=>te,lW:()=>oe,mo:()=>ne,Z:()=>Jt,J2:()=>Yn,J_:()=>jn,bw:()=>Fn,tD:()=>Ue,Ix:()=>sr,D$:()=>$n,n3:()=>He,OY:()=>ye,fN:()=>rr,Sd:()=>ft,el:()=>ut,bK:()=>qn,gk:()=>ir,Lg:()=>Qn,tE:()=>rt,$m:()=>it,wO:()=>Pt,Us:()=>Se,E:()=>ot,we:()=>We});var r=n(467),o=n(6817),i=n(5487),s=n(6268),a=n(5697),l=n(6860),c=n(1698),u=n(1126);function d(t){return!!t&&(t instanceof c.c||(0,u.T)(t.lift)&&(0,u.T)(t.subscribe))}var h=n(1787),p=n(3016),f=n(1217),g=n(6627),m=n(8747),y=n(1890),b=n(4327);function v(...t){return(0,y.U)(1)((0,h.H)(t,(0,b.lI)(t)))}var w=n(7225);function S(t){return new c.c(e=>{(0,w.Tg)(t()).subscribe(e)})}var C=n(6742),_=n(6564),k=n(8447),x=n(5710),T=n(1483),E=n(7610),A=n(5351),I=n(2483);function O(t=L){return(0,A.N)((e,n)=>{let r=!1;e.subscribe((0,I._)(n,t=>{r=!0,n.next(t)},()=>r?n.complete():n.error(t())))})}function L(){return new m.G}var D=n(9220);function P(t,e){const n=arguments.length>=2;return r=>r.pipe(t?(0,T.p)((e,n)=>t(e,n,r)):D.D,(0,E.s)(1),n?function(t){return(0,A.N)((e,n)=>{let r=!1;e.subscribe((0,I._)(n,t=>{r=!0,n.next(t)},()=>{r||n.next(t),n.complete()}))})}(e):O(()=>new m.G))}var R=n(7947),N=n(2867),M=n(5424),j=n(5823),F=n(1459),$=n(2040);function z(t){return t<=0?()=>_.w:(0,A.N)((e,n)=>{let r=[];e.subscribe((0,I._)(n,e=>{r.push(e),t<r.length&&r.shift()},()=>{for(const t of r)n.next(t);n.complete()},void 0,()=>{r=null}))})}var H=n(7178);let B=(()=>{class t{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static ɵfac=function(e){return new(e||t)(o.KVO(o.qQL))};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const V="primary",U=Symbol("RouteTitle");class W{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function G(t){return new W(t)}function q(t,e,n){for(let r=0;r<t.length;r++){const o=t[r],i=e[r];if(":"===o[0])n[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function Q(t,e,n){const r=n.path.split("/"),o=r.indexOf("**");if(-1===o){if(r.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const o={},i=t.slice(0,r.length);return q(r,i,o)?{consumed:i,posParams:o}:null}if(o!==r.lastIndexOf("**"))return null;const i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>t.length||"full"===n.pathMatch&&e.hasChildren()&&"**"!==n.path)return null;const a={};return q(i,t.slice(0,i.length),a)&&q(s,t.slice(t.length-s.length),a)?{consumed:t,posParams:a}:null}function Z(t){return new Promise((e,n)=>{t.pipe(P()).subscribe({next:t=>e(t),error:t=>n(t)})})}function X(t,e){const n=t?Y(t):void 0,r=e?Y(e):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let r=0;r<n.length;r++)if(o=n[r],!K(t[o],e[o]))return!1;return!0}function Y(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function K(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every((t,e)=>r[e]===t)}return t===e}function J(t){return d(t)?t:(0,s.yLl)(t)?(0,h.H)(Promise.resolve(t)):(0,p.of)(t)}function tt(t){return d(t)?Z(t):Promise.resolve(t)}const et={exact:function t(e,n,r){if(!pt(e.segments,n.segments)||!ct(e.segments,n.segments,r)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const o in n.children)if(!e.children[o]||!t(e.children[o],n.children[o],r))return!1;return!0},subset:at},nt={exact:function(t,e){return X(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>K(t[n],e[n]))},ignored:()=>!0},rt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ot={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function it(t,e,n){const r=t instanceof ut?t:e.parseUrl(t);return(0,a.EW)(()=>st(e.lastSuccessfulNavigation()?.finalUrl??new ut,r,{...ot,...n}))}function st(t,e,n){return et[n.paths](t.root,e.root,n.matrixParams)&&nt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function at(t,e,n){return lt(t,e,e.segments,n)}function lt(t,e,n,r){if(t.segments.length>n.length){const o=t.segments.slice(0,n.length);return!(!pt(o,n)||e.hasChildren()||!ct(o,n,r))}if(t.segments.length===n.length){if(!pt(t.segments,n)||!ct(t.segments,n,r))return!1;for(const n in e.children)if(!t.children[n]||!at(t.children[n],e.children[n],r))return!1;return!0}{const o=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!(pt(t.segments,o)&&ct(t.segments,o,r)&&t.children[V])&<(t.children[V],e,i,r)}}function ct(t,e,n){return e.every((e,r)=>nt[n](t[r].parameters,e.parameters))}class ut{root;queryParams;fragment;_queryParamMap;constructor(t=new dt([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=G(this.queryParams),this._queryParamMap}toString(){return mt.serialize(this)}}class dt{segments;children;parent=null;constructor(t,e){this.segments=t,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return yt(this)}}class ht{path;parameters;_parameterMap;constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=G(this.parameters),this._parameterMap}toString(){return kt(this)}}function pt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}let ft=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:()=>new gt,providedIn:"root"})}return t})();class gt{parse(t){const e=new Ot(t);return new ut(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${bt(t.root,!0)}`,n=function(t){const e=Object.entries(t).map(([t,e])=>Array.isArray(e)?e.map(e=>`${wt(t)}=${wt(e)}`).join("&"):`${wt(t)}=${wt(e)}`).filter(t=>t);return e.length?`?${e.join("&")}`:""}(t.queryParams);return`${e}${n}${"string"==typeof t.fragment?`#${r=t.fragment,encodeURI(r)}`:""}`;var r}}const mt=new gt;function yt(t){return t.segments.map(t=>kt(t)).join("/")}function bt(t,e){if(!t.hasChildren())return yt(t);if(e){const e=t.children[V]?bt(t.children[V],!1):"",n=[];return Object.entries(t.children).forEach(([t,e])=>{t!==V&&n.push(`${t}:${bt(e,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Object.entries(t.children).forEach(([t,r])=>{t===V&&(n=n.concat(e(r,t)))}),Object.entries(t.children).forEach(([t,r])=>{t!==V&&(n=n.concat(e(r,t)))}),n}(t,(e,n)=>n===V?[bt(t.children[V],!1)]:[`${n}:${bt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[V]?`${yt(t)}/${e[0]}`:`${yt(t)}/(${e.join("//")})`}}function vt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wt(t){return vt(t).replace(/%3B/gi,";")}function St(t){return vt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ct(t){return decodeURIComponent(t)}function _t(t){return Ct(t.replace(/\+/g,"%20"))}function kt(t){return`${St(t.path)}${function(t){return Object.entries(t).map(([t,e])=>`;${St(t)}=${St(e)}`).join("")}(t.parameters)}`}const xt=/^[^\/()?;#]+/;function Tt(t){const e=t.match(xt);return e?e[0]:""}const Et=/^[^\/()?;=#]+/,At=/^[^=?&#]+/,It=/^[^&#]+/;class Ot{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){for(;this.consumeOptional("/"););return""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new dt([],{}):new dt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(t=0){if(t>50)throw new o.buA(4010,!1);if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0,t));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1,t)),(e.length>0||Object.keys(n).length>0)&&(r[V]=new dt(e,n)),r}parseSegment(){const t=Tt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new o.buA(4009,!1);return this.capture(t),new ht(Ct(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function(t){const e=t.match(Et);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Tt(this.remaining);t&&(n=t,this.capture(n))}t[Ct(e)]=Ct(n)}parseQueryParam(t){const e=function(t){const e=t.match(At);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(It);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=_t(e),o=_t(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(o)}else t[r]=o}parseParens(t,e){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Tt(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new o.buA(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=V);const a=this.parseChildren(e+1);n[s??V]=1===Object.keys(a).length&&a[V]?a[V]:new dt([],a),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new o.buA(4011,!1)}}function Lt(t){return t.segments.length>0?new dt([],{[V]:t}):t}function Dt(t){const e={};for(const[n,r]of Object.entries(t.children)){const t=Dt(r);if(n===V&&0===t.segments.length&&t.hasChildren())for(const[n,r]of Object.entries(t.children))e[n]=r;else(t.segments.length>0||t.hasChildren())&&(e[n]=t)}return function(t){if(1===t.numberOfChildren&&t.children[V]){const e=t.children[V];return new dt(t.segments.concat(e.segments),e.children)}return t}(new dt(t.segments,e))}function Pt(t){return t instanceof ut}function Rt(t){let e;const n=Lt(function n(r){const o={};for(const t of r.children){const e=n(t);o[t.outlet]=e}const i=new dt(r.url,o);return r===t&&(e=i),i}(t.root));return e??n}function Nt(t,e,n,r,i){let s=t;for(;s.parent;)s=s.parent;if(0===e.length)return $t(s,s,s,n,r,i);const a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Ht(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,o)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Object.entries(r.outlets).forEach(([t,n])=>{e[t]="string"==typeof n?n.split("/"):n}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===o?(r.split("/").forEach((r,o)=>{0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Ht(n,e,r)}(e);if(a.toRoot())return $t(s,s,new dt([],{}),n,r,i);const l=function(t,e,n){if(t.isAbsolute)return new Bt(e,!0,0);if(!n)return new Bt(e,!1,NaN);if(null===n.parent)return new Bt(n,!0,0);const r=Mt(t.commands[0])?0:1;return function(t,e,n){let r=t,i=e,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new o.buA(4005,!1);i=r.segments.length}return new Bt(r,!1,i-s)}(n,n.segments.length-1+r,t.numberOfDoubleDots)}(a,s,t),c=l.processChildren?Ut(l.segmentGroup,l.index,a.commands):Vt(l.segmentGroup,l.index,a.commands);return $t(s,l.segmentGroup,c,n,r,i)}function Mt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function jt(t){return"object"==typeof t&&null!=t&&t.outlets}function Ft(t,e,n){t||="ɵ";const r=new ut;return r.queryParams={[t]:e},n.parse(n.serialize(r)).queryParams[t]}function $t(t,e,n,r,o,i){const s={};for(const[t,e]of Object.entries(r??{}))s[t]=Array.isArray(e)?e.map(e=>Ft(t,e,i)):Ft(t,e,i);let a;a=t===e?n:zt(t,e,n);const l=Lt(Dt(a));return new ut(l,s,o)}function zt(t,e,n){const r={};return Object.entries(t.children).forEach(([t,o])=>{r[t]=o===e?n:zt(o,e,n)}),new dt(t.segments,r)}class Ht{isAbsolute;numberOfDoubleDots;commands;constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Mt(n[0]))throw new o.buA(4003,!1);const r=n.find(jt);if(r&&r!==((i=n).length>0?i[i.length-1]:null))throw new o.buA(4004,!1);var i}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Bt{segmentGroup;processChildren;index;constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Vt(t,e,n){if(t??=new dt([],{}),0===t.segments.length&&t.hasChildren())return Ut(t,e,n);const r=function(t,e,n){let r=0,o=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(r>=n.length)return i;const e=t.segments[o],s=n[r];if(jt(s))break;const a=`${s}`,l=r<n.length-1?n[r+1]:null;if(o>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Qt(a,l,e))return i;r+=2}else{if(!Qt(a,{},e))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new dt(t.segments.slice(0,r.pathIndex),{});return e.children[V]=new dt(t.segments.slice(r.pathIndex),t.children),Ut(e,0,o)}return r.match&&0===o.length?new dt(t.segments,{}):r.match&&!t.hasChildren()?Wt(t,e,n):r.match?Ut(t,0,o):Wt(t,e,n)}function Ut(t,e,n){if(0===n.length)return new dt(t.segments,{});{const r=function(t){return jt(t[0])?t[0].outlets:{[V]:t}}(n),o={};if(Object.keys(r).some(t=>t!==V)&&t.children[V]&&1===t.numberOfChildren&&0===t.children[V].segments.length){const r=Ut(t.children[V],e,n);return new dt(t.segments,r.children)}return Object.entries(r).forEach(([n,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(o[n]=Vt(t.children[n],e,r))}),Object.entries(t.children).forEach(([t,e])=>{void 0===r[t]&&(o[t]=e)}),new dt(t.segments,o)}}function Wt(t,e,n){const r=t.segments.slice(0,e);let o=0;for(;o<n.length;){const i=n[o];if(jt(i)){const t=Gt(i.outlets);return new dt(r,t)}if(0===o&&Mt(n[0])){r.push(new ht(t.segments[e].path,qt(n[0]))),o++;continue}const s=jt(i)?i.outlets[V]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Mt(a)?(r.push(new ht(s,qt(a))),o+=2):(r.push(new ht(s,{})),o++)}return new dt(r,{})}function Gt(t){const e={};return Object.entries(t).forEach(([t,n])=>{"string"==typeof n&&(n=[n]),null!==n&&(e[t]=Wt(new dt([],{}),0,n))}),e}function qt(t){const e={};return Object.entries(t).forEach(([t,n])=>e[t]=`${n}`),e}function Qt(t,e,n){return t==n.path&&X(e,n.parameters)}const Zt="imperative";var Xt,Yt=((Xt=Yt||{})[Xt.NavigationStart=0]="NavigationStart",Xt[Xt.NavigationEnd=1]="NavigationEnd",Xt[Xt.NavigationCancel=2]="NavigationCancel",Xt[Xt.NavigationError=3]="NavigationError",Xt[Xt.RoutesRecognized=4]="RoutesRecognized",Xt[Xt.ResolveStart=5]="ResolveStart",Xt[Xt.ResolveEnd=6]="ResolveEnd",Xt[Xt.GuardsCheckStart=7]="GuardsCheckStart",Xt[Xt.GuardsCheckEnd=8]="GuardsCheckEnd",Xt[Xt.RouteConfigLoadStart=9]="RouteConfigLoadStart",Xt[Xt.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",Xt[Xt.ChildActivationStart=11]="ChildActivationStart",Xt[Xt.ChildActivationEnd=12]="ChildActivationEnd",Xt[Xt.ActivationStart=13]="ActivationStart",Xt[Xt.ActivationEnd=14]="ActivationEnd",Xt[Xt.Scroll=15]="Scroll",Xt[Xt.NavigationSkipped=16]="NavigationSkipped",Xt);class Kt{id;url;constructor(t,e){this.id=t,this.url=e}}class Jt extends Kt{type=Yt.NavigationStart;navigationTrigger;restoredState;constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class te extends Kt{urlAfterRedirects;type=Yt.NavigationEnd;constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ee=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t}(ee||{}),ne=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ne||{});class re extends Kt{reason;code;type=Yt.NavigationCancel;constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oe extends Kt{reason;code;type=Yt.NavigationSkipped;constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r}}class ie extends Kt{error;target;type=Yt.NavigationError;constructor(t,e,n,r){super(t,e),this.error=n,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class se extends Kt{urlAfterRedirects;state;type=Yt.RoutesRecognized;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ae extends Kt{urlAfterRedirects;state;type=Yt.GuardsCheckStart;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class le extends Kt{urlAfterRedirects;state;shouldActivate;type=Yt.GuardsCheckEnd;constructor(t,e,n,r,o){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ce extends Kt{urlAfterRedirects;state;type=Yt.ResolveStart;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ue extends Kt{urlAfterRedirects;state;type=Yt.ResolveEnd;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class de{route;type=Yt.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class he{route;type=Yt.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class pe{snapshot;type=Yt.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fe{snapshot;type=Yt.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ge{snapshot;type=Yt.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class me{snapshot;type=Yt.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ye{routerEvent;position;anchor;scrollBehavior;type=Yt.Scroll;constructor(t,e,n,r){this.routerEvent=t,this.position=e,this.anchor=n,this.scrollBehavior=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class be{}class ve{}class we{url;navigationBehaviorOptions;constructor(t,e){this.url=t,this.navigationBehaviorOptions=e}}function Se(t){switch(t.type){case Yt.ActivationEnd:return`ActivationEnd(path: '${t.snapshot.routeConfig?.path||""}')`;case Yt.ActivationStart:return`ActivationStart(path: '${t.snapshot.routeConfig?.path||""}')`;case Yt.ChildActivationEnd:return`ChildActivationEnd(path: '${t.snapshot.routeConfig?.path||""}')`;case Yt.ChildActivationStart:return`ChildActivationStart(path: '${t.snapshot.routeConfig?.path||""}')`;case Yt.GuardsCheckEnd:return`GuardsCheckEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state}, shouldActivate: ${t.shouldActivate})`;case Yt.GuardsCheckStart:return`GuardsCheckStart(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case Yt.NavigationCancel:return`NavigationCancel(id: ${t.id}, url: '${t.url}')`;case Yt.NavigationSkipped:return`NavigationSkipped(id: ${t.id}, url: '${t.url}')`;case Yt.NavigationEnd:return`NavigationEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}')`;case Yt.NavigationError:return`NavigationError(id: ${t.id}, url: '${t.url}', error: ${t.error})`;case Yt.NavigationStart:return`NavigationStart(id: ${t.id}, url: '${t.url}')`;case Yt.ResolveEnd:return`ResolveEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case Yt.ResolveStart:return`ResolveStart(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case Yt.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${t.route.path})`;case Yt.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${t.route.path})`;case Yt.RoutesRecognized:return`RoutesRecognized(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case Yt.Scroll:return`Scroll(anchor: '${t.anchor}', position: '${t.position?`${t.position[0]}, ${t.position[1]}`:null}')`}}class Ce{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new _e(this.rootInjector)}}let _e=(()=>{class t{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Ce(this.rootInjector),this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}static ɵfac=function(e){return new(e||t)(o.KVO(o.uvJ))};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();class ke{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=xe(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=xe(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Te(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Te(t,this._root).map(t=>t.value)}}function xe(t,e){if(t===e.value)return e;for(const n of e.children){const e=xe(t,n);if(e)return e}return null}function Te(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Te(t,n);if(r.length)return r.unshift(e),r}return[]}class Ee{value;children;constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ae(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Ie extends ke{snapshot;constructor(t,e){super(t),this.snapshot=e,Ne(this,t)}toString(){return this.snapshot.toString()}}function Oe(t,e){const n=function(t,e){const n=new Pe([],{},{},"",{},V,t,null,{},e);return new Re("",new Ee(n,[]))}(t,e),r=new f.t([new ht("",{})]),o=new f.t({}),i=new f.t({}),s=new f.t({}),a=new f.t(""),l=new Le(r,o,s,a,i,V,t,n.root);return l.snapshot=n.root,new Ie(new Ee(l,[]),n)}class Le{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,e,n,r,o,i,s,a){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=i,this.component=s,this._futureSnapshot=a,this.title=this.dataSubject?.pipe((0,R.T)(t=>t[U]))??(0,p.of)(void 0),this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,R.T)(t=>G(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,R.T)(t=>G(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function De(t,e,n="emptyOnly"){let r;const{routeConfig:o}=t;return r=null===e||"always"!==n&&""!==o?.path&&(e.component||e.routeConfig?.loadComponent)?{params:{...t.params},data:{...t.data},resolve:{...t.data,...t._resolvedData??{}}}:{params:{...e.params,...t.params},data:{...e.data,...t.data},resolve:{...t.data,...e.data,...o?.data,...t._resolvedData}},o&&$e(o)&&(r.resolve[U]=o.title),r}class Pe{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[U]}constructor(t,e,n,r,o,i,s,a,l,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=s,this.routeConfig=a,this._resolve=l,this._environmentInjector=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=G(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=G(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Re extends ke{url;constructor(t,e){super(e),this.url=t,Ne(this,e)}toString(){return Me(this._root)}}function Ne(t,e){e.value._routerState=t,e.children.forEach(e=>Ne(t,e))}function Me(t){const e=t.children.length>0?` { ${t.children.map(Me).join(", ")} } `:"";return`${t.value}${e}`}function je(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,X(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),X(e.params,n.params)||t.paramsSubject.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!X(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.urlSubject.next(n.url),X(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Fe(t,e){const n=X(t.params,e.params)&&function(t,e){return pt(t,e)&&t.every((t,n)=>X(t.parameters,e[n].parameters))}(t.url,e.url);return n&&!(!t.parent!=!e.parent)&&(!t.parent||Fe(t.parent,e.parent))}function $e(t){return"string"==typeof t.title||null===t.title}const ze=new o.nKC("");let He=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=V;activateEvents=new o.bkB;deactivateEvents=new o.bkB;attachEvents=new o.bkB;detachEvents=new o.bkB;routerOutletData=(0,l.hFB)();parentContexts=(0,o.WQX)(_e);location=(0,o.WQX)(s.c1b);changeDetector=(0,o.WQX)(l.gRc);inputBinder=(0,o.WQX)(Ve,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){const{firstChange:e,previousValue:n}=t.name;if(e)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.buA(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new o.buA(4013,!1);this._activatedRoute=t;const n=this.location,r=t.snapshot.component,i=this.parentContexts.getOrCreateContext(this.name).children,s=new Be(t,i,n.injector,this.routerOutletData);this.activated=n.createComponent(r,{index:n.length,injector:s,environmentInjector:e}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(e){return new(e||t)};static ɵdir=s.FsC({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[s.OA$]})}return t})();class Be{route;childContexts;parent;outletData;constructor(t,e,n,r){this.route=t,this.childContexts=e,this.parent=n,this.outletData=r}get(t,e){return t===Le?this.route:t===_e?this.childContexts:t===ze?this.outletData:this.parent.get(t,e)}}const Ve=new o.nKC("");let Ue=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:e}=t,n=(0,g.z)([e.queryParams,e.params,e.data]).pipe((0,N.n)(([t,e,n],r)=>(n={...t,...e,...n},0===r?(0,p.of)(n):Promise.resolve(n)))).subscribe(n=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==e||null===e.component)return void this.unsubscribeFromRouteData(t);const r=(0,l.HJs)(e.component);if(r)for(const{templateName:e}of r.inputs)t.activatedComponentRef.setInput(e,n[e]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,n)}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac})}return t})(),We=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵcmp=s.VBU({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,e){1&t&&s.nrm(0,"router-outlet")},dependencies:[He],encapsulation:2})}return t})();function Ge(t){const e=t.children&&t.children.map(Ge),n=e?{...t,children:e}:{...t};return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==V&&(n.component=We),n}function qe(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const o=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return qe(t,e,r);return qe(t,e)})}(t,e,n);return new Ee(r,o)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const r=n.route;return r.value._futureSnapshot=e.value,r.children=e.children.map(e=>qe(t,e)),r}}const n=function(t){return new Le(new f.t(t.url),new f.t(t.params),new f.t(t.queryParams),new f.t(t.fragment),new f.t(t.data),t.outlet,t.component,t)}(e.value),r=e.children.map(e=>qe(t,e));return new Ee(n,r)}}class Qe{redirectTo;navigationBehaviorOptions;constructor(t,e){this.redirectTo=t,this.navigationBehaviorOptions=e}}const Ze="ngNavigationCancelingError";function Xe(t,e){const{redirectTo:n,navigationBehaviorOptions:r}=Pt(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=Ye(!1,ee.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Ye(t,e){const n=new Error(`NavigationCancelingError: ${t||""}`);return n[Ze]=!0,n.cancellationCode=e,n}function Ke(t){return!!t&&t[Ze]}class Je{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,e,n,r,o){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),je(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Ae(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Object.values(r).forEach(t=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,o=Ae(t);for(const t of Object.values(o))this.deactivateRouteAndItsChildren(t,r);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,o=Ae(t);for(const t of Object.values(o))this.deactivateRouteAndItsChildren(t,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,e,n){const r=Ae(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new me(t.value.snapshot))}),t.children.length&&this.forwardEvent(new fe(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,o=e?e.value:null;if(je(r),r===o)if(r.component){const o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const n=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(n.contexts),e.attachRef=n.componentRef,e.route=n.route.value,e.outlet&&e.outlet.attach(n.componentRef,n.route.value),je(n.route.value),this.activateChildRoutes(t,null,e.children)}else e.attachRef=null,e.route=r,e.outlet&&e.outlet.activateWith(r,e.injector),this.activateChildRoutes(t,null,e.children)}else this.activateChildRoutes(t,null,n)}}class tn{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class en{component;route;constructor(t,e){this.component=t,this.route=e}}function nn(t,e,n){const r=t._root;return on(r,e?e._root:null,n,[r.value])}function rn(t,e){const n=Symbol(),r=e.get(t,n);return r===n?"function"!=typeof t||(0,o.muV)(t)?e.get(t):t:r}function on(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=Ae(e);return t.children.forEach(t=>{(function(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,a=e?e.value:null,l=n?n.getContext(t.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){const c=function(t,e,n){if("function"==typeof n)return(0,o.N4e)(e._environmentInjector,()=>n(t,e));switch(n){case"pathParamsChange":return!pt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!pt(t.url,e.url)||!X(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Fe(t,e)||!X(t.queryParams,e.queryParams);default:return!Fe(t,e)}}(a,s,s.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new tn(r)):(s.data=a.data,s._resolvedData=a._resolvedData),on(t,e,s.component?l?l.children:null:n,r,i),c&&l&&l.outlet&&l.outlet.isActivated&&i.canDeactivateChecks.push(new en(l.outlet.component,a))}else a&&sn(e,l,i),i.canActivateChecks.push(new tn(r)),on(t,null,s.component?l?l.children:null:n,r,i)})(t,s[t.value.outlet],n,r.concat([t.value]),i),delete s[t.value.outlet]}),Object.entries(s).forEach(([t,e])=>sn(e,n.getContext(t),i)),i}function sn(t,e,n){const r=Ae(t),o=t.value;Object.entries(r).forEach(([t,r])=>{sn(r,o.component?e?e.children.getContext(t):null:e,n)}),n.canDeactivateChecks.push(new en(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}function an(t){return"function"==typeof t}function ln(t){return t instanceof m.G||"EmptyError"===t?.name}const cn=Symbol("INITIAL_VALUE");function un(){return(0,N.n)(t=>(0,g.z)(t.map(t=>t.pipe((0,E.s)(1),function(...t){const e=(0,b.lI)(t);return(0,A.N)((n,r)=>{(e?v(t,n,e):v(t,n)).subscribe(r)})}(cn)))).pipe((0,R.T)(t=>{for(const e of t)if(!0!==e){if(e===cn)return cn;if(!1===e||dn(e))return e}return!0}),(0,T.p)(t=>t!==cn),(0,E.s)(1)))}function dn(t){return Pt(t)||t instanceof Qe}function hn(t){return t.aborted?(0,p.of)(void 0).pipe((0,E.s)(1)):new c.c(e=>{const n=()=>{e.next(),e.complete()};return t.addEventListener("abort",n),()=>t.removeEventListener("abort",n)})}function pn(t){return(0,M.Q)(hn(t))}function fn(t){return(0,C.F)((0,$.M)(t=>{if("boolean"!=typeof t)throw Xe(0,t)}),(0,R.T)(t=>!0===t))}class gn extends Error{segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,gn.prototype)}}class mn extends Error{urlTree;constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,mn.prototype)}}function yn(t){throw new o.buA(4e3,!1)}class bn{urlSerializer;urlTree;constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){return(0,r.A)(function*(){let t=[],n=e.root;for(;;){if(t=t.concat(n.segments),0===n.numberOfChildren)return t;if(n.numberOfChildren>1||!n.children[V])throw yn();n=n.children[V]}})()}applyRedirectCommands(t,e,n,i,s){var a=this;return(0,r.A)(function*(){const r=yield function(t,e,n){if("string"==typeof t)return Promise.resolve(t);const r=t;return Z(J((0,o.N4e)(n,()=>r(e))))}(e,i,s);if(r instanceof ut)throw new mn(r);const l=a.applyRedirectCreateUrlTree(r,a.urlSerializer.parse(r),t,n);if("/"===r[0])throw new mn(l);return l})()}applyRedirectCreateUrlTree(t,e,n,r){const o=this.createSegmentGroup(t,e.root,n,r);return new ut(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Object.entries(t).forEach(([t,r])=>{if("string"==typeof r&&":"===r[0]){const o=r.substring(1);n[t]=e[o]}else n[t]=r}),n}createSegmentGroup(t,e,n,r){const o=this.createSegments(t,e.segments,n,r);let i={};return Object.entries(e.children).forEach(([e,o])=>{i[e]=this.createSegmentGroup(t,o,n,r)}),new dt(o,i)}createSegments(t,e,n,r){return e.map(e=>":"===e.path[0]?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new o.buA(4001,!1);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function vn(t){return t.outlet||V}function wn(t,e){const n=t.filter(t=>vn(t)===e);return n.push(...t.filter(t=>vn(t)!==e)),n}const Sn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Cn(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function _n(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{...Sn}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const r=(e.matcher||Q)(n,t,e);if(!r)return{...Sn};const o={};Object.entries(r.posParams??{}).forEach(([t,e])=>{o[t]=e.path});const i=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:n.slice(r.consumed.length),parameters:i,positionalParamSegments:r.posParams??{}}}function kn(t,e,n,r,o){return n.length>0&&function(t,e,n,r){return n.some(n=>!(!En(t,e,n)||vn(n)===V||void 0!==r&&vn(n)===r))}(t,n,r,o)?{segmentGroup:new dt(e,Tn(r,new dt(n,t.children))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>En(t,e,n))}(t,n,r)?{segmentGroup:new dt(t.segments,xn(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new dt(t.segments,t.children),slicedSegments:n}}function xn(t,e,n,r){const o={};for(const i of n)if(En(t,e,i)&&!r[vn(i)]){const t=new dt([],{});o[vn(i)]=t}return{...r,...o}}function Tn(t,e){const n={};n[V]=e;for(const e of t)if(""===e.path&&vn(e)!==V){const t=new dt([],{});n[vn(e)]=t}return n}function En(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}class An{}function In(){return(In=(0,r.A)(function*(t,e,n,r,o,i,s="emptyOnly",a){return new On(t,e,n,r,o,s,i,a).recognize()})).apply(this,arguments)}class On{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,e,n,r,o,i,s,a){this.injector=t,this.configLoader=e,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=i,this.urlSerializer=s,this.abortSignal=a,this.applyRedirects=new bn(this.urlSerializer,this.urlTree)}noMatchError(t){return new o.buA(4002,`'${t.segmentGroup}'`)}recognize(){var t=this;return(0,r.A)(function*(){const e=kn(t.urlTree.root,[],[],t.config).segmentGroup,{children:n,rootSnapshot:r}=yield t.match(e),o=new Ee(r,n),i=new Re("",o),s=function(t,e,n=null,r=null,o=new gt){return Nt(Rt(t),e,n,r,o)}(r,[],t.urlTree.queryParams,t.urlTree.fragment);return s.queryParams=t.urlTree.queryParams,i.url=t.urlSerializer.serialize(s),{state:i,tree:s}})()}match(t){var e=this;return(0,r.A)(function*(){const n=new Pe([],Object.freeze({}),Object.freeze({...e.urlTree.queryParams}),e.urlTree.fragment,Object.freeze({}),V,e.rootComponentType,null,{},e.injector);try{return{children:yield e.processSegmentGroup(e.injector,e.config,t,V,n),rootSnapshot:n}}catch(t){if(t instanceof mn)return e.urlTree=t.urlTree,e.match(t.urlTree.root);throw t instanceof gn?e.noMatchError(t):t}})()}processSegmentGroup(t,e,n,o,i){var s=this;return(0,r.A)(function*(){if(0===n.segments.length&&n.hasChildren())return s.processChildren(t,e,n,i);const r=yield s.processSegment(t,e,n,n.segments,o,!0,i);return r instanceof Ee?[r]:[]})()}processChildren(t,e,n,o){var i=this;return(0,r.A)(function*(){const r=[];for(const t of Object.keys(n.children))"primary"===t?r.unshift(t):r.push(t);let s=[];for(const a of r){const r=n.children[a],l=wn(e,a),c=yield i.processSegmentGroup(t,l,r,a,o);s.push(...c)}const a=Dn(s);return function(t){t.sort((t,e)=>t.value.outlet===V?-1:e.value.outlet===V?1:t.value.outlet.localeCompare(e.value.outlet))}(a),a})()}processSegment(t,e,n,o,i,s,a){var l=this;return(0,r.A)(function*(){for(const r of e)try{return yield l.processSegmentAgainstRoute(r._injector??t,e,r,n,o,i,s,a)}catch(t){if(t instanceof gn||ln(t))continue;throw t}if(function(t,e,n){return 0===e.length&&!t.children[n]}(n,o,i))return new An;throw new gn(n)})()}processSegmentAgainstRoute(t,e,n,o,i,s,a,l){var c=this;return(0,r.A)(function*(){if(vn(n)!==s&&(s===V||!En(o,i,n)))throw new gn(o);if(void 0===n.redirectTo)return c.matchSegmentAgainstRoute(t,o,n,i,s,l);if(c.allowRedirects&&a)return c.expandSegmentAgainstRouteUsingRedirect(t,o,e,n,i,s,l);throw new gn(o)})()}expandSegmentAgainstRouteUsingRedirect(t,e,n,o,i,s,a){var l=this;return(0,r.A)(function*(){const{matched:r,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=_n(e,o,i);if(!r)throw new gn(e);"string"==typeof o.redirectTo&&"/"===o.redirectTo[0]&&(l.absoluteRedirectCount++,l.absoluteRedirectCount>31&&(l.allowRedirects=!1));const p=l.createSnapshot(t,o,i,c,a);if(l.abortSignal.aborted)throw new Error(l.abortSignal.reason);const f=yield l.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,Cn(p),t),g=yield l.applyRedirects.lineralizeSegments(o,f);return l.processSegment(t,n,e,g.concat(h),s,!1,a)})()}createSnapshot(t,e,n,r,o){const i=new Pe(n,r,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function(t){return t.data||{}}(e),vn(e),e.component??e._loadedComponent??null,e,function(t){return t.resolve||{}}(e),t),s=De(i,o,this.paramsInheritanceStrategy);return i.params=Object.freeze(s.params),i.data=Object.freeze(s.data),i}matchSegmentAgainstRoute(t,e,n,i,a,l){var c=this;return(0,r.A)(function*(){if(c.abortSignal.aborted)throw new Error(c.abortSignal.reason);const r=yield Z(function(t,e,n,r,i,a,l){const c=_n(t,e,n);if(!c.matched)return(0,p.of)(c);const u=Cn(a(c));return r=function(t,e){return t.providers&&!t._injector&&(t._injector=(0,s.Ol2)(t.providers,e,`Route: ${t.path}`)),t._injector??e}(e,r),function(t,e,n,r,i,s){const a=e.canMatch;if(!a||0===a.length)return(0,p.of)(!0);const l=a.map(r=>{const a=rn(r,t);return J(function(t){return t&&an(t.canMatch)}(a)?a.canMatch(e,n,i):(0,o.N4e)(t,()=>a(e,n,i))).pipe(pn(s))});return(0,p.of)(l).pipe(un(),fn())}(r,e,n,0,u,l).pipe((0,R.T)(t=>!0===t?c:{...Sn}))}(e,n,i,t,0,e=>c.createSnapshot(t,n,e.consumedSegments,e.parameters,l),c.abortSignal));if("**"===n.path&&(e.children={}),!r?.matched)throw new gn(e);t=n._injector??t;const{routes:u}=yield c.getChildConfig(t,n,i),d=n._loadedInjector??t,{parameters:h,consumedSegments:f,remainingSegments:g}=r,m=c.createSnapshot(t,n,f,h,l),{segmentGroup:y,slicedSegments:b}=kn(e,f,g,u,a);if(0===b.length&&y.hasChildren()){const t=yield c.processChildren(d,u,y,m);return new Ee(m,t)}if(0===u.length&&0===b.length)return new Ee(m,[]);const v=vn(n)===a,w=yield c.processSegment(d,u,y,b,v?V:a,!0,m);return new Ee(m,w instanceof Ee?[w]:[])})()}getChildConfig(t,e,n){var i=this;return(0,r.A)(function*(){if(e.children)return{routes:e.children,injector:t};if(e.loadChildren){if(void 0!==e._loadedRoutes){const n=e._loadedNgModuleFactory;return n&&!e._loadedInjector&&(e._loadedInjector=n.create(t).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(i.abortSignal.aborted)throw new Error(i.abortSignal.reason);if(yield Z(function(t,e,n,r,i){const s=e.canLoad;if(void 0===s||0===s.length)return(0,p.of)(!0);const a=s.map(r=>{const s=rn(r,t),a=J(function(t){return t&&an(t.canLoad)}(s)?s.canLoad(e,n):(0,o.N4e)(t,()=>s(e,n)));return i?a.pipe(pn(i)):a});return(0,p.of)(a).pipe(un(),fn())}(t,e,n,0,i.abortSignal))){const n=yield i.configLoader.loadChildren(t,e);return e._loadedRoutes=n.routes,e._loadedInjector=n.injector,e._loadedNgModuleFactory=n.factory,n}throw function(){throw Ye(!1,ee.GuardRejected)}()}return{routes:[],injector:t}})()}}function Ln(t){const e=t.value.routeConfig;return e&&""===e.path}function Dn(t){const e=[],n=new Set;for(const r of t){if(!Ln(r)){e.push(r);continue}const t=e.find(t=>r.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...r.children),n.add(t)):e.push(r)}for(const t of n){const n=Dn(t.children);e.push(new Ee(t.value,n))}return e.filter(t=>!n.has(t))}function Pn(t){const e=t.children.map(t=>Pn(t)).flat();return[t,...e]}function Rn(t){return(0,N.n)(e=>{const n=t(e);return n?(0,h.H)(n).pipe((0,R.T)(()=>e)):(0,p.of)(e)})}let Nn=(()=>{class t{buildTitle(t){let e,n=t.root;for(;void 0!==n;)e=this.getResolvedTitleForRoute(n)??e,n=n.children.find(t=>t.outlet===V);return e}getResolvedTitleForRoute(t){return t.data[U]}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:()=>(0,o.WQX)(Mn),providedIn:"root"})}return t})(),Mn=(()=>{class t extends Nn{title;constructor(t){super(),this.title=t}updateTitle(t){const e=this.buildTitle(t);void 0!==e&&this.title.setTitle(e)}static ɵfac=function(e){return new(e||t)(o.KVO(B))};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const jn=new o.nKC("",{factory:()=>({})}),Fn=new o.nKC("");let $n=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,o.WQX)(s.Ql9);loadComponent(t,e){var n=this;return(0,r.A)(function*(){if(n.componentLoaders.get(e))return n.componentLoaders.get(e);if(e._loadedComponent)return Promise.resolve(e._loadedComponent);n.onLoadStartListener&&n.onLoadStartListener(e);const i=(0,r.A)(function*(){try{const r=yield tt((0,o.N4e)(t,()=>e.loadComponent())),i=yield Bn(Hn(r));return n.onLoadEndListener&&n.onLoadEndListener(e),e._loadedComponent=i,i}finally{n.componentLoaders.delete(e)}})();return n.componentLoaders.set(e,i),i})()}loadChildren(t,e){var n=this;if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return Promise.resolve({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);const o=(0,r.A)(function*(){try{const r=yield function(t,e,n,r){return zn.apply(this,arguments)}(e,n.compiler,t,n.onLoadEndListener);return e._loadedRoutes=r.routes,e._loadedInjector=r.injector,e._loadedNgModuleFactory=r.factory,r}finally{n.childrenLoaders.delete(e)}})();return this.childrenLoaders.set(e,o),o}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function zn(){return(zn=(0,r.A)(function*(t,e,n,r){const i=yield tt((0,o.N4e)(n,()=>t.loadChildren())),a=yield Bn(Hn(i));let l,c,u,d;return l=a instanceof s.PYt||Array.isArray(a)?a:yield e.compileModuleAsync(a),r&&r(t),Array.isArray(l)?u=l:(c=l.create(n).injector,d=l,u=c.get(Fn,[],{optional:!0,self:!0}).flat()),{routes:u.map(Ge),injector:c,factory:d}})).apply(this,arguments)}function Hn(t){return function(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}function Bn(t){return Vn.apply(this,arguments)}function Vn(){return(Vn=(0,r.A)(function*(t){return t})).apply(this,arguments)}let Un=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:()=>(0,o.WQX)(Wn),providedIn:"root"})}return t})(),Wn=(()=>{class t{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Gn=new o.nKC(""),qn=new o.nKC("");function Qn(t,e,n){const r=t.get(qn),i=t.get(o.qQL);if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(t=>setTimeout(t));let a;const l=new Promise(t=>{a=t}),c=i.startViewTransition(()=>(a(),function(t){return new Promise(e=>{(0,s.mal)({read:()=>setTimeout(e)},{injector:t})})}(t)));c.updateCallbackDone.catch(t=>{}),c.ready.catch(t=>{}),c.finished.catch(t=>{});const{onViewTransitionCreated:u}=r;return u&&(0,o.N4e)(t,()=>u({transition:c,from:e,to:n})),l}const Zn=()=>{},Xn=new o.nKC("");let Yn=(()=>{class t{currentNavigation=(0,o.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=(0,o.vPA)(null);events=new k.B;transitionAbortWithErrorSubject=new k.B;configLoader=(0,o.WQX)($n);environmentInjector=(0,o.WQX)(o.uvJ);destroyRef=(0,o.WQX)(o.abz);urlSerializer=(0,o.WQX)(ft);rootContexts=(0,o.WQX)(_e);location=(0,o.WQX)(i.aZ);inputBindingEnabled=null!==(0,o.WQX)(Ve,{optional:!0});titleStrategy=(0,o.WQX)(Nn);options=(0,o.WQX)(jn,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,o.WQX)(Un);createViewTransition=(0,o.WQX)(Gn,{optional:!0});navigationErrorHandler=(0,o.WQX)(Xn,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,p.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=t=>this.events.next(new he(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new de(t)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){const e=++this.navigationId;(0,a.O8)(()=>{this.transitions?.next({...t,extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:e,routesRecognizeHandler:{},beforeActivateHandler:{}})})}setupNavigations(t){return this.transitions=new f.t(null),this.transitions.pipe((0,T.p)(t=>null!==t),(0,N.n)(e=>{let n=!1;const i=new AbortController,s=()=>!n&&this.currentTransition?.id===e.id;return(0,p.of)(e).pipe((0,N.n)(n=>{if(this.navigationId>e.id)return this.cancelNavigationTransition(e,"",ee.SupersededByNewNavigation),_.w;this.currentTransition=e;const o=this.lastSuccessfulNavigation();this.currentNavigation.set({id:n.id,initialUrl:n.rawUrl,extractedUrl:n.extractedUrl,targetBrowserUrl:"string"==typeof n.extras.browserUrl?this.urlSerializer.parse(n.extras.browserUrl):n.extras.browserUrl,trigger:n.source,extras:n.extras,previousNavigation:o?{...o,previousNavigation:null}:null,abort:()=>i.abort(),routesRecognizeHandler:n.routesRecognizeHandler,beforeActivateHandler:n.beforeActivateHandler});const s=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!s&&"reload"!==(n.extras.onSameUrlNavigation??t.onSameUrlNavigation))return this.events.next(new oe(n.id,this.urlSerializer.serialize(n.rawUrl),"",ne.IgnoredSameUrlNavigation)),n.resolve(!1),_.w;if(this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return(0,p.of)(n).pipe((0,N.n)(t=>(this.events.next(new Jt(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),t.id!==this.navigationId?_.w:Promise.resolve(t))),function(t,e,n,o,i,s,a){return(0,j.Z)(function(){var l=(0,r.A)(function*(r){const{state:l,tree:c}=yield function(t,e,n,r,o,i){return In.apply(this,arguments)}(t,e,n,o,r.extractedUrl,i,s,a);return{...r,targetSnapshot:l,urlAfterRedirects:c}});return function(t){return l.apply(this,arguments)}}())}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),(0,$.M)(t=>{e.targetSnapshot=t.targetSnapshot,e.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation.update(e=>(e.finalUrl=t.urlAfterRedirects,e)),this.events.next(new ve)}),(0,N.n)(t=>(0,h.H)(e.routesRecognizeHandler.deferredHandle??(0,p.of)(void 0)).pipe((0,R.T)(()=>t))),(0,$.M)(()=>{const t=new se(n.id,this.urlSerializer.serialize(n.extractedUrl),this.urlSerializer.serialize(n.urlAfterRedirects),n.targetSnapshot);this.events.next(t)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(n.currentRawUrl)){const{id:t,extractedUrl:r,source:o,restoredState:i,extras:s}=n,a=new Jt(t,this.urlSerializer.serialize(r),o,i);this.events.next(a);const l=Oe(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=e={...n,targetSnapshot:l,urlAfterRedirects:r,extras:{...s,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(t=>(t.finalUrl=r,t)),(0,p.of)(e)}return this.events.next(new oe(n.id,this.urlSerializer.serialize(n.extractedUrl),"",ne.IgnoredByUrlHandlingStrategy)),n.resolve(!1),_.w}),(0,R.T)(t=>{const n=new ae(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);return this.events.next(n),this.currentTransition=e={...t,guards:nn(t.targetSnapshot,t.currentSnapshot,this.rootContexts)},e}),function(t){return(0,j.Z)(e=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:s}}=e;return 0===s.length&&0===i.length?(0,p.of)({...e,guardsResult:!0}):function(t,e,n){return(0,h.H)(t).pipe((0,j.Z)(t=>function(t,e,n,r){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||0===i.length)return(0,p.of)(!0);const s=i.map(i=>{const s=e._environmentInjector,a=rn(i,s);return J(function(t){return t&&an(t.canDeactivate)}(a)?a.canDeactivate(t,e,n,r):(0,o.N4e)(s,()=>a(t,e,n,r))).pipe(P())});return(0,p.of)(s).pipe(un())}(t.component,t.route,n,e)),P(t=>!0!==t,!0))}(s,n,r).pipe((0,j.Z)(e=>e&&function(t){return"boolean"==typeof t}(e)?function(t,e,n){return(0,h.H)(e).pipe((0,F.H)(e=>v(function(t,e){return null!==t&&e&&e(new pe(t)),(0,p.of)(!0)}(e.route.parent,n),function(t,e){return null!==t&&e&&e(new ge(t)),(0,p.of)(!0)}(e.route,n),function(t,e){const n=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>S(()=>{const r=e.guards.map(r=>{const i=e.node._environmentInjector,s=rn(r,i);return J(function(t){return t&&an(t.canActivateChild)}(s)?s.canActivateChild(n,t):(0,o.N4e)(i,()=>s(n,t))).pipe(P())});return(0,p.of)(r).pipe(un())}));return(0,p.of)(r).pipe(un())}(t,e.path),function(t,e){const n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return(0,p.of)(!0);const r=n.map(n=>S(()=>{const r=e._environmentInjector,i=rn(n,r);return J(function(t){return t&&an(t.canActivate)}(i)?i.canActivate(e,t):(0,o.N4e)(r,()=>i(e,t))).pipe(P())}));return(0,p.of)(r).pipe(un())}(t,e.route))),P(t=>!0!==t,!0))}(n,i,t):(0,p.of)(e)),(0,R.T)(t=>({...e,guardsResult:t})))})}(t=>this.events.next(t)),(0,N.n)(t=>{if(e.guardsResult=t.guardsResult,t.guardsResult&&"boolean"!=typeof t.guardsResult)throw Xe(0,t.guardsResult);const n=new le(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);if(this.events.next(n),!s())return _.w;if(!t.guardsResult)return this.cancelNavigationTransition(t,"",ee.GuardRejected),_.w;if(0===t.guards.canActivateChecks.length)return(0,p.of)(t);const r=new ce(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);if(this.events.next(r),!s())return _.w;let i=!1;return(0,p.of)(t).pipe(function(t){return(0,j.Z)(e=>{const{targetSnapshot:n,guards:{canActivateChecks:r}}=e;if(!r.length)return(0,p.of)(e);const i=new Set(r.map(t=>t.route)),s=new Set;for(const t of i)if(!s.has(t))for(const e of Pn(t))s.add(e);let a=0;return(0,h.H)(s).pipe((0,F.H)(e=>i.has(e)?function(t,e,n){const r=t.routeConfig,i=t._resolve;return void 0!==r?.title&&!$e(r)&&(i[U]=r.title),S(()=>(t.data=De(t,t.parent,n).resolve,function(t,e,n){const r=Y(t);if(0===r.length)return(0,p.of)({});const i={};return(0,h.H)(r).pipe((0,j.Z)(r=>function(t,e,n){const r=e._environmentInjector,i=rn(t,r);return J(i.resolve?i.resolve(e,n):(0,o.N4e)(r,()=>i(e,n)))}(t[r],e,n).pipe(P(),(0,$.M)(t=>{if(t instanceof Qe)throw Xe(new gt,t);i[r]=t}))),z(1),(0,R.T)(()=>i),(0,H.W)(t=>ln(t)?_.w:function(t){const e=(0,u.T)(t)?t:()=>t,n=t=>t.error(e());return new c.c(n)}(t)))}(i,t,e).pipe((0,R.T)(e=>(t._resolvedData=e,t.data={...t.data,...e},null)))))}(e,n,t):(e.data=De(e,e.parent,t).resolve,(0,p.of)(void 0))),(0,$.M)(()=>a++),z(1),(0,j.Z)(t=>a===s.size?(0,p.of)(e):_.w))})}(this.paramsInheritanceStrategy),(0,$.M)({next:()=>{i=!0;const e=new ue(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)},complete:()=>{i||this.cancelNavigationTransition(t,"",ee.NoDataFromResolver)}}))}),Rn(t=>{const e=t=>{const n=[];t.routeConfig?._loadedComponent?t.component=t.routeConfig?._loadedComponent:t.routeConfig?.loadComponent&&n.push(this.configLoader.loadComponent(t._environmentInjector,t.routeConfig).then(e=>{t.component=e}));for(const r of t.children)n.push(...e(r));return n},n=e(t.targetSnapshot.root);return 0===n.length?(0,p.of)(t):(0,h.H)(Promise.all(n).then(()=>t))}),Rn(()=>this.afterPreactivation()),(0,N.n)(()=>{const{currentSnapshot:t,targetSnapshot:n}=e,r=this.createViewTransition?.(this.environmentInjector,t.root,n.root);return r?(0,h.H)(r).pipe((0,R.T)(()=>e)):(0,p.of)(e)}),(0,E.s)(1),(0,N.n)(n=>{const r=function(t,e,n){const r=qe(t,e._root,n?n._root:void 0);return new Ie(r,e)}(t.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);this.currentTransition=e=n={...n,targetRouterState:r},this.currentNavigation.update(t=>(t.targetRouterState=r,t)),this.events.next(new be);const o=e.beforeActivateHandler.deferredHandle;return o?(0,h.H)(o.then(()=>n)):(0,p.of)(n)}),(0,$.M)(r=>{new Je(t.routeReuseStrategy,e.targetRouterState,e.currentRouterState,t=>this.events.next(t),this.inputBindingEnabled).activate(this.rootContexts),s()&&(n=!0,this.currentNavigation.update(t=>(t.abort=Zn,t)),this.lastSuccessfulNavigation.set((0,a.O8)(this.currentNavigation)),this.events.next(new te(r.id,this.urlSerializer.serialize(r.extractedUrl),this.urlSerializer.serialize(r.urlAfterRedirects))),this.titleStrategy?.updateTitle(r.targetRouterState.snapshot),r.resolve(!0))}),(0,M.Q)(hn(i.signal).pipe((0,T.p)(()=>!n&&!e.targetRouterState),(0,$.M)(()=>{this.cancelNavigationTransition(e,i.signal.reason+"",ee.Aborted)}))),(0,$.M)({complete:()=>{n=!0}}),(0,M.Q)(this.transitionAbortWithErrorSubject.pipe((0,$.M)(t=>{throw t}))),function(t){return(0,A.N)((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}(()=>{i.abort(),n||this.cancelNavigationTransition(e,"",ee.SupersededByNewNavigation),this.currentTransition?.id===e.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,H.W)(t=>{if(n=!0,this.destroyed)return e.resolve(!1),_.w;if(Ke(t))this.events.next(new re(e.id,this.urlSerializer.serialize(e.extractedUrl),t.message,t.cancellationCode)),function(t){return Ke(t)&&Pt(t.url)}(t)?this.events.next(new we(t.url,t.navigationBehaviorOptions)):e.resolve(!1);else{const n=new ie(e.id,this.urlSerializer.serialize(e.extractedUrl),t,e.targetSnapshot??void 0);try{const r=(0,o.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(n));if(!(r instanceof Qe))throw this.events.next(n),t;{const{message:t,cancellationCode:n}=Xe(0,r);this.events.next(new re(e.id,this.urlSerializer.serialize(e.extractedUrl),t,n)),this.events.next(new we(r.redirectTo,r.navigationBehaviorOptions))}}catch(t){this.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(t)}}return _.w}))}))}cancelNavigationTransition(t,e,n){const r=new re(t.id,this.urlSerializer.serialize(t.extractedUrl),e,n);this.events.next(r),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),e=(0,a.O8)(this.currentNavigation),n=e?.targetBrowserUrl??e?.extractedUrl;return t.toString()!==n?.toString()&&!e?.extras.skipLocationChange}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function Kn(t){return t!==Zt}const Jn=new o.nKC("");let tr=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:()=>(0,o.WQX)(nr),providedIn:"root"})}return t})();class er{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}shouldDestroyInjector(t){return!0}}let nr=(()=>{class t extends er{static ɵfac=(()=>{let e;return function(n){return(e||(e=s.xGo(t)))(n||t)}})();static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),rr=(()=>{class t{urlSerializer=(0,o.WQX)(ft);options=(0,o.WQX)(jn,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,o.WQX)(i.aZ);urlHandlingStrategy=(0,o.WQX)(Un);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ut;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:e,targetBrowserUrl:n}){const r=void 0!==t?this.urlHandlingStrategy.merge(t,e):e,o=n??r;return o instanceof ut?this.urlSerializer.serialize(o):o}routerUrlState(t){return void 0===t?.targetBrowserUrl||void 0===t?.finalUrl?{}:{ɵrouterUrl:this.urlSerializer.serialize(t.finalUrl)}}commitTransition({targetRouterState:t,finalUrl:e,initialUrl:n}){e&&t?(this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(e,n),this.routerState=t):this.rawUrlTree=n}routerState=Oe(null,(0,o.WQX)(o.uvJ));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:()=>(0,o.WQX)(or),providedIn:"root"})}return t})(),or=(()=>{class t extends rr{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(e=>{"popstate"===e.type&&setTimeout(()=>{t(e.url,e.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(t,e){t instanceof Jt?this.updateStateMemento():t instanceof oe?this.commitTransition(e):t instanceof se?"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof be?(this.commitTransition(e),"deferred"===this.urlUpdateStrategy&&!e.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof re&&!function(t){return t instanceof re&&(t.code===ee.Redirect||t.code===ee.SupersededByNewNavigation)}(t)?this.restoreHistory(e):t instanceof ie?this.restoreHistory(e,!0):t instanceof te&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,e){const{extras:n,id:r}=e,{replaceUrl:o,state:i}=n;if(this.location.isCurrentPathEqualTo(t)||o){const n=this.browserPageId,o={...i,...this.generateNgRouterState(r,n,e)};this.location.replaceState(t,"",o)}else{const n={...i,...this.generateNgRouterState(r,this.browserPageId+1,e)};this.location.go(t,"",n)}}restoreHistory(t,e=!1){if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-this.browserPageId;0!==e?this.location.historyGo(e):this.getCurrentUrlTree()===t.finalUrl&&0===e&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(e&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,e,n){return"computed"===this.canceledNavigationResolution?{navigationId:t,ɵrouterPageId:e,...this.routerUrlState(n)}:{navigationId:t,...this.routerUrlState(n)}}static ɵfac=(()=>{let e;return function(n){return(e||(e=s.xGo(t)))(n||t)}})();static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function ir(t,e){t.events.pipe((0,T.p)(t=>t instanceof te||t instanceof re||t instanceof ie||t instanceof oe),(0,R.T)(t=>t instanceof te||t instanceof oe?0:t instanceof re&&(t.code===ee.Redirect||t.code===ee.SupersededByNewNavigation)?2:1),(0,T.p)(t=>2!==t),(0,E.s)(1)).subscribe(()=>{e()})}let sr=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,o.WQX)(s.C7A);stateManager=(0,o.WQX)(rr);options=(0,o.WQX)(jn,{optional:!0})||{};pendingTasks=(0,o.WQX)(o.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,o.WQX)(Yn);urlSerializer=(0,o.WQX)(ft);location=(0,o.WQX)(i.aZ);urlHandlingStrategy=(0,o.WQX)(Un);injector=(0,o.WQX)(o.uvJ);_events=new k.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,o.WQX)(tr);injectorCleanup=(0,o.WQX)(Jn,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,o.WQX)(Fn,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,o.WQX)(Ve,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new x.yU;subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(t=>{try{const e=this.navigationTransitions.currentTransition,n=(0,a.O8)(this.navigationTransitions.currentNavigation);if(null!==e&&null!==n)if(this.stateManager.handleRouterEvent(t,n),t instanceof re&&t.code!==ee.Redirect&&t.code!==ee.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof te)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(t instanceof we){const n=t.navigationBehaviorOptions,r=this.urlHandlingStrategy.merge(t.url,e.currentRawUrl),o={scroll:e.extras.scroll,browserUrl:e.extras.browserUrl,info:e.extras.info,skipLocationChange:e.extras.skipLocationChange,replaceUrl:e.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Kn(e.source),...n};this.scheduleNavigation(r,Zt,null,o,{resolve:e.resolve,reject:e.reject,promise:e.promise})}(function(t){return!(t instanceof be||t instanceof we||t instanceof ve)})(t)&&this._events.next(t)}catch(t){this.navigationTransitions.transitionAbortWithErrorSubject.next(t)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Zt,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,e,n,r)=>{this.navigateToSyncWithBrowser(t,n,e,r)})}navigateToSyncWithBrowser(t,e,n,r){const i=n?.navigationId?n:null,s=n?.ɵrouterUrl??t;if(n?.ɵrouterUrl&&(r={...r,browserUrl:t}),n){const t={...n};delete t.navigationId,delete t.ɵrouterPageId,delete t.ɵrouterUrl,0!==Object.keys(t).length&&(r.state=t)}const a=this.parseUrl(s);this.scheduleNavigation(a,e,i,r).catch(t=>{this.disposed||this.injector.get(o.ZTf)(t)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,a.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Ge),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:o,queryParamsHandling:i,preserveFragment:s}=e,a=s?this.currentUrlTree.fragment:o;let l,c=null;switch(i??this.options.defaultQueryParamsHandling){case"merge":c={...this.currentUrlTree.queryParams,...r};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}null!==c&&(c=this.removeEmptyProps(c));try{l=Rt(n?n.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||"/"!==t[0][0])&&(t=[]),l=this.currentUrlTree.root}return Nt(l,t,c,a??null,this.urlSerializer)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Pt(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,Zt,null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++)if(null==t[e])throw new o.buA(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.console.warn((0,o.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,e){let n;if(n=!0===e?{...rt}:!1===e?{...ot}:{...ot,...e},Pt(t))return st(this.currentUrlTree,t,n);const r=this.parseUrl(t);return st(this.currentUrlTree,r,n)}removeEmptyProps(t){return Object.entries(t).reduce((t,[e,n])=>(null!=n&&(t[e]=n),t),{})}scheduleNavigation(t,e,n,r,o){if(this.disposed)return Promise.resolve(!1);let i,s,a;o?(i=o.resolve,s=o.reject,a=o.promise):a=new Promise((t,e)=>{i=t,s=e});const l=this.pendingTasks.add();return ir(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:r,resolve:i,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(Promise.reject.bind(Promise))}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})()},4040(t,e,n){n.d(e,{Wk:()=>S,iI:()=>j,lh:()=>E,wQ:()=>C});var r=n(467),o=n(5487),i=n(4460),s=n(6868),a=n(83),l=n(6860),c=n(6268),u=n(6817),d=n(5697),h=n(3639),p=n(8447),f=n(1787),g=n(3016),m=n(1459),y=n(1483),b=n(1890),v=n(5823);let w=(()=>{class t{router=(0,u.WQX)(h.Ix);stateManager=(0,u.WQX)(h.fN);fragment=(0,u.vPA)("");queryParams=(0,u.vPA)({});path=(0,u.vPA)("");serializer=(0,u.WQX)(h.Sd);constructor(){this.updateState(),this.router.events?.subscribe(t=>{t instanceof h.wF&&this.updateState()})}updateState(){const{fragment:t,root:e,queryParams:n}=this.stateManager.getCurrentUrlTree();this.fragment.set(t),this.queryParams.set(n),this.path.set(this.serializer.serialize(new h.el(e)))}static ɵfac=function(e){return new(e||t)};static ɵprov=u.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),S=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=(0,u.WQX)(new l.ES_("href"),{optional:!0});reactiveHref=(0,d.uu)(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return(0,d.O8)(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}set target(t){this._target.set(t)}get target(){return(0,d.O8)(this._target)}_target=(0,u.vPA)(void 0);set queryParams(t){this._queryParams.set(t)}get queryParams(){return(0,d.O8)(this._queryParams)}_queryParams=(0,u.vPA)(void 0,{equal:()=>!1});set fragment(t){this._fragment.set(t)}get fragment(){return(0,d.O8)(this._fragment)}_fragment=(0,u.vPA)(void 0);set queryParamsHandling(t){this._queryParamsHandling.set(t)}get queryParamsHandling(){return(0,d.O8)(this._queryParamsHandling)}_queryParamsHandling=(0,u.vPA)(void 0);set state(t){this._state.set(t)}get state(){return(0,d.O8)(this._state)}_state=(0,u.vPA)(void 0,{equal:()=>!1});set info(t){this._info.set(t)}get info(){return(0,d.O8)(this._info)}_info=(0,u.vPA)(void 0,{equal:()=>!1});set relativeTo(t){this._relativeTo.set(t)}get relativeTo(){return(0,d.O8)(this._relativeTo)}_relativeTo=(0,u.vPA)(void 0);set preserveFragment(t){this._preserveFragment.set(t)}get preserveFragment(){return(0,d.O8)(this._preserveFragment)}_preserveFragment=(0,u.vPA)(!1);set skipLocationChange(t){this._skipLocationChange.set(t)}get skipLocationChange(){return(0,d.O8)(this._skipLocationChange)}_skipLocationChange=(0,u.vPA)(!1);set replaceUrl(t){this._replaceUrl.set(t)}get replaceUrl(){return(0,d.O8)(this._replaceUrl)}_replaceUrl=(0,u.vPA)(!1);isAnchorElement;onChanges=new p.B;applicationErrorHandler=(0,u.WQX)(u.ZTf);options=(0,u.WQX)(h.J_,{optional:!0});reactiveRouterState=(0,u.WQX)(w);constructor(t,e,n,r,o,i){this.router=t,this.route=e,this.tabIndexAttribute=n,this.renderer=r,this.el=o,this.locationStrategy=i;const s=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===s||"area"===s||!("object"!=typeof customElements||!customElements.get(s)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.onChanges.next(this)}routerLinkInput=(0,u.vPA)(null);set routerLink(t){null==t?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):((0,h.wO)(t)?this.routerLinkInput.set(t):this.routerLinkInput.set(Array.isArray(t)?t:[t]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,e,n,r,o){const i=this._urlTree();if(null===i||this.isAnchorElement&&(0!==t||e||n||r||o||"string"==typeof this.target&&"_self"!=this.target))return!0;const s={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(i,s)?.catch(t=>{this.applicationErrorHandler(t)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(t,e){const n=this.renderer,r=this.el.nativeElement;null!==e?n.setAttribute(r,t,e):n.removeAttribute(r,t)}_urlTree=(0,d.EW)(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();const t=t=>"preserve"===t||"merge"===t;(t(this._queryParamsHandling())||t(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();const e=this.routerLinkInput();return null!==e&&this.router.createUrlTree?(0,h.wO)(e)?e:this.router.createUrlTree(e,{relativeTo:void 0!==this._relativeTo()?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()}):null},{equal:(t,e)=>this.computeHref(t)===this.computeHref(e)});get urlTree(){return(0,d.O8)(this._urlTree)}computeHref(t){return null!==t&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null}static ɵfac=function(e){return new(e||t)(c.rXU(h.Ix),c.rXU(h.nX),c.kS0("tabindex"),c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(o.hb))};static ɵdir=c.FsC({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&c.bIt("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&c.BMQ("href",e.reactiveHref(),c.n$t)("target",e._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",l.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",l.L39],replaceUrl:[2,"replaceUrl","replaceUrl",l.L39],routerLink:"routerLink"},features:[c.OA$]})}return t})(),C=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new u.bkB;link=(0,u.WQX)(S,{optional:!0});constructor(t,e,n,r){this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof h.wF&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,(0,g.of)(null)).pipe((0,b.U)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=(0,f.H)(t).pipe((0,b.U)()).subscribe(t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){const e=function(t){return!!(t.paths||t.matrixParams||t.queryParams||t.fragment)}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact?{...h.tE}:{...h.E};return n=>{const r=n.urlTree;return!!r&&(0,d.O8)((0,h.$m)(r,t,e))}}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static ɵfac=function(e){return new(e||t)(c.rXU(h.Ix),c.rXU(c.aKT),c.rXU(c.sFG),c.rXU(l.gRc))};static ɵdir=c.FsC({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&c.wni(n,S,5),2&t){let t;c.mGM(t=c.lsd())&&(e.links=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[c.OA$]})}return t})();class _{}let k=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(t,e,n,r){this.router=t,this.injector=e,this.preloadingStrategy=n,this.loader=r}setUpPreloading(){this.subscription=this.router.events.pipe((0,y.p)(t=>t instanceof h.wF),(0,m.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e){r.providers&&!r._injector&&(r._injector=(0,c.Ol2)(r.providers,t,""));const e=r._injector??t;r._loadedNgModuleFactory&&!r._loadedInjector&&(r._loadedInjector=r._loadedNgModuleFactory.create(e).injector);const o=r._loadedInjector??e;(r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent)&&n.push(this.preloadConfig(e,r)),(r.children||r._loadedRoutes)&&n.push(this.processRoutes(o,r.children??r._loadedRoutes))}return(0,f.H)(n).pipe((0,b.U)())}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>{if(t.destroyed)return(0,g.of)(null);let n;n=e.loadChildren&&void 0===e.canLoad?(0,f.H)(this.loader.loadChildren(t,e)):(0,g.of)(null);const r=n.pipe((0,v.Z)(n=>null===n?(0,g.of)(void 0):(e._loadedRoutes=n.routes,e._loadedInjector=n.injector,e._loadedNgModuleFactory=n.factory,this.processRoutes(n.injector??t,n.routes))));if(e.loadComponent&&!e._loadedComponent){const n=this.loader.loadComponent(t,e);return(0,f.H)([r,n]).pipe((0,b.U)())}return r})}static ɵfac=function(e){return new(e||t)(u.KVO(h.Ix),u.KVO(u.uvJ),u.KVO(_),u.KVO(h.D$))};static ɵprov=u.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const x=new u.nKC("");let T=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=h.wU;restoredId=0;store={};isHydrating=(0,u.WQX)(c.qBF,{optional:!0})??!1;urlSerializer=(0,u.WQX)(h.Sd);zone=(0,u.WQX)(u.SKi);viewportScroller=(0,u.WQX)(i.Xr);transitions=(0,u.WQX)(h.J2);constructor(t){this.options=t,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&(0,u.WQX)(c.o8S).whenStable().then(()=>{this.isHydrating=!1})}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof h.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof h.wF?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof h.lW&&t.code===h.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{if(!(t instanceof h.OY)||"manual"===t.scrollBehavior)return;const e={behavior:"instant"};t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],e):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position,e):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(t,e){var n=this;if(this.isHydrating)return;const o=(0,d.O8)(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular((0,r.A)(function*(){yield new Promise(t=>{setTimeout(t),typeof requestAnimationFrame<"u"&&requestAnimationFrame(t)}),n.zone.run(()=>{n.transitions.events.next(new h.OY(t,"popstate"===n.lastSource?n.store[n.restoredId]:null,e,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function(t){c.QTQ()};static ɵprov=u.jDH({token:t,factory:t.ɵfac})}return t})();function E(t,...e){return(0,u.EmA)([{provide:h.bw,multi:!0,useValue:t},[],{provide:h.nX,useFactory:A},{provide:c.iLQ,multi:!0,useFactory:O},e.map(t=>t.ɵproviders)])}function A(){return(0,u.WQX)(h.Ix).routerState.root}function I(t,e){return{ɵkind:t,ɵproviders:e}}function O(){const t=(0,u.WQX)(u.zZn);return e=>{const n=t.get(c.o8S);if(e!==n.components[0])return;const r=t.get(h.Ix),o=t.get(L);1===t.get(D)&&r.initialNavigation(),t.get(P,null,{optional:!0})?.setUpPreloading(),t.get(x,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const L=new u.nKC("",{factory:()=>new p.B}),D=new u.nKC("",{factory:()=>1}),P=new u.nKC("");function R(t){return I(0,[{provide:P,useExisting:k},{provide:_,useExisting:t}])}function N(t){return(0,c._jY)("NgRouterViewTransitions"),I(9,[{provide:h.Pu,useValue:h.Lg},{provide:h.bK,useValue:{skipNextTransition:!!t?.skipInitialTransition,...t}}])}const M=[o.aZ,{provide:h.Sd,useClass:h.nU},h.Ix,h.Zp,{provide:h.nX,useFactory:A},h.D$,[]];let j=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[M,[],{provide:h.bw,multi:!0,useValue:e},[],n?.errorHandler?{provide:h.XR,useValue:n.errorHandler}:[],{provide:h.J_,useValue:n||{}},n?.useHash?{provide:o.hb,useClass:s.fw}:{provide:o.hb,useClass:o.Sm},{provide:x,useFactory:()=>{const t=(0,u.WQX)(i.Xr),e=(0,u.WQX)(h.J_);return e.scrollOffset&&t.setOffset(e.scrollOffset),new T(e)}},n?.preloadingStrategy?R(n.preloadingStrategy).ɵproviders:[],n?.initialNavigation?F(n):[],n?.bindToComponentInputs?I(8,[h.tD,{provide:h.c1,useExisting:h.tD}]).ɵproviders:[],n?.enableViewTransitions?N().ɵproviders:[],[{provide:$,useFactory:O},{provide:c.iLQ,multi:!0,useExisting:$}]]}}static forChild(e){return{ngModule:t,providers:[{provide:h.bw,multi:!0,useValue:e}]}}static ɵfac=function(e){return new(e||t)};static ɵmod=c.$C({type:t});static ɵinj=u.G2t({})}return t})();function F(t){return["disabled"===t.initialNavigation?I(3,[(0,c.phd)(()=>{(0,u.WQX)(h.Ix).setUpLocationChangeListener()}),{provide:D,useValue:2}]).ɵproviders:[],"enabledBlocking"===t.initialNavigation?I(2,[{provide:c.tvf,useValue:!0},{provide:D,useValue:0},(0,c.phd)(()=>{const t=(0,u.WQX)(u.zZn);return t.get(a.hj,Promise.resolve()).then(()=>new Promise(e=>{const n=t.get(h.Ix),r=t.get(L);(0,h.gk)(n,()=>{e(!0)}),t.get(h.J2).afterPreactivation=()=>(e(!0),r.closed?(0,g.of)(void 0):r),n.initialNavigation()}))})]).ɵproviders:[]]}const $=new u.nKC("")},5111(t,e,n){n.d(e,{YW:()=>W,Rv:()=>U,Kj:()=>ft,JO:()=>lt,_W:()=>B,$o:()=>gt,KY:()=>V,Tl:()=>st});var r=n(6817),o=n(6268),i=n(6860),s=n(3016),a=n(1787),l=n(7947),c=n(8447),u=n(1217),d=n(6564),h=n(2653),p=n(5351),f=n(2483),g=n(9220),m=n(1698),y=n(5710);class b extends y.yU{constructor(t,e){super()}schedule(t,e=0){return this}}const v={setInterval(t,e,...n){const{delegate:r}=v;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){const{delegate:e}=v;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var w=n(5891);const S={now:()=>(S.delegate||Date).now(),delegate:void 0};class C{constructor(t,e=C.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}C.now=S.now;const _=new class extends C{constructor(t,e=C.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}(class extends b{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var n;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,n=0){return v.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&v.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,r=!1;try{this.work(t)}catch(t){r=!0,n=t||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,(0,w.o)(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}});var k=n(9921),x=n(7225),T=n(2040),E=n(7178);class A extends c.B{constructor(t=1/0,e=1/0,n=S){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:i}=this;e||(n.push(t),!r&&n.push(o.now()+i)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let e=0;e<o.length&&!t.closed;e+=n?1:2)t.next(o[e]);return this._checkFinalizedStatuses(t),e}_trimBuffer(){const{_bufferSize:t,_timestampProvider:e,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!r){const t=e.now();let r=0;for(let e=1;e<n.length&&n[e]<=t;e+=2)r=e;r&&n.splice(0,r+1)}}}var I=n(1540);function O(t,e,...n){if(!0===e)return void t();if(!1===e)return;const r=new I.Ms({next:()=>{r.unsubscribe(),t()}});return(0,x.Tg)(e(...n)).subscribe(r)}var L=n(2867),D=n(6627),P=n(7610),R=n(5424),N=n(5697),M=n(2433);class j{translations;constructor(t){this.translations=t}getTranslation(t){return(0,s.of)(this.translations.get(t)||{})}}const F=new r.nKC(""),$=new r.nKC("",{providedIn:"root",factory:()=>z}),z={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"],scopes:{keepCasing:!1,autoPrefixKeys:!0}};function H(t={}){return{...z,...t,missingHandler:{...z.missingHandler,...t.missingHandler},flatten:{...z.flatten,...t.flatten},scopes:{...z.scopes,...t.scopes}}}function B(t,e){return t&&(Object.prototype.hasOwnProperty.call(t,e)?t[e]:e.split(".").reduce((t,e)=>t?.[e],t))}function V(t,e,n){t={...t};const r=e.split("."),o=r.length-1;return r.reduce((t,e,r)=>(t[e]=r===o?n:Array.isArray(t[e])?t[e].slice():{...t[e]},t&&t[e]),t),t}const U=new r.nKC("");let W=(()=>{class t{config=(0,r.WQX)($,{optional:!0})??z;get interpolationMatcher(){return function(t){const[e,n]=t.interpolation;return new RegExp(`${e}([^${e}${n}]*?)${n}`,"g")}(this.config)}transpile({value:t,params:e={},translation:n,key:r}){if((0,M.Kg)(t)){let o,i=t;for(;null!==(o=this.interpolationMatcher.exec(i));){const[t,s]=o;i=i.replace(t,()=>{const t=s.trim(),o=B(e,t);return(0,M.O9)(o)?o:(0,M.O9)(n[t])?this.transpile({params:e,translation:n,key:r,value:n[t]}):""})}return i}return e&&((0,M.Gv)(t)?t=this.handleObject({value:t,params:e,translation:n,key:r}):Array.isArray(t)&&(t=this.handleArray({value:t,params:e,translation:n,key:r}))),t}handleObject({value:t,params:e={},translation:n,key:r}){let o=t;return Object.keys(e).forEach(t=>{const i=this.transpile({value:B(o,t),params:B(e,t),translation:n,key:r});o=V(o,t,i)}),o}handleArray({value:t,...e}){return t.map(t=>this.transpile({value:t,...e}))}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:t.ɵfac})}return t})();const G=new r.nKC("");let q=(()=>{class t{handle(t,e){return e.missingHandler.logMissingKey&&!e.prodMode&&console.warn(`%c Missing translation for '${t}'`,"font-size: 12px; color: red"),t}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:t.ɵfac})}return t})();const Q=new r.nKC("");let Z=(()=>{class t{preSaveTranslation(t){return t}preSaveTranslationKey(t,e){return e}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:t.ɵfac})}return t})();const X=new r.nKC("");let Y,K=(()=>{class t{userConfig;constructor(t){this.userConfig=t}getNextLangs(){const t=this.userConfig.fallbackLang;if(!t)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(t)?t:[t]}static ɵfac=function(e){return new(e||t)(r.KVO($))};static ɵprov=r.jDH({token:t,factory:t.ɵfac})}return t})();function J(t){const{path:e,inlineLoader:n,mainLoader:r,data:o}=t;if(n){if(!1===(0,M.Tn)(n[e]))throw`You're using an inline loader but didn't provide a loader for ${e}`;return n[e]().then(t=>t.default?t.default:t)}return r.getTranslation(e,o)}function tt(t){const e={};return function t(n,r){if(null===n)e[r]=null;else if((0,M.Gv)(n))for(const[e,o]of Object.entries(n))t(o,r?`${r}.${e}`:e);else e[r]=n}(t,""),e}function et(t){if(!t)return"";const e=t.split("/");return e.pop(),e.join("/")}function nt(t){return t?t.split("/").pop():""}function rt(t){return"string"==typeof t?.scope}function ot(t,e){return function(t){return t?.loader&&(0,M.Gv)(t.loader)}(t)?function(t,e){return Object.keys(t).reduce((n,r)=>(n[`${e}/${r}`]=t[r],n),{})}(t.loader,e):void 0}function it(t){return{scope:et(t)||null,langName:nt(t)}}function st(t,e={},n){return Y.translate(t,e,n)}class at extends Error{lang;fallbackLangs;isScope;constructor(t,e,n){let r="Unable to load translation and all the fallback languages";n&&(r+=", did you misspell the scope name?"),super(r),this.lang=t,this.fallbackLangs=e,this.isScope=n,this.name="TranslationLoadError"}}let lt=(()=>{class t{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new c.B;events$=this.events.asObservable();config;activeLang;destroyRef=(0,r.WQX)(r.abz);destroyed=!1;constructor(t,e,n,o,i,s){this.loader=t,this.parser=e,this.missingHandler=n,this.interceptor=o,this.fallbackStrategy=s,this.loader||(this.loader=new j(this.translations)),Y=this,this.config=JSON.parse(JSON.stringify(i)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new u.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.activeLang=function(t,e){const n=e?.manualCleanup?null:e?.injector?.get(r.abz)??(0,r.WQX)(r.abz),o=function(t=Object.is){return(e,n)=>1===e.kind&&1===n.kind&&t(e.value,n.value)}(e?.equal);let i,s;i=(0,r.vPA)(e?.requireSync?{kind:0}:{kind:1,value:e?.initialValue},{equal:o});const a=t.subscribe({next:t=>i.set({kind:1,value:t}),error:t=>{i.set({kind:2,error:t}),s?.()},complete:()=>{s?.()}});if(e?.requireSync&&0===i().kind)throw new r.buA(601,!1);return s=n?.onDestroy(a.unsubscribe.bind(a)),(0,N.EW)(()=>{const t=i();switch(t.kind){case 1:return t.value;case 2:throw t.error;case 0:throw new r.buA(601,!1)}},{equal:e?.equal})}(this.lang,{requireSync:!0}),this.events$.subscribe(t=>{"translationLoadSuccess"===t.type&&t.wasFailure&&this.setActiveLang(t.payload.langName)}),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.lang.complete(),this.events.complete(),this.cache.clear()})}getDefaultLang(){return this.defaultLang}setDefaultLang(t){this.defaultLang=t}getActiveLang(){return this.lang.getValue()}setActiveLang(t){return this.parser.onLangChanged?.(t),this.lang.next(t),this.events.next({type:"langChanged",payload:it(t)}),this}setAvailableLangs(t){this.availableLangs=t}getAvailableLangs(){return this.availableLangs}load(t,e={}){if(this.destroyed)return d.w;const n=this.cache.get(t);if(n)return n;let o;const i=this._isLangScoped(t);let u;i&&(u=et(t));const y={path:t,mainLoader:this.loader,inlineLoader:e.inlineLoader,data:i?{scope:u}:void 0};if(this.useFallbackTranslation(t)){const t=i?`${u}/${this.firstFallbackLang}`:this.firstFallbackLang,e=function({mainLoader:t,path:e,data:n,fallbackPath:r,inlineLoader:o}){return(r?[e,r]:[e]).map(e=>{const r=J({path:e,mainLoader:t,inlineLoader:o,data:n});return(0,a.H)(r).pipe((0,l.T)(t=>({translation:t,lang:e})))})}({...y,fallbackPath:t});o=(0,h.p)(e)}else{const t=J(y);o=(0,a.H)(t)}const b=o.pipe(function(t=1/0){let e;e=t&&"object"==typeof t?t:{count:t};const{count:n=1/0,delay:r,resetOnSuccess:o=!1}=e;return n<=0?g.D:(0,p.N)((t,e)=>{let i,s=0;const a=()=>{let l=!1;i=t.subscribe((0,f._)(e,t=>{o&&(s=0),e.next(t)},void 0,t=>{if(s++<n){const n=()=>{i?(i.unsubscribe(),i=null,a()):l=!0};if(null!=r){const o="number"==typeof r?function(t=0,e,n=_){let r=-1;return null!=e&&((0,k.m)(e)?n=e:r=e),new m.c(e=>{let o=function(t){return t instanceof Date&&!isNaN(t)}(t)?+t-n.now():t;o<0&&(o=0);let i=0;return n.schedule(function(){e.closed||(e.next(i++),0<=r?this.schedule(void 0,r):e.complete())},o)})}(r):(0,x.Tg)(r(t,s)),i=(0,f._)(e,()=>{i.unsubscribe(),n()},()=>{e.complete()});o.subscribe(i)}else n()}else e.error(t)})),l&&(i.unsubscribe(),i=null,a())};a()})}(this.config.failedRetries),(0,T.M)(e=>{Array.isArray(e)?e.forEach(e=>{this.handleSuccess(e.lang,e.translation),e.lang!==t&&this.cache.set(e.lang,(0,s.of)({}))}):this.handleSuccess(t,e)}),(0,E.W)(n=>(this.config.prodMode||console.error(`Error while trying to load "${t}"`,n),this.handleFailure(t,e))),function(t,e,n){let r,o=!1;return r=1,function(t={}){const{connector:e=()=>new c.B,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return t=>{let i,s,a,l=0,c=!1,u=!1;const d=()=>{s?.unsubscribe(),s=void 0},h=()=>{d(),i=a=void 0,c=u=!1},f=()=>{const t=i;h(),t?.unsubscribe()};return(0,p.N)((t,p)=>{l++,!u&&!c&&d();const g=a=a??e();p.add(()=>{l--,0===l&&!u&&!c&&(s=O(f,o))}),g.subscribe(p),!i&&l>0&&(i=new I.Ms({next:t=>g.next(t),error:t=>{u=!0,d(),s=O(h,n,t),g.error(t)},complete:()=>{c=!0,d(),s=O(h,r),g.complete()}}),(0,x.Tg)(t).subscribe(i))})(t)}}({connector:()=>new A(r,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}(),function(t){t||(t=(0,r.WQX)(r.abz));const e=new m.c(e=>{if(!t.destroyed)return t.onDestroy(e.next.bind(e));e.next()});return t=>t.pipe((0,R.Q)(e))}(this.destroyRef));return this.cache.set(t,b),b}translate(t,e={},n=this.getActiveLang()){if(!t)return t;const{scope:r,resolveLang:o}=this.resolveLangAndScope(n);if(Array.isArray(t))return t.map(t=>this.translate(this.config.scopes.autoPrefixKeys&&r?`${r}.${t}`:t,e,o));t=this.config.scopes.autoPrefixKeys&&r?`${r}.${t}`:t;const i=this.getTranslation(o),s=i[t];return s?this.parser.transpile({value:s,params:e,translation:i,key:t}):this._handleMissingKey(t,s,e)}selectTranslate(t,e,n,r=!1){let o;const i=(n,o)=>this.load(n,o).pipe((0,l.T)(()=>r?this.translateObject(t,e,n):this.translate(t,e,n)));if((0,M.gD)(n))return this.langChanges$.pipe((0,L.n)(t=>i(t)));if(rt(n=Array.isArray(n)?n[n.length-1]:n)){const t=n;n=t.scope,o=ot(t,t.scope)}if(this.isLang(n)||this.isScopeWithLang(n))return i(n);const s=n;return this.langChanges$.pipe((0,L.n)(t=>i(`${s}/${t}`,{inlineLoader:o})))}isScopeWithLang(t){return this.isLang(nt(t))}translateObject(t,e={},n=this.getActiveLang()){if((0,M.Kg)(t)||Array.isArray(t)){const{resolveLang:r,scope:o}=this.resolveLangAndScope(n);if(Array.isArray(t))return t.map(t=>this.translateObject(this.config.scopes.autoPrefixKeys&&o?`${o}.${t}`:t,e,r));const i=this.getTranslation(r),s=function(t){const e={};for(const[n,r]of Object.entries(t)){const t=n.split(".");let o=e;t.forEach((e,n)=>{n===t.length-1?o[e]=r:(o[e]??={},o=o[e])})}return e}(this.getObjectByKey(i,t=this.config.scopes.autoPrefixKeys&&o?`${o}.${t}`:t));return(0,M.Im)(s)?this.translate(t,e,n):this.parser.transpile({value:s,params:e,translation:i,key:t})}const r=[];for(const[e,o]of this.getEntries(t))r.push(this.translateObject(e,o,n));return r}selectTranslateObject(t,e,n){if((0,M.Kg)(t)||Array.isArray(t))return this.selectTranslate(t,e,n,!0);const[[r,o],...i]=this.getEntries(t);return this.selectTranslateObject(r,o,n).pipe((0,l.T)(t=>{const e=[t];for(const[t,r]of i)e.push(this.translateObject(t,r,n));return e}))}getTranslation(t){if(t){if(this.isLang(t))return this.translations.get(t)||{};{const{scope:e,resolveLang:n}=this.resolveLangAndScope(t),r=this.translations.get(n)||{};return this.getObjectByKey(r,e)}}return this.translations}selectTranslation(t){let e=this.langChanges$;if(t){const n=nt(t)!==t;e=this.isLang(t)||n?(0,s.of)(t):this.langChanges$.pipe((0,l.T)(e=>`${t}/${e}`))}return e.pipe((0,L.n)(t=>this.load(t).pipe((0,l.T)(()=>this.getTranslation(t)))))}setTranslation(t,e=this.getActiveLang(),n={}){const r={merge:!0,emitChange:!0,...n},o=et(e);let i=t;if(o){const e=this.getMappedScope(o);i=tt({[e]:t})}const s=o?nt(e):e,a={...r.merge&&this.getTranslation(s),...i},l=this.config.flatten.aot?a:tt(a),c=this.interceptor.preSaveTranslation(l,s);this.translations.set(s,c),r.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(t,e,n={}){const r=n.lang||this.getActiveLang(),o=this.interceptor.preSaveTranslationKey(t,e,r);this.setTranslation({[t]:o},r,{...n,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:t}){const e=Array.isArray(t)?t[0]:t;t&&this.useFallbackTranslation(e)&&(this.firstFallbackLang=e)}_handleMissingKey(t,e,n){if(this.config.missingHandler.allowEmpty&&""===e)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const e=this.translate(t,n,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,e}return this.missingHandler.handle(t,this.getMissingHandlerData(),n)}_isLangScoped(t){return-1===this.getAvailableLangsIds().indexOf(t)}isLang(t){return-1!==this.getAvailableLangsIds().indexOf(t)}_loadDependencies(t,e){const n=nt(t);return this._isLangScoped(t)&&!this.isLoadedTranslation(n)?(0,D.z)([this.load(n),this.load(t,{inlineLoader:e})]):this.load(t,{inlineLoader:e})}_completeScopeWithLang(t){return this._isLangScoped(t)&&!this.isLang(nt(t))?`${t}/${this.getActiveLang()}`:t}_setScopeAlias(t,e){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[t]=e}isLoadedTranslation(t){return(0,M.Ej)(this.getTranslation(t))}getAvailableLangsIds(){const t=this.getAvailableLangs()[0];return(0,M.Kg)(t)?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(t){return this.config.missingHandler.useFallbackTranslation&&t!==this.firstFallbackLang}handleSuccess(t,e){this.setTranslation(e,t,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:it(t)}),this.failedLangs.forEach(t=>this.cache.delete(t)),this.failedLangs.clear()}handleFailure(t,e){(0,M.gD)(e.failedCounter)&&(e.failedCounter=0,e.fallbackLangs||(e.fallbackLangs=this.fallbackStrategy.getNextLangs(t)));const n=t.split("/"),r=e.fallbackLangs,o=r[e.failedCounter];if(this.failedLangs.add(t),this.cache.has(o))return this.handleSuccess(o,this.getTranslation(o)),d.w;if(!o||o===n[n.length-1])throw new at(t,r??[],n.length>1);let i=o;return n.length>1&&(n[n.length-1]=o,i=n.join("/")),e.failedCounter++,this.events.next({type:"translationLoadFailure",payload:it(t)}),this.load(i,e)}getMappedScope(t){const{scopeMapping:e={},scopes:n={keepCasing:!1}}=this.config;return e[t]||(n.keepCasing?t:(0,M.Cb)(t))}resolveLangAndScope(t){let e,n=t;if(this._isLangScoped(t)){const r=nt(t),o=this.isLang(r);n=o?r:this.getActiveLang(),e=this.getMappedScope(o?et(t):t)}return{scope:e,resolveLang:n}}getObjectByKey(t,e){const n={},r=`${e}.`;for(const e in t)e.startsWith(r)&&(n[e.replace(r,"")]=t[e]);return n}getEntries(t){return t instanceof Map?t.entries():Object.entries(t)}static ɵfac=function(e){return new(e||t)(r.KVO(F,8),r.KVO(U),r.KVO(G),r.KVO(Q),r.KVO($),r.KVO(X))};static ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const ct=new r.nKC(""),ut=new r.nKC("");function dt(t,e,n="|"){if((0,M.Kg)(t)){const r=t.split(n),o=r.pop();return o===e?[!0,r.toString()]:[!1,o]}return[!1,""]}class ht{initialized=!1;resolve({inline:t,provider:e,active:n}){let r=n;if(this.initialized)return r=n,r;if(e){const[,t]=dt(e,"static");r=t}if(t){const[,e]=dt(t,"static");r=e}return this.initialized=!0,r}resolveLangBasedOnScope(t){return et(t)?nt(t):t}resolveLangPath(t,e){return e?`${e}/${t}`:t}}class pt{service;constructor(t){this.service=t}resolve(t){const{inline:e,provider:n}=t;if(e)return e;if(n){if(rt(n)){const{scope:t,alias:e=(this.service.config.scopes.keepCasing?t:(0,M.Cb)(t))}=n;return this.service._setScopeAlias(t,e),t}return n}}}let ft=(()=>{class t{service;providerScope;providerLang;cdr;subscription=null;lastValue="";lastKey;path;langResolver=new ht;scopeResolver;constructor(t,e,n,r){this.service=t,this.providerScope=e,this.providerLang=n,this.cdr=r,this.scopeResolver=new pt(this.service)}transform(t,e,n){if(!t)return t;const r=e?`${t}${JSON.stringify(e)}`:t;if(r===this.lastKey)return this.lastValue;this.lastKey=r,this.subscription?.unsubscribe();const o=function(t,e){const[n]=dt(e,"static");return!n&&!!t.config.reRenderOnLangChange}(this.service,this.providerLang||n);return this.subscription=this.service.langChanges$.pipe((0,L.n)(t=>{const e=this.langResolver.resolve({inline:n,provider:this.providerLang,active:t});return Array.isArray(this.providerScope)?(0,h.p)(this.providerScope.map(t=>this.resolveScope(e,t))):this.resolveScope(e,this.providerScope)}),function(t){return t?t=>t:(0,P.s)(1)}(o)).subscribe(()=>this.updateValue(t,e)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null}updateValue(t,e){const n=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(t,e,n),this.cdr.markForCheck()}resolveScope(t,e){const n=this.scopeResolver.resolve({inline:void 0,provider:e});this.path=this.langResolver.resolveLangPath(t,n);const r=ot(e,n);return this.service._loadDependencies(this.path,r)}static ɵfac=function(e){return new(e||t)(o.rXU(lt,16),o.rXU(ut,24),o.rXU(ct,24),o.rXU(i.gRc,16))};static ɵpipe=o.EJ8({name:"transloco",type:t,pure:!1})}return t})();function gt(t){const e=[mt(W),bt(q),vt(Z),yt(K)];return t.config&&e.push(function(t){return(0,r.EmA)([{provide:$,useValue:H(t)}])}(t.config)),t.loader&&e.push(function(t){return(0,r.EmA)([{provide:F,useClass:t}])}(t.loader)),e}function mt(t){return(0,r.EmA)([{provide:U,useClass:t,deps:[$]}])}function yt(t){return(0,r.EmA)([{provide:X,useClass:t,deps:[$]}])}function bt(t){return(0,r.EmA)([{provide:G,useClass:t}])}function vt(t){return(0,r.EmA)([{provide:Q,useClass:t}])}},2433(t,e,n){function r(t){return"function"==typeof t}function o(t){return"string"==typeof t}function i(t){return!!t&&"object"==typeof t&&!Array.isArray(t)}function s(t){return null==t}function a(t){return!s(t)}function l(t){return t?Array.isArray(t)||o(t)?t.length:i(t)?Object.keys(t).length:0:0}function c(t){return 0===l(t)}function u(t){return t.replace(/(?:^\w|[A-Z]|\b\w)/g,(t,e)=>0==e?t.toLowerCase():t.toUpperCase()).replace(/\s+|_|-|\//g,"")}n.d(e,{Cb:()=>u,Ej:()=>l,Gv:()=>i,Im:()=>c,Kg:()=>o,O9:()=>a,Tn:()=>r,gD:()=>s})},5396(t,e,n){n.d(e,{t5:()=>T,Sx:()=>L,Fs:()=>f,AH:()=>I,dt:()=>E});var r=n(8165),o=Object.defineProperty,i=Object.defineProperties,s=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(t,e,n)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,d=(t,e)=>{for(var n in e||(e={}))l.call(e,n)&&u(t,n,e[n]);if(a)for(var n of a(e))c.call(e,n)&&u(t,n,e[n]);return t},h=(t,e)=>i(t,s(e)),p=(t,e)=>{var n={};for(var r in t)l.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&a)for(var r of a(t))e.indexOf(r)<0&&c.call(t,r)&&(n[r]=t[r]);return n},f=function(){let t=new Map;return{on(e,n){let r=t.get(e);return r?r.push(n):r=[n],t.set(e,r),this},off(e,n){let r=t.get(e);return r&&r.splice(r.indexOf(n)>>>0,1),this},emit(e,n){let r=t.get(e);r&&r.forEach(t=>{t(n)})},clear(){t.clear()}}}(),g=/{([^}]*)}/g,m=/(\d+\s+[\+\-\*\/]\s+\d+)/g,y=/var\([^)]+\)/g;function b(t){return(0,r.Kg)(t)?t.replace(/[A-Z]/g,(t,e)=>0===e?t:"."+t.toLowerCase()).toLowerCase():t}function v(t){return(0,r.Gv)(t)&&t.hasOwnProperty("$value")&&t.hasOwnProperty("$type")?t.$value:t}function w(t="",e=""){return function(t){return t.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}(`${(0,r.Kg)(t,!1)&&(0,r.Kg)(e,!1)?`${t}-`:t}${e}`)}function S(t="",e=""){return`--${w(t,e)}`}function C(t,e="",n="",o=[],i){if((0,r.Kg)(t)){let e=t.trim();if(function(t=""){return((t.match(/{/g)||[]).length+(t.match(/}/g)||[]).length)%2!=0}(e))return;if((0,r.xk)(e,g)){let t=e.replaceAll(g,t=>{let e=t.replace(/{|}/g,"").split(".").filter(t=>!o.some(e=>(0,r.xk)(t,e)));return`var(${S(n,(0,r.fX)(e.join("-")))}${(0,r.hj)(i)?`, ${i}`:""})`});return(0,r.xk)(t.replace(y,"0"),m)?`calc(${t})`:t}return e}if((0,r.Et)(t))return t}function _(t,e,n){(0,r.Kg)(e,!1)&&t.push(`${e}:${n};`)}function k(t,e){return t?`${t}{${e}}`:""}function x(t,e){if(-1===t.indexOf("dt("))return t;function n(t,e){let n=[],o=0,i="",s=null,a=0;for(;o<=t.length;){let l=t[o];if(('"'===l||"'"===l||"`"===l)&&"\\"!==t[o-1]&&(s=s===l?null:l),!s&&("("===l&&a++,")"===l&&a--,(","===l||o===t.length)&&0===a)){let t=i.trim();t.startsWith("dt(")?n.push(x(t,e)):n.push(r(t)),i="",o++;continue}void 0!==l&&(i+=l),o++}return n}function r(t){let e=t[0];if(('"'===e||"'"===e||"`"===e)&&t[t.length-1]===e)return t.slice(1,-1);let n=Number(t);return isNaN(n)?t:n}let o=[],i=[];for(let e=0;e<t.length;e++)if("d"===t[e]&&"dt("===t.slice(e,e+3))i.push(e),e+=2;else if(")"===t[e]&&i.length>0){let t=i.pop();0===i.length&&o.push([t,e])}if(!o.length)return t;for(let r=o.length-1;r>=0;r--){let[i,s]=o[r],a=e(...n(t.slice(i+3,s),e));t=t.slice(0,i)+a+t.slice(s+1)}return t}var T=t=>{var e;let n=L.getTheme(),r=A(n,t,void 0,"variable");return{name:null==(e=r?.match(/--[\w-]+/g))?void 0:e[0],variable:r,value:A(n,t,void 0,"value")}},E=(...t)=>A(L.getTheme(),...t),A=(t={},e,n,o)=>{if(e){let{variable:i,options:s}=L.defaults||{},{prefix:a,transform:l}=t?.options||s||{},c=(0,r.xk)(e,g)?e:`{${e}}`;return"value"===o||(0,r.Im)(o)&&"strict"===l?L.getTokenValue(e):C(c,void 0,a,[i.excludedKeyRegex],n)}return""};function I(t,...e){return t instanceof Array?x(t.reduce((t,n,o)=>{var i;return t+n+(null!=(i=(0,r.hd)(e[o],{dt:E}))?i:"")},""),E):(0,r.hd)(t,{dt:E})}var O={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(t){return{type:"class",selector:t,matched:this.pattern.test(t.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(t){return{type:"attr",selector:`:root${t},:host${t}`,matched:this.pattern.test(t.trim())}}},media:{pattern:/^@media (.*)$/,resolve(t){return{type:"media",selector:t,matched:this.pattern.test(t.trim())}}},system:{pattern:/^system$/,resolve(t){return{type:"system",selector:"@media (prefers-color-scheme: dark)",matched:this.pattern.test(t.trim())}}},custom:{resolve:t=>({type:"custom",selector:t,matched:!0})}},resolve(t){let e=Object.keys(this.rules).filter(t=>"custom"!==t).map(t=>this.rules[t]);return[t].flat().map(t=>{var n;return null!=(n=e.map(e=>e.resolve(t)).find(t=>t.matched))?n:this.rules.custom.resolve(t)})}},_toVariables:(t,e)=>function(t,e={}){let n=L.defaults.variable,{prefix:o=n.prefix,selector:i=n.selector,excludedKeyRegex:s=n.excludedKeyRegex}=e,a=[],l=[],c=[{node:t,path:o}];for(;c.length;){let{node:t,path:e}=c.pop();for(let n in t){let i=v(t[n]),u=(0,r.xk)(n,s)?w(e):w(e,(0,r.fX)(n));if((0,r.Gv)(i))c.push({node:i,path:u});else{_(l,S(u),C(i,u,o,[s]));let t=u;o&&t.startsWith(o+"-")&&(t=t.slice(o.length+1)),a.push(t.replace(/-/g,"."))}}}let u=l.join("");return{value:l,tokens:a,declarations:u,css:k(i,u)}}(t,{prefix:e?.prefix}),getCommon({name:t="",theme:e={},set:n,defaults:o}){var i,s,a,l,c,u,d;let h,f,g,m,y,b,v,{preset:w,options:S}=e;if((0,r.hj)(w)&&"strict"!==S.transform){let{primitive:e,semantic:C,extend:_}=w,k=C||{},{colorScheme:x}=k,T=p(k,["colorScheme"]),A=_||{},{colorScheme:I}=A,O=p(A,["colorScheme"]),L=x||{},{dark:D}=L,P=p(L,["dark"]),R=I||{},{dark:N}=R,M=p(R,["dark"]),j=(0,r.hj)(e)?this._toVariables({primitive:e},S):{},F=(0,r.hj)(T)?this._toVariables({semantic:T},S):{},$=(0,r.hj)(P)?this._toVariables({light:P},S):{},z=(0,r.hj)(D)?this._toVariables({dark:D},S):{},H=(0,r.hj)(O)?this._toVariables({semantic:O},S):{},B=(0,r.hj)(M)?this._toVariables({light:M},S):{},V=(0,r.hj)(N)?this._toVariables({dark:N},S):{},[U,W]=[null!=(i=j.declarations)?i:"",j.tokens],[G,q]=[null!=(s=F.declarations)?s:"",F.tokens||[]],[Q,Z]=[null!=(a=$.declarations)?a:"",$.tokens||[]],[X,Y]=[null!=(l=z.declarations)?l:"",z.tokens||[]],[K,J]=[null!=(c=H.declarations)?c:"",H.tokens||[]],[tt,et]=[null!=(u=B.declarations)?u:"",B.tokens||[]],[nt,rt]=[null!=(d=V.declarations)?d:"",V.tokens||[]];h=this.transformCSS(t,U,"light","variable",S,n,o),f=W,g=`${this.transformCSS(t,`${G}${Q}`,"light","variable",S,n,o)}${this.transformCSS(t,`${X}`,"dark","variable",S,n,o)}`,m=[...new Set([...q,...Z,...Y])],y=`${this.transformCSS(t,`${K}${tt}color-scheme:light`,"light","variable",S,n,o)}${this.transformCSS(t,`${nt}color-scheme:dark`,"dark","variable",S,n,o)}`,b=[...new Set([...J,...et,...rt])],v=(0,r.hd)(w.css,{dt:E})}return{primitive:{css:h,tokens:f},semantic:{css:g,tokens:m},global:{css:y,tokens:b},style:v}},getPreset({name:t="",preset:e={},options:n,set:o,defaults:i,selector:s}){var a,l,c;let u,h,f;if((0,r.hj)(e)&&"strict"!==n.transform){let g=t.replace("-directive",""),m=e,{colorScheme:y,extend:b,css:v}=m,w=p(m,["colorScheme","extend","css"]),S=b||{},{colorScheme:C}=S,_=p(S,["colorScheme"]),k=y||{},{dark:x}=k,T=p(k,["dark"]),A=C||{},{dark:I}=A,O=p(A,["dark"]),L=(0,r.hj)(w)?this._toVariables({[g]:d(d({},w),_)},n):{},D=(0,r.hj)(T)?this._toVariables({[g]:d(d({},T),O)},n):{},P=(0,r.hj)(x)?this._toVariables({[g]:d(d({},x),I)},n):{},[R,N]=[null!=(a=L.declarations)?a:"",L.tokens||[]],[M,j]=[null!=(l=D.declarations)?l:"",D.tokens||[]],[F,$]=[null!=(c=P.declarations)?c:"",P.tokens||[]];u=`${this.transformCSS(g,`${R}${M}`,"light","variable",n,o,i,s)}${this.transformCSS(g,F,"dark","variable",n,o,i,s)}`,h=[...new Set([...N,...j,...$])],f=(0,r.hd)(v,{dt:E})}return{css:u,tokens:h,style:f}},getPresetC({name:t="",theme:e={},params:n,set:r,defaults:o}){var i;let{preset:s,options:a}=e,l=null==(i=s?.components)?void 0:i[t];return this.getPreset({name:t,preset:l,options:a,params:n,set:r,defaults:o})},getPresetD({name:t="",theme:e={},params:n,set:r,defaults:o}){var i,s;let a=t.replace("-directive",""),{preset:l,options:c}=e,u=(null==(i=l?.components)?void 0:i[a])||(null==(s=l?.directives)?void 0:s[a]);return this.getPreset({name:a,preset:u,options:c,params:n,set:r,defaults:o})},applyDarkColorScheme:t=>!("none"===t.darkModeSelector||!1===t.darkModeSelector),getColorSchemeOption(t,e){var n;return this.applyDarkColorScheme(t)?this.regex.resolve(!0===t.darkModeSelector?e.options.darkModeSelector:null!=(n=t.darkModeSelector)?n:e.options.darkModeSelector):[]},getLayerOrder(t,e={},n,o){let{cssLayer:i}=e;return i?`@layer ${(0,r.hd)(i.order||i.name||"primeui",n)}`:""},getCommonStyleSheet({name:t="",theme:e={},params:n,props:o={},set:i,defaults:s}){let a=this.getCommon({name:t,theme:e,params:n,set:i,defaults:s}),l=Object.entries(o).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");return Object.entries(a||{}).reduce((t,[e,n])=>{if((0,r.Gv)(n)&&Object.hasOwn(n,"css")){let o=(0,r.uN)(n.css);t.push(`<style type="text/css" data-primevue-style-id="${e}-variables" ${l}>${o}</style>`)}return t},[]).join("")},getStyleSheet({name:t="",theme:e={},params:n,props:o={},set:i,defaults:s}){var a;let l={name:t,theme:e,params:n,set:i,defaults:s},c=null==(a=t.includes("-directive")?this.getPresetD(l):this.getPresetC(l))?void 0:a.css,u=Object.entries(o).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");return c?`<style type="text/css" data-primevue-style-id="${t}-variables" ${u}>${(0,r.uN)(c)}</style>`:""},createTokens(t={},e,n="",o="",i={}){let s=function(t,e={},n=[]){if(n.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:t,path:this.path,paths:e,value:void 0};n.push(this.path),e.name=this.path,e.binding||(e.binding={});let o=this.value;if("string"==typeof this.value&&g.test(this.value)){let r=this.value.trim().replace(g,r=>{var o;let i=r.slice(1,-1),s=this.tokens[i];if(!s)return console.warn(`Token not found for path: ${i}`),"__UNRESOLVED__";let a=s.computed(t,e,n);return Array.isArray(a)&&2===a.length?`light-dark(${a[0].value},${a[1].value})`:null!=(o=a?.value)?o:"__UNRESOLVED__"});o=m.test(r.replace(y,"0"))?`calc(${r})`:r}return(0,r.Im)(e.binding)&&delete e.binding,n.pop(),{colorScheme:t,path:this.path,paths:e,value:o.includes("__UNRESOLVED__")?void 0:o}},a=(t,n,o)=>{Object.entries(t).forEach(([t,l])=>{let c=(0,r.xk)(t,e.variable.excludedKeyRegex)?n:n?`${n}.${b(t)}`:b(t),u=o?`${o}.${t}`:t;(0,r.Gv)(l)?a(l,c,u):(i[c]||(i[c]={paths:[],computed:(t,e={},n=[])=>{if(1===i[c].paths.length)return i[c].paths[0].computed(i[c].paths[0].scheme,e.binding,n);if(t&&"none"!==t)for(let r=0;r<i[c].paths.length;r++){let o=i[c].paths[r];if(o.scheme===t)return o.computed(t,e.binding,n)}return i[c].paths.map(t=>t.computed(t.scheme,e[t.scheme],n))}}),i[c].paths.push({path:u,value:l,scheme:u.includes("colorScheme.light")?"light":u.includes("colorScheme.dark")?"dark":"none",computed:s,tokens:i}))})};return a(t,n,o),i},getTokenValue(t,e,n){var o;let i=e.split(".").filter(t=>!(0,r.xk)(t.toLowerCase(),n.variable.excludedKeyRegex)).join("."),s=e.includes("colorScheme.light")?"light":e.includes("colorScheme.dark")?"dark":void 0,a=[null==(o=t[i])?void 0:o.computed(s)].flat().filter(t=>t);return 1===a.length?a[0].value:a.reduce((t={},e)=>{let n=e,{colorScheme:r}=n,o=p(n,["colorScheme"]);return t[r]=o,t},void 0)},getSelectorRule:(t,e,n,o)=>"class"===n||"attr"===n?k((0,r.hj)(e)?`${t}${e},${t} ${e}`:t,o):k(t,k(e??":root,:host",o)),transformCSS(t,e,n,o,i={},s,a,l){if((0,r.hj)(e)){let{cssLayer:c}=i;if("style"!==o){let t=this.getColorSchemeOption(i,a);e="dark"===n?t.reduce((t,{type:n,selector:o})=>((0,r.hj)(o)&&(t+=o.includes("[CSS]")?o.replace("[CSS]",e):this.getSelectorRule(o,l,n,e)),t),""):k(l??":root,:host",e)}if(c){let n={name:"primeui",order:"primeui"};(0,r.Gv)(c)&&(n.name=(0,r.hd)(c.name,{name:t,type:o})),(0,r.hj)(n.name)&&(e=k(`@layer ${n.name}`,e),s?.layerNames(n.name))}return e}return""}},L={defaults:{variable:{prefix:"p",selector:":root,:host",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(t={}){let{theme:e}=t;e&&(this._theme=h(d({},e),{options:d(d({},this.defaults.options),e.options)}),this._tokens=O.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var t;return(null==(t=this.theme)?void 0:t.preset)||{}},get options(){var t;return(null==(t=this.theme)?void 0:t.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(t){this.update({theme:t}),f.emit("theme:change",t)},getPreset(){return this.preset},setPreset(t){this._theme=h(d({},this.theme),{preset:t}),this._tokens=O.createTokens(t,this.defaults),this.clearLoadedStyleNames(),f.emit("preset:change",t),f.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(t){this._theme=h(d({},this.theme),{options:t}),this.clearLoadedStyleNames(),f.emit("options:change",t),f.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(t){this._layerNames.add(t)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(t){return O.getTokenValue(this.tokens,t,this.defaults)},getCommon(t="",e){return O.getCommon({name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(t="",e){let n={name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return O.getPresetC(n)},getDirective(t="",e){let n={name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return O.getPresetD(n)},getCustomPreset(t="",e,n,r){let o={name:t,preset:e,options:this.options,selector:n,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return O.getPreset(o)},getLayerOrderCSS(t=""){return O.getLayerOrder(t,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(t="",e,n="style",r){return O.transformCSS(t,e,r,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(t="",e,n={}){return O.getCommonStyleSheet({name:t,theme:this.theme,params:e,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(t,e,n={}){return O.getStyleSheet({name:t,theme:this.theme,params:e,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(t){this._loadingStyles.add(t)},onStyleUpdated(t){this._loadingStyles.add(t)},onStyleLoaded(t,{name:e}){this._loadingStyles.size&&(this._loadingStyles.delete(e),f.emit(`theme:${e}:load`,t),!this._loadingStyles.size&&f.emit("theme:load"))}}},8165(t,e,n){function r(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!(t instanceof Date)&&"object"==typeof t&&0===Object.keys(t).length}function o(t){return!r(t)}function i(t,e=!0){return t instanceof Object&&t.constructor===Object&&(e||0!==Object.keys(t).length)}function s(t,...e){return function(t){return"function"==typeof t&&"call"in t&&"apply"in t}(t)?t(...e):t}function a(t,e=!0){return"string"==typeof t&&(e||""!==t)}function l(t){return o(t)&&!isNaN(t)}function c(t,e){if(e){let n=e.test(t);return e.lastIndex=0,n}return!1}function u(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function d(t){return a(t)?t.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():t}function h(t){return"auto"===t?0:"number"==typeof t?t:1e3*Number(t.replace(/[^\d.]/g,"").replace(",","."))}n.d(e,{Et:()=>l,G8:()=>h,Gv:()=>i,Im:()=>r,Kg:()=>a,fX:()=>d,hd:()=>s,hj:()=>o,uN:()=>u,xk:()=>c})},3828(t,e,n){n.d(e,{E:()=>p,Ei:()=>y,Gg:()=>b,Rn:()=>h,TJ:()=>u,Yj:()=>v,bg:()=>f,si:()=>g,td:()=>d,wi:()=>m});var r=n(6268),o=n(6817),i=n(8447),s=n(4513),a=n(6868);const l=["*"];var c,u=((c=u||{})[c.ACCEPT=0]="ACCEPT",c[c.REJECT=1]="REJECT",c[c.CANCEL=2]="CANCEL",c);let d=(()=>{class t{requireConfirmationSource=new i.B;acceptConfirmationSource=new i.B;requireConfirmation$=this.requireConfirmationSource.asObservable();accept=this.acceptConfirmationSource.asObservable();confirm(t){return this.requireConfirmationSource.next(t),this}close(){return this.requireConfirmationSource.next(null),this}onAccept(){this.acceptConfirmationSource.next(null)}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac})}return t})(),h=class{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"},p=(()=>{class t{filter(t,e,n,r,o){let i=[];if(t)for(let a of t)for(let t of e){let e=(0,s.L7)(a,t);if(this.filters[r](e,n,o)){i.push(a);break}}return i}filters={startsWith:(t,e,n)=>{if(null==e||""===e.trim())return!0;if(null==t)return!1;let r=(0,s.Oo)(e.toString()).toLocaleLowerCase(n);return(0,s.Oo)(t.toString()).toLocaleLowerCase(n).slice(0,r.length)===r},contains:(t,e,n)=>{if(null==e||"string"==typeof e&&""===e.trim())return!0;if(null==t)return!1;let r=(0,s.Oo)(e.toString()).toLocaleLowerCase(n);return-1!==(0,s.Oo)(t.toString()).toLocaleLowerCase(n).indexOf(r)},notContains:(t,e,n)=>{if(null==e||"string"==typeof e&&""===e.trim())return!0;if(null==t)return!1;let r=(0,s.Oo)(e.toString()).toLocaleLowerCase(n);return-1===(0,s.Oo)(t.toString()).toLocaleLowerCase(n).indexOf(r)},endsWith:(t,e,n)=>{if(null==e||""===e.trim())return!0;if(null==t)return!1;let r=(0,s.Oo)(e.toString()).toLocaleLowerCase(n),o=(0,s.Oo)(t.toString()).toLocaleLowerCase(n);return-1!==o.indexOf(r,o.length-r.length)},equals:(t,e,n)=>null==e||"string"==typeof e&&""===e.trim()||null!=t&&(t.getTime&&e.getTime?t.getTime()===e.getTime():t==e||(0,s.Oo)(t.toString()).toLocaleLowerCase(n)==(0,s.Oo)(e.toString()).toLocaleLowerCase(n)),notEquals:(t,e,n)=>!(null==e||"string"==typeof e&&""===e.trim()||null!=t&&(t.getTime&&e.getTime?t.getTime()===e.getTime():t==e||(0,s.Oo)(t.toString()).toLocaleLowerCase(n)==(0,s.Oo)(e.toString()).toLocaleLowerCase(n))),in:(t,e)=>{if(null==e||0===e.length)return!0;for(let n=0;n<e.length;n++)if((0,s.aI)(t,e[n]))return!0;return!1},between:(t,e)=>null==e||null==e[0]||null==e[1]||null!=t&&(t.getTime?e[0].getTime()<=t.getTime()&&t.getTime()<=e[1].getTime():e[0]<=t&&t<=e[1]),lt:(t,e,n)=>null==e||null!=t&&(t.getTime&&e.getTime?t.getTime()<e.getTime():t<e),lte:(t,e,n)=>null==e||null!=t&&(t.getTime&&e.getTime?t.getTime()<=e.getTime():t<=e),gt:(t,e,n)=>null==e||null!=t&&(t.getTime&&e.getTime?t.getTime()>e.getTime():t>e),gte:(t,e,n)=>null==e||null!=t&&(t.getTime&&e.getTime?t.getTime()>=e.getTime():t>=e),is:(t,e,n)=>this.filters.equals(t,e,n),isNot:(t,e,n)=>this.filters.notEquals(t,e,n),before:(t,e,n)=>this.filters.lt(t,e,n),after:(t,e,n)=>this.filters.gt(t,e,n),dateIs:(t,e)=>null==e||null!=t&&t.toDateString()===e.toDateString(),dateIsNot:(t,e)=>null==e||null!=t&&t.toDateString()!==e.toDateString(),dateBefore:(t,e)=>null==e||null!=t&&t.getTime()<e.getTime(),dateAfter:(t,e)=>null==e||null!=t&&(t.setHours(0,0,0,0),t.getTime()>e.getTime())};register(t,e){this.filters[t]=e}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),f=(()=>{class t{messageSource=new i.B;clearSource=new i.B;messageObserver=this.messageSource.asObservable();clearObserver=this.clearSource.asObservable();add(t){t&&this.messageSource.next(t)}addAll(t){t&&t.length&&this.messageSource.next(t)}clear(t){this.clearSource.next(t||null)}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac})}return t})(),g=(()=>{class t{clickSource=new i.B;parentDragSource=new i.B;clickObservable=this.clickSource.asObservable();parentDragObservable=this.parentDragSource.asObservable();add(t){t&&this.clickSource.next(t)}emitParentDrag(t){this.parentDragSource.next(t)}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),m=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵcmp=r.VBU({type:t,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:l,decls:1,vars:0,template:function(t,e){1&t&&(r.NAR(),r.SdG(0))},encapsulation:2})}return t})(),y=(()=>{class t{template;type;name;constructor(t){this.template=t}getType(){return this.name}static ɵfac=function(e){return new(e||t)(r.rXU(r.C4Q))};static ɵdir=r.FsC({type:t,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return t})(),b=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=r.$C({type:t});static ɵinj=o.G2t({imports:[a.MD]})}return t})(),v=class{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}},2583(t,e,n){n.d(e,{q:()=>l});var r=n(4460),o=n(6817),i=n(6268),s=n(6484),a=n(5724);let l=(()=>{class t extends s.$G{autofocus=!1;focused=!1;platformId=(0,o.WQX)(i.Agw);document=(0,o.WQX)(o.qQL);host=(0,o.WQX)(i.aKT);onAfterContentChecked(){!1===this.autofocus?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}onAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){(0,r.UE)(this.platformId)&&this.autofocus&&setTimeout(()=>{const t=a.DV.getFocusableElements(this.host?.nativeElement);0===t.length&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0})}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵdir=i.FsC({type:t,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[i.Vt3]})}return t})()},8980(t,e,n){n.d(e,{C:()=>c,j:()=>u});var r=n(6817),o=n(5396),i=n(4513),s=n(9798);let a=0,l=(()=>{class t{document=(0,r.WQX)(r.qQL);use(t,e={}){let n=t,r=null;const{immediate:o=!0,manual:i=!1,name:l="style_"+ ++a,id:c,media:u,nonce:d,first:h=!1,props:p={}}=e;if(this.document){if(r=this.document.querySelector(`style[data-primeng-style-id="${l}"]`)||c&&this.document.getElementById(c)||this.document.createElement("style"),r){if(!r.isConnected){n=t;const e=this.document.head;(0,s.Bq)(r,"nonce",d),h&&e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r),(0,s.Wp)(r,{type:"text/css",media:u,nonce:d,"data-primeng-style-id":l})}r.textContent!==n&&(r.textContent=n)}return{id:c,name:l,el:r,css:n}}}static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();var c={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}};let u=(()=>{class t{name="base";useStyle=(0,r.WQX)(l);css=void 0;style=void 0;classes={};inlineStyles={};load=(t,e={},n=t=>t)=>{const r=n(o.AH`${(0,i.hd)(t,{dt:o.dt})}`);return r?this.useStyle.use((0,i.uN)(r),{name:this.name,...e}):{}};loadCSS=(t={})=>this.load(this.css,t);loadStyle=(t={},e="")=>this.load(this.style,t,(n="")=>o.Sx.transformCSS(t.name||this.name,`${n}${o.AH`${e}`}`));loadBaseCSS=(t={})=>this.load("\n.p-hidden-accessible {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.p-hidden-accessible input,\n.p-hidden-accessible select {\n transform: scale(0);\n}\n\n.p-overflow-hidden {\n overflow: hidden;\n padding-right: dt('scrollbar.width');\n}\n",t);loadBaseStyle=(t={},e="")=>this.load("\n *,\n ::before,\n ::after {\n box-sizing: border-box;\n }\n\n .p-collapsible-enter-active {\n animation: p-animate-collapsible-expand 0.2s ease-out;\n overflow: hidden;\n }\n\n .p-collapsible-leave-active {\n animation: p-animate-collapsible-collapse 0.2s ease-out;\n overflow: hidden;\n }\n\n @keyframes p-animate-collapsible-expand {\n from {\n grid-template-rows: 0fr;\n }\n to {\n grid-template-rows: 1fr;\n }\n }\n\n @keyframes p-animate-collapsible-collapse {\n from {\n grid-template-rows: 1fr;\n }\n to {\n grid-template-rows: 0fr;\n }\n }\n\n .p-disabled,\n .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-disabled,\n .p-component:disabled {\n opacity: dt('disabled.opacity');\n }\n\n .pi {\n font-size: dt('icon.size');\n }\n\n .p-icon {\n width: dt('icon.size');\n height: dt('icon.size');\n }\n\n .p-overlay-mask {\n background: var(--px-mask-background, dt('mask.background'));\n color: dt('mask.color');\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-overlay-mask-enter-active {\n animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;\n }\n\n .p-overlay-mask-leave-active {\n animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;\n }\n\n @keyframes p-animate-overlay-mask-enter {\n from {\n background: transparent;\n }\n to {\n background: var(--px-mask-background, dt('mask.background'));\n }\n }\n @keyframes p-animate-overlay-mask-leave {\n from {\n background: var(--px-mask-background, dt('mask.background'));\n }\n to {\n background: transparent;\n }\n }\n\n .p-anchored-overlay-enter-active {\n animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);\n }\n\n .p-anchored-overlay-leave-active {\n animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);\n }\n\n @keyframes p-animate-anchored-overlay-enter {\n from {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n\n @keyframes p-animate-anchored-overlay-leave {\n to {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n",t,(n="")=>o.Sx.transformCSS(t.name||this.name,`${n}${o.AH`${e}`}`));getCommonTheme=t=>o.Sx.getCommon(this.name,t);getComponentTheme=t=>o.Sx.getComponent(this.name,t);getPresetTheme=(t,e,n)=>o.Sx.getCustomPreset(this.name,t,e,n);getLayerOrderThemeCSS=()=>o.Sx.getLayerOrderCSS(this.name);getStyleSheet=(t="",e={})=>{if(this.css){const n=(0,i.hd)(this.css,{dt:o.dt}),r=(0,i.uN)(o.AH`${n}${t}`),s=Object.entries(e).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");return`<style type="text/css" data-primeng-style-id="${this.name}" ${s}>${r}</style>`}return""};getCommonThemeStyleSheet=(t,e={})=>o.Sx.getCommonStyleSheet(this.name,t,e);getThemeStyleSheet=(t,e={})=>{let n=[o.Sx.getStyleSheet(this.name,t,e)];if(this.style){const t="base"===this.name?"global-style":`${this.name}-style`,r=o.AH`${(0,i.hd)(this.style,{dt:o.dt})}`,s=(0,i.uN)(o.Sx.transformCSS(t,r)),a=Object.entries(e).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");n.push(`<style type="text/css" data-primeng-style-id="${t}" ${a}>${s}</style>`)}return n.join("")};static ɵfac=function(e){return new(e||t)};static ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})()},6484(t,e,n){n.d(e,{$G:()=>x,bt:()=>k});var r=n(6817),o=n(4460),i=n(6268),s=n(6860),a=n(5697),l=n(5396),c=n(3896),u=n(4057),d=n(4513),h=Object.defineProperty,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,m=(t,e,n)=>e in t?h(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,y=(t,e)=>{for(var n in e||(e={}))f.call(e,n)&&m(t,n,e[n]);if(p)for(var n of p(e))g.call(e,n)&&m(t,n,e[n]);return t};function b(...t){if(t){let e=[];for(let n=0;n<t.length;n++){let r=t[n];if(!r)continue;let o=typeof r;if("string"===o||"number"===o)e.push(r);else if("object"===o){let t=Array.isArray(r)?[b(...r)]:Object.entries(r).map(([t,e])=>e?t:void 0);e=t.length?e.concat(t.filter(t=>!!t)):e}}return e.join(" ").trim()}}function v(t){return"function"==typeof t&&"call"in t&&"apply"in t}function w(...t){return function({skipUndefined:t=!1},...e){return e?.reduce((e,n={})=>{for(let r in n){let o=n[r];if(!t||void 0!==o)if("style"===r)e.style=y(y({},e.style),n.style);else if("class"===r||"className"===r)e[r]=b(e[r],n[r]);else if(v(o)){let t=e[r];e[r]=t?(...e)=>{t(...e),o(...e)}:o}else e[r]=o}return e},{})}({skipUndefined:!1},...t)}var S=n(8980),C=n(3818);let _=(()=>{class t extends S.j{name="common";static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵprov=r.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const k=new r.nKC("PARENT_INSTANCE");let x=(()=>{class t{document=(0,r.WQX)(r.qQL);platformId=(0,r.WQX)(i.Agw);el=(0,r.WQX)(i.aKT);injector=(0,r.WQX)(r.zZn);cd=(0,r.WQX)(s.gRc);renderer=(0,r.WQX)(i.sFG);config=(0,r.WQX)(C.tl);$parentInstance=(0,r.WQX)(k,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=(0,r.WQX)(_);baseStyle=(0,r.WQX)(S.j);scopedStyleEl;parent=this.$params.parent;cn=c.cn;_themeScopedListener;themeChangeListenerMap=new Map;dt=(0,s.hFB)();unstyled=(0,s.hFB)();pt=(0,s.hFB)();ptOptions=(0,s.hFB)();$attrSelector=(0,u.u)("pc");get $name(){return this.componentName||"UnknownComponent"}get $hostName(){return this.hostName}get $el(){return this.el?.nativeElement}directivePT=(0,r.vPA)(void 0);directiveUnstyled=(0,r.vPA)(void 0);$unstyled=(0,a.EW)(()=>this.unstyled()??this.directiveUnstyled()??this.config?.unstyled()??!1);$pt=(0,a.EW)(()=>(0,d.hd)(this.pt()||this.directivePT(),this.$params));get $globalPT(){return this._getPT(this.config?.pt(),void 0,t=>(0,d.hd)(t,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,t=>this._getOptionValue(t,this.$hostName||this.$name,this.$params)||(0,d.hd)(t,this.$params))}get $style(){return{theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0,...(this._getHostInstance(this)||{}).$style,...this._componentStyle}}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){return{instance:this,parent:{instance:this._getHostInstance(this)||this.$parentInstance}}}onInit(){}onChanges(t){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){(0,r.QZP)(t=>{this.document&&!(0,o.Vy)(this.platformId)&&(this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener("_themeScopedListener",this._themeScopedListener)):this._unloadScopedThemeStyles()),t(()=>{this._offThemeChangeListener("_themeScopedListener")})}),(0,r.QZP)(t=>{this.document&&!(0,o.Vy)(this.platformId)&&(this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener("_loadCoreStyles",this._loadCoreStyles))),t(()=>{this._offThemeChangeListener("_loadCoreStyles")})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(t){this.onChanges(t),this._hook("onChanges",t)}ngDoCheck(){this.onDoCheck(),this._hook("onDoCheck")}ngAfterContentInit(){this.onAfterContentInit(),this._hook("onAfterContentInit")}ngAfterContentChecked(){this.onAfterContentChecked(),this._hook("onAfterContentChecked")}ngAfterViewInit(){this.$el?.setAttribute(this.$attrSelector,""),this.onAfterViewInit(),this._hook("onAfterViewInit")}ngAfterViewChecked(){this.onAfterViewChecked(),this._hook("onAfterViewChecked")}ngOnDestroy(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this.onDestroy(),this._hook("onDestroy")}_mergeProps(t,...e){return(0,d.Tn)(t)?t(...e):w(...e)}_getHostInstance(t){return t?this.$hostName?this.$name===this.$hostName?t:this._getHostInstance(t.$parentInstance):t.$parentInstance:void 0}_getPropValue(t){return this[t]||this._getHostInstance(this)?.[t]}_getOptionValue(t,e="",n={}){return(0,d.fm)(t,e,n)}_hook(t,...e){if(!this.$hostName){const n=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${t}`),r=this._useDefaultPT(this._getOptionValue,`hooks.${t}`);n?.(...e),r?.(...e)}}_load(){S.C.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),S.C.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener("_load",()=>this._load())}_loadGlobalStyles(){const t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);(0,d.hj)(t)&&this.baseStyle.load(t,{name:"global",...this.$styleOptions})}_loadCoreStyles(){!S.C.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),S.C.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!this.$unstyled()&&"none"!==this.config?.theme()){if(!l.Sx.isStyleNameLoaded("common")){const{primitive:t,semantic:e,global:n,style:r}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(t?.css,{name:"primitive-variables",...this.$styleOptions}),this.baseStyle.load(e?.css,{name:"semantic-variables",...this.$styleOptions}),this.baseStyle.load(n?.css,{name:"global-variables",...this.$styleOptions}),this.baseStyle.loadBaseStyle({name:"global-style",...this.$styleOptions},r),l.Sx.setLoadedStyleName("common")}if(!l.Sx.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){const{css:t,style:e}=this.$style?.getComponentTheme?.()||{};this.$style?.load(t,{name:`${this.$style?.name}-variables`,...this.$styleOptions}),this.$style?.loadStyle({name:`${this.$style?.name}-style`,...this.$styleOptions},e),l.Sx.setLoadedStyleName(this.$style?.name)}if(!l.Sx.isStyleNameLoaded("layer-order")){const t=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(t,{name:"layer-order",first:!0,...this.$styleOptions}),l.Sx.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(t){const{css:e}=this.$style?.getPresetTheme?.(t,`[${this.$attrSelector}]`)||{},n=this.$style?.load(e,{name:`${this.$attrSelector}-${this.$style?.name}`,...this.$styleOptions});this.scopedStyleEl=n?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(t,e=()=>{}){this._offThemeChangeListener(t),S.C.clearLoadedStyleNames();const n=e.bind(this);this.themeChangeListenerMap.set(t,n),l.Fs.on("theme:change",n)}_removeThemeListeners(){this._offThemeChangeListener("_themeScopedListener"),this._offThemeChangeListener("_loadCoreStyles"),this._offThemeChangeListener("_load")}_offThemeChangeListener(t){this.themeChangeListenerMap.has(t)&&(l.Fs.off("theme:change",this.themeChangeListenerMap.get(t)),this.themeChangeListenerMap.delete(t))}_getPTValue(t={},e="",n={},r=!0){const o=/./g.test(e)&&!!n[e.split(".")[0]],{mergeSections:i=!0,mergeProps:s=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},a=r?o?this._useGlobalPT(this._getPTClassValue,e,n):this._useDefaultPT(this._getPTClassValue,e,n):void 0,l=o?void 0:this._usePT(this._getPT(t,this.$hostName||this.$name),this._getPTClassValue,e,{...n,global:a||{}}),c=this._getPTDatasets(e);return i||!i&&l?s?this._mergeProps(s,a,l,c):{...a,...l,...c}:{...l,...c}}_getPTDatasets(t=""){const e="data-pc-",n="root"===t&&(0,d.hj)(this.$pt()?.["data-pc-section"]);return"transition"!==t&&{..."root"===t&&{[`${e}name`]:(0,d.qd)(n?this.$pt()?.["data-pc-section"]:this.$name),...n&&{[`${e}extend`]:(0,d.qd)(this.$name)},[`${this.$attrSelector}`]:""},[`${e}section`]:(0,d.qd)(t.includes(".")?t.split(".").at(-1)??"":t)}}_getPTClassValue(t,e,n){const r=this._getOptionValue(t,e,n);return(0,d.Kg)(r)||(0,d.cy)(r)?{class:r}:r}_getPT(t,e="",n){const r=(t,r=!1)=>{const o=n?n(t):t,i=(0,d.qd)(e),s=(0,d.qd)(this.$hostName||this.$name);return(r?i!==s?o?.[i]:void 0:o?.[i])??o};return t?.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:r(t.originalValue),value:r(t.value)}:r(t,!0)}_usePT(t,e,n,r){const o=t=>e?.call(this,t,n,r);if(t?.hasOwnProperty("_usept")){const{mergeSections:e=!0,mergeProps:n=!1}=t._usept||this.config?.ptOptions()||{},r=o(t.originalValue),i=o(t.value);return void 0===r&&void 0===i?void 0:(0,d.Kg)(i)?i:(0,d.Kg)(r)?r:e||!e&&i?n?this._mergeProps(n,r,i):{...r,...i}:i}return o(t)}_useGlobalPT(t,e,n){return this._usePT(this.$globalPT,t,e,n)}_useDefaultPT(t,e,n){return this._usePT(this.$defaultPT,t,e,n)}ptm(t="",e={}){return this._getPTValue(this.$pt(),t,{...this.$params,...e})}ptms(t,e={}){return t.reduce((t,n)=>w(t,this.ptm(n,e))||{},{})}ptmo(t={},e="",n={}){return this._getPTValue(t,e,{instance:this,...n},!1)}cx(t,e={}){return this.$unstyled()?void 0:(0,c.cn)(this._getOptionValue(this.$style.classes,t,{...this.$params,...e}))}sx(t="",e=!0,n={}){if(e){const e=this._getOptionValue(this.$style.inlineStyles,t,{...this.$params,...n});return{...this._getOptionValue(this.baseComponentStyle.inlineStyles,t,{...this.$params,...n}),...e}}}static ɵfac=function(e){return new(e||t)};static ɵdir=i.FsC({type:t,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[i.Jv_([_,S.j]),i.OA$]})}return t})()},7277(t,e,n){n.d(e,{C:()=>u,Y:()=>c});var r=n(6268),o=n(6817),i=n(6860),s=n(5697),a=n(3896),l=n(4513);let c=(()=>{class t{el;renderer;pBind=(0,i.hFB)(void 0);_attrs=(0,o.vPA)(void 0);attrs=(0,s.EW)(()=>this._attrs()||this.pBind());styles=(0,s.EW)(()=>this.attrs()?.style);classes=(0,s.EW)(()=>(0,a.cn)(this.attrs()?.class));listeners=[];constructor(t,e){this.el=t,this.renderer=e,(0,o.QZP)(()=>{const{style:t,class:e,...n}=this.attrs()||{};for(const[t,e]of Object.entries(n))if(t.startsWith("on")&&"function"==typeof e){const n=t.slice(2).toLowerCase();if(!this.listeners.some(t=>t.eventName===n)){const t=this.renderer.listen(this.el.nativeElement,n,e);this.listeners.push({eventName:n,unlisten:t})}}else null==e?this.renderer.removeAttribute(this.el.nativeElement,t):(this.renderer.setAttribute(this.el.nativeElement,t,e.toString()),t in this.el.nativeElement&&(this.el.nativeElement[t]=e))})}ngOnDestroy(){this.clearListeners()}setAttrs(t){(0,l.aI)(this._attrs(),t)||this._attrs.set(t)}clearListeners(){this.listeners.forEach(({unlisten:t})=>t()),this.listeners=[]}static ɵfac=function(e){return new(e||t)(r.rXU(r.aKT),r.rXU(r.sFG))};static ɵdir=r.FsC({type:t,selectors:[["","pBind",""]],hostVars:4,hostBindings:function(t,e){2&t&&(r.Aen(e.styles()),r.HbH(e.classes()))},inputs:{pBind:[1,"pBind"]}})}return t})(),u=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=r.$C({type:t});static ɵinj=o.G2t({})}return t})()},731(t,e,n){n.d(e,{$n:()=>K,_f:()=>Y,tm:()=>J});var r=n(6868),o=n(4460),i=n(6268),s=n(6817),a=n(6860),l=n(5697),c=n(9798),u=n(4513),d=n(3828),h=n(2583),p=n(6484),f=n(7277),g=n(8980);const m={root:({instance:t})=>{const e="function"==typeof t.value?t.value():t.value,n="function"==typeof t.size?t.size():t.size,r="function"==typeof t.badgeSize?t.badgeSize():t.badgeSize,o="function"==typeof t.severity?t.severity():t.severity;return["p-badge p-component",{"p-badge-circle":(0,u.hj)(e)&&1===String(e).length,"p-badge-dot":(0,u.Im)(e),"p-badge-sm":"small"===n||"small"===r,"p-badge-lg":"large"===n||"large"===r,"p-badge-xl":"xlarge"===n||"xlarge"===r,"p-badge-info":"info"===o,"p-badge-success":"success"===o,"p-badge-warn":"warn"===o,"p-badge-danger":"danger"===o,"p-badge-secondary":"secondary"===o,"p-badge-contrast":"contrast"===o}]}};let y=(()=>{class t extends g.j{name="badge";style="\n \n .p-badge {\n display: inline-flex;\n border-radius: dt('badge.border.radius');\n align-items: center;\n justify-content: center;\n padding: dt('badge.padding');\n background: dt('badge.primary.background');\n color: dt('badge.primary.color');\n font-size: dt('badge.font.size');\n font-weight: dt('badge.font.weight');\n min-width: dt('badge.min.width');\n height: dt('badge.height');\n }\n\n .p-badge-dot {\n width: dt('badge.dot.size');\n min-width: dt('badge.dot.size');\n height: dt('badge.dot.size');\n border-radius: 50%;\n padding: 0;\n }\n\n .p-badge-circle {\n padding: 0;\n border-radius: 50%;\n }\n\n .p-badge-secondary {\n background: dt('badge.secondary.background');\n color: dt('badge.secondary.color');\n }\n\n .p-badge-success {\n background: dt('badge.success.background');\n color: dt('badge.success.color');\n }\n\n .p-badge-info {\n background: dt('badge.info.background');\n color: dt('badge.info.color');\n }\n\n .p-badge-warn {\n background: dt('badge.warn.background');\n color: dt('badge.warn.color');\n }\n\n .p-badge-danger {\n background: dt('badge.danger.background');\n color: dt('badge.danger.color');\n }\n\n .p-badge-contrast {\n background: dt('badge.contrast.background');\n color: dt('badge.contrast.color');\n }\n\n .p-badge-sm {\n font-size: dt('badge.sm.font.size');\n min-width: dt('badge.sm.min.width');\n height: dt('badge.sm.height');\n }\n\n .p-badge-lg {\n font-size: dt('badge.lg.font.size');\n min-width: dt('badge.lg.min.width');\n height: dt('badge.lg.height');\n }\n\n .p-badge-xl {\n font-size: dt('badge.xl.font.size');\n min-width: dt('badge.xl.min.width');\n height: dt('badge.xl.height');\n }\n\n\n /* For PrimeNG (directive)*/\n .p-overlay-badge {\n position: relative;\n }\n\n .p-overlay-badge > .p-badge {\n position: absolute;\n top: 0;\n inset-inline-end: 0;\n transform: translate(50%, -50%);\n transform-origin: 100% 0;\n margin: 0;\n }\n";classes=m;static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵprov=s.jDH({token:t,factory:t.ɵfac})}return t})();const b=new s.nKC("BADGE_INSTANCE");let v=(()=>{class t extends p.$G{componentName="Badge";$pcBadge=(0,s.WQX)(b,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(f.Y,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=(0,a.hFB)();badgeSize=(0,a.hFB)();size=(0,a.hFB)();severity=(0,a.hFB)();value=(0,a.hFB)();badgeDisabled=(0,a.hFB)(!1,{transform:a.L39});_componentStyle=(0,s.WQX)(y);get dataP(){return this.cn({circle:null!=this.value()&&1===String(this.value()).length,empty:null==this.value(),disabled:this.badgeDisabled(),[this.severity()]:this.severity(),[this.size()]:this.size()})}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵcmp=i.VBU({type:t,selectors:[["p-badge"]],hostVars:5,hostBindings:function(t,e){2&t&&(i.BMQ("data-p",e.dataP),i.HbH(e.cn(e.cx("root"),e.styleClass())),i.xc7("display",e.badgeDisabled()?"none":null))},inputs:{styleClass:[1,"styleClass"],badgeSize:[1,"badgeSize"],size:[1,"size"],severity:[1,"severity"],value:[1,"value"],badgeDisabled:[1,"badgeDisabled"]},features:[i.Jv_([y,{provide:b,useExisting:t},{provide:p.bt,useExisting:t}]),i.nM4([f.Y]),i.Vt3],decls:1,vars:1,template:function(t,e){1&t&&i.EFF(0),2&t&&i.JRh(e.value())},dependencies:[r.MD,d.Gg,f.C],encapsulation:2,changeDetection:0})}return t})(),w=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=i.$C({type:t});static ɵinj=s.G2t({imports:[v,d.Gg,d.Gg]})}return t})();var S=n(7144),C=n(5774),_=n(1284);const k=["content"],x=["loadingicon"],T=["icon"],E=["*"],A=(t,e)=>({class:t,pt:e});function I(t,e){1&t&&i.eu8(0)}function O(t,e){if(1&t&&i.nrm(0,"span",7),2&t){const t=i.XpG(3);i.HbH(t.cn(t.cx("loadingIcon"),"pi-spin",t.loadingIcon||(null==t.buttonProps?null:t.buttonProps.loadingIcon))),i.Y8G("pBind",t.ptm("loadingIcon")),i.BMQ("aria-hidden",!0)}}function L(t,e){if(1&t&&(s.qSk(),i.nrm(0,"svg",8)),2&t){const t=i.XpG(3);i.HbH(t.cn(t.cx("loadingIcon"),t.cx("spinnerIcon"))),i.Y8G("pBind",t.ptm("loadingIcon"))("spin",!0),i.BMQ("aria-hidden",!0)}}function D(t,e){if(1&t&&(i.qex(0),i.DNE(1,O,1,4,"span",3)(2,L,1,5,"svg",6),i.bVm()),2&t){const t=i.XpG(2);i.R7$(),i.Y8G("ngIf",t.loadingIcon||(null==t.buttonProps?null:t.buttonProps.loadingIcon)),i.R7$(),i.Y8G("ngIf",!(t.loadingIcon||null!=t.buttonProps&&t.buttonProps.loadingIcon))}}function P(t,e){}function R(t,e){if(1&t&&i.DNE(0,P,0,0,"ng-template",9),2&t){const t=i.XpG(2);i.Y8G("ngIf",t.loadingIconTemplate||t._loadingIconTemplate)}}function N(t,e){if(1&t&&(i.qex(0),i.DNE(1,D,3,2,"ng-container",2)(2,R,1,1,null,5),i.bVm()),2&t){const t=i.XpG();i.R7$(),i.Y8G("ngIf",!t.loadingIconTemplate&&!t._loadingIconTemplate),i.R7$(),i.Y8G("ngTemplateOutlet",t.loadingIconTemplate||t._loadingIconTemplate)("ngTemplateOutletContext",i.l_i(3,A,t.cx("loadingIcon"),t.ptm("loadingIcon")))}}function M(t,e){if(1&t&&i.nrm(0,"span",7),2&t){const t=i.XpG(2);i.HbH(t.cn(t.cx("icon"),t.icon||(null==t.buttonProps?null:t.buttonProps.icon))),i.Y8G("pBind",t.ptm("icon")),i.BMQ("data-p",t.dataIconP)}}function j(t,e){}function F(t,e){if(1&t&&i.DNE(0,j,0,0,"ng-template",9),2&t){const t=i.XpG(2);i.Y8G("ngIf",!t.icon&&(t.iconTemplate||t._iconTemplate))}}function $(t,e){if(1&t&&(i.qex(0),i.DNE(1,M,1,4,"span",3)(2,F,1,1,null,5),i.bVm()),2&t){const t=i.XpG();i.R7$(),i.Y8G("ngIf",(t.icon||(null==t.buttonProps?null:t.buttonProps.icon))&&!t.iconTemplate&&!t._iconTemplate),i.R7$(),i.Y8G("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)("ngTemplateOutletContext",i.l_i(3,A,t.cx("icon"),t.ptm("icon")))}}function z(t,e){if(1&t&&(i.j41(0,"span",7),i.EFF(1),i.k0s()),2&t){const t=i.XpG();i.HbH(t.cx("label")),i.Y8G("pBind",t.ptm("label")),i.BMQ("aria-hidden",(t.icon||(null==t.buttonProps?null:t.buttonProps.icon))&&!(t.label||null!=t.buttonProps&&t.buttonProps.label))("data-p",t.dataLabelP),i.R7$(),i.JRh(t.label||(null==t.buttonProps?null:t.buttonProps.label))}}function H(t,e){if(1&t&&i.nrm(0,"p-badge",10),2&t){const t=i.XpG();i.Y8G("value",t.badge||(null==t.buttonProps?null:t.buttonProps.badge))("severity",t.badgeSeverity||(null==t.buttonProps?null:t.buttonProps.badgeSeverity))("pt",t.ptm("pcBadge"))("unstyled",t.unstyled())}}const B={root:({instance:t})=>["p-button p-component",{"p-button-icon-only":t.hasIcon&&!t.label&&!t.buttonProps?.label&&!t.badge,"p-button-vertical":("top"===t.iconPos||"bottom"===t.iconPos)&&t.label,"p-button-loading":t.loading||t.buttonProps?.loading,"p-button-link":t.link||t.buttonProps?.link,[`p-button-${t.severity||t.buttonProps?.severity}`]:t.severity||t.buttonProps?.severity,"p-button-raised":t.raised||t.buttonProps?.raised,"p-button-rounded":t.rounded||t.buttonProps?.rounded,"p-button-text":t.text||"text"===t.variant||t.buttonProps?.text||"text"===t.buttonProps?.variant,"p-button-outlined":t.outlined||"outlined"===t.variant||t.buttonProps?.outlined||"outlined"===t.buttonProps?.variant,"p-button-sm":"small"===t.size||"small"===t.buttonProps?.size,"p-button-lg":"large"===t.size||"large"===t.buttonProps?.size,"p-button-plain":t.plain||t.buttonProps?.plain,"p-button-fluid":t.hasFluid}],loadingIcon:"p-button-loading-icon",icon:({instance:t})=>["p-button-icon",{[`p-button-icon-${t.iconPos||t.buttonProps?.iconPos}`]:t.label||t.buttonProps?.label,"p-button-icon-left":("left"===t.iconPos||"left"===t.buttonProps?.iconPos)&&t.label||t.buttonProps?.label,"p-button-icon-right":("right"===t.iconPos||"right"===t.buttonProps?.iconPos)&&t.label||t.buttonProps?.label,"p-button-icon-top":("top"===t.iconPos||"top"===t.buttonProps?.iconPos)&&t.label||t.buttonProps?.label,"p-button-icon-bottom":("bottom"===t.iconPos||"bottom"===t.buttonProps?.iconPos)&&t.label||t.buttonProps?.label},t.icon,t.buttonProps?.icon],spinnerIcon:({instance:t})=>Object.entries(t.cx("icon")).filter(([,t])=>!!t).reduce((t,[e])=>t+` ${e}`,"p-button-loading-icon"),label:"p-button-label"};let V=(()=>{class t extends g.j{name="button";style="\n .p-button {\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n color: dt('button.primary.color');\n background: dt('button.primary.background');\n border: 1px solid dt('button.primary.border.color');\n padding: dt('button.padding.y') dt('button.padding.x');\n font-size: 1rem;\n font-family: inherit;\n font-feature-settings: inherit;\n transition:\n background dt('button.transition.duration'),\n color dt('button.transition.duration'),\n border-color dt('button.transition.duration'),\n outline-color dt('button.transition.duration'),\n box-shadow dt('button.transition.duration');\n border-radius: dt('button.border.radius');\n outline-color: transparent;\n gap: dt('button.gap');\n }\n\n .p-button:disabled {\n cursor: default;\n }\n\n .p-button-icon-right {\n order: 1;\n }\n\n .p-button-icon-right:dir(rtl) {\n order: -1;\n }\n\n .p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {\n order: 1;\n }\n\n .p-button-icon-bottom {\n order: 2;\n }\n\n .p-button-icon-only {\n width: dt('button.icon.only.width');\n padding-inline-start: 0;\n padding-inline-end: 0;\n gap: 0;\n }\n\n .p-button-icon-only.p-button-rounded {\n border-radius: 50%;\n height: dt('button.icon.only.width');\n }\n\n .p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n }\n\n .p-button-icon-only::after {\n content: \" \";\n visibility: hidden;\n width: 0;\n }\n\n .p-button-sm {\n font-size: dt('button.sm.font.size');\n padding: dt('button.sm.padding.y') dt('button.sm.padding.x');\n }\n\n .p-button-sm .p-button-icon {\n font-size: dt('button.sm.font.size');\n }\n\n .p-button-sm.p-button-icon-only {\n width: dt('button.sm.icon.only.width');\n }\n\n .p-button-sm.p-button-icon-only.p-button-rounded {\n height: dt('button.sm.icon.only.width');\n }\n\n .p-button-lg {\n font-size: dt('button.lg.font.size');\n padding: dt('button.lg.padding.y') dt('button.lg.padding.x');\n }\n\n .p-button-lg .p-button-icon {\n font-size: dt('button.lg.font.size');\n }\n\n .p-button-lg.p-button-icon-only {\n width: dt('button.lg.icon.only.width');\n }\n\n .p-button-lg.p-button-icon-only.p-button-rounded {\n height: dt('button.lg.icon.only.width');\n }\n\n .p-button-vertical {\n flex-direction: column;\n }\n\n .p-button-label {\n font-weight: dt('button.label.font.weight');\n }\n\n .p-button-fluid {\n width: 100%;\n }\n\n .p-button-fluid.p-button-icon-only {\n width: dt('button.icon.only.width');\n }\n\n .p-button:not(:disabled):hover {\n background: dt('button.primary.hover.background');\n border: 1px solid dt('button.primary.hover.border.color');\n color: dt('button.primary.hover.color');\n }\n\n .p-button:not(:disabled):active {\n background: dt('button.primary.active.background');\n border: 1px solid dt('button.primary.active.border.color');\n color: dt('button.primary.active.color');\n }\n\n .p-button:focus-visible {\n box-shadow: dt('button.primary.focus.ring.shadow');\n outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');\n outline-offset: dt('button.focus.ring.offset');\n }\n\n .p-button .p-badge {\n min-width: dt('button.badge.size');\n height: dt('button.badge.size');\n line-height: dt('button.badge.size');\n }\n\n .p-button-raised {\n box-shadow: dt('button.raised.shadow');\n }\n\n .p-button-rounded {\n border-radius: dt('button.rounded.border.radius');\n }\n\n .p-button-secondary {\n background: dt('button.secondary.background');\n border: 1px solid dt('button.secondary.border.color');\n color: dt('button.secondary.color');\n }\n\n .p-button-secondary:not(:disabled):hover {\n background: dt('button.secondary.hover.background');\n border: 1px solid dt('button.secondary.hover.border.color');\n color: dt('button.secondary.hover.color');\n }\n\n .p-button-secondary:not(:disabled):active {\n background: dt('button.secondary.active.background');\n border: 1px solid dt('button.secondary.active.border.color');\n color: dt('button.secondary.active.color');\n }\n\n .p-button-secondary:focus-visible {\n outline-color: dt('button.secondary.focus.ring.color');\n box-shadow: dt('button.secondary.focus.ring.shadow');\n }\n\n .p-button-success {\n background: dt('button.success.background');\n border: 1px solid dt('button.success.border.color');\n color: dt('button.success.color');\n }\n\n .p-button-success:not(:disabled):hover {\n background: dt('button.success.hover.background');\n border: 1px solid dt('button.success.hover.border.color');\n color: dt('button.success.hover.color');\n }\n\n .p-button-success:not(:disabled):active {\n background: dt('button.success.active.background');\n border: 1px solid dt('button.success.active.border.color');\n color: dt('button.success.active.color');\n }\n\n .p-button-success:focus-visible {\n outline-color: dt('button.success.focus.ring.color');\n box-shadow: dt('button.success.focus.ring.shadow');\n }\n\n .p-button-info {\n background: dt('button.info.background');\n border: 1px solid dt('button.info.border.color');\n color: dt('button.info.color');\n }\n\n .p-button-info:not(:disabled):hover {\n background: dt('button.info.hover.background');\n border: 1px solid dt('button.info.hover.border.color');\n color: dt('button.info.hover.color');\n }\n\n .p-button-info:not(:disabled):active {\n background: dt('button.info.active.background');\n border: 1px solid dt('button.info.active.border.color');\n color: dt('button.info.active.color');\n }\n\n .p-button-info:focus-visible {\n outline-color: dt('button.info.focus.ring.color');\n box-shadow: dt('button.info.focus.ring.shadow');\n }\n\n .p-button-warn {\n background: dt('button.warn.background');\n border: 1px solid dt('button.warn.border.color');\n color: dt('button.warn.color');\n }\n\n .p-button-warn:not(:disabled):hover {\n background: dt('button.warn.hover.background');\n border: 1px solid dt('button.warn.hover.border.color');\n color: dt('button.warn.hover.color');\n }\n\n .p-button-warn:not(:disabled):active {\n background: dt('button.warn.active.background');\n border: 1px solid dt('button.warn.active.border.color');\n color: dt('button.warn.active.color');\n }\n\n .p-button-warn:focus-visible {\n outline-color: dt('button.warn.focus.ring.color');\n box-shadow: dt('button.warn.focus.ring.shadow');\n }\n\n .p-button-help {\n background: dt('button.help.background');\n border: 1px solid dt('button.help.border.color');\n color: dt('button.help.color');\n }\n\n .p-button-help:not(:disabled):hover {\n background: dt('button.help.hover.background');\n border: 1px solid dt('button.help.hover.border.color');\n color: dt('button.help.hover.color');\n }\n\n .p-button-help:not(:disabled):active {\n background: dt('button.help.active.background');\n border: 1px solid dt('button.help.active.border.color');\n color: dt('button.help.active.color');\n }\n\n .p-button-help:focus-visible {\n outline-color: dt('button.help.focus.ring.color');\n box-shadow: dt('button.help.focus.ring.shadow');\n }\n\n .p-button-danger {\n background: dt('button.danger.background');\n border: 1px solid dt('button.danger.border.color');\n color: dt('button.danger.color');\n }\n\n .p-button-danger:not(:disabled):hover {\n background: dt('button.danger.hover.background');\n border: 1px solid dt('button.danger.hover.border.color');\n color: dt('button.danger.hover.color');\n }\n\n .p-button-danger:not(:disabled):active {\n background: dt('button.danger.active.background');\n border: 1px solid dt('button.danger.active.border.color');\n color: dt('button.danger.active.color');\n }\n\n .p-button-danger:focus-visible {\n outline-color: dt('button.danger.focus.ring.color');\n box-shadow: dt('button.danger.focus.ring.shadow');\n }\n\n .p-button-contrast {\n background: dt('button.contrast.background');\n border: 1px solid dt('button.contrast.border.color');\n color: dt('button.contrast.color');\n }\n\n .p-button-contrast:not(:disabled):hover {\n background: dt('button.contrast.hover.background');\n border: 1px solid dt('button.contrast.hover.border.color');\n color: dt('button.contrast.hover.color');\n }\n\n .p-button-contrast:not(:disabled):active {\n background: dt('button.contrast.active.background');\n border: 1px solid dt('button.contrast.active.border.color');\n color: dt('button.contrast.active.color');\n }\n\n .p-button-contrast:focus-visible {\n outline-color: dt('button.contrast.focus.ring.color');\n box-shadow: dt('button.contrast.focus.ring.shadow');\n }\n\n .p-button-outlined {\n background: transparent;\n border-color: dt('button.outlined.primary.border.color');\n color: dt('button.outlined.primary.color');\n }\n\n .p-button-outlined:not(:disabled):hover {\n background: dt('button.outlined.primary.hover.background');\n border-color: dt('button.outlined.primary.border.color');\n color: dt('button.outlined.primary.color');\n }\n\n .p-button-outlined:not(:disabled):active {\n background: dt('button.outlined.primary.active.background');\n border-color: dt('button.outlined.primary.border.color');\n color: dt('button.outlined.primary.color');\n }\n\n .p-button-outlined.p-button-secondary {\n border-color: dt('button.outlined.secondary.border.color');\n color: dt('button.outlined.secondary.color');\n }\n\n .p-button-outlined.p-button-secondary:not(:disabled):hover {\n background: dt('button.outlined.secondary.hover.background');\n border-color: dt('button.outlined.secondary.border.color');\n color: dt('button.outlined.secondary.color');\n }\n\n .p-button-outlined.p-button-secondary:not(:disabled):active {\n background: dt('button.outlined.secondary.active.background');\n border-color: dt('button.outlined.secondary.border.color');\n color: dt('button.outlined.secondary.color');\n }\n\n .p-button-outlined.p-button-success {\n border-color: dt('button.outlined.success.border.color');\n color: dt('button.outlined.success.color');\n }\n\n .p-button-outlined.p-button-success:not(:disabled):hover {\n background: dt('button.outlined.success.hover.background');\n border-color: dt('button.outlined.success.border.color');\n color: dt('button.outlined.success.color');\n }\n\n .p-button-outlined.p-button-success:not(:disabled):active {\n background: dt('button.outlined.success.active.background');\n border-color: dt('button.outlined.success.border.color');\n color: dt('button.outlined.success.color');\n }\n\n .p-button-outlined.p-button-info {\n border-color: dt('button.outlined.info.border.color');\n color: dt('button.outlined.info.color');\n }\n\n .p-button-outlined.p-button-info:not(:disabled):hover {\n background: dt('button.outlined.info.hover.background');\n border-color: dt('button.outlined.info.border.color');\n color: dt('button.outlined.info.color');\n }\n\n .p-button-outlined.p-button-info:not(:disabled):active {\n background: dt('button.outlined.info.active.background');\n border-color: dt('button.outlined.info.border.color');\n color: dt('button.outlined.info.color');\n }\n\n .p-button-outlined.p-button-warn {\n border-color: dt('button.outlined.warn.border.color');\n color: dt('button.outlined.warn.color');\n }\n\n .p-button-outlined.p-button-warn:not(:disabled):hover {\n background: dt('button.outlined.warn.hover.background');\n border-color: dt('button.outlined.warn.border.color');\n color: dt('button.outlined.warn.color');\n }\n\n .p-button-outlined.p-button-warn:not(:disabled):active {\n background: dt('button.outlined.warn.active.background');\n border-color: dt('button.outlined.warn.border.color');\n color: dt('button.outlined.warn.color');\n }\n\n .p-button-outlined.p-button-help {\n border-color: dt('button.outlined.help.border.color');\n color: dt('button.outlined.help.color');\n }\n\n .p-button-outlined.p-button-help:not(:disabled):hover {\n background: dt('button.outlined.help.hover.background');\n border-color: dt('button.outlined.help.border.color');\n color: dt('button.outlined.help.color');\n }\n\n .p-button-outlined.p-button-help:not(:disabled):active {\n background: dt('button.outlined.help.active.background');\n border-color: dt('button.outlined.help.border.color');\n color: dt('button.outlined.help.color');\n }\n\n .p-button-outlined.p-button-danger {\n border-color: dt('button.outlined.danger.border.color');\n color: dt('button.outlined.danger.color');\n }\n\n .p-button-outlined.p-button-danger:not(:disabled):hover {\n background: dt('button.outlined.danger.hover.background');\n border-color: dt('button.outlined.danger.border.color');\n color: dt('button.outlined.danger.color');\n }\n\n .p-button-outlined.p-button-danger:not(:disabled):active {\n background: dt('button.outlined.danger.active.background');\n border-color: dt('button.outlined.danger.border.color');\n color: dt('button.outlined.danger.color');\n }\n\n .p-button-outlined.p-button-contrast {\n border-color: dt('button.outlined.contrast.border.color');\n color: dt('button.outlined.contrast.color');\n }\n\n .p-button-outlined.p-button-contrast:not(:disabled):hover {\n background: dt('button.outlined.contrast.hover.background');\n border-color: dt('button.outlined.contrast.border.color');\n color: dt('button.outlined.contrast.color');\n }\n\n .p-button-outlined.p-button-contrast:not(:disabled):active {\n background: dt('button.outlined.contrast.active.background');\n border-color: dt('button.outlined.contrast.border.color');\n color: dt('button.outlined.contrast.color');\n }\n\n .p-button-outlined.p-button-plain {\n border-color: dt('button.outlined.plain.border.color');\n color: dt('button.outlined.plain.color');\n }\n\n .p-button-outlined.p-button-plain:not(:disabled):hover {\n background: dt('button.outlined.plain.hover.background');\n border-color: dt('button.outlined.plain.border.color');\n color: dt('button.outlined.plain.color');\n }\n\n .p-button-outlined.p-button-plain:not(:disabled):active {\n background: dt('button.outlined.plain.active.background');\n border-color: dt('button.outlined.plain.border.color');\n color: dt('button.outlined.plain.color');\n }\n\n .p-button-text {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.primary.color');\n }\n\n .p-button-text:not(:disabled):hover {\n background: dt('button.text.primary.hover.background');\n border-color: transparent;\n color: dt('button.text.primary.color');\n }\n\n .p-button-text:not(:disabled):active {\n background: dt('button.text.primary.active.background');\n border-color: transparent;\n color: dt('button.text.primary.color');\n }\n\n .p-button-text.p-button-secondary {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.secondary.color');\n }\n\n .p-button-text.p-button-secondary:not(:disabled):hover {\n background: dt('button.text.secondary.hover.background');\n border-color: transparent;\n color: dt('button.text.secondary.color');\n }\n\n .p-button-text.p-button-secondary:not(:disabled):active {\n background: dt('button.text.secondary.active.background');\n border-color: transparent;\n color: dt('button.text.secondary.color');\n }\n\n .p-button-text.p-button-success {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.success.color');\n }\n\n .p-button-text.p-button-success:not(:disabled):hover {\n background: dt('button.text.success.hover.background');\n border-color: transparent;\n color: dt('button.text.success.color');\n }\n\n .p-button-text.p-button-success:not(:disabled):active {\n background: dt('button.text.success.active.background');\n border-color: transparent;\n color: dt('button.text.success.color');\n }\n\n .p-button-text.p-button-info {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.info.color');\n }\n\n .p-button-text.p-button-info:not(:disabled):hover {\n background: dt('button.text.info.hover.background');\n border-color: transparent;\n color: dt('button.text.info.color');\n }\n\n .p-button-text.p-button-info:not(:disabled):active {\n background: dt('button.text.info.active.background');\n border-color: transparent;\n color: dt('button.text.info.color');\n }\n\n .p-button-text.p-button-warn {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.warn.color');\n }\n\n .p-button-text.p-button-warn:not(:disabled):hover {\n background: dt('button.text.warn.hover.background');\n border-color: transparent;\n color: dt('button.text.warn.color');\n }\n\n .p-button-text.p-button-warn:not(:disabled):active {\n background: dt('button.text.warn.active.background');\n border-color: transparent;\n color: dt('button.text.warn.color');\n }\n\n .p-button-text.p-button-help {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.help.color');\n }\n\n .p-button-text.p-button-help:not(:disabled):hover {\n background: dt('button.text.help.hover.background');\n border-color: transparent;\n color: dt('button.text.help.color');\n }\n\n .p-button-text.p-button-help:not(:disabled):active {\n background: dt('button.text.help.active.background');\n border-color: transparent;\n color: dt('button.text.help.color');\n }\n\n .p-button-text.p-button-danger {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.danger.color');\n }\n\n .p-button-text.p-button-danger:not(:disabled):hover {\n background: dt('button.text.danger.hover.background');\n border-color: transparent;\n color: dt('button.text.danger.color');\n }\n\n .p-button-text.p-button-danger:not(:disabled):active {\n background: dt('button.text.danger.active.background');\n border-color: transparent;\n color: dt('button.text.danger.color');\n }\n\n .p-button-text.p-button-contrast {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.contrast.color');\n }\n\n .p-button-text.p-button-contrast:not(:disabled):hover {\n background: dt('button.text.contrast.hover.background');\n border-color: transparent;\n color: dt('button.text.contrast.color');\n }\n\n .p-button-text.p-button-contrast:not(:disabled):active {\n background: dt('button.text.contrast.active.background');\n border-color: transparent;\n color: dt('button.text.contrast.color');\n }\n\n .p-button-text.p-button-plain {\n background: transparent;\n border-color: transparent;\n color: dt('button.text.plain.color');\n }\n\n .p-button-text.p-button-plain:not(:disabled):hover {\n background: dt('button.text.plain.hover.background');\n border-color: transparent;\n color: dt('button.text.plain.color');\n }\n\n .p-button-text.p-button-plain:not(:disabled):active {\n background: dt('button.text.plain.active.background');\n border-color: transparent;\n color: dt('button.text.plain.color');\n }\n\n .p-button-link {\n background: transparent;\n border-color: transparent;\n color: dt('button.link.color');\n }\n\n .p-button-link:not(:disabled):hover {\n background: transparent;\n border-color: transparent;\n color: dt('button.link.hover.color');\n }\n\n .p-button-link:not(:disabled):hover .p-button-label {\n text-decoration: underline;\n }\n\n .p-button-link:not(:disabled):active {\n background: transparent;\n border-color: transparent;\n color: dt('button.link.active.color');\n }\n";classes=B;static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵprov=s.jDH({token:t,factory:t.ɵfac})}return t})();const U=new s.nKC("BUTTON_INSTANCE"),W=new s.nKC("BUTTON_DIRECTIVE_INSTANCE"),G=new s.nKC("BUTTON_LABEL_INSTANCE"),q=new s.nKC("BUTTON_ICON_INSTANCE"),Q={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"};let Z=(()=>{class t extends p.$G{componentName="ButtonLabel";ptButtonLabel=(0,a.hFB)();pButtonLabelPT=(0,a.hFB)();pButtonLabelUnstyled=(0,a.hFB)();$pcButtonLabel=(0,s.WQX)(G,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(f.Y,{self:!0});constructor(){super(),(0,s.QZP)(()=>{const t=this.ptButtonLabel()||this.pButtonLabelPT();t&&this.directivePT.set(t)}),(0,s.QZP)(()=>{this.pButtonLabelUnstyled()&&this.directiveUnstyled.set(this.pButtonLabelUnstyled())})}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}static ɵfac=function(e){return new(e||t)};static ɵdir=i.FsC({type:t,selectors:[["","pButtonLabel",""]],hostVars:2,hostBindings:function(t,e){2&t&&i.AVh("p-button-label",!e.$unstyled()&&!0)},inputs:{ptButtonLabel:[1,"ptButtonLabel"],pButtonLabelPT:[1,"pButtonLabelPT"],pButtonLabelUnstyled:[1,"pButtonLabelUnstyled"]},features:[i.Jv_([V,{provide:G,useExisting:t},{provide:p.bt,useExisting:t}]),i.nM4([f.Y]),i.Vt3]})}return t})(),X=(()=>{class t extends p.$G{componentName="ButtonIcon";ptButtonIcon=(0,a.hFB)();pButtonIconPT=(0,a.hFB)();pButtonUnstyled=(0,a.hFB)();$pcButtonIcon=(0,s.WQX)(q,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(f.Y,{self:!0});constructor(){super(),(0,s.QZP)(()=>{const t=this.ptButtonIcon()||this.pButtonIconPT();t&&this.directivePT.set(t)}),(0,s.QZP)(()=>{this.pButtonUnstyled()&&this.directiveUnstyled.set(this.pButtonUnstyled())})}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}static ɵfac=function(e){return new(e||t)};static ɵdir=i.FsC({type:t,selectors:[["","pButtonIcon",""]],hostVars:2,hostBindings:function(t,e){2&t&&i.AVh("p-button-icon",!e.$unstyled()&&!0)},inputs:{ptButtonIcon:[1,"ptButtonIcon"],pButtonIconPT:[1,"pButtonIconPT"],pButtonUnstyled:[1,"pButtonUnstyled"]},features:[i.Jv_([V,{provide:q,useExisting:t},{provide:p.bt,useExisting:t}]),i.nM4([f.Y]),i.Vt3]})}return t})(),Y=(()=>{class t extends p.$G{componentName="Button";$pcButtonDirective=(0,s.WQX)(W,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(f.Y,{self:!0});_componentStyle=(0,s.WQX)(V);ptButtonDirective=(0,a.hFB)();pButtonPT=(0,a.hFB)();pButtonUnstyled=(0,a.hFB)();hostName="";onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("root"))}constructor(){super(),(0,s.QZP)(()=>{const t=this.ptButtonDirective()||this.pButtonPT();t&&this.directivePT.set(t)}),(0,s.QZP)(()=>{this.pButtonUnstyled()&&this.directiveUnstyled.set(this.pButtonUnstyled())}),(0,s.QZP)(()=>{const t=this.$unstyled();this.initialized&&t&&this.setStyleClass()})}text=!1;plain=!1;raised=!1;size;outlined=!1;rounded=!1;iconPos="left";loadingIcon;fluid=(0,a.hFB)(void 0,{transform:a.L39});iconSignal=(0,a.sbv)(X);labelSignal=(0,a.sbv)(Z);isIconOnly=(0,l.EW)(()=>!(this.labelSignal()||!this.iconSignal()));_label;_icon;_loading=!1;_severity;_buttonProps;initialized;get htmlElement(){return this.el.nativeElement}_internalClasses=Object.values(Q);pcFluid=(0,s.WQX)(S.Tc,{optional:!0,host:!0,skipSelf:!0});isTextButton=(0,l.EW)(()=>!(this.iconSignal()||!this.labelSignal()||!this.text));get label(){return this._label}set label(t){this._label=t,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(t){this._icon=t,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(t){this._loading=t,this.initialized&&(this.updateIcon(),this.setStyleClass())}get buttonProps(){return this._buttonProps}set buttonProps(t){this._buttonProps=t,t&&"object"==typeof t&&Object.entries(t).forEach(([t,e])=>this[`_${t}`]!==e&&(this[`_${t}`]=e))}get severity(){return this._severity}set severity(t){this._severity=t,this.initialized&&this.setStyleClass()}spinnerIcon='<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" class="p-icon-spin">\n <g clip-path="url(#clip0_417_21408)">\n <path\n d="M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z"\n fill="currentColor"\n />\n </g>\n <defs>\n <clipPath id="clip0_417_21408">\n <rect width="14" height="14" fill="white" />\n </clipPath>\n </defs>\n </svg>';onAfterViewInit(){!this.$unstyled()&&(0,c.iQ)(this.htmlElement,this.getStyleClass().join(" ")),(0,o.UE)(this.platformId)&&(this.createIcon(),this.createLabel(),this.initialized=!0)}getStyleClass(){const t=[Q.button,Q.component];return this.icon&&!this.label&&(0,u.Im)(this.htmlElement.textContent)&&t.push(Q.iconOnly),this.loading&&(t.push(Q.disabled,Q.loading),!this.icon&&this.label&&t.push(Q.labelOnly),this.icon&&!this.label&&!(0,u.Im)(this.htmlElement.textContent)&&t.push(Q.iconOnly)),this.text&&t.push("p-button-text"),this.severity&&t.push(`p-button-${this.severity}`),this.plain&&t.push("p-button-plain"),this.raised&&t.push("p-button-raised"),this.size&&t.push(`p-button-${this.size}`),this.outlined&&t.push("p-button-outlined"),this.rounded&&t.push("p-button-rounded"),"small"===this.size&&t.push("p-button-sm"),"large"===this.size&&t.push("p-button-lg"),this.hasFluid&&t.push("p-button-fluid"),this.$unstyled()?[]:t}get hasFluid(){return this.fluid()??!!this.pcFluid}setStyleClass(){const t=this.getStyleClass();this.removeExistingSeverityClass(),this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...t)}removeExistingSeverityClass(){const t=["success","info","warn","danger","help","primary","secondary","contrast"],e=this.htmlElement.classList.value.split(" ").find(e=>t.some(t=>e===`p-button-${t}`));e&&this.htmlElement.classList.remove(e)}createLabel(){if(!(0,c.kc)(this.htmlElement,'[data-pc-section="buttonlabel"]')&&this.label){let t=(0,c.n)("span",{class:this.cx("label"),"p-bind":this.ptm("buttonlabel"),"aria-hidden":this.icon&&!this.label?"true":null});t.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(t)}}createIcon(){if(!(0,c.kc)(this.htmlElement,'[data-pc-section="buttonicon"]')&&(this.icon||this.loading)){let t=this.label&&!this.$unstyled()?"p-button-icon-"+this.iconPos:null,e=!this.$unstyled()&&this.getIconClass(),n=(0,c.n)("span",{class:this.cn(this.cx("icon"),t,e),"aria-hidden":"true","p-bind":this.ptm("buttonicon")});!this.loadingIcon&&this.loading&&(n.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(n,this.htmlElement.firstChild)}}updateLabel(){let t=(0,c.kc)(this.htmlElement,'[data-pc-section="buttonlabel"]');this.label?t?t.textContent=this.label:this.createLabel():t&&this.htmlElement.removeChild(t)}updateIcon(){let t=(0,c.kc)(this.htmlElement,'[data-pc-section="buttonicon"]'),e=(0,c.kc)(this.htmlElement,'[data-pc-section="buttonlabel"]');this.loading&&!this.loadingIcon&&t?t.innerHTML=this.spinnerIcon:t?.innerHTML&&(t.innerHTML=""),t&&!this.$unstyled()?t.className=this.iconPos?"p-button-icon "+(e?"p-button-icon-"+this.iconPos:"")+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon()}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this.icon||"p-hidden"}onDestroy(){this.initialized=!1}static ɵfac=function(e){return new(e||t)};static ɵdir=i.FsC({type:t,selectors:[["","pButton",""]],contentQueries:function(t,e,n){1&t&&i.C6U(n,e.iconSignal,X,5)(n,e.labelSignal,Z,5),2&t&&i.NyB(2)},hostVars:4,hostBindings:function(t,e){2&t&&i.AVh("p-button-icon-only",!e.$unstyled()&&e.isIconOnly())("p-button-text",!e.$unstyled()&&e.isTextButton())},inputs:{ptButtonDirective:[1,"ptButtonDirective"],pButtonPT:[1,"pButtonPT"],pButtonUnstyled:[1,"pButtonUnstyled"],hostName:"hostName",text:[2,"text","text",a.L39],plain:[2,"plain","plain",a.L39],raised:[2,"raised","raised",a.L39],size:"size",outlined:[2,"outlined","outlined",a.L39],rounded:[2,"rounded","rounded",a.L39],iconPos:"iconPos",loadingIcon:"loadingIcon",fluid:[1,"fluid"],label:"label",icon:"icon",loading:"loading",buttonProps:"buttonProps",severity:"severity"},features:[i.Jv_([V,{provide:W,useExisting:t},{provide:p.bt,useExisting:t}]),i.nM4([f.Y]),i.Vt3]})}return t})(),K=(()=>{class t extends p.$G{componentName="Button";hostName="";$pcButton=(0,s.WQX)(U,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(f.Y,{self:!0});_componentStyle=(0,s.WQX)(V);onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}type="button";badge;disabled;raised=!1;rounded=!1;text=!1;plain=!1;outlined=!1;link=!1;tabindex;size;variant;style;styleClass;badgeClass;badgeSeverity="secondary";ariaLabel;autofocus;iconPos="left";icon;label;loading=!1;loadingIcon;severity;buttonProps;fluid=(0,a.hFB)(void 0,{transform:a.L39});onClick=new s.bkB;onFocus=new s.bkB;onBlur=new s.bkB;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=(0,s.WQX)(S.Tc,{optional:!0,host:!0,skipSelf:!0});get hasFluid(){return this.fluid()??!!this.pcFluid}get hasIcon(){return this.icon||this.buttonProps?.icon||this.iconTemplate||this._iconTemplate||this.loadingIcon||this.loadingIconTemplate||this._loadingIconTemplate}_contentTemplate;_iconTemplate;_loadingIconTemplate;onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"content":default:this._contentTemplate=t.template;break;case"icon":this._iconTemplate=t.template;break;case"loadingicon":this._loadingIconTemplate=t.template}})}get dataP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge,loading:this.loading,fluid:this.hasFluid,rounded:this.rounded,raised:this.raised,outlined:this.outlined||"outlined"===this.variant,text:this.text||"text"===this.variant,link:this.link,vertical:("top"===this.iconPos||"bottom"===this.iconPos)&&this.label})}get dataIconP(){return this.cn({[this.iconPos]:this.iconPos,[this.size]:this.size})}get dataLabelP(){return this.cn({[this.size]:this.size,"icon-only":this.hasIcon&&!this.label&&!this.badge})}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵcmp=i.VBU({type:t,selectors:[["p-button"]],contentQueries:function(t,e,n){if(1&t&&i.wni(n,k,5)(n,x,5)(n,T,5)(n,d.Ei,4),2&t){let t;i.mGM(t=i.lsd())&&(e.contentTemplate=t.first),i.mGM(t=i.lsd())&&(e.loadingIconTemplate=t.first),i.mGM(t=i.lsd())&&(e.iconTemplate=t.first),i.mGM(t=i.lsd())&&(e.templates=t)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",a.L39],raised:[2,"raised","raised",a.L39],rounded:[2,"rounded","rounded",a.L39],text:[2,"text","text",a.L39],plain:[2,"plain","plain",a.L39],outlined:[2,"outlined","outlined",a.L39],link:[2,"link","link",a.L39],tabindex:[2,"tabindex","tabindex",a.Udg],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",a.L39],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",a.L39],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[i.Jv_([V,{provide:U,useExisting:t},{provide:p.bt,useExisting:t}]),i.nM4([f.Y]),i.Vt3],ngContentSelectors:E,decls:7,vars:17,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","pAutoFocus","pBind"],[4,"ngTemplateOutlet"],[4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"value","severity","pt","unstyled",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-p-icon","spinner",3,"class","pBind","spin",4,"ngIf"],[3,"pBind"],["data-p-icon","spinner",3,"pBind","spin"],[3,"ngIf"],[3,"value","severity","pt","unstyled"]],template:function(t,e){1&t&&(i.NAR(),i.j41(0,"button",0),i.bIt("click",function(t){return e.onClick.emit(t)})("focus",function(t){return e.onFocus.emit(t)})("blur",function(t){return e.onBlur.emit(t)}),i.SdG(1),i.DNE(2,I,1,0,"ng-container",1)(3,N,3,6,"ng-container",2)(4,$,3,6,"ng-container",2)(5,z,2,6,"span",3)(6,H,1,4,"p-badge",4),i.k0s()),2&t&&(i.HbH(e.cn(e.cx("root"),e.styleClass,null==e.buttonProps?null:e.buttonProps.styleClass)),i.Y8G("ngStyle",e.style||(null==e.buttonProps?null:e.buttonProps.style))("disabled",e.disabled||e.loading||(null==e.buttonProps?null:e.buttonProps.disabled))("pAutoFocus",e.autofocus||(null==e.buttonProps?null:e.buttonProps.autofocus))("pBind",e.ptm("root")),i.BMQ("type",e.type||(null==e.buttonProps?null:e.buttonProps.type))("aria-label",e.ariaLabel||(null==e.buttonProps?null:e.buttonProps.ariaLabel))("tabindex",e.tabindex||(null==e.buttonProps?null:e.buttonProps.tabindex))("data-p",e.dataP)("data-p-disabled",e.disabled||e.loading||(null==e.buttonProps?null:e.buttonProps.disabled))("data-p-severity",e.severity||(null==e.buttonProps?null:e.buttonProps.severity)),i.R7$(2),i.Y8G("ngTemplateOutlet",e.contentTemplate||e._contentTemplate),i.R7$(),i.Y8G("ngIf",e.loading||(null==e.buttonProps?null:e.buttonProps.loading)),i.R7$(),i.Y8G("ngIf",!(e.loading||null!=e.buttonProps&&e.buttonProps.loading)),i.R7$(),i.Y8G("ngIf",!e.contentTemplate&&!e._contentTemplate&&(e.label||(null==e.buttonProps?null:e.buttonProps.label))),i.R7$(),i.Y8G("ngIf",!e.contentTemplate&&!e._contentTemplate&&(e.badge||(null==e.buttonProps?null:e.buttonProps.badge))))},dependencies:[r.MD,r.bT,r.T3,r.B3,_.n0,h.q,C.N,w,v,d.Gg,f.Y],encapsulation:2,changeDetection:0})}return t})(),J=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=i.$C({type:t});static ɵinj=s.G2t({imports:[r.MD,K,d.Gg,d.Gg]})}return t})()},3818(t,e,n){n.d(e,{tl:()=>d,wG:()=>p});var r=n(6268),o=n(6817),i=n(5697),s=n(3828),a=n(8447),l=n(5396),c=n(8980);let u=(()=>{class t{theme=(0,o.vPA)(void 0);csp=(0,o.vPA)({nonce:void 0});isThemeChanged=!1;document=(0,o.WQX)(o.qQL);baseStyle=(0,o.WQX)(c.j);constructor(){(0,o.QZP)(()=>{l.Fs.on("theme:change",t=>{(0,i.O8)(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),(0,o.QZP)(()=>{const t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){l.Sx.clearLoadedStyleNames(),l.Fs.clear()}onThemeChange(t){l.Sx.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if("none"!==this.theme()&&!l.Sx.isStyleNameLoaded("common")){const{primitive:t,semantic:e,global:n,style:r}=this.baseStyle.getCommonTheme?.()||{},o={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,{name:"primitive-variables",...o}),this.baseStyle.load(e?.css,{name:"semantic-variables",...o}),this.baseStyle.load(n?.css,{name:"global-variables",...o}),this.baseStyle.loadBaseStyle({name:"global-style",...o},r),l.Sx.setLoadedStyleName("common")}}setThemeConfig(t){const{theme:e,csp:n}=t||{};e&&this.theme.set(e),n&&this.csp.set(n)}static ɵfac=function(e){return new(e||t)};static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),d=(()=>{class t extends u{ripple=(0,o.vPA)(!1);platformId=(0,o.WQX)(r.Agw);inputStyle=(0,o.vPA)(null);inputVariant=(0,o.vPA)(null);overlayAppendTo=(0,o.vPA)("self");overlayOptions={};csp=(0,o.vPA)({nonce:void 0});unstyled=(0,o.vPA)(void 0);pt=(0,o.vPA)(void 0);ptOptions=(0,o.vPA)(void 0);filterMatchModeOptions={text:[s.Rn.STARTS_WITH,s.Rn.CONTAINS,s.Rn.NOT_CONTAINS,s.Rn.ENDS_WITH,s.Rn.EQUALS,s.Rn.NOT_EQUALS],numeric:[s.Rn.EQUALS,s.Rn.NOT_EQUALS,s.Rn.LESS_THAN,s.Rn.LESS_THAN_OR_EQUAL_TO,s.Rn.GREATER_THAN,s.Rn.GREATER_THAN_OR_EQUAL_TO],date:[s.Rn.DATE_IS,s.Rn.DATE_IS_NOT,s.Rn.DATE_BEFORE,s.Rn.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",completed:"Completed",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"Search results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",fileChosenMessage:"Files",noFileChosenMessage:"No file chosen",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List",selectColor:"Select a color",removeLabel:"Remove",browseFiles:"Browse Files",maximizeLabel:"Maximize",minimizeLabel:"Minimize"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new a.B;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation={...this.translation,...t},this.translationSource.next(this.translation)}setConfig(t){const{csp:e,ripple:n,inputStyle:r,inputVariant:o,theme:i,overlayOptions:s,translation:a,filterMatchModeOptions:l,overlayAppendTo:c,zIndex:u,ptOptions:d,pt:h,unstyled:p}=t||{};e&&this.csp.set(e),c&&this.overlayAppendTo.set(c),n&&this.ripple.set(n),r&&this.inputStyle.set(r),o&&this.inputVariant.set(o),s&&(this.overlayOptions=s),a&&this.setTranslation(a),l&&(this.filterMatchModeOptions=l),u&&(this.zIndex=u),h&&this.pt.set(h),d&&this.ptOptions.set(d),p&&this.unstyled.set(p),i&&this.setThemeConfig({theme:i,csp:e})}static ɵfac=(()=>{let e;return function(n){return(e||(e=r.xGo(t)))(n||t)}})();static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const h=new o.nKC("PRIME_NG_CONFIG");function p(...t){const e=t?.map(t=>({provide:h,useValue:t,multi:!1})),n=(0,r.phd)(()=>{const e=(0,o.WQX)(d);t?.forEach(t=>e.setConfig(t))});return(0,o.EmA)([...e,n])}},8817(t,e,n){n.d(e,{TM:()=>ct,FP:()=>ut});var r=n(6868),o=n(6268),i=n(6817),s=n(6860),a=n(5697),l=n(4057),c=n(9798),u=n(3828),d=n(6484),h=n(7277),p=n(731),f=n(5825),g=n(8980);const m=["header"],y=["footer"],b=["rejecticon"],v=["accepticon"],w=["message"],S=["icon"],C=["headless"],_=[[["p-footer"]]],k=["p-footer"],x=(t,e,n)=>({$implicit:t,onAccept:e,onReject:n}),T=t=>({$implicit:t});function E(t,e){1&t&&o.eu8(0)}function A(t,e){if(1&t&&o.DNE(0,E,1,0,"ng-container",7),2&t){const t=o.XpG(2);o.Y8G("ngTemplateOutlet",t.headlessTemplate||t._headlessTemplate)("ngTemplateOutletContext",o.sMw(2,x,t.confirmation,t.onAccept.bind(t),t.onReject.bind(t)))}}function I(t,e){1&t&&o.DNE(0,A,1,6,"ng-template",null,2,o.C5r)}function O(t,e){1&t&&o.eu8(0)}function L(t,e){if(1&t&&o.DNE(0,O,1,0,"ng-container",8),2&t){const t=o.XpG(3);o.Y8G("ngTemplateOutlet",t.headerTemplate||t._headerTemplate)}}function D(t,e){1&t&&o.DNE(0,L,1,1,"ng-template",null,4,o.C5r)}function P(t,e){}function R(t,e){1&t&&o.DNE(0,P,0,0,"ng-template")}function N(t,e){if(1&t&&o.DNE(0,R,1,0,null,8),2&t){const t=o.XpG(3);o.Y8G("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)}}function M(t,e){if(1&t&&o.nrm(0,"i",12),2&t){const t=o.XpG(4);o.HbH(t.option("icon")),o.Y8G("ngClass",t.cx("icon"))("pBind",t.ptm("icon"))}}function j(t,e){if(1&t&&o.DNE(0,M,1,4,"i",11),2&t){const t=o.XpG(3);o.Y8G("ngIf",t.option("icon"))}}function F(t,e){}function $(t,e){1&t&&o.DNE(0,F,0,0,"ng-template")}function z(t,e){if(1&t&&o.DNE(0,$,1,0,null,7),2&t){const t=o.XpG(3);o.Y8G("ngTemplateOutlet",t.messageTemplate||t._messageTemplate)("ngTemplateOutletContext",o.eq3(2,T,t.confirmation))}}function H(t,e){if(1&t&&o.nrm(0,"span",13),2&t){const t=o.XpG(3);o.HbH(t.cx("message")),o.Y8G("pBind",t.ptm("message"))("innerHTML",t.option("message"),o.npT)}}function B(t,e){if(1&t&&(o.nVh(0,N,1,1)(1,j,1,1,"i",9),o.nVh(2,z,1,4)(3,H,1,4,"span",10)),2&t){const t=o.XpG(2);o.vxM(t.iconTemplate||t._iconTemplate?0:t.iconTemplate||t._iconTemplate||t._messageTemplate||t.messageTemplate?-1:1),o.R7$(2),o.vxM(t.messageTemplate||t._messageTemplate?2:3)}}function V(t,e){if(1&t&&(o.nVh(0,D,2,0),o.DNE(1,B,4,2,"ng-template",null,3,o.C5r)),2&t){const t=o.XpG();o.vxM(t.headerTemplate||t._headerTemplate?0:-1)}}function U(t,e){1&t&&o.eu8(0)}function W(t,e){if(1&t&&(o.SdG(0),o.DNE(1,U,1,0,"ng-container",8)),2&t){const t=o.XpG(2);o.R7$(),o.Y8G("ngTemplateOutlet",t.footerTemplate||t._footerTemplate)}}function G(t,e){if(1&t&&o.nrm(0,"i",18),2&t){const t=o.XpG(6);o.HbH(t.option("rejectIcon")),o.Y8G("pBind",t.ptm("pcRejectButton").icon)}}function q(t,e){if(1&t&&o.DNE(0,G,1,3,"i",17),2&t){const t=o.XpG(5);o.Y8G("ngIf",t.option("rejectIcon"))}}function Q(t,e){}function Z(t,e){1&t&&o.DNE(0,Q,0,0,"ng-template")}function X(t,e){if(1&t&&(o.nVh(0,q,1,1,"i",16),o.DNE(1,Z,1,0,null,8)),2&t){const t=o.XpG(4);o.vxM(!t.rejectIcon||t.rejectIconTemplate||t._rejectIconTemplate?-1:0),o.R7$(),o.Y8G("ngTemplateOutlet",t.rejectIconTemplate||t._rejectIconTemplate)}}function Y(t,e){if(1&t){const t=o.RV6();o.j41(0,"p-button",15),o.bIt("onClick",function(){i.eBV(t);const e=o.XpG(3);return i.Njj(e.onReject())}),o.DNE(1,X,2,2,"ng-template",null,5,o.C5r),o.k0s()}if(2&t){const t=o.XpG(3);o.Y8G("pt",t.ptm("pcRejectButton"))("label",t.rejectButtonLabel)("styleClass",t.getButtonStyleClass("pcRejectButton","rejectButtonStyleClass"))("ariaLabel",t.option("rejectButtonProps","ariaLabel"))("buttonProps",t.getRejectButtonProps())("unstyled",t.unstyled())}}function K(t,e){if(1&t&&o.nrm(0,"i",18),2&t){const t=o.XpG(6);o.HbH(t.option("acceptIcon")),o.Y8G("pBind",t.ptm("pcAcceptButton").icon)}}function J(t,e){if(1&t&&o.DNE(0,K,1,3,"i",17),2&t){const t=o.XpG(5);o.Y8G("ngIf",t.option("acceptIcon"))}}function tt(t,e){}function et(t,e){1&t&&o.DNE(0,tt,0,0,"ng-template")}function nt(t,e){if(1&t&&(o.nVh(0,J,1,1,"i",16),o.DNE(1,et,1,0,null,8)),2&t){const t=o.XpG(4);o.vxM(!t.acceptIcon||t._acceptIconTemplate||t.acceptIconTemplate?-1:0),o.R7$(),o.Y8G("ngTemplateOutlet",t.acceptIconTemplate||t._acceptIconTemplate)}}function rt(t,e){if(1&t){const t=o.RV6();o.j41(0,"p-button",15),o.bIt("onClick",function(){i.eBV(t);const e=o.XpG(3);return i.Njj(e.onAccept())}),o.DNE(1,nt,2,2,"ng-template",null,5,o.C5r),o.k0s()}if(2&t){const t=o.XpG(3);o.Y8G("pt",t.ptm("pcAcceptButton"))("label",t.acceptButtonLabel)("styleClass",t.getButtonStyleClass("pcAcceptButton","acceptButtonStyleClass"))("ariaLabel",t.option("acceptButtonProps","ariaLabel"))("buttonProps",t.getAcceptButtonProps())("unstyled",t.unstyled())}}function ot(t,e){if(1&t&&o.DNE(0,Y,3,6,"p-button",14)(1,rt,3,6,"p-button",14),2&t){const t=o.XpG(2);o.Y8G("ngIf",t.option("rejectVisible")),o.R7$(),o.Y8G("ngIf",t.option("acceptVisible"))}}function it(t,e){if(1&t&&(o.nVh(0,W,2,1),o.nVh(1,ot,2,2)),2&t){const t=o.XpG();o.vxM(t.footerTemplate||t._footerTemplate?0:-1),o.R7$(),o.vxM(t.footerTemplate||t._footerTemplate?-1:1)}}const st={root:"p-confirmdialog",icon:"p-confirmdialog-icon",message:"p-confirmdialog-message",pcRejectButton:"p-confirmdialog-reject-button",pcAcceptButton:"p-confirmdialog-accept-button"};let at=(()=>{class t extends g.j{name="confirmdialog";style="\n .p-confirmdialog .p-dialog-content {\n display: flex;\n align-items: center;\n gap: dt('confirmdialog.content.gap');\n }\n\n .p-confirmdialog-icon {\n color: dt('confirmdialog.icon.color');\n font-size: dt('confirmdialog.icon.size');\n width: dt('confirmdialog.icon.size');\n height: dt('confirmdialog.icon.size');\n }\n";classes=st;static ɵfac=(()=>{let e;return function(n){return(e||(e=o.xGo(t)))(n||t)}})();static ɵprov=i.jDH({token:t,factory:t.ɵfac})}return t})();const lt=new i.nKC("CONFIRMDIALOG_INSTANCE");let ct=(()=>{class t extends d.$G{confirmationService;zone;componentName="ConfirmDialog";$pcConfirmDialog=(0,i.WQX)(lt,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,i.WQX)(h.Y,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}header;icon;message;get style(){return this._style}set style(t){this._style=t,this.cd.markForCheck()}styleClass;maskStyleClass;acceptIcon;acceptLabel;closeAriaLabel;acceptAriaLabel;acceptVisible=!0;rejectIcon;rejectLabel;rejectAriaLabel;rejectVisible=!0;acceptButtonStyleClass;rejectButtonStyleClass;closeOnEscape=!0;dismissableMask;blockScroll=!0;rtl=!1;closable=!0;appendTo=(0,s.hFB)("body");key;autoZIndex=!0;baseZIndex=0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";focusTrap=!0;defaultFocus="accept";breakpoints;modal=!0;get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.maskVisible&&(this.maskVisible=!0),this.cd.markForCheck()}position="center";draggable=!0;onHide=new i.bkB;footer;_componentStyle=(0,i.WQX)(at);headerTemplate;footerTemplate;rejectIconTemplate;acceptIconTemplate;messageTemplate;iconTemplate;headlessTemplate;templates;$appendTo=(0,a.EW)(()=>this.appendTo()||this.config.overlayAppendTo());_headerTemplate;_footerTemplate;_rejectIconTemplate;_acceptIconTemplate;_messageTemplate;_iconTemplate;_headlessTemplate;confirmation;_visible;_style;maskVisible;dialog;wrapper;contentContainer;subscription;preWidth;styleElement;id=(0,l.u)("pn_id_");ariaLabelledBy=this.getAriaLabelledBy();translationSubscription;constructor(t,e){super(),this.confirmationService=t,this.zone=e,this.subscription=this.confirmationService.requireConfirmation$.subscribe(t=>{t?t.key===this.key&&(this.confirmation=t,Object.keys(t).forEach(e=>{this[e]=t[e]}),this.confirmation.accept&&(this.confirmation.acceptEvent=new i.bkB,this.confirmation.acceptEvent.subscribe(this.confirmation.accept)),this.confirmation.reject&&(this.confirmation.rejectEvent=new i.bkB,this.confirmation.rejectEvent.subscribe(this.confirmation.reject)),this.visible=!0):this.hide()})}onInit(){this.breakpoints&&this.createStyle(),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.visible&&this.cd.markForCheck()})}onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"header":this._headerTemplate=t.template;break;case"footer":this._footerTemplate=t.template;break;case"message":this._messageTemplate=t.template;break;case"icon":this._iconTemplate=t.template;break;case"rejecticon":this._rejectIconTemplate=t.template;break;case"accepticon":this._acceptIconTemplate=t.template;break;case"headless":this._headlessTemplate=t.template}})}getAriaLabelledBy(){return null!==this.header?(0,l.u)("pn_id_")+"_header":null}option(t,e){const n=this;if(n.hasOwnProperty(t)){const r=e?n[e]:n[t];return"function"==typeof r?r():r}}getButtonStyleClass(t,e){return[this.cx(t),this.option(e)].filter(Boolean).join(" ")}getElementToFocus(){if(this.dialog?.el?.nativeElement)switch(this.option("defaultFocus")){case"accept":default:return(0,c.kc)(this.dialog.el.nativeElement,".p-confirm-dialog-accept");case"reject":return(0,c.kc)(this.dialog.el.nativeElement,".p-confirm-dialog-reject");case"close":return(0,c.kc)(this.dialog.el.nativeElement,".p-dialog-header-close");case"none":return null}}createStyle(){if(!this.styleElement){this.styleElement=this.document.createElement("style"),this.styleElement.type="text/css",(0,c.Bq)(this.styleElement,"nonce",this.config?.csp()?.nonce),this.document.head.appendChild(this.styleElement);let t="";for(let e in this.breakpoints)t+=`\n @media screen and (max-width: ${e}) {\n .p-dialog[${this.id}] {\n width: ${this.breakpoints[e]} !important;\n }\n }\n `;this.styleElement.innerHTML=t,(0,c.Bq)(this.styleElement,"nonce",this.config?.csp()?.nonce)}}close(){this.confirmation?.rejectEvent&&this.confirmation.rejectEvent.emit(u.TJ.CANCEL),this.hide(u.TJ.CANCEL)}hide(t){this.onHide.emit(t),this.visible=!1,this.unsubscribeConfirmationEvents()}onDialogHide(){this.confirmation=null}destroyStyle(){this.styleElement&&(this.document.head.removeChild(this.styleElement),this.styleElement=null)}onDestroy(){this.subscription.unsubscribe(),this.unsubscribeConfirmationEvents(),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.destroyStyle()}onVisibleChange(t){t?this.visible=t:this.close()}onAccept(){this.confirmation&&this.confirmation.acceptEvent&&this.confirmation.acceptEvent.emit(),this.hide(u.TJ.ACCEPT)}onReject(){this.confirmation&&this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(u.TJ.REJECT),this.hide(u.TJ.REJECT)}unsubscribeConfirmationEvents(){this.confirmation&&(this.confirmation.acceptEvent?.unsubscribe(),this.confirmation.rejectEvent?.unsubscribe())}get acceptButtonLabel(){return this.option("acceptLabel")||this.getAcceptButtonProps()?.label||this.config.getTranslation(u.Yj.ACCEPT)}get rejectButtonLabel(){return this.option("rejectLabel")||this.getRejectButtonProps()?.label||this.config.getTranslation(u.Yj.REJECT)}getAcceptButtonProps(){return this.option("acceptButtonProps")}getRejectButtonProps(){return this.option("rejectButtonProps")}static ɵfac=function(e){return new(e||t)(o.rXU(u.td),o.rXU(i.SKi))};static ɵcmp=o.VBU({type:t,selectors:[["p-confirmDialog"],["p-confirmdialog"],["p-confirm-dialog"]],contentQueries:function(t,e,n){if(1&t&&o.wni(n,u.wi,5)(n,m,4)(n,y,4)(n,b,4)(n,v,4)(n,w,4)(n,S,4)(n,C,4)(n,u.Ei,4),2&t){let t;o.mGM(t=o.lsd())&&(e.footer=t.first),o.mGM(t=o.lsd())&&(e.headerTemplate=t.first),o.mGM(t=o.lsd())&&(e.footerTemplate=t.first),o.mGM(t=o.lsd())&&(e.rejectIconTemplate=t.first),o.mGM(t=o.lsd())&&(e.acceptIconTemplate=t.first),o.mGM(t=o.lsd())&&(e.messageTemplate=t.first),o.mGM(t=o.lsd())&&(e.iconTemplate=t.first),o.mGM(t=o.lsd())&&(e.headlessTemplate=t.first),o.mGM(t=o.lsd())&&(e.templates=t)}},inputs:{header:"header",icon:"icon",message:"message",style:"style",styleClass:"styleClass",maskStyleClass:"maskStyleClass",acceptIcon:"acceptIcon",acceptLabel:"acceptLabel",closeAriaLabel:"closeAriaLabel",acceptAriaLabel:"acceptAriaLabel",acceptVisible:[2,"acceptVisible","acceptVisible",s.L39],rejectIcon:"rejectIcon",rejectLabel:"rejectLabel",rejectAriaLabel:"rejectAriaLabel",rejectVisible:[2,"rejectVisible","rejectVisible",s.L39],acceptButtonStyleClass:"acceptButtonStyleClass",rejectButtonStyleClass:"rejectButtonStyleClass",closeOnEscape:[2,"closeOnEscape","closeOnEscape",s.L39],dismissableMask:[2,"dismissableMask","dismissableMask",s.L39],blockScroll:[2,"blockScroll","blockScroll",s.L39],rtl:[2,"rtl","rtl",s.L39],closable:[2,"closable","closable",s.L39],appendTo:[1,"appendTo"],key:"key",autoZIndex:[2,"autoZIndex","autoZIndex",s.L39],baseZIndex:[2,"baseZIndex","baseZIndex",s.Udg],transitionOptions:"transitionOptions",focusTrap:[2,"focusTrap","focusTrap",s.L39],defaultFocus:"defaultFocus",breakpoints:"breakpoints",modal:[2,"modal","modal",s.L39],visible:"visible",position:"position",draggable:[2,"draggable","draggable",s.L39]},outputs:{onHide:"onHide"},features:[o.Jv_([at,{provide:lt,useExisting:t},{provide:d.bt,useExisting:t}]),o.nM4([h.Y]),o.Vt3],ngContentSelectors:k,decls:6,vars:19,consts:[["dialog",""],["footer",""],["headless",""],["content",""],["header",""],["icon",""],["role","alertdialog",3,"visibleChange","onHide","pt","visible","closable","styleClass","modal","header","closeOnEscape","blockScroll","appendTo","position","dismissableMask","draggable","baseZIndex","autoZIndex","maskStyleClass","unstyled"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],[3,"ngClass","class","pBind"],[3,"class","pBind","innerHTML"],[3,"ngClass","class","pBind",4,"ngIf"],[3,"ngClass","pBind"],[3,"pBind","innerHTML"],[3,"pt","label","styleClass","ariaLabel","buttonProps","unstyled","onClick",4,"ngIf"],[3,"onClick","pt","label","styleClass","ariaLabel","buttonProps","unstyled"],[3,"class","pBind"],[3,"class","pBind",4,"ngIf"],[3,"pBind"]],template:function(t,e){1&t&&(o.NAR(_),o.j41(0,"p-dialog",6,0),o.bIt("visibleChange",function(t){return e.onVisibleChange(t)})("onHide",function(){return e.onDialogHide()}),o.nVh(2,I,2,0)(3,V,3,1),o.DNE(4,it,2,2,"ng-template",null,1,o.C5r),o.k0s()),2&t&&(o.Aen(e.style),o.Y8G("pt",e.pt)("visible",e.visible)("closable",e.option("closable"))("styleClass",e.cn(e.cx("root"),e.styleClass))("modal",e.option("modal"))("header",e.option("header"))("closeOnEscape",e.option("closeOnEscape"))("blockScroll",e.option("blockScroll"))("appendTo",e.$appendTo())("position",e.position)("dismissableMask",e.dismissableMask)("draggable",e.draggable)("baseZIndex",e.baseZIndex)("autoZIndex",e.autoZIndex)("maskStyleClass",e.cn(e.cx("mask"),e.maskStyleClass))("unstyled",e.unstyled()),o.R7$(2),o.vxM(e.headlessTemplate||e._headlessTemplate?2:3))},dependencies:[r.MD,r.YU,r.bT,r.T3,p.$n,f.lG,u.Gg,h.Y],encapsulation:2,changeDetection:0})}return t})(),ut=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=o.$C({type:t});static ɵinj=i.G2t({imports:[ct,u.Gg,u.Gg]})}return t})()},5825(t,e,n){n.d(e,{lG:()=>vt,g8:()=>yt});var r=n(6868),o=n(4460),i=n(6268),s=n(6817),a=n(6860),l=n(5697),c=n(4057),u=n(9798),d=n(3828),h=n(6484),p=n(7277),f=n(731),g=n(5724);let m=(()=>{class t extends h.$G{pFocusTrapDisabled=!1;platformId=(0,s.WQX)(i.Agw);document=(0,s.WQX)(s.qQL);firstHiddenFocusableElement;lastHiddenFocusableElement;onInit(){(0,o.UE)(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}onChanges(t){t.pFocusTrapDisabled&&(0,o.UE)(this.platformId)&&(t.pFocusTrapDisabled.currentValue?this.removeHiddenFocusableElements():this.createHiddenFocusableElements())}removeHiddenFocusableElements(){this.firstHiddenFocusableElement&&this.firstHiddenFocusableElement.parentNode&&this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement),this.lastHiddenFocusableElement&&this.lastHiddenFocusableElement.parentNode&&this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement)}getComputedSelector(t){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${t??""}`}createHiddenFocusableElements(){const t=t=>(0,u.n)("span",{class:"p-hidden-accessible p-hidden-focusable",tabindex:"0",role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:t?.bind(this)});this.firstHiddenFocusableElement=t(this.onFirstHiddenElementFocus),this.lastHiddenFocusableElement=t(this.onLastHiddenElementFocus),this.firstHiddenFocusableElement.setAttribute("data-pc-section","firstfocusableelement"),this.lastHiddenFocusableElement.setAttribute("data-pc-section","lastfocusableelement"),this.el.nativeElement.prepend(this.firstHiddenFocusableElement),this.el.nativeElement.append(this.lastHiddenFocusableElement)}onFirstHiddenElementFocus(t){const{currentTarget:e,relatedTarget:n}=t,r=n!==this.lastHiddenFocusableElement&&this.el.nativeElement?.contains(n)?this.lastHiddenFocusableElement:(0,u.$4)(e.parentElement,":not(.p-hidden-focusable)");(0,u.XC)(r)}onLastHiddenElementFocus(t){const{currentTarget:e,relatedTarget:n}=t,r=n!==this.firstHiddenFocusableElement&&this.el.nativeElement?.contains(n)?this.firstHiddenFocusableElement:(0,u.DE)(e.parentElement,":not(.p-hidden-focusable)");(0,u.XC)(r)}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵdir=i.FsC({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",a.L39]},features:[i.Vt3]})}return t})();var y=n(239),b=n(7727);const v=["data-p-icon","window-maximize"];let w=(()=>{class t extends b.h_{pathId;onInit(){this.pathId="url(#"+(0,c.u)()+")"}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵcmp=i.VBU({type:t,selectors:[["","data-p-icon","window-maximize"]],features:[i.Vt3],attrs:v,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(t,e){1&t&&(s.qSk(),i.rj2(0,"g"),i.Hgh(1,"path",0),i.eux(),i.rj2(2,"defs")(3,"clipPath",1),i.Hgh(4,"rect",2),i.eux()()),2&t&&(i.BMQ("clip-path",e.pathId),i.R7$(3),i.Avn("id",e.pathId))},encapsulation:2})}return t})();const S=["data-p-icon","window-minimize"];let C=(()=>{class t extends b.h_{pathId;onInit(){this.pathId="url(#"+(0,c.u)()+")"}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵcmp=i.VBU({type:t,selectors:[["","data-p-icon","window-minimize"]],features:[i.Vt3],attrs:S,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(t,e){1&t&&(s.qSk(),i.rj2(0,"g"),i.Hgh(1,"path",0),i.eux(),i.rj2(2,"defs")(3,"clipPath",1),i.Hgh(4,"rect",2),i.eux()()),2&t&&(i.BMQ("clip-path",e.pathId),i.R7$(3),i.Avn("id",e.pathId))},encapsulation:2})}return t})();var _=n(9634),k=n(1939),x=n(8980);const T=["header"],E=["content"],A=["footer"],I=["closeicon"],O=["maximizeicon"],L=["minimizeicon"],D=["headless"],P=["titlebar"],R=["*",[["p-footer"]]],N=["*","p-footer"],M=t=>({ariaLabelledBy:t});function j(t,e){1&t&&i.eu8(0)}function F(t,e){if(1&t&&(i.qex(0),i.DNE(1,j,1,0,"ng-container",11),i.bVm()),2&t){const t=i.XpG(3);i.R7$(),i.Y8G("ngTemplateOutlet",t._headlessTemplate||t.headlessTemplate||t.headlessT)}}function $(t,e){if(1&t){const t=i.RV6();i.j41(0,"div",16),i.bIt("mousedown",function(e){s.eBV(t);const n=i.XpG(4);return s.Njj(n.initResize(e))}),i.k0s()}if(2&t){const t=i.XpG(4);i.HbH(t.cx("resizeHandle")),i.xc7("z-index",90),i.Y8G("pBind",t.ptm("resizeHandle"))}}function z(t,e){if(1&t&&(i.j41(0,"span",21),i.EFF(1),i.k0s()),2&t){const t=i.XpG(5);i.HbH(t.cx("title")),i.Y8G("id",t.ariaLabelledBy)("pBind",t.ptm("title")),i.R7$(),i.JRh(t.header)}}function H(t,e){1&t&&i.eu8(0)}function B(t,e){if(1&t&&i.nrm(0,"span",25),2&t){const t=i.XpG(7);i.Y8G("ngClass",t.maximized?t.minimizeIcon:t.maximizeIcon)}}function V(t,e){1&t&&(s.qSk(),i.nrm(0,"svg",28))}function U(t,e){1&t&&(s.qSk(),i.nrm(0,"svg",29))}function W(t,e){if(1&t&&(i.qex(0),i.DNE(1,V,1,0,"svg",26)(2,U,1,0,"svg",27),i.bVm()),2&t){const t=i.XpG(7);i.R7$(),i.Y8G("ngIf",!(t.maximized||t._maximizeiconTemplate||t.maximizeIconTemplate||t.maximizeIconT)),i.R7$(),i.Y8G("ngIf",t.maximized&&!t._minimizeiconTemplate&&!t.minimizeIconTemplate&&!t.minimizeIconT)}}function G(t,e){}function q(t,e){1&t&&i.DNE(0,G,0,0,"ng-template")}function Q(t,e){if(1&t&&(i.qex(0),i.DNE(1,q,1,0,null,11),i.bVm()),2&t){const t=i.XpG(7);i.R7$(),i.Y8G("ngTemplateOutlet",t._maximizeiconTemplate||t.maximizeIconTemplate||t.maximizeIconT)}}function Z(t,e){}function X(t,e){1&t&&i.DNE(0,Z,0,0,"ng-template")}function Y(t,e){if(1&t&&(i.qex(0),i.DNE(1,X,1,0,null,11),i.bVm()),2&t){const t=i.XpG(7);i.R7$(),i.Y8G("ngTemplateOutlet",t._minimizeiconTemplate||t.minimizeIconTemplate||t.minimizeIconT)}}function K(t,e){if(1&t&&i.DNE(0,B,1,1,"span",23)(1,W,3,2,"ng-container",24)(2,Q,2,1,"ng-container",24)(3,Y,2,1,"ng-container",24),2&t){const t=i.XpG(6);i.Y8G("ngIf",t.maximizeIcon&&!t._maximizeiconTemplate&&!t._minimizeiconTemplate),i.R7$(),i.Y8G("ngIf",!(t.maximizeIcon||null!=t.maximizeButtonProps&&t.maximizeButtonProps.icon)),i.R7$(),i.Y8G("ngIf",!t.maximized),i.R7$(),i.Y8G("ngIf",t.maximized)}}function J(t,e){if(1&t){const t=i.RV6();i.j41(0,"p-button",22),i.bIt("onClick",function(){s.eBV(t);const e=i.XpG(5);return s.Njj(e.maximize())})("keydown.enter",function(){s.eBV(t);const e=i.XpG(5);return s.Njj(e.maximize())}),i.DNE(1,K,4,4,"ng-template",null,4,i.C5r),i.k0s()}if(2&t){const t=i.XpG(5);i.Y8G("pt",t.ptm("pcMaximizeButton"))("styleClass",t.cx("pcMaximizeButton"))("ariaLabel",t.maximized?t.minimizeLabel:t.maximizeLabel)("tabindex",t.maximizable?"0":"-1")("buttonProps",t.maximizeButtonProps)("unstyled",t.unstyled()),i.BMQ("data-pc-group-section","headericon")}}function tt(t,e){if(1&t&&i.nrm(0,"span"),2&t){const t=i.XpG(8);i.HbH(t.closeIcon)}}function et(t,e){1&t&&(s.qSk(),i.nrm(0,"svg",32))}function nt(t,e){if(1&t&&(i.qex(0),i.DNE(1,tt,1,2,"span",30)(2,et,1,0,"svg",31),i.bVm()),2&t){const t=i.XpG(7);i.R7$(),i.Y8G("ngIf",t.closeIcon),i.R7$(),i.Y8G("ngIf",!t.closeIcon)}}function rt(t,e){}function ot(t,e){1&t&&i.DNE(0,rt,0,0,"ng-template")}function it(t,e){if(1&t&&(i.j41(0,"span"),i.DNE(1,ot,1,0,null,11),i.k0s()),2&t){const t=i.XpG(7);i.R7$(),i.Y8G("ngTemplateOutlet",t._closeiconTemplate||t.closeIconTemplate||t.closeIconT)}}function st(t,e){if(1&t&&i.DNE(0,nt,3,2,"ng-container",24)(1,it,2,1,"span",24),2&t){const t=i.XpG(6);i.Y8G("ngIf",!(t._closeiconTemplate||t.closeIconTemplate||t.closeIconT||null!=t.closeButtonProps&&t.closeButtonProps.icon)),i.R7$(),i.Y8G("ngIf",t._closeiconTemplate||t.closeIconTemplate||t.closeIconT)}}function at(t,e){if(1&t){const t=i.RV6();i.j41(0,"p-button",22),i.bIt("onClick",function(e){s.eBV(t);const n=i.XpG(5);return s.Njj(n.close(e))})("keydown.enter",function(e){s.eBV(t);const n=i.XpG(5);return s.Njj(n.close(e))}),i.DNE(1,st,2,2,"ng-template",null,4,i.C5r),i.k0s()}if(2&t){const t=i.XpG(5);i.Y8G("pt",t.ptm("pcCloseButton"))("styleClass",t.cx("pcCloseButton"))("ariaLabel",t.closeAriaLabel)("tabindex",t.closeTabindex)("buttonProps",t.closeButtonProps)("unstyled",t.unstyled()),i.BMQ("data-pc-group-section","headericon")}}function lt(t,e){if(1&t){const t=i.RV6();i.j41(0,"div",16,3),i.bIt("mousedown",function(e){s.eBV(t);const n=i.XpG(4);return s.Njj(n.initDrag(e))}),i.DNE(2,z,2,5,"span",17)(3,H,1,0,"ng-container",18),i.j41(4,"div",19),i.DNE(5,J,3,7,"p-button",20)(6,at,3,7,"p-button",20),i.k0s()()}if(2&t){const t=i.XpG(4);i.HbH(t.cx("header")),i.Y8G("pBind",t.ptm("header")),i.R7$(2),i.Y8G("ngIf",!t._headerTemplate&&!t.headerTemplate&&!t.headerT),i.R7$(),i.Y8G("ngTemplateOutlet",t._headerTemplate||t.headerTemplate||t.headerT)("ngTemplateOutletContext",i.eq3(11,M,t.ariaLabelledBy)),i.R7$(),i.HbH(t.cx("headerActions")),i.Y8G("pBind",t.ptm("headerActions")),i.R7$(),i.Y8G("ngIf",t.maximizable),i.R7$(),i.Y8G("ngIf",t.closable)}}function ct(t,e){1&t&&i.eu8(0)}function ut(t,e){1&t&&i.eu8(0)}function dt(t,e){if(1&t&&(i.j41(0,"div",19,5),i.SdG(2,1),i.DNE(3,ut,1,0,"ng-container",11),i.k0s()),2&t){const t=i.XpG(4);i.HbH(t.cx("footer")),i.Y8G("pBind",t.ptm("footer")),i.R7$(3),i.Y8G("ngTemplateOutlet",t._footerTemplate||t.footerTemplate||t.footerT)}}function ht(t,e){if(1&t&&(i.DNE(0,$,1,5,"div",12)(1,lt,7,13,"div",13),i.j41(2,"div",14,2),i.SdG(4),i.DNE(5,ct,1,0,"ng-container",11),i.k0s(),i.DNE(6,dt,4,4,"div",15)),2&t){const t=i.XpG(3);i.Y8G("ngIf",t.resizable),i.R7$(),i.Y8G("ngIf",t.showHeader),i.R7$(),i.HbH(t.cn(t.cx("content"),t.contentStyleClass)),i.Y8G("ngStyle",t.contentStyle)("pBind",t.ptm("content")),i.R7$(3),i.Y8G("ngTemplateOutlet",t._contentTemplate||t.contentTemplate||t.contentT),i.R7$(),i.Y8G("ngIf",t._footerTemplate||t.footerTemplate||t.footerT)}}function pt(t,e){if(1&t){const t=i.RV6();i.j41(0,"div",9,0),i.bIt("pMotionOnBeforeEnter",function(e){s.eBV(t);const n=i.XpG(2);return s.Njj(n.onBeforeEnter(e))})("pMotionOnAfterEnter",function(e){s.eBV(t);const n=i.XpG(2);return s.Njj(n.onAfterEnter(e))})("pMotionOnBeforeLeave",function(e){s.eBV(t);const n=i.XpG(2);return s.Njj(n.onBeforeLeave(e))})("pMotionOnAfterLeave",function(e){s.eBV(t);const n=i.XpG(2);return s.Njj(n.onAfterLeave(e))}),i.DNE(2,F,2,1,"ng-container",10)(3,ht,7,8,"ng-template",null,1,i.C5r),i.k0s()}if(2&t){const t=i.sdS(4),e=i.XpG(2);i.Aen(e.sx("root")),i.HbH(e.cn(e.cx("root"),e.styleClass)),i.Y8G("ngStyle",e.style)("pBind",e.ptm("root"))("pFocusTrapDisabled",!1===e.focusTrap)("pMotion",e.visible)("pMotionAppear",!0)("pMotionName","p-dialog")("pMotionOptions",e.computedMotionOptions()),i.BMQ("role",e.role)("aria-labelledby",e.ariaLabelledBy)("aria-modal",!0)("data-p",e.dataP),i.R7$(2),i.Y8G("ngIf",e._headlessTemplate||e.headlessTemplate||e.headlessT)("ngIfElse",t)}}function ft(t,e){if(1&t){const t=i.RV6();i.j41(0,"div",7),i.bIt("pMotionOnAfterLeave",function(){s.eBV(t);const e=i.XpG();return s.Njj(e.onMaskAfterLeave())}),i.nVh(1,pt,5,17,"div",8),i.k0s()}if(2&t){const t=i.XpG();i.Aen(t.sx("mask")),i.HbH(t.cn(t.cx("mask"),t.maskStyleClass)),i.Y8G("ngStyle",t.maskStyle)("pBind",t.ptm("mask"))("pMotion",t.maskVisible)("pMotionAppear",!0)("pMotionEnterActiveClass",t.modal?"p-overlay-mask-enter-active":"")("pMotionLeaveActiveClass",t.modal?"p-overlay-mask-leave-active":"")("pMotionOptions",t.computedMaskMotionOptions()),i.BMQ("data-p-scrollblocker-active",t.modal||t.blockScroll)("data-p",t.dataP),i.R7$(),i.vxM(t.renderDialog()?1:-1)}}const gt={mask:({instance:t})=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:"left"===t.position||"topleft"===t.position||"bottomleft"===t.position?"flex-start":"right"===t.position||"topright"===t.position||"bottomright"===t.position?"flex-end":"center",alignItems:"top"===t.position||"topleft"===t.position||"topright"===t.position?"flex-start":"bottom"===t.position||"bottomleft"===t.position||"bottomright"===t.position?"flex-end":"center",pointerEvents:t.modal?"auto":"none"}),root:{display:"flex",flexDirection:"column",pointerEvents:"auto"}},mt={mask:({instance:t})=>{const e=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(e=>e===t.position);return["p-dialog-mask",{"p-overlay-mask":t.modal},e?`p-dialog-${e}`:""]},root:({instance:t})=>["p-dialog p-component",{"p-dialog-maximized":t.maximizable&&t.maximized}],header:"p-dialog-header",title:"p-dialog-title",resizeHandle:"p-resizable-handle",headerActions:"p-dialog-header-actions",pcMaximizeButton:"p-dialog-maximize-button",pcCloseButton:"p-dialog-close-button",content:()=>["p-dialog-content"],footer:"p-dialog-footer"};let yt=(()=>{class t extends x.j{name="dialog";style="\n .p-dialog {\n max-height: 90%;\n transform: scale(1);\n border-radius: dt('dialog.border.radius');\n box-shadow: dt('dialog.shadow');\n background: dt('dialog.background');\n border: 1px solid dt('dialog.border.color');\n color: dt('dialog.color');\n will-change: transform;\n }\n\n .p-dialog-content {\n overflow-y: auto;\n padding: dt('dialog.content.padding');\n flex-grow: 1;\n }\n\n .p-dialog-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n padding: dt('dialog.header.padding');\n }\n\n .p-dialog-title {\n font-weight: dt('dialog.title.font.weight');\n font-size: dt('dialog.title.font.size');\n }\n\n .p-dialog-footer {\n flex-shrink: 0;\n padding: dt('dialog.footer.padding');\n display: flex;\n justify-content: flex-end;\n gap: dt('dialog.footer.gap');\n }\n\n .p-dialog-header-actions {\n display: flex;\n align-items: center;\n gap: dt('dialog.header.gap');\n }\n\n .p-dialog-top .p-dialog,\n .p-dialog-bottom .p-dialog,\n .p-dialog-left .p-dialog,\n .p-dialog-right .p-dialog,\n .p-dialog-topleft .p-dialog,\n .p-dialog-topright .p-dialog,\n .p-dialog-bottomleft .p-dialog,\n .p-dialog-bottomright .p-dialog {\n margin: 1rem;\n }\n\n .p-dialog-maximized {\n width: 100vw !important;\n height: 100vh !important;\n top: 0px !important;\n left: 0px !important;\n max-height: 100%;\n height: 100%;\n border-radius: 0;\n }\n\n .p-dialog .p-resizable-handle {\n position: absolute;\n font-size: 0.1px;\n display: block;\n cursor: se-resize;\n width: 12px;\n height: 12px;\n right: 1px;\n bottom: 1px;\n }\n\n .p-dialog-enter-active {\n animation: p-animate-dialog-enter 300ms cubic-bezier(.19,1,.22,1);\n }\n\n .p-dialog-leave-active {\n animation: p-animate-dialog-leave 300ms cubic-bezier(.19,1,.22,1);\n }\n\n @keyframes p-animate-dialog-enter {\n from {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n\n @keyframes p-animate-dialog-leave {\n to {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n";classes=mt;inlineStyles=gt;static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵprov=s.jDH({token:t,factory:t.ɵfac})}return t})();const bt=new s.nKC("DIALOG_INSTANCE");let vt=(()=>{class t extends h.$G{componentName="Dialog";hostName="";$pcDialog=(0,s.WQX)(bt,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,s.WQX)(p.Y,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}header;draggable=!0;resizable=!0;contentStyle;contentStyleClass;modal=!1;closeOnEscape=!0;dismissableMask=!1;rtl=!1;closable=!0;breakpoints;styleClass;maskStyleClass;maskStyle;showHeader=!0;blockScroll=!1;autoZIndex=!0;baseZIndex=0;minX=0;minY=0;focusOnShow=!0;maximizable=!1;keepInViewport=!0;focusTrap=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";maskMotionOptions=(0,a.hFB)(void 0);computedMaskMotionOptions=(0,l.EW)(()=>({...this.ptm("maskMotion"),...this.maskMotionOptions()}));motionOptions=(0,a.hFB)(void 0);computedMotionOptions=(0,l.EW)(()=>({...this.ptm("motion"),...this.motionOptions()}));closeIcon;closeAriaLabel;closeTabindex="0";minimizeIcon;maximizeIcon;closeButtonProps={severity:"secondary",variant:"text",rounded:!0};maximizeButtonProps={severity:"secondary",variant:"text",rounded:!0};get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.maskVisible&&(this.maskVisible=!0,this.renderMask.set(!0),this.renderDialog.set(!0))}get style(){return this._style}set style(t){t&&(this._style={...t},this.originalStyle=t)}position;role="dialog";appendTo=(0,a.hFB)(void 0);onShow=new s.bkB;onHide=new s.bkB;visibleChange=new s.bkB;onResizeInit=new s.bkB;onResizeEnd=new s.bkB;onDragEnd=new s.bkB;onMaximize=new s.bkB;headerViewChild;contentViewChild;footerViewChild;headerTemplate;contentTemplate;footerTemplate;closeIconTemplate;maximizeIconTemplate;minimizeIconTemplate;headlessTemplate;_headerTemplate;_contentTemplate;_footerTemplate;_closeiconTemplate;_maximizeiconTemplate;_minimizeiconTemplate;_headlessTemplate;$appendTo=(0,l.EW)(()=>this.appendTo()||this.config.overlayAppendTo());renderMask=(0,s.vPA)(!1);renderDialog=(0,s.vPA)(!1);_visible=!1;maskVisible;container=(0,s.vPA)(null);wrapper;dragging;ariaLabelledBy=this.getAriaLabelledBy();documentDragListener;documentDragEndListener;resizing;documentResizeListener;documentResizeEndListener;documentEscapeListener;maskClickListener;lastPageX;lastPageY;preventVisibleChangePropagation;maximized;preMaximizeContentHeight;preMaximizeContainerWidth;preMaximizeContainerHeight;preMaximizePageX;preMaximizePageY;id=(0,c.u)("pn_id_");_style={};originalStyle;transformOptions="scale(0.7)";styleElement;window;_componentStyle=(0,s.WQX)(yt);headerT;contentT;footerT;closeIconT;maximizeIconT;minimizeIconT;headlessT;zIndexForLayering;get maximizeLabel(){return this.config.getTranslation(d.Yj.ARIA).maximizeLabel}get minimizeLabel(){return this.config.getTranslation(d.Yj.ARIA).minimizeLabel}zone=(0,s.WQX)(s.SKi);overlayService=(0,s.WQX)(d.si);get maskClass(){const t=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(t=>t===this.position);return{"p-dialog-mask":!0,"p-overlay-mask":this.modal||this.dismissableMask,[`p-dialog-${t}`]:t}}onInit(){this.breakpoints&&this.createStyle()}templates;onAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"header":this.headerT=t.template;break;case"content":default:this.contentT=t.template;break;case"footer":this.footerT=t.template;break;case"closeicon":this.closeIconT=t.template;break;case"maximizeicon":this.maximizeIconT=t.template;break;case"minimizeicon":this.minimizeIconT=t.template;break;case"headless":this.headlessT=t.template}})}getAriaLabelledBy(){return null!==this.header?(0,c.u)("pn_id_")+"_header":null}parseDurationToMilliseconds(t){const e=/([\d\.]+)(ms|s)\b/g;let n,r=0;for(;null!==(n=e.exec(t));){const t=parseFloat(n[1]),e=n[2];"ms"===e?r+=t:"s"===e&&(r+=1e3*t)}if(0!==r)return r}_focus(t){if(t){const e=this.parseDurationToMilliseconds(this.transitionOptions);let n=g.DV.getFocusableElements(t);if(n&&n.length>0)return this.zone.runOutsideAngular(()=>{setTimeout(()=>n[0].focus(),e||5)}),!0}return!1}focus(t=this.contentViewChild?.nativeElement){let e=this._focus(t);e||(e=this._focus(this.footerViewChild?.nativeElement),e||(e=this._focus(this.headerViewChild?.nativeElement),e||this._focus(this.contentViewChild?.nativeElement)))}close(t){this.visible=!1,this.visibleChange.emit(this.visible),t.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",t=>{this.wrapper&&this.wrapper.isSameNode(t.target)&&this.close(t)})),this.modal&&(0,g.xL)()}disableModality(){if(this.wrapper){this.dismissableMask&&this.unbindMaskClickListener();const t=document.querySelectorAll('[data-p-scrollblocker-active="true"]');this.modal&&t&&1==t.length&&(0,g.M6)(),this.cd.destroyed||this.cd.detectChanges()}}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?(0,g.xL)():(0,g.M6)()),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex?(k.Q$.set("modal",this.container(),this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container().style.zIndex,10)-1)):this.zIndexForLayering=k.Q$.generateZIndex("modal",(this.baseZIndex??0)+this.config.zIndex.modal)}createStyle(){if((0,o.UE)(this.platformId)&&!this.styleElement&&!this.$unstyled()){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",(0,u.Bq)(this.styleElement,"nonce",this.config?.csp()?.nonce),this.renderer.appendChild(this.document.head,this.styleElement);let t="";for(let e in this.breakpoints)t+=`\n @media screen and (max-width: ${e}) {\n .p-dialog[${this.id}]:not(.p-dialog-maximized) {\n width: ${this.breakpoints[e]} !important;\n }\n }\n `;this.renderer.setProperty(this.styleElement,"innerHTML",t),(0,u.Bq)(this.styleElement,"nonce",this.config?.csp()?.nonce)}}initDrag(t){"headeractions"!==t.target.closest("div")?.getAttribute("data-pc-section")&&this.draggable&&(this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.container().style.margin="0",this.document.body.setAttribute("data-p-unselectable-text","true"),!this.$unstyled()&&(0,u.TD)(this.document.body,{"user-select":"none"}))}onDrag(t){if(this.dragging&&this.container()){const e=(0,u.Ot)(this.container()),n=(0,u.P$)(this.container()),r=t.pageX-this.lastPageX,o=t.pageY-this.lastPageY,i=this.container().getBoundingClientRect(),s=getComputedStyle(this.container()),a=parseFloat(s.marginLeft),l=parseFloat(s.marginTop),c=i.left+r-a,d=i.top+o-l,h=(0,u.Hr)();this.container().style.position="fixed",this.keepInViewport?(c>=this.minX&&c+e<h.width&&(this._style.left=`${c}px`,this.lastPageX=t.pageX,this.container().style.left=`${c}px`),d>=this.minY&&d+n<h.height&&(this._style.top=`${d}px`,this.lastPageY=t.pageY,this.container().style.top=`${d}px`)):(this.lastPageX=t.pageX,this.container().style.left=`${c}px`,this.lastPageY=t.pageY,this.container().style.top=`${d}px`),this.overlayService.emitParentDrag(this.container())}}endDrag(t){this.dragging&&(this.dragging=!1,this.document.body.removeAttribute("data-p-unselectable-text"),!this.$unstyled()&&(this.document.body.style["user-select"]=""),this.cd.detectChanges(),this.onDragEnd.emit(t))}resetPosition(){this.container().style.position="",this.container().style.left="",this.container().style.top="",this.container().style.margin=""}center(){this.resetPosition()}initResize(t){this.resizable&&(this.resizing=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.document.body.setAttribute("data-p-unselectable-text","true"),!this.$unstyled()&&(0,u.TD)(this.document.body,{"user-select":"none"}),this.onResizeInit.emit(t))}onResize(t){if(this.resizing){let e=t.pageX-this.lastPageX,n=t.pageY-this.lastPageY,r=(0,u.Ot)(this.container()),o=(0,u.P$)(this.container()),i=(0,u.P$)(this.contentViewChild?.nativeElement),s=r+e,a=o+n,l=this.container().style.minWidth,c=this.container().style.minHeight,d=this.container().getBoundingClientRect(),h=(0,u.Hr)();(!parseInt(this.container().style.top)||!parseInt(this.container().style.left))&&(s+=e,a+=n),(!l||s>parseInt(l))&&d.left+s<h.width&&(this._style.width=s+"px",this.container().style.width=this._style.width),(!c||a>parseInt(c))&&d.top+a<h.height&&(this.contentViewChild.nativeElement.style.height=i+a-o+"px",this._style.height&&(this._style.height=a+"px",this.container().style.height=this._style.height)),this.lastPageX=t.pageX,this.lastPageY=t.pageY}}resizeEnd(t){this.resizing&&(this.resizing=!1,this.document.body.removeAttribute("data-p-unselectable-text"),!this.$unstyled()&&(this.document.body.style["user-select"]=""),this.onResizeEnd.emit(t))}bindGlobalListeners(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.resizable&&this.bindDocumentResizeListeners(),this.closeOnEscape&&this.closable&&this.bindDocumentEscapeListener()}unbindGlobalListeners(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentEscapeListener()}bindDocumentDragListener(){this.documentDragListener||this.zone.runOutsideAngular(()=>{this.documentDragListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","keydown",t=>{if("Escape"==t.key){const e=this.container();if(!e)return;const n=k.Q$.getCurrent();(parseInt(e.style.zIndex)==n||this.zIndexForLayering==n)&&this.close(t)}})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){"self"!==this.$appendTo()&&(0,u.NI)(this.document.body,this.wrapper)}restoreAppend(){this.container()&&"self"!==this.$appendTo()&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onBeforeEnter(t){this.container.set(t.element),this.wrapper=this.container()?.parentElement,this.$attrSelector&&this.container()?.setAttribute(this.$attrSelector,""),this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container()?.setAttribute(this.id,""),this.modal&&this.enableModality()}onAfterEnter(){this.focusOnShow&&this.focus(),this.onShow.emit({})}onBeforeLeave(){this.modal&&(this.maskVisible=!1)}onAfterLeave(){this.onContainerDestroy(),this.renderDialog.set(!1),this.modal?this.renderMask.set(!1):this.maskVisible=!1,this.onHide.emit({}),this.cd.markForCheck()}onMaskAfterLeave(){this.renderDialog()||this.renderMask.set(!1)}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maximized&&((0,u.vy)(this.document.body,"p-overflow-hidden"),this.document.body.style.removeProperty("--scrollbar-width"),this.maximized=!1),this.modal&&this.disableModality(),(0,u.nB)(this.document.body,"p-overflow-hidden")&&(0,u.vy)(this.document.body,"p-overflow-hidden"),this.container()&&this.autoZIndex&&k.Q$.clear(this.container()),this.zIndexForLayering&&k.Q$.revertZIndex(this.zIndexForLayering),this.container.set(null),this.wrapper=null,this._style=this.originalStyle?{...this.originalStyle}:{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}onDestroy(){this.container()&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle()}get dataP(){return this.cn({maximized:this.maximized,modal:this.modal})}static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵcmp=i.VBU({type:t,selectors:[["p-dialog"]],contentQueries:function(t,e,n){if(1&t&&i.wni(n,T,4)(n,E,4)(n,A,4)(n,I,4)(n,O,4)(n,L,4)(n,D,4)(n,d.Ei,4),2&t){let t;i.mGM(t=i.lsd())&&(e._headerTemplate=t.first),i.mGM(t=i.lsd())&&(e._contentTemplate=t.first),i.mGM(t=i.lsd())&&(e._footerTemplate=t.first),i.mGM(t=i.lsd())&&(e._closeiconTemplate=t.first),i.mGM(t=i.lsd())&&(e._maximizeiconTemplate=t.first),i.mGM(t=i.lsd())&&(e._minimizeiconTemplate=t.first),i.mGM(t=i.lsd())&&(e._headlessTemplate=t.first),i.mGM(t=i.lsd())&&(e.templates=t)}},viewQuery:function(t,e){if(1&t&&i.GBs(P,5)(E,5)(A,5),2&t){let t;i.mGM(t=i.lsd())&&(e.headerViewChild=t.first),i.mGM(t=i.lsd())&&(e.contentViewChild=t.first),i.mGM(t=i.lsd())&&(e.footerViewChild=t.first)}},inputs:{hostName:"hostName",header:"header",draggable:[2,"draggable","draggable",a.L39],resizable:[2,"resizable","resizable",a.L39],contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:[2,"modal","modal",a.L39],closeOnEscape:[2,"closeOnEscape","closeOnEscape",a.L39],dismissableMask:[2,"dismissableMask","dismissableMask",a.L39],rtl:[2,"rtl","rtl",a.L39],closable:[2,"closable","closable",a.L39],breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:[2,"showHeader","showHeader",a.L39],blockScroll:[2,"blockScroll","blockScroll",a.L39],autoZIndex:[2,"autoZIndex","autoZIndex",a.L39],baseZIndex:[2,"baseZIndex","baseZIndex",a.Udg],minX:[2,"minX","minX",a.Udg],minY:[2,"minY","minY",a.Udg],focusOnShow:[2,"focusOnShow","focusOnShow",a.L39],maximizable:[2,"maximizable","maximizable",a.L39],keepInViewport:[2,"keepInViewport","keepInViewport",a.L39],focusTrap:[2,"focusTrap","focusTrap",a.L39],transitionOptions:"transitionOptions",maskMotionOptions:[1,"maskMotionOptions"],motionOptions:[1,"motionOptions"],closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",closeButtonProps:"closeButtonProps",maximizeButtonProps:"maximizeButtonProps",visible:"visible",style:"style",position:"position",role:"role",appendTo:[1,"appendTo"],headerTemplate:[0,"content","headerTemplate"],contentTemplate:"contentTemplate",footerTemplate:"footerTemplate",closeIconTemplate:"closeIconTemplate",maximizeIconTemplate:"maximizeIconTemplate",minimizeIconTemplate:"minimizeIconTemplate",headlessTemplate:"headlessTemplate"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},features:[i.Jv_([yt,{provide:bt,useExisting:t},{provide:h.bt,useExisting:t}]),i.nM4([p.Y]),i.Vt3],ngContentSelectors:N,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["icon",""],["footer",""],[3,"class","style","ngStyle","pBind","pMotion","pMotionAppear","pMotionEnterActiveClass","pMotionLeaveActiveClass","pMotionOptions"],[3,"pMotionOnAfterLeave","ngStyle","pBind","pMotion","pMotionAppear","pMotionEnterActiveClass","pMotionLeaveActiveClass","pMotionOptions"],["pFocusTrap","",3,"class","style","ngStyle","pBind","pFocusTrapDisabled","pMotion","pMotionAppear","pMotionName","pMotionOptions"],["pFocusTrap","",3,"pMotionOnBeforeEnter","pMotionOnAfterEnter","pMotionOnBeforeLeave","pMotionOnAfterLeave","ngStyle","pBind","pFocusTrapDisabled","pMotion","pMotionAppear","pMotionName","pMotionOptions"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[3,"class","pBind","z-index","mousedown",4,"ngIf"],[3,"class","pBind","mousedown",4,"ngIf"],[3,"ngStyle","pBind"],[3,"class","pBind",4,"ngIf"],[3,"mousedown","pBind"],[3,"id","class","pBind",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"pBind"],[3,"pt","styleClass","ariaLabel","tabindex","buttonProps","unstyled","onClick","keydown.enter",4,"ngIf"],[3,"id","pBind"],[3,"onClick","keydown.enter","pt","styleClass","ariaLabel","tabindex","buttonProps","unstyled"],[3,"ngClass",4,"ngIf"],[4,"ngIf"],[3,"ngClass"],["data-p-icon","window-maximize",4,"ngIf"],["data-p-icon","window-minimize",4,"ngIf"],["data-p-icon","window-maximize"],["data-p-icon","window-minimize"],[3,"class",4,"ngIf"],["data-p-icon","times",4,"ngIf"],["data-p-icon","times"]],template:function(t,e){1&t&&(i.NAR(R),i.nVh(0,ft,2,14,"div",6)),2&t&&i.vxM(e.renderMask()?0:-1)},dependencies:[r.MD,r.YU,r.bT,r.T3,r.B3,f.$n,m,y.A,w,C,d.Gg,p.Y,_.FF,_.s$],encapsulation:2,changeDetection:0})}return t})()},5724(t,e,n){n.d(e,{DV:()=>i,M6:()=>a,bM:()=>l,xL:()=>s});var r=n(9798),o=n(5396);let i=(()=>{class t{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(t,e){t&&e&&(t.classList?t.classList.add(e):t.className+=" "+e)}static addMultipleClasses(t,e){if(t&&e)if(t.classList){let n=e.trim().split(" ");for(let e=0;e<n.length;e++)t.classList.add(n[e])}else{let n=e.split(" ");for(let e=0;e<n.length;e++)t.className+=" "+n[e]}}static removeClass(t,e){t&&e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(t,e){t&&e&&[e].flat().filter(Boolean).forEach(e=>e.split(" ").forEach(e=>this.removeClass(t,e)))}static hasClass(t,e){return!(!t||!e)&&(t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className))}static siblings(t){return Array.prototype.filter.call(t.parentNode.children,function(e){return e!==t})}static find(t,e){return Array.from(t.querySelectorAll(e))}static findSingle(t,e){return this.isElement(t)?t.querySelector(e):null}static index(t){let e=t.parentNode.childNodes,n=0;for(var r=0;r<e.length;r++){if(e[r]==t)return n;1==e[r].nodeType&&n++}return-1}static indexWithinGroup(t,e){let n=t.parentNode?t.parentNode.childNodes:[],r=0;for(var o=0;o<n.length;o++){if(n[o]==t)return r;n[o].attributes&&n[o].attributes[e]&&1==n[o].nodeType&&r++}return-1}static appendOverlay(t,e,n="self"){"self"!==n&&t&&e&&this.appendChild(t,e)}static alignOverlay(e,n,r="self",o=!0){e&&n&&(o&&(e.style.minWidth=`${t.getOuterWidth(n)}px`),"self"===r?this.relativePosition(e,n):this.absolutePosition(e,n))}static relativePosition(t,e,n=!0){const o=t=>{if(t)return"relative"===getComputedStyle(t).getPropertyValue("position")?t:o(t.parentElement)},i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),s=e.offsetHeight,a=e.getBoundingClientRect(),l=this.getWindowScrollTop(),c=this.getWindowScrollLeft(),u=this.getViewport(),d=o(t)?.getBoundingClientRect()||{top:-1*l,left:-1*c};let h,p,f="top";a.top+s+i.height>u.height?(h=a.top-d.top-i.height,f="bottom",a.top+h<0&&(h=-1*a.top)):(h=s+a.top-d.top,f="top");const g=a.left+i.width-u.width;if(p=i.width>u.width?-1*(a.left-d.left):g>0?a.left-d.left-g:a.left-d.left,t.style.top=h+"px",t.style.left=p+"px",t.style.transformOrigin=f,n){const e=(0,r.Am)(/-anchor-gutter$/)?.value;t.style.marginTop="bottom"===f?`calc(${e??"2px"} * -1)`:e??""}}static absolutePosition(t,e,n=!0){const r=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),o=r.height,i=r.width,s=e.offsetHeight,a=e.offsetWidth,l=e.getBoundingClientRect(),c=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),d=this.getViewport();let h,p;l.top+s+o>d.height?(h=l.top+c-o,t.style.transformOrigin="bottom",h<0&&(h=c)):(h=s+l.top+c,t.style.transformOrigin="top"),p=l.left+i>d.width?Math.max(0,l.left+u+a-i):l.left+u,t.style.top=h+"px",t.style.left=p+"px",n&&(t.style.marginTop="bottom"===origin?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,e=[]){return null===t.parentNode?e:this.getParents(t.parentNode,e.concat([t.parentNode]))}static getScrollableParents(t){let e=[];if(t){let n=this.getParents(t);const r=/(auto|scroll)/,o=t=>{let e=window.getComputedStyle(t,null);return r.test(e.getPropertyValue("overflow"))||r.test(e.getPropertyValue("overflowX"))||r.test(e.getPropertyValue("overflowY"))};for(let t of n){let n=1===t.nodeType&&t.dataset.scrollselectors;if(n){let r=n.split(",");for(let n of r){let r=this.findSingle(t,n);r&&o(r)&&e.push(r)}}9!==t.nodeType&&o(t)&&e.push(t)}}return e}static getHiddenElementOuterHeight(t){t.style.visibility="hidden",t.style.display="block";let e=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",e}static getHiddenElementOuterWidth(t){t.style.visibility="hidden",t.style.display="block";let e=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",e}static getHiddenElementDimensions(t){let e={};return t.style.visibility="hidden",t.style.display="block",e.width=t.offsetWidth,e.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",e}static scrollInView(t,e){let n=getComputedStyle(t).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,s=t.getBoundingClientRect(),a=e.getBoundingClientRect().top+document.body.scrollTop-(s.top+document.body.scrollTop)-r-i,l=t.scrollTop,c=t.clientHeight,u=this.getOuterHeight(e);a<0?t.scrollTop=l+a:a+u>c&&(t.scrollTop=l+a-c+u)}static fadeIn(t,e){t.style.opacity=0;let n=+new Date,r=0,o=function(){r=+t.style.opacity.replace(",",".")+((new Date).getTime()-n)/e,t.style.opacity=r,n=+new Date,+r<1&&(window.requestAnimationFrame?window.requestAnimationFrame(o):setTimeout(o,16))};o()}static fadeOut(t,e){var n=1,r=50/e;let o=setInterval(()=>{(n-=r)<=0&&(n=0,clearInterval(o)),t.style.opacity=n},50)}static getWindowScrollTop(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}static getWindowScrollLeft(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}static matches(t,e){var n=Element.prototype;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(t){return-1!==[].indexOf.call(document.querySelectorAll(t),this)}).call(t,e)}static getOuterWidth(t,e){let n=t.offsetWidth;if(e){let e=getComputedStyle(t);n+=parseFloat(e.marginLeft)+parseFloat(e.marginRight)}return n}static getHorizontalPadding(t){let e=getComputedStyle(t);return parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)}static getHorizontalMargin(t){let e=getComputedStyle(t);return parseFloat(e.marginLeft)+parseFloat(e.marginRight)}static innerWidth(t){let e=t.offsetWidth,n=getComputedStyle(t);return e+=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}static width(t){let e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}static getInnerHeight(t){let e=t.offsetHeight,n=getComputedStyle(t);return e+=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom),e}static getOuterHeight(t,e){let n=t.offsetHeight;if(e){let e=getComputedStyle(t);n+=parseFloat(e.marginTop)+parseFloat(e.marginBottom)}return n}static getHeight(t){let e=t.offsetHeight,n=getComputedStyle(t);return e-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),e}static getWidth(t){let e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth),e}static getViewport(){let t=window,e=document,n=e.documentElement,r=e.getElementsByTagName("body")[0];return{width:t.innerWidth||n.clientWidth||r.clientWidth,height:t.innerHeight||n.clientHeight||r.clientHeight}}static getOffset(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(t,e){let n=t.parentNode;if(!n)throw"Can't replace element";return n.replaceChild(e,t)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var t=window.navigator.userAgent;return t.indexOf("MSIE ")>0||(t.indexOf("Trident/")>0?(t.indexOf("rv:"),!0):t.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(t,e){if(this.isElement(e))e.appendChild(t);else{if(!(e&&e.el&&e.el.nativeElement))throw"Cannot append "+e+" to "+t;e.el.nativeElement.appendChild(t)}}static removeChild(t,e){if(this.isElement(e))e.removeChild(t);else{if(!e.el||!e.el.nativeElement)throw"Cannot remove "+t+" from "+e;e.el.nativeElement.removeChild(t)}}static removeElement(t){"remove"in Element.prototype?t.remove():t.parentNode?.removeChild(t)}static isElement(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}static calculateScrollbarWidth(t){if(t){let e=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=e,e}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let e=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),this.calculatedScrollbarWidth=e,e}static invokeElementMethod(t,e,n){t[e].apply(t,n)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let t=navigator.userAgent.toLowerCase(),e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}}static isInteger(t){return Number.isInteger?Number.isInteger(t):"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}static isHidden(t){return!t||null===t.offsetParent}static isVisible(t){return t&&null!=t.offsetParent}static isExist(t){return null!==t&&typeof t<"u"&&t.nodeName&&t.parentNode}static focus(t,e){t&&document.activeElement!==t&&t.focus(e)}static getFocusableSelectorString(t=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n .p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},\n .p-button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}`}static getFocusableElements(t,e=""){let n=this.find(t,this.getFocusableSelectorString(e)),r=[];for(let t of n){const e=getComputedStyle(t);this.isVisible(t)&&"none"!=e.display&&"hidden"!=e.visibility&&r.push(t)}return r}static getFocusableElement(t,e=""){let n=this.findSingle(t,this.getFocusableSelectorString(e));if(n){const t=getComputedStyle(n);if(this.isVisible(n)&&"none"!=t.display&&"hidden"!=t.visibility)return n}return null}static getFirstFocusableElement(t,e=""){const n=this.getFocusableElements(t,e);return n.length>0?n[0]:null}static getLastFocusableElement(t,e){const n=this.getFocusableElements(t,e);return n.length>0?n[n.length-1]:null}static getNextFocusableElement(e,n=!1){const r=t.getFocusableElements(e);let o=0;if(r&&r.length>0){const t=r.indexOf(r[0].ownerDocument.activeElement);n?o=-1==t||0===t?r.length-1:t-1:-1!=t&&t!==r.length-1&&(o=t+1)}return r[o]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection()?.toString():document.getSelection?document.getSelection()?.toString():document.selection?document.selection.createRange().text:null}static getTargetElement(t,e){if(!t)return null;switch(t){case"document":return document;case"window":return window;case"@next":return e?.nextElementSibling;case"@prev":return e?.previousElementSibling;case"@parent":return e?.parentElement;case"@grandparent":return e?.parentElement?.parentElement;default:const r=typeof t;if("string"===r)return document.querySelector(t);if("object"===r&&t.hasOwnProperty("nativeElement"))return this.isExist(t.nativeElement)?t.nativeElement:void 0;const o=(n=t)&&n.constructor&&n.call&&n.apply?t():t;return o&&9===o.nodeType||this.isExist(o)?o:null}var n}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(t,e){if(t){const n=t.getAttribute(e);return isNaN(n)?"true"===n||"false"===n?"true"===n:n:+n}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(t="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)}static unblockBodyScroll(t="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}static createElement(t,e={},...n){if(t){const r=document.createElement(t);return this.setAttributes(r,e),r.append(...n),r}}static setAttribute(t,e="",n){this.isElement(t)&&null!=n&&t.setAttribute(e,n)}static setAttributes(t,e={}){if(this.isElement(t)){const n=(e,r)=>{const o=t?.$attrs?.[e]?[t?.$attrs?.[e]]:[];return[r].flat().reduce((t,r)=>{if(null!=r){const o=typeof r;if("string"===o||"number"===o)t.push(r);else if("object"===o){const o=Array.isArray(r)?n(e,r):Object.entries(r).map(([t,n])=>"style"!==e||!n&&0!==n?n?t:void 0:`${t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${n}`);t=o.length?t.concat(o.filter(t=>!!t)):t}}return t},o)};Object.entries(e).forEach(([e,r])=>{if(null!=r){const o=e.match(/^on(.+)/);o?t.addEventListener(o[1].toLowerCase(),r):"pBind"===e?this.setAttributes(t,r):(r="class"===e?[...new Set(n("class",r))].join(" ").trim():"style"===e?n("style",r).join(";").trim():r,(t.$attrs=t.$attrs||{})&&(t.$attrs[e]=r),t.setAttribute(e,r))}})}}static isFocusableElement(t,e=""){return!!this.isElement(t)&&t.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`)}}return t})();function s(){r.xL({variableName:(0,o.t5)("scrollbar.width").name})}function a(){r.M6({variableName:(0,o.t5)("scrollbar.width").name})}class l{element;listener;scrollableParents;constructor(t,e=()=>{}){this.element=t,this.listener=e}bindScrollListener(){this.scrollableParents=i.getScrollableParents(this.element);for(let t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}},3511(t,e,n){n.d(e,{Pw:()=>$,o3:()=>V,sb:()=>F});var r=n(6868),o=n(6817),i=n(6268),s=n(6860),a=n(9798),l=n(4057),c=n(3828),u=n(6484),d=n(7277),h=n(5825),p=n(8447);const f=()=>({severity:"secondary",variant:"text",rounded:!0});function g(t,e){1&t&&i.eu8(0)}function m(t,e){if(1&t&&i.DNE(0,g,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.headerTemplate)}}function y(t,e){1&t&&i.DNE(0,m,1,1,"ng-template",null,0,i.C5r)}function b(t,e){1&t&&i.eu8(0)}function v(t,e){if(1&t&&i.DNE(0,b,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.contentTemplate)}}function w(t,e){1&t&&i.DNE(0,v,1,1,"ng-template",null,1,i.C5r)}function S(t,e){1&t&&i.eu8(0)}function C(t,e){if(1&t&&i.DNE(0,S,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.footerTemplate)}}function _(t,e){1&t&&i.DNE(0,C,1,1,"ng-template",null,2,i.C5r)}function k(t,e){1&t&&i.eu8(0)}function x(t,e){if(1&t&&i.DNE(0,k,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.closeIconTemplate)}}function T(t,e){1&t&&i.DNE(0,x,1,1,"ng-template",null,3,i.C5r)}function E(t,e){1&t&&i.eu8(0)}function A(t,e){if(1&t&&i.DNE(0,E,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.maximizeIconTemplate)}}function I(t,e){1&t&&i.DNE(0,A,1,1,"ng-template",null,4,i.C5r)}function O(t,e){1&t&&i.eu8(0)}function L(t,e){if(1&t&&i.DNE(0,O,1,0,"ng-container",8),2&t){const t=i.XpG(2);i.Y8G("ngComponentOutlet",t.minimizeIconTemplate)}}function D(t,e){1&t&&i.DNE(0,L,1,1,"ng-template",null,5,i.C5r)}function P(t,e){}function R(t,e){1&t&&i.DNE(0,P,0,0,"ng-template",9)}function N(t,e){if(1&t&&(i.j41(0,"div"),i.EFF(1),i.k0s()),2&t){const t=i.XpG();i.R7$(),i.JRh(t.ddconfig.footer)}}let M=(()=>{class t{viewContainerRef;constructor(t){this.viewContainerRef=t}static ɵfac=function(e){return new(e||t)(i.rXU(i.c1b))};static ɵdir=i.FsC({type:t,selectors:[["","pDynamicDialogContent",""]]})}return t})(),j=(()=>{class t extends h.g8{name="dialog";static ɵfac=(()=>{let e;return function(n){return(e||(e=i.xGo(t)))(n||t)}})();static ɵprov=o.jDH({token:t,factory:t.ɵfac})}return t})();class F{data;inputValues;header;ariaLabelledBy;footer;width;height;closeOnEscape=!1;focusOnShow=!0;focusTrap=!0;baseZIndex;autoZIndex=!1;dismissableMask=!1;rtl=!1;style;contentStyle;styleClass;transitionOptions;closable=!1;showHeader=!1;modal=!1;maskStyleClass;resizable=!1;draggable=!1;keepInViewport=!1;minX;minY;maximizable=!1;maximizeIcon;minimizeIcon;position;closeAriaLabel;appendTo;duplicate=!1;breakpoints;templates;pt;unstyled}class ${constructor(){}close(t){this._onClose.next(t),setTimeout(()=>{this._onClose.complete()},1e3)}destroy(){this._onDestroy.next(null)}dragStart(t){this._onDragStart.next(t)}dragEnd(t){this._onDragEnd.next(t)}resizeInit(t){this._onResizeInit.next(t)}resizeEnd(t){this._onResizeEnd.next(t)}maximize(t){this._onMaximize.next(t)}_onClose=new p.B;onClose=this._onClose.asObservable();_onDestroy=new p.B;onDestroy=this._onDestroy.asObservable();_onDragStart=new p.B;onDragStart=this._onDragStart.asObservable();_onDragEnd=new p.B;onDragEnd=this._onDragEnd.asObservable();_onResizeInit=new p.B;onResizeInit=this._onResizeInit.asObservable();_onResizeEnd=new p.B;onResizeEnd=this._onResizeEnd.asObservable();_onMaximize=new p.B;onMaximize=this._onMaximize.asObservable();onChildComponentLoaded=new p.B}const z=new o.nKC("DYNAMIC_DIALOG_INSTANCE");let H=(()=>{class t extends u.$G{ddconfig;dialogRef;componentName="Dialog";_componentStyle=(0,o.WQX)(j);$pcDynamicDialog=(0,o.WQX)(z,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,o.WQX)(d.Y,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}visible=!0;componentRef;id=(0,l.u)("pn_id_");insertionPoint;dialog;childComponentType;inputValues;get minX(){return this.ddconfig.minX?this.ddconfig.minX:0}get minY(){return this.ddconfig.minY?this.ddconfig.minY:0}get keepInViewport(){return this.ddconfig.keepInViewport}get maximizable(){return this.ddconfig.maximizable}get maximizeIcon(){return this.ddconfig.maximizeIcon}get minimizeIcon(){return this.ddconfig.minimizeIcon}get closable(){return this.ddconfig.closable}get position(){return this.ddconfig.position}get defaultCloseAriaLabel(){return this.config.getTranslation(c.Yj.ARIA).close}get breakpoints(){return this.ddconfig.breakpoints}get footerTemplate(){return this.ddconfig?.templates?.footer}get headerTemplate(){return this.ddconfig?.templates?.header}get contentTemplate(){return this.ddconfig?.templates?.content}get minimizeIconTemplate(){return this.ddconfig?.templates?.minimizeicon}get maximizeIconTemplate(){return this.ddconfig?.templates?.maximizeicon}get closeIconTemplate(){return this.ddconfig?.templates?.closeicon}get dialogStyle(){return{...this.ddconfig?.style||{},...this.ddconfig?.width&&{width:this.ddconfig.width},...this.ddconfig?.height&&{height:this.ddconfig.height}}}get header(){return this.ddconfig.header}get data(){return this.ddconfig.data}get dialogId(){return this.$attrSelector}get isUnstyled(){return this.ddconfig.unstyled||this.$unstyled()}maximized;dragging;resizing;ariaLabelledBy;_style={};styleElement;lastPageX;lastPageY;contentViewChild;footerViewChild;headerViewChild;maskViewChild;maskClickListener;documentDragListener;documentDragEndListener;documentResizeListener;documentResizeEndListener;documentEscapeListener;constructor(t,e){super(),this.ddconfig=t,this.dialogRef=e}onVisibleChange(t){t||this.dialogRef.close()}onAfterViewInit(){this.loadChildComponent(this.childComponentType),this.ariaLabelledBy=this.getAriaLabelledBy(),this.cd.detectChanges()}getAriaLabelledBy(){const{header:t,showHeader:e}=this.ddconfig;return null===t||!1===e?null:(0,l.u)("pn_id_")+"_header"}loadChildComponent(t){let e=this.insertionPoint?.viewContainerRef;e?.clear(),this.componentRef=e?.createComponent(t),this.inputValues&&this.componentRef&&Object.entries(this.inputValues).forEach(([t,e])=>{this.componentRef.setInput(t,e)}),this.dialogRef.onChildComponentLoaded.next(this.componentRef.instance)}onDialogHide(t){this.dialogRef.destroy()}onDialogMaximize(t){this.maximized=t.maximized,this.dialogRef.maximize(t)}onDialogResizeInit(t){this.resizing=!0,this.dialogRef.resizeInit(t)}onDialogResizeEnd(t){this.resizing=!1,this.dialogRef.resizeEnd(t)}onDialogDragEnd(t){this.dragging=!1,this.dialogRef.dragEnd(t)}close(){this.visible=!1,this.cd.markForCheck()}hide(){this.dialogRef&&this.dialogRef.close()}get _parent(){const t=Array.from(this.document.getElementsByClassName("p-dialog"));if(t.length>1)return t.pop()}get parentContent(){const t=Array.from(this.document.getElementsByClassName("p-dialog"));if(t.length>0){const e=t[t.length-1].querySelector(".p-dialog-content");if(e)return Array.isArray(e)?e[0]:e}}container;wrapper;unbindGlobalListeners(){this.unbindDocumentEscapeListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener()}onAnimationStart(t){"visible"===t.toState&&(this._parent&&this.unbindGlobalListeners(),this.ddconfig.modal&&this.enableModality())}onAnimationEnd(t){"void"===t.toState&&(this.onContainerDestroy(),this.dialogRef.destroy())}onContainerDestroy(){this.unbindGlobalListeners(),this.ddconfig.modal&&this.disableModality(),this.container=null}bindDocumentDragListener(){this.documentDragListener||(this.documentDragListener=this.renderer.listen(this.document.defaultView,"mousemove",t=>{this.onDrag(t)}))}bindDocumentDragEndListener(){this.documentDragEndListener||(this.documentDragEndListener=this.renderer.listen(this.document.defaultView,"mouseup",t=>{this.endDrag(t)}))}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}initDrag(t){if(t.target instanceof HTMLElement){const e=t.target;if(e.closest(".p-dialog-header-icon")||e.closest(".p-dialog-header-icons"))return}this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.dialogRef.dragStart(t),this.bindDocumentDragListener(),this.bindDocumentDragEndListener()}onDrag(t){this.dragging&&(this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.ddconfig.keepInViewport&&this.container&&(this.container.style.position="fixed"))}endDrag(t){this.dragging&&(this.dragging=!1,this.dialogRef.dragEnd(t),this.cd.detectChanges())}resetPosition(){this.container&&(this.container.style.position="",this.container.style.left="",this.container.style.top="",this.container.style.margin="")}bindDocumentResizeListeners(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.document.defaultView,"mousemove",t=>{this.onResize(t)})),this.documentResizeEndListener||(this.documentResizeEndListener=this.renderer.listen(this.document.defaultView,"mouseup",t=>{this.resizeEnd(t)}))}unbindDocumentResizeListeners(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null),this.documentResizeEndListener&&(this.documentResizeEndListener(),this.documentResizeEndListener=null)}initResize(t){this.resizing=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.dialogRef.resizeInit(t)}onResize(t){this.resizing&&(this.lastPageX=t.pageX,this.lastPageY=t.pageY)}resizeEnd(t){this.resizing&&(this.resizing=!1,this.dialogRef.resizeEnd(t))}maximize(){this.maximized=!this.maximized,this.dialogRef.maximize({maximized:this.maximized})}enableModality(){this.ddconfig.dismissableMask&&this.wrapper&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",t=>{this.wrapper&&this.wrapper.isSameNode(t.target)&&this.hide()}))}disableModality(){this.unbindMaskClickListener(),this.cd.detectChanges()}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}bindDocumentEscapeListener(){this.ddconfig.closeOnEscape&&(this.documentEscapeListener=this.renderer.listen(this.document,"keydown",t=>{"Escape"===t.key&&this.container&&this.hide()}))}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}createStyle(){if(!this.styleElement&&this.breakpoints){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let t="";for(let e in this.breakpoints)t+=`\n @media screen and (max-width: ${e}) {\n .p-dialog[${this.dialogId}] {\n width: ${this.breakpoints[e]} !important;\n }\n }\n `;this.renderer.setProperty(this.styleElement,"innerHTML",t)}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}onDestroy(){this.onContainerDestroy(),this.componentRef&&"function"==typeof this.componentRef.destroy&&this.componentRef.destroy(),this.destroyStyle()}static ɵfac=function(e){return new(e||t)(i.rXU(F),i.rXU($))};static ɵcmp=i.VBU({type:t,selectors:[["p-dynamicDialog"],["p-dynamicdialog"],["p-dynamic-dialog"]],viewQuery:function(t,e){if(1&t&&i.GBs(M,5)(h.lG,5),2&t){let t;i.mGM(t=i.lsd())&&(e.insertionPoint=t.first),i.mGM(t=i.lsd())&&(e.dialog=t.first)}},features:[i.Jv_([j,{provide:z,useExisting:t},{provide:u.bt,useExisting:t}]),i.nM4([d.Y]),i.Vt3],decls:9,vars:43,consts:[["header",""],["content",""],["footer",""],["closeicon",""],["maximizeicon",""],["minimizeicon",""],["appendTo","self","hostName","DynamicDialog",3,"visibleChange","onHide","onMaximize","onResizeInit","onResizeEnd","onDragEnd","visible","header","draggable","resizable","contentStyle","modal","closeOnEscape","dismissableMask","rtl","closable","breakpoints","styleClass","maskStyleClass","showHeader","autoZIndex","baseZIndex","minX","minY","focusOnShow","maximizable","keepInViewport","focusTrap","transitionOptions","closeAriaLabel","minimizeIcon","maximizeIcon","closeButtonProps","maximizeButtonProps","position","pt","unstyled"],[4,"ngIf"],[4,"ngComponentOutlet"],["pDynamicDialogContent",""]],template:function(t,e){1&t&&(i.j41(0,"p-dialog",6),i.mxI("visibleChange",function(t){return i.DH7(e.visible,t)||(e.visible=t),t}),i.bIt("onHide",function(t){return e.onDialogHide(t)})("onMaximize",function(t){return e.onDialogMaximize(t)})("onResizeInit",function(t){return e.onDialogResizeInit(t)})("onResizeEnd",function(t){return e.onDialogResizeEnd(t)})("onDragEnd",function(t){return e.onDialogDragEnd(t)})("visibleChange",function(t){return e.onVisibleChange(t)}),i.DNE(1,y,2,0,null,7)(2,w,2,0,null,7)(3,_,2,0,null,7)(4,T,2,0,null,7)(5,I,2,0,null,7)(6,D,2,0,null,7)(7,R,1,0,null,7)(8,N,2,1,"div",7),i.k0s()),2&t&&(i.Aen(e.dialogStyle),i.R50("visible",e.visible),i.Y8G("header",null==e.ddconfig?null:e.ddconfig.header)("draggable",!1!==(null==e.ddconfig?null:e.ddconfig.draggable))("resizable",!1!==(null==e.ddconfig?null:e.ddconfig.resizable))("contentStyle",null==e.ddconfig?null:e.ddconfig.contentStyle)("modal",!1!==(null==e.ddconfig?null:e.ddconfig.modal))("closeOnEscape",!1!==(null==e.ddconfig?null:e.ddconfig.closeOnEscape))("dismissableMask",null==e.ddconfig?null:e.ddconfig.dismissableMask)("rtl",null==e.ddconfig?null:e.ddconfig.rtl)("closable",e.closable)("breakpoints",e.breakpoints)("styleClass",null==e.ddconfig?null:e.ddconfig.styleClass)("maskStyleClass",null==e.ddconfig?null:e.ddconfig.maskStyleClass)("showHeader",!1!==(null==e.ddconfig?null:e.ddconfig.showHeader))("autoZIndex",!1!==(null==e.ddconfig?null:e.ddconfig.autoZIndex))("baseZIndex",(null==e.ddconfig?null:e.ddconfig.baseZIndex)||0)("minX",e.minX)("minY",e.minY)("focusOnShow",!1!==(null==e.ddconfig?null:e.ddconfig.focusOnShow))("maximizable",e.maximizable)("keepInViewport",e.keepInViewport)("focusTrap",!1!==(null==e.ddconfig?null:e.ddconfig.focusTrap))("transitionOptions",(null==e.ddconfig?null:e.ddconfig.transitionOptions)||"150ms cubic-bezier(0, 0, 0.2, 1)")("closeAriaLabel",(null==e.ddconfig?null:e.ddconfig.closeAriaLabel)||e.defaultCloseAriaLabel)("minimizeIcon",e.minimizeIcon)("maximizeIcon",e.maximizeIcon)("closeButtonProps",i.lJ4(41,f))("maximizeButtonProps",i.lJ4(42,f))("position",e.position)("pt",e.ddconfig.pt)("unstyled",e.isUnstyled),i.R7$(),i.Y8G("ngIf",e.headerTemplate),i.R7$(),i.Y8G("ngIf",e.contentTemplate),i.R7$(),i.Y8G("ngIf",e.footerTemplate),i.R7$(),i.Y8G("ngIf",e.closeIconTemplate),i.R7$(),i.Y8G("ngIf",e.maximizeIconTemplate),i.R7$(),i.Y8G("ngIf",e.minimizeIconTemplate),i.R7$(),i.Y8G("ngIf",!e.contentTemplate),i.R7$(),i.Y8G("ngIf",e.ddconfig.footer&&!e.footerTemplate))},dependencies:[r.MD,r.OI,r.bT,c.Gg,M,h.lG,d.C],encapsulation:2})}return t})();class B{_parentInjector;_additionalTokens;constructor(t,e){this._parentInjector=t,this._additionalTokens=e}get(t,e,n){return this._additionalTokens.get(t)||this._parentInjector.get(t,e)}}let V=(()=>{class t{appRef;injector;document;dialogComponentRefMap=new Map;constructor(t,e,n){this.appRef=t,this.injector=e,this.document=n}open(t,e){if(!this.duplicationPermission(t,e))return null;const n=this.appendDialogComponentToBody(e,t),r=this.dialogComponentRefMap.get(n);return r&&(r.instance.childComponentType=t,r.instance.inputValues=e.inputValues||{}),n}getInstance(t){return this.dialogComponentRefMap.get(t)?.instance}appendDialogComponentToBody(t,e){const n=new WeakMap;n.set(F,t);const r=new $;n.set($,r);const o=r.onClose.subscribe(()=>{this.dialogComponentRefMap.get(r)?.instance.close()}),i=r.onDestroy.subscribe(()=>{this.removeDialogComponentFromBody(r),i.unsubscribe(),o.unsubscribe()}),l=(0,s.a0P)(H,{environmentInjector:this.appRef.injector,elementInjector:new B(this.injector,n)});this.appRef.attachView(l.hostView);const c=l.hostView.rootNodes[0];return t.appendTo&&"body"!==t.appendTo?(0,a.NI)(t.appendTo,c):this.document.body.appendChild(c),this.dialogComponentRefMap.set(r,l),r}removeDialogComponentFromBody(t){if(!t||!this.dialogComponentRefMap.has(t))return;const e=this.dialogComponentRefMap.get(t);e&&(this.appRef.detachView(e.hostView),e.destroy(),e.changeDetectorRef.detectChanges()),this.dialogComponentRefMap.delete(t)}duplicationPermission(t,e){if(e.duplicate)return!0;let n=!0;for(const[e,r]of this.dialogComponentRefMap)if(r.instance.childComponentType===t){n=!1;break}return n}static ɵfac=function(e){return new(e||t)(o.KVO(i.o8S),o.KVO(o.zZn),o.KVO(o.qQL))};static ɵprov=o.jDH({token:t,factory:t.ɵfac})}return t})()},7144(t,e,n){n.d(e,{Tc:()=>p});var r=n(6868),o=n(6268),i=n(6817),s=n(6484),a=n(7277),l=n(8980);const c=["*"],u={root:"p-fluid"};let d=(()=>{class t extends l.j{name="fluid";classes=u;static ɵfac=(()=>{let e;return function(n){return(e||(e=o.xGo(t)))(n||t)}})();static ɵprov=i.jDH({token:t,factory:t.ɵfac})}return t})();const h=new i.nKC("FLUID_INSTANCE");let p=(()=>{class t extends s.$G{componentName="Fluid";$pcFluid=(0,i.WQX)(h,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,i.WQX)(a.Y,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=(0,i.WQX)(d);static ɵfac=(()=>{let e;return function(n){return(e||(e=o.xGo(t)))(n||t)}})();static ɵcmp=o.VBU({type:t,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(t,e){2&t&&o.HbH(e.cx("root"))},features:[o.Jv_([d,{provide:h,useExisting:t},{provide:s.bt,useExisting:t}]),o.nM4([a.Y]),o.Vt3],ngContentSelectors:c,decls:1,vars:0,template:function(t,e){1&t&&(o.NAR(),o.SdG(0))},dependencies:[r.MD],encapsulation:2,changeDetection:0})}return t})()},7727(t,e,n){n.d(e,{h_:()=>d});var r=n(6268),o=n(6817),i=n(6860),s=n(3896),a=n(6484),l=n(8980);const c=["*"];let u=(()=>{class t extends l.j{name="baseicon";css="\n.p-icon {\n display: inline-block;\n vertical-align: baseline;\n flex-shrink: 0;\n}\n\n.p-icon-spin {\n -webkit-animation: p-icon-spin 2s infinite linear;\n animation: p-icon-spin 2s infinite linear;\n}\n\n@-webkit-keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n";static ɵfac=(()=>{let e;return function(n){return(e||(e=r.xGo(t)))(n||t)}})();static ɵprov=o.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),d=(()=>{class t extends a.$G{spin=!1;_componentStyle=(0,o.WQX)(u);getClassNames(){return(0,s.cn)("p-icon",{"p-icon-spin":this.spin})}static ɵfac=(()=>{let e;return function(n){return(e||(e=r.xGo(t)))(n||t)}})();static ɵcmp=r.VBU({type:t,selectors:[["ng-component"]],hostAttrs:["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],hostVars:2,hostBindings:function(t,e){2&t&&r.HbH(e.getClassNames())},inputs:{spin:[2,"spin","spin",i.L39]},features:[r.Jv_([u]),r.Vt3],ngContentSelectors:c,decls:1,vars:0,template:function(t,e){1&t&&(r.NAR(),r.SdG(0))},encapsulation:2,changeDetection:0})}return t})()},5774(t,e,n){n.d(e,{N:()=>l});var r=n(6268),o=n(6817),i=n(4057),s=n(7727);const a=["data-p-icon","spinner"];let l=(()=>{class t extends s.h_{pathId;onInit(){this.pathId="url(#"+(0,i.u)()+")"}static ɵfac=(()=>{let e;return function(n){return(e||(e=r.xGo(t)))(n||t)}})();static ɵcmp=r.VBU({type:t,selectors:[["","data-p-icon","spinner"]],features:[r.Vt3],attrs:a,decls:5,vars:2,consts:[["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(t,e){1&t&&(o.qSk(),r.rj2(0,"g"),r.Hgh(1,"path",0),r.eux(),r.rj2(2,"defs")(3,"clipPath",1),r.Hgh(4,"rect",2),r.eux()()),2&t&&(r.BMQ("clip-path",e.pathId),r.R7$(3),r.Avn("id",e.pathId))},encapsulation:2})}return t})()},239(t,e,n){n.d(e,{A:()=>a});var r=n(6268),o=n(6817),i=n(7727);const s=["data-p-icon","times"];let a=(()=>{class t extends i.h_{static ɵfac=(()=>{let e;return function(n){return(e||(e=r.xGo(t)))(n||t)}})();static ɵcmp=r.VBU({type:t,selectors:[["","data-p-icon","times"]],features:[r.Vt3],attrs:s,decls:1,vars:0,consts:[["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(t,e){1&t&&(o.qSk(),r.Hgh(0,"path",0))},encapsulation:2})}return t})()},9634(t,e,n){n.d(e,{T8:()=>j,s$:()=>$,FF:()=>z});var r=n(467),o=n(6268),i=n(6817),s=n(6860),a=n(5697),l=n(6868);function c(t,e){if(t&&e){let n=e=>{(function(t,e){return!!t&&(t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className))})(t,e)||(t.classList?t.classList.add(e):t.className+=" "+e)};[e].flat().filter(Boolean).forEach(t=>t.split(" ").forEach(n))}}function u(t,e){if(t&&e){let n=e=>{t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")};[e].flat().filter(Boolean).forEach(t=>t.split(" ").forEach(n))}}function d(t,e,n=null,r){var o;e&&(null==(o=t?.style)||o.setProperty(e,n,r))}var h=n(8165),p=Object.defineProperty,f=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,y=(t,e,n)=>e in t?p(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,b=(t,e)=>{for(var n in e||(e={}))g.call(e,n)&&y(t,n,e[n]);if(f)for(var n of f(e))m.call(e,n)&&y(t,n,e[n]);return t},v="animation",w="transition";function S(t,e){return"number"==typeof t?t:"object"==typeof t&&null!=t[e]?t[e]:null}var C={name:"p",safe:!0,disabled:!1,enter:!0,leave:!0,autoHeight:!0,autoWidth:!1};function _(t,e){if(!t)throw new Error("Element is required.");let n={},r=!1,o={},i=null,s={},a=t=>{if(Object.assign(n,function(t,e){return t?b(b({},t),Object.entries(e).reduce((e,[n,r])=>{var o;return e[n]=null!=(o=t[n])?o:r,e},{})):e}(t,C)),!n.enter&&!n.leave)throw new Error("Enter or leave must be true.");s=function(t){return{enter:{onBefore:t?.onBeforeEnter,onStart:t?.onEnter,onAfter:t?.onAfterEnter,onCancelled:t?.onEnterCancelled},leave:{onBefore:t?.onBeforeLeave,onStart:t?.onLeave,onAfter:t?.onAfterLeave,onCancelled:t?.onLeaveCancelled}}}(n),r=function(t){return!!t&&(t.disabled||!(!t.safe||typeof window>"u"||!window.matchMedia||!window.matchMedia("(prefers-reduced-motion: reduce)").matches))}(n),o=function(t){let{name:e,enterClass:n,leaveClass:r}=t||{};return{enter:{from:n?.from||`${e}-enter-from`,to:n?.to||`${e}-enter-to`,active:n?.active||`${e}-enter-active`},leave:{from:r?.from||`${e}-leave-from`,to:r?.to||`${e}-leave-to`,active:r?.active||`${e}-leave-active`}}}(n),i=null},l=e=>((t,e,n)=>new Promise((t,e)=>{var r=t=>{try{i(n.next(t))}catch(t){e(t)}},o=t=>{try{i(n.throw(t))}catch(t){e(t)}},i=e=>e.done?t(e.value):Promise.resolve(e.value).then(r,o);i((n=n.apply(null,null)).next())}))(0,0,function*(){i?.();let{onBefore:a,onStart:l,onAfter:p,onCancelled:f}=s[e]||{},g={element:t};if(r)return a?.(g),l?.(g),void p?.(g);let{from:m,active:y,to:b}=o[e]||{};return function(t,e=!0,n=!1){if(!e&&!n)return;let r=function(t){let e={width:0,height:0};if(t){let[n,r]=[t.style.visibility,t.style.display],o=t.getBoundingClientRect();t.style.visibility="hidden",t.style.display="block",e.width=o.width||t.offsetWidth,e.height=o.height||t.offsetHeight,t.style.display=r,t.style.visibility=n}return e}(t);e&&d(t,"--pui-motion-height",r.height+"px"),n&&d(t,"--pui-motion-width",r.width+"px")}(t,n.autoHeight,n.autoWidth),a?.(g),c(t,m),c(t,y),u(t,m),c(t,b),l?.(g),new Promise(r=>{let o=S(n.duration,e),s=()=>{u(t,[b,y]),i=null};i=()=>{s(),f?.(g),r()},function(t,e,n,r){let o=t._motionEndId=++k,i=()=>{o===t._motionEndId&&r()};if(null!=n)return setTimeout(i,n);let{type:s,timeout:a,count:l}=function(t,e){let n,r=window.getComputedStyle(t),o=t=>{let e=r[`${t}Duration`];return[r[`${t}Delay`].split(", ").map(h.G8),e.split(", ").map(h.G8)]},[i,s]=o(w),[a,l]=o(v),c=Math.max(...s.map((t,e)=>t+i[e])),u=Math.max(...l.map((t,e)=>t+a[e])),d=0,p=0;return e===w?c>0&&(n=w,d=c,p=s.length):e===v?u>0&&(n=v,d=u,p=l.length):(d=Math.max(c,u),n=d>0?c>u?w:v:void 0,p=n?n===w?s.length:l.length:0),{type:n,timeout:d,count:p}}(t,e);if(!s)return void r();let c=s+"end",u=0,d=()=>{t.removeEventListener(c,p,!0),i()},p=e=>{e.target===t&&++u>=l&&d()};t.addEventListener(c,p,{capture:!0,once:!0}),setTimeout(()=>{u<l&&d()},a+1)}(t,n.type,o,()=>{s(),p?.(g),r()})})});a(e);let p={enter:()=>n.enter?l("enter"):Promise.resolve(),leave:()=>n.leave?l("leave"):Promise.resolve(),cancel:()=>{i?.(),i=null},update:(e,n)=>{if(!e)throw new Error("Element is required.");t=e,p.cancel(),a(n)}};return n.appear&&p.enter(),p}var k=0,x=n(9798),T=n(6484),E=n(7277),A=n(8980);const I=["*"];function O(t,e){1&t&&o.SdG(0)}const L=new WeakMap;function D(t,e){if(t)switch(L.has(t)||L.set(t,{display:t.style.display,visibility:t.style.visibility,maxHeight:t.style.maxHeight,overflow:t.style.overflow}),e){case"display":t.style.display="none";break;case"visibility":t.style.visibility="hidden",t.style.maxHeight="0",t.style.overflow="hidden"}}function P(t,e){if(!t)return;const n=L.get(t)??t.style;switch(e){case"display":t.style.display=n?.display||"";break;case"visibility":t.style.visibility=n?.visibility||"",t.style.maxHeight=n?.maxHeight||"",t.style.overflow=n?.overflow||""}L.delete(t)}const R={root:"p-motion"};let N=(()=>{class t extends A.j{name="motion";style="\n .p-motion {\n display: block;\n }\n";classes=R;static ɵfac=(()=>{let e;return function(n){return(e||(e=o.xGo(t)))(n||t)}})();static ɵprov=i.jDH({token:t,factory:t.ɵfac})}return t})();const M=new i.nKC("MOTION_INSTANCE");let j=(()=>{class t extends T.$G{$pcMotion=(0,i.WQX)(M,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,i.WQX)(E.Y,{self:!0});onAfterViewChecked(){const t=this.options()?.root||{};this.bindDirectiveInstance.setAttrs({...this.ptms(["host","root"]),...t})}_componentStyle=(0,i.WQX)(N);visible=(0,s.hFB)(!1);mountOnEnter=(0,s.hFB)(!0);unmountOnLeave=(0,s.hFB)(!0);name=(0,s.hFB)(void 0);type=(0,s.hFB)(void 0);safe=(0,s.hFB)(void 0);disabled=(0,s.hFB)(!1);appear=(0,s.hFB)(!1);enter=(0,s.hFB)(!0);leave=(0,s.hFB)(!0);duration=(0,s.hFB)(void 0);hideStrategy=(0,s.hFB)("display");enterFromClass=(0,s.hFB)(void 0);enterToClass=(0,s.hFB)(void 0);enterActiveClass=(0,s.hFB)(void 0);leaveFromClass=(0,s.hFB)(void 0);leaveToClass=(0,s.hFB)(void 0);leaveActiveClass=(0,s.hFB)(void 0);options=(0,s.hFB)({});onBeforeEnter=(0,s.CGW)();onEnter=(0,s.CGW)();onAfterEnter=(0,s.CGW)();onEnterCancelled=(0,s.CGW)();onBeforeLeave=(0,s.CGW)();onLeave=(0,s.CGW)();onAfterLeave=(0,s.CGW)();onLeaveCancelled=(0,s.CGW)();motionOptions=(0,a.EW)(()=>{const t=this.options();return{name:t.name??this.name(),type:t.type??this.type(),safe:t.safe??this.safe(),disabled:t.disabled??this.disabled(),appear:!1,enter:t.enter??this.enter(),leave:t.leave??this.leave(),duration:t.duration??this.duration(),enterClass:{from:t.enterClass?.from??(t.name?void 0:this.enterFromClass()),to:t.enterClass?.to??(t.name?void 0:this.enterToClass()),active:t.enterClass?.active??(t.name?void 0:this.enterActiveClass())},leaveClass:{from:t.leaveClass?.from??(t.name?void 0:this.leaveFromClass()),to:t.leaveClass?.to??(t.name?void 0:this.leaveToClass()),active:t.leaveClass?.active??(t.name?void 0:this.leaveActiveClass())},onBeforeEnter:t.onBeforeEnter??this.handleBeforeEnter,onEnter:t.onEnter??this.handleEnter,onAfterEnter:t.onAfterEnter??this.handleAfterEnter,onEnterCancelled:t.onEnterCancelled??this.handleEnterCancelled,onBeforeLeave:t.onBeforeLeave??this.handleBeforeLeave,onLeave:t.onLeave??this.handleLeave,onAfterLeave:t.onAfterLeave??this.handleAfterLeave,onLeaveCancelled:t.onLeaveCancelled??this.handleLeaveCancelled}});motion;isInitialMount=!0;cancelled=!1;destroyed=!1;rendered=(0,i.vPA)(!1);handleBeforeEnter=t=>!this.destroyed&&this.onBeforeEnter.emit(t);handleEnter=t=>!this.destroyed&&this.onEnter.emit(t);handleAfterEnter=t=>!this.destroyed&&this.onAfterEnter.emit(t);handleEnterCancelled=t=>!this.destroyed&&this.onEnterCancelled.emit(t);handleBeforeLeave=t=>!this.destroyed&&this.onBeforeLeave.emit(t);handleLeave=t=>!this.destroyed&&this.onLeave.emit(t);handleAfterLeave=t=>!this.destroyed&&this.onAfterLeave.emit(t);handleLeaveCancelled=t=>!this.destroyed&&this.onLeaveCancelled.emit(t);constructor(){var t;super(),t=this,(0,i.QZP)(()=>{const t=this.hideStrategy();this.isInitialMount?(D(this.$el,t),this.rendered.set(this.visible()&&this.mountOnEnter()||!this.mountOnEnter())):this.visible()&&!this.rendered()&&(D(this.$el,t),this.rendered.set(!0))}),(0,i.QZP)(()=>{this.motion||(this.motion=_(this.$el,this.motionOptions()))}),(0,s.uEv)((0,r.A)(function*(){if(!t.$el)return;const e=t.isInitialMount&&t.visible()&&t.appear(),n=t.hideStrategy();t.visible()?(yield(0,x.dA)(),P(t.$el,n),(e||!t.isInitialMount)&&(t.applyMotionDuration("enter"),t.motion?.enter())):t.isInitialMount||(yield(0,x.dA)(),t.applyMotionDuration("leave"),t.motion?.leave()?.then((0,r.A)(function*(){t.$el&&!t.cancelled&&!t.visible()&&(D(t.$el,n),t.unmountOnLeave()&&(yield(0,x.dA)(),t.cancelled||t.rendered.set(!1)))}))),t.isInitialMount=!1}))}applyMotionDuration(t){const e=(0,a.O8)(this.motionOptions),n=S(e.duration,t);if(null==n||!this.$el)return;const r=this.$el,o=`${n}ms`;"transition"===e.type?r.style.transitionDuration=o:r.style.animationDuration=o}onDestroy(){this.destroyed=!0,this.cancelled=!0,this.motion?.cancel(),this.motion=void 0,P(this.$el,this.hideStrategy()),this.$el?.remove(),this.isInitialMount=!0}static ɵfac=function(e){return new(e||t)};static ɵcmp=o.VBU({type:t,selectors:[["p-motion"]],hostVars:2,hostBindings:function(t,e){2&t&&o.HbH(e.cx("root"))},inputs:{visible:[1,"visible"],mountOnEnter:[1,"mountOnEnter"],unmountOnLeave:[1,"unmountOnLeave"],name:[1,"name"],type:[1,"type"],safe:[1,"safe"],disabled:[1,"disabled"],appear:[1,"appear"],enter:[1,"enter"],leave:[1,"leave"],duration:[1,"duration"],hideStrategy:[1,"hideStrategy"],enterFromClass:[1,"enterFromClass"],enterToClass:[1,"enterToClass"],enterActiveClass:[1,"enterActiveClass"],leaveFromClass:[1,"leaveFromClass"],leaveToClass:[1,"leaveToClass"],leaveActiveClass:[1,"leaveActiveClass"],options:[1,"options"]},outputs:{onBeforeEnter:"onBeforeEnter",onEnter:"onEnter",onAfterEnter:"onAfterEnter",onEnterCancelled:"onEnterCancelled",onBeforeLeave:"onBeforeLeave",onLeave:"onLeave",onAfterLeave:"onAfterLeave",onLeaveCancelled:"onLeaveCancelled"},features:[o.Jv_([N,{provide:M,useExisting:t},{provide:T.bt,useExisting:t}]),o.nM4([E.Y]),o.Vt3],ngContentSelectors:I,decls:1,vars:1,template:function(t,e){1&t&&(o.NAR(),o.nVh(0,O,1,0)),2&t&&o.vxM(e.rendered()?0:-1)},dependencies:[l.MD,E.C],encapsulation:2})}return t})();const F=new i.nKC("MOTION_DIRECTIVE_INSTANCE");let $=(()=>{class t extends T.$G{$pcMotionDirective=(0,i.WQX)(F,{optional:!0,skipSelf:!0})??void 0;visible=(0,s.hFB)(!1,{alias:"pMotion"});name=(0,s.hFB)(void 0,{alias:"pMotionName"});type=(0,s.hFB)(void 0,{alias:"pMotionType"});safe=(0,s.hFB)(void 0,{alias:"pMotionSafe"});disabled=(0,s.hFB)(!1,{alias:"pMotionDisabled"});appear=(0,s.hFB)(!1,{alias:"pMotionAppear"});enter=(0,s.hFB)(!0,{alias:"pMotionEnter"});leave=(0,s.hFB)(!0,{alias:"pMotionLeave"});duration=(0,s.hFB)(void 0,{alias:"pMotionDuration"});hideStrategy=(0,s.hFB)("display",{alias:"pMotionHideStrategy"});enterFromClass=(0,s.hFB)(void 0,{alias:"pMotionEnterFromClass"});enterToClass=(0,s.hFB)(void 0,{alias:"pMotionEnterToClass"});enterActiveClass=(0,s.hFB)(void 0,{alias:"pMotionEnterActiveClass"});leaveFromClass=(0,s.hFB)(void 0,{alias:"pMotionLeaveFromClass"});leaveToClass=(0,s.hFB)(void 0,{alias:"pMotionLeaveToClass"});leaveActiveClass=(0,s.hFB)(void 0,{alias:"pMotionLeaveActiveClass"});options=(0,s.hFB)({},{alias:"pMotionOptions"});onBeforeEnter=(0,s.CGW)({alias:"pMotionOnBeforeEnter"});onEnter=(0,s.CGW)({alias:"pMotionOnEnter"});onAfterEnter=(0,s.CGW)({alias:"pMotionOnAfterEnter"});onEnterCancelled=(0,s.CGW)({alias:"pMotionOnEnterCancelled"});onBeforeLeave=(0,s.CGW)({alias:"pMotionOnBeforeLeave"});onLeave=(0,s.CGW)({alias:"pMotionOnLeave"});onAfterLeave=(0,s.CGW)({alias:"pMotionOnAfterLeave"});onLeaveCancelled=(0,s.CGW)({alias:"pMotionOnLeaveCancelled"});motionOptions=(0,a.EW)(()=>{const t=this.options()??{};return{name:t.name??this.name(),type:t.type??this.type(),safe:t.safe??this.safe(),disabled:t.disabled??this.disabled(),appear:!1,enter:t.enter??this.enter(),leave:t.leave??this.leave(),duration:t.duration??this.duration(),enterClass:{from:t.enterClass?.from??(t.name?void 0:this.enterFromClass()),to:t.enterClass?.to??(t.name?void 0:this.enterToClass()),active:t.enterClass?.active??(t.name?void 0:this.enterActiveClass())},leaveClass:{from:t.leaveClass?.from??(t.name?void 0:this.leaveFromClass()),to:t.leaveClass?.to??(t.name?void 0:this.leaveToClass()),active:t.leaveClass?.active??(t.name?void 0:this.leaveActiveClass())},onBeforeEnter:t.onBeforeEnter??this.handleBeforeEnter,onEnter:t.onEnter??this.handleEnter,onAfterEnter:t.onAfterEnter??this.handleAfterEnter,onEnterCancelled:t.onEnterCancelled??this.handleEnterCancelled,onBeforeLeave:t.onBeforeLeave??this.handleBeforeLeave,onLeave:t.onLeave??this.handleLeave,onAfterLeave:t.onAfterLeave??this.handleAfterLeave,onLeaveCancelled:t.onLeaveCancelled??this.handleLeaveCancelled}});motion;isInitialMount=!0;cancelled=!1;destroyed=!1;handleBeforeEnter=t=>!this.destroyed&&this.onBeforeEnter.emit(t);handleEnter=t=>!this.destroyed&&this.onEnter.emit(t);handleAfterEnter=t=>!this.destroyed&&this.onAfterEnter.emit(t);handleEnterCancelled=t=>!this.destroyed&&this.onEnterCancelled.emit(t);handleBeforeLeave=t=>!this.destroyed&&this.onBeforeLeave.emit(t);handleLeave=t=>!this.destroyed&&this.onLeave.emit(t);handleAfterLeave=t=>!this.destroyed&&this.onAfterLeave.emit(t);handleLeaveCancelled=t=>!this.destroyed&&this.onLeaveCancelled.emit(t);constructor(){super(),(0,i.QZP)(()=>{this.motion||(this.motion=_(this.$el,this.motionOptions()))}),(0,s.uEv)(()=>{if(!this.$el)return;const t=this.isInitialMount&&this.visible()&&this.appear(),e=this.hideStrategy();this.visible()?(P(this.$el,e),(t||!this.isInitialMount)&&(this.applyMotionDuration("enter"),this.motion?.enter())):this.isInitialMount?D(this.$el,e):(this.applyMotionDuration("leave"),this.motion?.leave()?.then(()=>{this.$el&&!this.cancelled&&!this.visible()&&D(this.$el,e)})),this.isInitialMount=!1})}applyMotionDuration(t){const e=(0,a.O8)(this.motionOptions),n=S(e.duration,t);if(null==n||!this.$el)return;const r=this.$el,o=`${n}ms`;"transition"===e.type?r.style.transitionDuration=o:r.style.animationDuration=o}onDestroy(){this.destroyed=!0,this.cancelled=!0,this.motion?.cancel(),this.motion=void 0,P(this.$el,this.hideStrategy()),this.$el?.remove(),this.isInitialMount=!0}static ɵfac=function(e){return new(e||t)};static ɵdir=o.FsC({type:t,selectors:[["","pMotion",""]],inputs:{visible:[1,"pMotion","visible"],name:[1,"pMotionName","name"],type:[1,"pMotionType","type"],safe:[1,"pMotionSafe","safe"],disabled:[1,"pMotionDisabled","disabled"],appear:[1,"pMotionAppear","appear"],enter:[1,"pMotionEnter","enter"],leave:[1,"pMotionLeave","leave"],duration:[1,"pMotionDuration","duration"],hideStrategy:[1,"pMotionHideStrategy","hideStrategy"],enterFromClass:[1,"pMotionEnterFromClass","enterFromClass"],enterToClass:[1,"pMotionEnterToClass","enterToClass"],enterActiveClass:[1,"pMotionEnterActiveClass","enterActiveClass"],leaveFromClass:[1,"pMotionLeaveFromClass","leaveFromClass"],leaveToClass:[1,"pMotionLeaveToClass","leaveToClass"],leaveActiveClass:[1,"pMotionLeaveActiveClass","leaveActiveClass"],options:[1,"pMotionOptions","options"]},outputs:{onBeforeEnter:"pMotionOnBeforeEnter",onEnter:"pMotionOnEnter",onAfterEnter:"pMotionOnAfterEnter",onEnterCancelled:"pMotionOnEnterCancelled",onBeforeLeave:"pMotionOnBeforeLeave",onLeave:"pMotionOnLeave",onAfterLeave:"pMotionOnAfterLeave",onLeaveCancelled:"pMotionOnLeaveCancelled"},features:[o.Jv_([N,{provide:F,useExisting:t},{provide:T.bt,useExisting:t}]),o.Vt3]})}return t})(),z=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵmod=o.$C({type:t});static ɵinj=i.G2t({imports:[j]})}return t})()},1284(t,e,n){n.d(e,{n0:()=>d});var r=n(4460),o=n(6268),i=n(6817),s=n(9798),a=n(6484),l=n(8980);const c={root:"p-ink"};let u=(()=>{class t extends l.j{name="ripple";style="\n \n .p-ink {\n display: block;\n position: absolute;\n background: dt('ripple.background');\n border-radius: 100%;\n transform: scale(0);\n pointer-events: none;\n }\n\n .p-ink-active {\n animation: ripple 0.4s linear;\n }\n\n @keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n }\n\n\n /* For PrimeNG */\n .p-ripple {\n overflow: hidden;\n position: relative;\n }\n\n .p-ripple-disabled .p-ink {\n display: none !important;\n }\n\n @keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n }\n";classes=c;static ɵfac=(()=>{let e;return function(n){return(e||(e=o.xGo(t)))(n||t)}})();static ɵprov=i.jDH({token:t,factory:t.ɵfac})}return t})(),d=(()=>{class t extends a.$G{componentName="Ripple";zone=(0,i.WQX)(i.SKi);_componentStyle=(0,i.WQX)(u);animationListener;mouseDownListener;timeout;constructor(){super(),(0,i.QZP)(()=>{(0,r.UE)(this.platformId)&&(this.config.ripple()?this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}):this.remove())})}onAfterViewInit(){}onMouseDown(t){let e=this.getInk();if(!e||"none"===this.document.defaultView?.getComputedStyle(e,null).display)return;if(!this.$unstyled()&&(0,s.vy)(e,"p-ink-active"),e.setAttribute("data-p-ink-active","false"),!(0,s.Oq)(e)&&!(0,s.RG)(e)){let t=Math.max((0,s.Ot)(this.el.nativeElement),(0,s.P$)(this.el.nativeElement));e.style.height=t+"px",e.style.width=t+"px"}let n=(0,s.A3)(this.el.nativeElement),r=t.pageX-n.left+this.document.body.scrollTop-(0,s.RG)(e)/2,o=t.pageY-n.top+this.document.body.scrollLeft-(0,s.Oq)(e)/2;this.renderer.setStyle(e,"top",o+"px"),this.renderer.setStyle(e,"left",r+"px"),!this.$unstyled()&&(0,s.iQ)(e,"p-ink-active"),e.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(()=>{let t=this.getInk();t&&(!this.$unstyled()&&(0,s.vy)(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"))},401)}getInk(){const t=this.el.nativeElement.children;for(let e=0;e<t.length;e++)if("string"==typeof t[e].className&&-1!==t[e].className.indexOf("p-ink"))return t[e];return null}resetInk(){let t=this.getInk();t&&(!this.$unstyled()&&(0,s.vy)(t,"p-ink-active"),t.setAttribute("data-p-ink-active","false"))}onAnimationEnd(t){this.timeout&&clearTimeout(this.timeout),!this.$unstyled()&&(0,s.vy)(t.currentTarget,"p-ink-active"),t.currentTarget.setAttribute("data-p-ink-active","false")}create(){let t=this.renderer.createElement("span");this.renderer.addClass(t,"p-ink"),this.renderer.appendChild(this.el.nativeElement,t),this.renderer.setAttribute(t,"data-p-ink","true"),this.renderer.setAttribute(t,"data-p-ink-active","false"),this.renderer.setAttribute(t,"aria-hidden","true"),this.renderer.setAttribute(t,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(t,"animationend",this.onAnimationEnd.bind(this)))}remove(){let t=this.getInk();t&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,(0,s.TF)(t))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static ɵfac=function(e){return new(e||t)};static ɵdir=o.FsC({type:t,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[o.Jv_([u]),o.Vt3]})}return t})()},1939(t,e,n){n.d(e,{BF:()=>r,Q$:()=>o});class r{static isArray(t,e=!0){return Array.isArray(t)&&(e||0!==t.length)}static isObject(t,e=!0){return"object"==typeof t&&!Array.isArray(t)&&null!=t&&(e||0!==Object.keys(t).length)}static equals(t,e,n){return n?this.resolveFieldData(t,n)===this.resolveFieldData(e,n):this.equalsByValue(t,e)}static equalsByValue(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var n,r,o,i=Array.isArray(t),s=Array.isArray(e);if(i&&s){if((r=t.length)!=e.length)return!1;for(n=r;0!==n--;)if(!this.equalsByValue(t[n],e[n]))return!1;return!0}if(i!=s)return!1;var a=this.isDate(t),l=this.isDate(e);if(a!=l)return!1;if(a&&l)return t.getTime()==e.getTime();var c=t instanceof RegExp,u=e instanceof RegExp;if(c!=u)return!1;if(c&&u)return t.toString()==e.toString();var d=Object.keys(t);if((r=d.length)!==Object.keys(e).length)return!1;for(n=r;0!==n--;)if(!Object.prototype.hasOwnProperty.call(e,d[n]))return!1;for(n=r;0!==n--;)if(!this.equalsByValue(t[o=d[n]],e[o]))return!1;return!0}return t!=t&&e!=e}static resolveFieldData(t,e){if(t&&e){if(this.isFunction(e))return e(t);if(-1==e.indexOf("."))return t[e];{let n=e.split("."),r=t;for(let t=0,e=n.length;t<e;++t){if(null==r)return null;r=r[n[t]]}return r}}return null}static isFunction(t){return!!(t&&t.constructor&&t.call&&t.apply)}static reorderArray(t,e,n){t&&e!==n&&(n>=t.length&&(n%=t.length,e%=t.length),t.splice(n,0,t.splice(e,1)[0]))}static insertIntoOrderedArray(t,e,n,r){if(n.length>0){let o=!1;for(let i=0;i<n.length;i++)if(this.findIndexInList(n[i],r)>e){n.splice(i,0,t),o=!0;break}o||n.push(t)}else n.push(t)}static findIndexInList(t,e){let n=-1;if(e)for(let r=0;r<e.length;r++)if(e[r]==t){n=r;break}return n}static contains(t,e){if(null!=t&&e&&e.length)for(let n of e)if(this.equals(t,n))return!0;return!1}static removeAccents(t){return t&&(t=t.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),t}static isDate(t){return"[object Date]"===Object.prototype.toString.call(t)}static isEmpty(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!this.isDate(t)&&"object"==typeof t&&0===Object.keys(t).length}static isNotEmpty(t){return!this.isEmpty(t)}static compare(t,e,n,r=1){let o=-1;const i=this.isEmpty(t),s=this.isEmpty(e);return o=i&&s?0:i?r:s?-r:"string"==typeof t&&"string"==typeof e?t.localeCompare(e,n,{numeric:!0}):t<e?-1:t>e?1:0,o}static sort(t,e,n=1,o,i=1){const s=r.compare(t,e,o,n);let a=n;return(r.isEmpty(t)||r.isEmpty(e))&&(a=1===i?n:i),a*s}static merge(t,e){if(null!=t||null!=e)return null!=t&&"object"!=typeof t||null!=e&&"object"!=typeof e?null!=t&&"string"!=typeof t||null!=e&&"string"!=typeof e?e||t:[t||"",e||""].join(" "):{...t||{},...e||{}}}static isPrintableCharacter(t=""){return this.isNotEmpty(t)&&1===t.length&&t.match(/\S| /)}static getItemValue(t,...e){return this.isFunction(t)?t(...e):t}static findLastIndex(t,e){let n=-1;if(this.isNotEmpty(t))try{n=t.findLastIndex(e)}catch{n=t.lastIndexOf([...t].reverse().find(e))}return n}static findLast(t,e){let n;if(this.isNotEmpty(t))try{n=t.findLast(e)}catch{n=[...t].reverse().find(e)}return n}static deepEquals(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var n,r,o,i=Array.isArray(t),s=Array.isArray(e);if(i&&s){if((r=t.length)!=e.length)return!1;for(n=r;0!==n--;)if(!this.deepEquals(t[n],e[n]))return!1;return!0}if(i!=s)return!1;var a=t instanceof Date,l=e instanceof Date;if(a!=l)return!1;if(a&&l)return t.getTime()==e.getTime();var c=t instanceof RegExp,u=e instanceof RegExp;if(c!=u)return!1;if(c&&u)return t.toString()==e.toString();var d=Object.keys(t);if((r=d.length)!==Object.keys(e).length)return!1;for(n=r;0!==n--;)if(!Object.prototype.hasOwnProperty.call(e,d[n]))return!1;for(n=r;0!==n--;)if(!this.deepEquals(t[o=d[n]],e[o]))return!1;return!0}return t!=t&&e!=e}static minifyCSS(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(t){return this.isString(t)?t.replace(/(-|_)/g,"").toLowerCase():t}static isString(t,e=!0){return"string"==typeof t&&(e||""!==t)}}var o=function(){let t=[];const e=(e,n)=>{let r=t.length>0?t[t.length-1]:{key:e,value:n},o=r.value+(r.key===e?0:n)+2;return t.push({key:e,value:o}),o},n=e=>{t=t.filter(t=>t.value!==e)},r=t=>t&&parseInt(t.style.zIndex,10)||0;return{get:r,set:(t,n,r)=>{n&&(n.style.zIndex=String(e(t,r)))},clear:t=>{t&&(n(r(t)),t.style.zIndex="")},getCurrent:()=>t.length>0?t[t.length-1].value:0,generateZIndex:e,revertZIndex:n}}()},3896(t,e,n){function r(...t){if(t){let e=[];for(let n=0;n<t.length;n++){let o=t[n];if(!o)continue;let i=typeof o;if("string"===i||"number"===i)e.push(o);else if("object"===i){let t=Array.isArray(o)?[r(...o)]:Object.entries(o).map(([t,e])=>e?t:void 0);e=t.length?e.concat(t.filter(t=>!!t)):e}}return e.join(" ").trim()}}n.d(e,{cn:()=>r})},9798(t,e,n){n.d(e,{$4:()=>L,A3:()=>R,Am:()=>u,Bq:()=>W,CN:()=>$,DE:()=>P,Hr:()=>h,M6:()=>c,NI:()=>_,Nb:()=>m,Oq:()=>D,Ot:()=>b,P$:()=>N,RG:()=>M,RU:()=>z,TD:()=>y,TF:()=>B,Vp:()=>f,Wp:()=>x,XC:()=>I,dA:()=>H,eZ:()=>C,iQ:()=>s,iq:()=>O,kc:()=>A,n:()=>T,nB:()=>i,oo:()=>U,qG:()=>E,uR:()=>v,un:()=>F,v1:()=>g,vy:()=>l,xL:()=>a,zN:()=>j,zz:()=>V});var r,o=n(4513);function i(t,e){return!!t&&(t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className))}function s(t,e){if(t&&e){let n=e=>{i(t,e)||(t.classList?t.classList.add(e):t.className+=" "+e)};[e].flat().filter(Boolean).forEach(t=>t.split(" ").forEach(n))}}function a(t){"string"==typeof t?s(document.body,t||"p-overflow-hidden"):(null!=t&&t.variableName&&document.body.style.setProperty(t.variableName,window.innerWidth-document.documentElement.offsetWidth+"px"),s(document.body,t?.className||"p-overflow-hidden"))}function l(t,e){if(t&&e){let n=e=>{t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")};[e].flat().filter(Boolean).forEach(t=>t.split(" ").forEach(n))}}function c(t){"string"==typeof t?l(document.body,t||"p-overflow-hidden"):(null!=t&&t.variableName&&document.body.style.removeProperty(t.variableName),l(document.body,t?.className||"p-overflow-hidden"))}function u(t){for(let e of document?.styleSheets)try{for(let n of e?.cssRules)for(let e of n?.style)if(t.test(e))return{name:e,value:n.style.getPropertyValue(e).trim()}}catch{}return null}function d(t){let e={width:0,height:0};if(t){let[n,r]=[t.style.visibility,t.style.display],o=t.getBoundingClientRect();t.style.visibility="hidden",t.style.display="block",e.width=o.width||t.offsetWidth,e.height=o.height||t.offsetHeight,t.style.display=r,t.style.visibility=n}return e}function h(){let t=window,e=document,n=e.documentElement,r=e.getElementsByTagName("body")[0];return{width:t.innerWidth||n.clientWidth||r.clientWidth,height:t.innerHeight||n.clientHeight||r.clientHeight}}function p(t){return t?Math.abs(t.scrollLeft):0}function f(){let t=document.documentElement;return(window.pageXOffset||p(t))-(t.clientLeft||0)}function g(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}function m(t,e,n=!0){var r,o,i,s;if(t){let a,l,c=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:d(t),p=c.height,m=c.width,y=e.offsetHeight,b=e.offsetWidth,v=e.getBoundingClientRect(),w=g(),S=f(),C=h(),_="top";v.top+y+p>C.height?(a=v.top+w-p,_="bottom",a<0&&(a=w)):a=y+v.top+w,l=v.left+m>C.width?Math.max(0,v.left+S+b-m):v.left+S,function(t){return!!t&&"rtl"===getComputedStyle(t).direction}(t)?t.style.insetInlineEnd=l+"px":t.style.insetInlineStart=l+"px",t.style.top=a+"px",t.style.transformOrigin=_,n&&(t.style.marginTop="bottom"===_?`calc(${null!=(o=null==(r=u(/-anchor-gutter$/))?void 0:r.value)?o:"2px"} * -1)`:null!=(s=null==(i=u(/-anchor-gutter$/))?void 0:i.value)?s:"")}}function y(t,e){t&&("string"==typeof e?t.style.cssText=e:Object.entries(e||{}).forEach(([e,n])=>t.style[e]=n))}function b(t,e){if(t instanceof HTMLElement){let n=t.offsetWidth;if(e){let e=getComputedStyle(t);n+=parseFloat(e.marginLeft)+parseFloat(e.marginRight)}return n}return 0}function v(t,e,n=!0,r=void 0){var o;if(t){let i,s,a=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:d(t),l=e.offsetHeight,c=e.getBoundingClientRect(),p=h(),f=r??"top";if(!r&&c.top+l+a.height>p.height?(i=-1*a.height,f="bottom",c.top+i<0&&(i=-1*c.top)):i=l,s=a.width>p.width?-1*c.left:c.left+a.width>p.width?-1*(c.left+a.width-p.width):0,t.style.top=i+"px",t.style.insetInlineStart=s+"px",t.style.transformOrigin=f,n){let e=null==(o=u(/-anchor-gutter$/))?void 0:o.value;t.style.marginTop="bottom"===f?`calc(${e??"2px"} * -1)`:e??""}}}function w(t){return typeof Element<"u"?t instanceof Element:null!==t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName}function S(t){var e;if(w(t))return t;if(!t||"object"!=typeof t)return;let n=t;if("current"in t)n=t.current,n=null!=(e=S(n?.elementRef))?e:n;else if("value"in t)n=t.value;else if("nativeElement"in t)n=t.nativeElement;else if("el"in t){let e=t.el;n=e&&"object"==typeof e&&"nativeElement"in e?e.nativeElement:e}else if("elementRef"in t)return S(t.elementRef);return n=(0,o.hd)(n),w(n)?n:void 0}function C(t,e){var n,r,o,i;if(t)switch(t){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return e?.nextElementSibling;case"@prev":return e?.previousElementSibling;case"@first":return e?.firstElementChild;case"@last":return e?.lastElementChild;case"@child":return null==(n=e?.children)?void 0:n[0];case"@parent":return e?.parentElement;case"@grandparent":return null==(r=e?.parentElement)?void 0:r.parentElement;default:{if("string"==typeof t){let n=t.match(/^@child\[(\d+)]/);return n?(null==(o=e?.children)?void 0:o[parseInt(n[1],10)])||null:document.querySelector(t)||null}let n="function"==typeof(i=t)&&"call"in i&&"apply"in i?t():t,r=S(n);return function(t){return!!(null!==t&&typeof t<"u"&&t.nodeName&&function(t){if(t){let e=t.parentNode;return e&&e instanceof ShadowRoot&&e.host&&(e=e.host),e}return null}(t))}(r)?r:9===n?.nodeType?n:void 0}}}function _(t,e){let n=C(t,e);if(!n)throw new Error("Cannot append "+e+" to "+t);n.appendChild(e)}function k(t){if(t){let e=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.borderRightWidth)}{if(null!=r)return r;let t=document.createElement("div");y(t,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(t);let e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),r=e,e}}function x(t,e={}){if(w(t)){let n=(e,r)=>{var o,i;let s=null!=(o=t?.$attrs)&&o[e]?[null==(i=t?.$attrs)?void 0:i[e]]:[];return[r].flat().reduce((t,r)=>{if(null!=r){let o=typeof r;if("string"===o||"number"===o)t.push(r);else if("object"===o){let o=Array.isArray(r)?n(e,r):Object.entries(r).map(([t,n])=>"style"!==e||!n&&0!==n?n?t:void 0:`${t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${n}`);t=o.length?t.concat(o.filter(t=>!!t)):t}}return t},s)},r=e=>{n("style",e).forEach(e=>{let n=e.indexOf(":");if(n<0)return;let r=e.slice(0,n).trim(),o=e.slice(n+1).trim();r&&t.style.setProperty(r,o)})};Object.entries(e).forEach(([e,o])=>{if(null!=o){let i=e.match(/^on(.+)/);i?t.addEventListener(i[1].toLowerCase(),o):"p-bind"===e||"pBind"===e?x(t,o):"style"===e?(r(o),(t.$attrs=t.$attrs||{})&&(t.$attrs[e]=t.style.cssText)):(o="class"===e?[...new Set(n("class",o))].join(" ").trim():o,(t.$attrs=t.$attrs||{})&&(t.$attrs[e]=o),t.setAttribute(e,o))}})}}function T(t,e={},...n){if(t){let r=document.createElement(t);return x(r,e),r.append(...n),r}}function E(t,e){if(t){t.style.opacity="0";let n=+new Date,r="0",o=function(){r=""+(+t.style.opacity+((new Date).getTime()-n)/e),t.style.opacity=r,n=+new Date,+r<1&&("requestAnimationFrame"in window?requestAnimationFrame(o):setTimeout(o,16))};o()}}function A(t,e){return w(t)?t.matches(e)?t:t.querySelector(e):null}function I(t,e){t&&document.activeElement!==t&&t.focus(e)}function O(t,e=""){let n=function(t,e){return w(t)?Array.from(t.querySelectorAll(e)):[]}(t,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [href]:not([tabindex = "-1"]):not([style*="display:none"]):not([hidden])${e},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`),r=[];for(let t of n)"none"!=getComputedStyle(t).display&&"hidden"!=getComputedStyle(t).visibility&&r.push(t);return r}function L(t,e){let n=O(t,e);return n.length>0?n[0]:null}function D(t){if(t){let e=t.offsetHeight,n=getComputedStyle(t);return e-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),e}return 0}function P(t,e){let n=O(t,e);return n.length>0?n[n.length-1]:null}function R(t){if(t){let e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||p(document.documentElement)||p(document.body)||0)}}return{top:"auto",left:"auto"}}function N(t,e){if(t){let n=t.offsetHeight;if(e){let e=getComputedStyle(t);n+=parseFloat(e.marginTop)+parseFloat(e.marginBottom)}return n}return 0}function M(t){if(t){let e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth),e}return 0}function j(t){return!(!t||null==t.offsetParent)}function F(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window)}function $(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function z(t,e){var n,r;if(t){let o=t.parentElement,i=R(o),s=h(),a=t.offsetParent?t.offsetWidth:function(t){if(t){let[e,n]=[t.style.visibility,t.style.display];t.style.visibility="hidden",t.style.display="block";let r=t.offsetWidth;return t.style.display=n,t.style.visibility=e,r}return 0}(t),l=t.offsetParent?t.offsetHeight:function(t){if(t){let[e,n]=[t.style.visibility,t.style.display];t.style.visibility="hidden",t.style.display="block";let r=t.offsetHeight;return t.style.display=n,t.style.visibility=e,r}return 0}(t),c=b(null==(n=o?.children)?void 0:n[0]),u=N(null==(r=o?.children)?void 0:r[0]),d="",p="";i.left+c+a>s.width-k()?i.left<a?e%2==1?d=i.left?"-"+i.left+"px":"100%":e%2==0&&(d=s.width-a-k()+"px"):d="-100%":d="100%",p=t.getBoundingClientRect().top+u+l>s.height?`-${l-u}px`:"0px",t.style.top=p,t.style.insetInlineStart=d}}function H(){return new Promise(t=>{requestAnimationFrame(()=>{requestAnimationFrame(t)})})}function B(t){var e;t&&("remove"in Element.prototype?t.remove():null==(e=t.parentNode)||e.removeChild(t))}function V(t,e){let n=S(t);if(!n)throw new Error("Cannot remove "+e+" from "+t);n.removeChild(e)}function U(t,e){let n=getComputedStyle(t).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,s=t.getBoundingClientRect(),a=e.getBoundingClientRect().top+document.body.scrollTop-(s.top+document.body.scrollTop)-r-i,l=t.scrollTop,c=t.clientHeight,u=N(e);a<0?t.scrollTop=l+a:a+u>c&&(t.scrollTop=l+a-c+u)}function W(t,e="",n){if(w(t)&&null!=n){if("style"===e)return void("string"==typeof n?t.style.cssText=n:"object"==typeof n&&Object.entries(n).forEach(([e,n])=>{if(null==n)return;let r=e.startsWith("--")?e:e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();t.style.setProperty(r,String(n))}));t.setAttribute(e,n)}}},4513(t,e,n){function r(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!(t instanceof Date)&&"object"==typeof t&&0===Object.keys(t).length}function o(t,e,n=new WeakSet){if(t===e)return!0;if(!t||!e||"object"!=typeof t||"object"!=typeof e||n.has(t)||n.has(e))return!1;n.add(t).add(e);let r,i,s,a=Array.isArray(t),l=Array.isArray(e);if(a&&l){if(i=t.length,i!=e.length)return!1;for(r=i;0!==r--;)if(!o(t[r],e[r],n))return!1;return!0}if(a!=l)return!1;let c=t instanceof Date,u=e instanceof Date;if(c!=u)return!1;if(c&&u)return t.getTime()==e.getTime();let d=t instanceof RegExp,h=e instanceof RegExp;if(d!=h)return!1;if(d&&h)return t.toString()==e.toString();let p=Object.keys(t);if(i=p.length,i!==Object.keys(e).length)return!1;for(r=i;0!==r--;)if(!Object.prototype.hasOwnProperty.call(e,p[r]))return!1;for(r=i;0!==r--;)if(s=p[r],!o(t[s],e[s],n))return!1;return!0}function i(t,e){return o(t,e)}function s(t){return"function"==typeof t&&"call"in t&&"apply"in t}function a(t){return!r(t)}function l(t,e){if(!t||!e)return null;try{let n=t[e];if(a(n))return n}catch{}if(Object.keys(t).length){if(s(e))return e(t);if(-1===e.indexOf("."))return t[e];{let n=e.split("."),r=t;for(let t=0,e=n.length;t<e;++t){if(null==r)return null;r=r[n[t]]}return r}}return null}function c(t,e,n){return n?l(t,n)===l(e,n):i(t,e)}function u(t,e){if(null!=t&&e&&e.length)for(let n of e)if(c(t,n))return!0;return!1}function d(t,e){let n=-1;if(a(t))try{n=t.findLastIndex(e)}catch{n=t.lastIndexOf([...t].reverse().find(e))}return n}function h(t,...e){return s(t)?t(...e):t}function p(t,e=!0){return"string"==typeof t&&(e||""!==t)}function f(t){return p(t)?t.replace(/(-|_)/g,"").toLowerCase():t}function g(t,e="",n={}){let r=f(e).split("."),o=r.shift();return o?function(t,e=!0){return t instanceof Object&&t.constructor===Object&&(e||0!==Object.keys(t).length)}(t)?g(h(t[Object.keys(t).find(t=>f(t)===o)||""],n),r.join("."),n):void 0:h(t,n)}function m(t,e=!0){return Array.isArray(t)&&(e||0!==t.length)}function y(t=""){return a(t)&&1===t.length&&!!t.match(/\S| /)}function b(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function v(t){if(t&&/[\xC0-\xFF\u0100-\u017E]/.test(t)){let e={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let n in e)t=t.replace(e[n],n)}return t}n.d(e,{Im:()=>r,Kg:()=>p,Kl:()=>d,L7:()=>l,Oo:()=>v,P2:()=>y,Tn:()=>s,aI:()=>c,c2:()=>i,cy:()=>m,fm:()=>g,gR:()=>u,hd:()=>h,hj:()=>a,qd:()=>f,uN:()=>b})},4057(t,e,n){n.d(e,{u:()=>o});var r={};function o(t="pui_id_"){return Object.hasOwn(r,t)||(r[t]=0),r[t]++,`${t}${r[t]}`}},467(t,e,n){function r(t,e,n,r,o,i,s){try{var a=t[i](s),l=a.value}catch(t){return void n(t)}a.done?e(l):Promise.resolve(l).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise(function(o,i){var s=t.apply(e,n);function a(t){r(s,o,i,a,l,"next",t)}function l(t){r(s,o,i,a,l,"throw",t)}a(void 0)})}}n.d(e,{A:()=>o})},1635(t,e,n){function r(t,e,n,r){return new(n||(n=Promise))(function(o,i){function s(t){try{l(r.next(t))}catch(t){i(t)}}function a(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){t.done?o(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(s,a)}l((r=r.apply(t,e||[])).next())})}function o(t){return this instanceof o?(this.v=t,this):new o(t)}function i(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),s=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(t){return function(e){return Promise.resolve(e).then(t,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(t,e){i[t]&&(r[t]=function(e){return new Promise(function(n,r){s.push([t,e,n,r])>1||l(t,e)})},e&&(r[t]=e(r[t])))}function l(t,e){try{!function(t){t.value instanceof o?Promise.resolve(t.value.v).then(c,u):d(s[0][2],t)}(i[t](e))}catch(t){d(s[0][3],t)}}function c(t){l("next",t)}function u(t){l("throw",t)}function d(t,e){t(e),s.shift(),s.length&&l(s[0][0],s[0][1])}}function s(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,o,(e=t[n](e)).done,e.value)})}}}n.d(e,{AQ:()=>i,N3:()=>o,sH:()=>r,xN:()=>s}),"function"==typeof SuppressedError&&SuppressedError}},BE={};function wn(t){var e=BE[t];if(void 0!==e)return e.exports;var n=BE[t]={id:t,loaded:!1,exports:{}};return $E[t].call(n.exports,n,n.exports,wn),n.loaded=!0,n.exports}wn.m=$E,wn.amdO={},wn.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return wn.d(e,{a:e}),e},wn.d=(t,e)=>{for(var n in e)wn.o(e,n)&&!wn.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},wn.f={},wn.e=t=>Promise.all(Object.keys(wn.f).reduce((e,n)=>(wn.f[n](t,e),e),[])),wn.u=t=>t+"."+{13:"ad444e8269593ee2",73:"f83619e2832c4b41",130:"2c59a858b6c5074e",166:"2447618295f9f57e",193:"10e8e35fe06bbe75",212:"40710aefd68754cd",237:"e1f4d904edb15d90",310:"6c6a6623c8b34ebc",323:"d2443f9fef640a8e",359:"0c29f20116f6fced",407:"a6d54c8620760b6f",471:"f6334bc6faa72e9e",602:"6a1ac8fc197669c5",703:"a0981c8b8b06b42c",861:"032fc5ad32366dcd",891:"fec979a8509cee91",900:"3943458ad1600e49",936:"093de58c6651ba40",943:"a5ef85234b2a2827"}[t]+".js",wn.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),wn.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={},e="workbench:";wn.l=(n,r,o,i)=>{if(t[n])t[n].push(r);else{var s,a;if(void 0!==o)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==e+o){s=u;break}}s||(a=!0,(s=document.createElement("script")).type="module",s.charset="utf-8",wn.nc&&s.setAttribute("nonce",wn.nc),s.setAttribute("data-webpack",e+o),s.src=wn.tu(n)),t[n]=[r];var d=(e,r)=>{s.onerror=s.onload=null,clearTimeout(h);var o=t[n];if(delete t[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(t=>t(r)),e)return e(r)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),a&&document.head.appendChild(s)}}})(),wn.r=t=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;wn.tt=()=>(void 0===t&&(t={createScriptURL:t=>t},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(t=trustedTypes.createPolicy("angular#bundler",t))),t)})(),wn.tu=t=>wn.tt().createScriptURL(t),(()=>{var t;if("string"==typeof import.meta.url&&(t=import.meta.url),!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),wn.p=t})(),(()=>{var t={792:0};wn.f.j=(e,n)=>{var r=wn.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=t[e]=[n,o]);n.push(r[2]=o);var i=wn.p+wn.u(e),s=new Error;wn.l(i,n=>{if(wn.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}},"chunk-"+e,e)}};var e=(e,n)=>{var r,o,[i,s,a]=n,l=0;if(i.some(e=>0!==t[e])){for(r in s)wn.o(s,r)&&(wn.m[r]=s[r]);a&&a(wn)}for(e&&e(n);l<i.length;l++)wn.o(t,o=i[l])&&t[o]&&t[o][0](),t[o]=0},n=self.webpackJsonpworkbench=self.webpackJsonpworkbench||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})(),wn.nc=void 0;var Zd={};(()=>{var t=wn(5072),e=wn.n(t),n=wn(7825),r=wn.n(n),o=wn(7659),i=wn.n(o),s=wn(5056),a=wn.n(s),l=wn(540),c=wn.n(l),u=wn(1113),d=wn.n(u),h=wn(6148),p={};p.styleTagTransform=d(),p.setAttributes=a(),p.insert=i().bind(null,"head"),p.domAPI=r(),p.insertStyleElement=c(),e()(h.A,p)})(),(()=>{wn.d(Zd,{Nw:()=>_t,Or:()=>kt,vs:()=>xt});var t=wn(467),e=(wn(9408),wn(6860)),n=wn(6817),r=wn(3639),o=wn(83),i=wn(5487),s=wn(8447),a=wn(1698),l=wn(2867);class c extends o.tl{constructor(){super(),this.skipNextPopState=!1,this.source="Window.addEventListener:popstate",this.onPopState$=new s.B,(0,n.WQX)(e.Tg_).onDestroy(()=>this.onPopState$.complete()),this.onPopState$.pipe((0,l.n)(t=>new a.c(e=>function(t){return typeof Zone<"u"&&"function"==typeof Zone?.root?.run?Zone.root.run(t):t()}(()=>{const n=setTimeout(()=>{e.next(t)});return()=>clearTimeout(n)})))).subscribe(([t,e])=>{this.skipNextPopState&&e.singleSpa?this.skipNextPopState=!1:t(e)})}pushState(t,e,n){this.skipNextPopState=!0,super.pushState(t,e,n)}replaceState(t,e,n){this.skipNextPopState=!0,super.replaceState(t,e,n)}onPopState(t){return super.onPopState(e=>{this.onPopState$.next([t,e])})}}function u(){return[{provide:c,useFactory:()=>new c},{provide:o.Vw,useExisting:c}]}const d={NgZone:null,bootstrapFunction:null,template:null,Router:void 0,domElementGetter:void 0,updateFunction:()=>Promise.resolve(),bootstrappedRef:null};function h(t){return p.apply(this,arguments)}function p(){return(p=(0,t.A)(function*(t){"noop"!==t.NgZone&&(t.NgZone.assertInAngularZone=()=>{},t.NgZone.assertNotInAngularZone=()=>{},t.routingEventListener=()=>{t.bootstrappedNgZone.run(()=>{})})})).apply(this,arguments)}function f(t,e){return g.apply(this,arguments)}function g(){return(g=(0,t.A)(function*(t,e){!function(t,e){const n=function(t,e){return(e=e?.customProps??e).domElement?()=>e.domElement:e.domElementGetter?e.domElementGetter:t.domElementGetter?t.domElementGetter:function(t){return function(){const e=`single-spa-application:${t}`;let n=document.getElementById(e);return n||(n=document.createElement("div"),n.id=e,document.body.appendChild(n)),n}}(e.name)}(t,e);if(!n)throw Error(`Cannot mount angular application '${e.name||e.appName}' without a domElementGetter provided either as an opt or a prop`);const r="function"==typeof t.template?t.template(e):t.template,o=function(t,e){const n=t(e);if(!n)throw Error("domElementGetter did not return a valid dom element");return n}(n,e);o.innerHTML=r}(t,e);const n=t.bootstrapFunction(e);if(!(n instanceof Promise))throw Error(`single-spa-angular: the options.bootstrapFunction must return a promise, but instead returned a '${typeof n}' that is not a Promise`);const r=yield n;if("function"!=typeof r?.destroy)throw Error("single-spa-angular: the options.bootstrapFunction returned a promise that did not resolve with a valid Angular module or ApplicationRef. Did you call platformBrowserDynamic().bootstrapModule() correctly?");const o=r.injector.get(c,null);if(t.Router&&null===o)throw new Error("\n single-spa-angular: could not retrieve extra providers from the platform injector. Did you add provideSingleSpaPlatform()?\n ");const i=t;if("noop"!==t.NgZone){const e=r.injector.get(t.NgZone);null!==o&&function(t,e){const{NavigationStart:n,Router:r}=e;if(!n||!r)return;const o=t.injector.get(r),i=o.events.subscribe(t=>{if(t instanceof n){const t=o.getCurrentNavigation();"imperative"!==t.trigger&&(t.extras.skipLocationChange=!0,t.extras.replaceUrl=!1)}});t.onDestroy(()=>i.unsubscribe())}(r,t),i.bootstrappedNgZone=e,window.addEventListener("single-spa:routing-event",i.routingEventListener)}return i.bootstrappedRef=r,r})).apply(this,arguments)}function m(t){return Promise.resolve().then(()=>{t.routingEventListener&&window.removeEventListener("single-spa:routing-event",t.routingEventListener),t.bootstrappedRef.destroy(),t.bootstrappedRef=null})}var y=wn(4460),b=wn(6268);class v{_doc;constructor(t){this._doc=t}manager}let w=(()=>{class t extends v{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n,r){return t.addEventListener(e,n,r),()=>this.removeEventListener(t,e,n,r)}removeEventListener(t,e,n,r){return t.removeEventListener(e,n,r)}static ɵfac=function(e){return new(e||t)(n.KVO(n.qQL))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();const S=new n.nKC("");let C=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,e){this._zone=e,t.forEach(t=>{t.manager=this});const n=t.filter(t=>!(t instanceof w));this._plugins=n.slice().reverse();const r=t.find(t=>t instanceof w);r&&this._plugins.push(r)}addEventListener(t,e,n,r){return this._findPluginFor(e).addEventListener(t,e,n,r)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find(e=>e.supports(t)),!e)throw new n.buA(5101,!1);return this._eventNameToPlugin.set(t,e),e}static ɵfac=function(e){return new(e||t)(n.KVO(S),n.KVO(n.SKi))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();const _="ng-app-id";function k(t){for(const e of t)e.remove()}function x(t,e){const n=e.createElement("style");return n.textContent=t,n}function T(t,e){const n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}let E=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,e,n,r={}){this.doc=t,this.appId=e,this.nonce=n,function(t,e,n,r){const o=t.head?.querySelectorAll(`style[${_}="${e}"],link[${_}="${e}"]`);if(o)for(const t of o)t.removeAttribute(_),t instanceof HTMLLinkElement?r.set(t.href.slice(t.href.lastIndexOf("/")+1),{usage:0,elements:[t]}):t.textContent&&n.set(t.textContent,{usage:0,elements:[t]})}(t,e,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,e){for(const e of t)this.addUsage(e,this.inline,x);e?.forEach(t=>this.addUsage(t,this.external,T))}removeStyles(t,e){for(const e of t)this.removeUsage(e,this.inline);e?.forEach(t=>this.removeUsage(t,this.external))}addUsage(t,e,n){const r=e.get(t);r?r.usage++:e.set(t,{usage:1,elements:[...this.hosts].map(e=>this.addElement(e,n(t,this.doc)))})}removeUsage(t,e){const n=e.get(t);n&&(n.usage--,n.usage<=0&&(k(n.elements),e.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])k(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[e,{elements:n}]of this.inline)n.push(this.addElement(t,x(e,this.doc)));for(const[e,{elements:n}]of this.external)n.push(this.addElement(t,T(e,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,e){return this.nonce&&e.setAttribute("nonce",this.nonce),t.appendChild(e)}static ɵfac=function(e){return new(e||t)(n.KVO(n.qQL),n.KVO(b.sZ2),n.KVO(b.BIS,8),n.KVO(b.Agw))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();const A={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/Math/MathML"},I=/%COMP%/g,O=new n.nKC("",{factory:()=>!0});function L(t,e){return e.map(e=>e.replace(I,t))}let D=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,e,n,r,o,i,s=null,a=null){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.removeStylesOnCompDestroy=r,this.doc=o,this.ngZone=i,this.nonce=s,this.tracingService=a,this.defaultRenderer=new P(t,o,i,this.tracingService)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;const n=this.getOrCreateRenderer(t,e);return n instanceof j?n.applyToHost(t):n instanceof M&&n.applyStyles(),n}getOrCreateRenderer(t,e){const n=this.rendererByCompId;let r=n.get(e.id);if(!r){const o=this.doc,i=this.ngZone,s=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,c=this.tracingService;switch(e.encapsulation){case b.gXe.Emulated:r=new j(s,a,e,this.appId,l,o,i,c);break;case b.gXe.ShadowDom:return new N(s,t,e,o,i,this.nonce,c,a);case b.gXe.ExperimentalIsolatedShadowDom:return new N(s,t,e,o,i,this.nonce,c);default:r=new M(s,a,e,l,o,i,c)}n.set(e.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static ɵfac=function(e){return new(e||t)(n.KVO(C),n.KVO(E),n.KVO(b.sZ2),n.KVO(O),n.KVO(n.qQL),n.KVO(n.SKi),n.KVO(b.BIS),n.KVO(b.a8H,8))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();class P{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,n,r){this.eventManager=t,this.doc=e,this.ngZone=n,this.tracingService=r}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(A[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(R(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(R(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){e.remove()}selectRootElement(t,e){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new n.buA(-5104,!1);return e||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const o=A[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=A[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(b.czy.DashCase|b.czy.Important)?t.style.setProperty(e,n,r&b.czy.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&b.czy.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){null!=t&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,r,i){if("string"==typeof t&&!(t=(0,o.rb)().getGlobalEventTarget(this.doc,t)))throw new n.buA(5102,!1);let s=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(t,e,s)),this.eventManager.addEventListener(t,e,s,i)}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&e.preventDefault()}}}function R(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class N extends P{hostEl;sharedStylesHost;shadowRoot;constructor(t,e,n,r,o,i,s,a){super(t,r,o,s),this.hostEl=e,this.sharedStylesHost=a,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=n.styles;l=L(n.id,l);for(const t of l){const e=document.createElement("style");i&&e.setAttribute("nonce",i),e.textContent=t,this.shadowRoot.appendChild(e)}const c=n.getExternalStyles?.();if(c)for(const t of c){const e=T(t,r);i&&e.setAttribute("nonce",i),this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class M extends P{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,r,o,i,s,a){super(t,o,i,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let l=n.styles;this.styles=a?L(a,l):l,this.styleUrls=n.getExternalStyles?.(a)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===b.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class j extends M{contentAttr;hostAttr;constructor(t,e,n,r,o,i,s,a){const l=r+"-"+n.id;super(t,e,n,o,i,s,a,l),this.contentAttr=function(t){return"_ngcontent-%COMP%".replace(I,t)}(l),this.hostAttr=function(t){return"_nghost-%COMP%".replace(I,t)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class F extends o.qj{supportsDOMEvents=!0;static makeCurrent(){(0,o.ig)(new F)}onAndCancel(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=($=$||document.head.querySelector("base"),$?$.getAttribute("href"):null);return null==e?null:function(t){return new URL(t,document.baseURI).pathname}(e)}resetBaseElement(){$=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,o]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}(document.cookie,t)}}let $=null,z=(()=>{class t{build(){return new XMLHttpRequest}static ɵfac=function(e){return new(e||t)};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();const H=["alt","control","meta","shift"],B={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},V={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let U=(()=>{class t extends v{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r,i){const s=t.parseEventName(n),a=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.rb)().onAndCancel(e,s.domEventName,a,i))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const o=t._normalizeKey(n.pop());let i="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),i="code."),H.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;const a={};return a.domEventName=r,a.fullKey=i,a}static matchEventFullKeyCode(t,e){let n=B[t.key]||t.key,r="";return e.indexOf("code.")>-1&&(n=t.code,r="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),H.forEach(e=>{e!==n&&(0,V[e])(t)&&(r+=e+".")}),r+=n,r===e)}static eventCallback(e,n,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>n(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static ɵfac=function(e){return new(e||t)(n.KVO(n.qQL))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();function W(){return(W=(0,t.A)(function*(t,n,r){const o={rootComponent:t,...G(n,r)};return(0,e.TL3)(o)})).apply(this,arguments)}function G(t,e){return{platformRef:e?.platformRef,appProviders:[...Z,...t?.providers??[]],platformProviders:q}}const q=[{provide:b.Agw,useValue:y.AJ},{provide:b.PLl,useValue:function(){F.makeCurrent()},multi:!0},{provide:n.qQL,useFactory:function(){return(0,b._9u)(document),document}}],Q=(0,e.oH4)(e.fpN,"browser",q),Z=[{provide:n.GBX,useValue:"root"},{provide:n.zcH,useFactory:function(){return new n.zcH}},{provide:S,useClass:w,multi:!0},{provide:S,useClass:U,multi:!0},D,E,C,{provide:b._9s,useExisting:D},{provide:class{},useClass:z},[]];var X=wn(5710),Y=wn(8817),K=wn(7154),J=wn(590),tt=wn(5111);let et=(()=>{class t{constructor(){this.router=(0,n.WQX)(r.Ix),this.confirmationProviderService=(0,n.WQX)(J.M),this.translocoService=(0,n.WQX)(tt.JO),this.repositoryContextService=(0,K.service)(K.RepositoryContextService),this.isFirstResolution=!0}syncRepositoryIdWithUrl(){const t=this.getRepositoryIdFromUrl(),e=this.repositoryContextService.getSelectedRepository(),n=this.repositoryContextService.repositoryExists({id:t??"",location:""}),r=!!t&&n,o=!!e&&t===e.id;try{if((0,K.isLoginPage)())return;if(!e){if(!t)return;return r?void this.repositoryContextService.updateSelectedRepository({id:t,location:""}):void this.confirmationProviderService.confirmOnly({header:this.translocoService.translate("common.warnings.warning"),message:this.translocoService.translate("repository.url_param.invalid_repo",{repositoryId:t}),acceptHandler:()=>{Promise.resolve(!0)},rejectVisible:!1})}if(!t)return void this.writeRepositoryIdToUrl(e.id);if(o&&r)return;if(r)return void this.confirmRepositoryChange(e.id,t);this.repositoryContextService.repositoryExists({id:t,location:""},!0)?this.isFirstResolution&&this.warnForMissingRepository(t,e.id,"repository.url_param.remote_location_repo_continue"):this.warnForMissingRepository(t,e.id,"repository.url_param.invalid_repo_continue")}finally{this.isFirstResolution=!1}}onRepositoryChanged(t){this.getRepositoryIdFromUrl()!==t&&this.writeRepositoryIdToUrl(t)}getRepositoryIdFromUrl(){return new URLSearchParams(K.WindowService.getLocationQueryParams()).get(K.REPOSITORY_ID_PARAM)??void 0}writeRepositoryIdToUrl(t){const e=Object.fromEntries(new URLSearchParams(K.WindowService.getLocationQueryParams()));this.router.navigate([(0,K.getCurrentRoute)()],{queryParams:{...e,[K.REPOSITORY_ID_PARAM]:t},replaceUrl:!0})}warnForMissingRepository(t,e,n){this.confirmationProviderService.confirmOnly({header:this.translocoService.translate("common.warnings.warning"),message:this.translocoService.translate(n,{repositoryId:t,currentRepositoryId:e}),acceptHandler:()=>this.writeRepositoryIdToUrl(e)})}confirmRepositoryChange(t,e){this.confirmationProviderService.confirm({header:this.translocoService.translate("components.dialog.confirmation.title"),message:this.translocoService.translate("repository.url_param.change_active_repo",{repositoryId:e}),acceptHandler:()=>this.repositoryContextService.updateSelectedRepository({id:e,location:""}),rejectHandler:()=>this.writeRepositoryIdToUrl(t)})}static{this.ɵfac=function(e){return new(e||t)}}static{this.ɵprov=n.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}}return t})(),nt=(()=>{class t{constructor(){this.router=(0,n.WQX)(r.Ix),this.repositoryUrlSyncService=(0,n.WQX)(et),this.repositoryContextService=(0,K.service)(K.RepositoryContextService),this.eventService=(0,K.service)(K.EventService),this.subscriptions=new X.yU,this.isFirstRepoChangeEvent=!0}ngOnInit(){this.subscribeToRoutingEvents(),this.subscriptions.add(this.repositoryContextService.onSelectedRepositoryChanged(t=>this.onSelectedRepositoryChangedHandler(t)))}ngOnDestroy(){this.subscriptions.unsubscribe()}onSelectedRepositoryChangedHandler(t){this.isFirstRepoChangeEvent?this.isFirstRepoChangeEvent=!1:t&&this.repositoryUrlSyncService.onRepositoryChanged(t.id)}subscribeToRoutingEvents(){this.subscriptions.add(this.eventService.subscribe(K.EventName.NAVIGATION_END,()=>{const t=Object.fromEntries(new URLSearchParams(K.WindowService.getLocationQueryParams()));this.router.navigate([(0,K.getCurrentRoute)()],{queryParams:t}).then(()=>{this.repositoryUrlSyncService.syncRepositoryIdWithUrl()})}))}static{this.ɵfac=function(e){return new(e||t)}}static{this.ɵcmp=b.VBU({type:t,selectors:[["app-root"]],decls:3,vars:0,consts:[[1,"main-container"],["styleClass","modal-dialog"]],template:function(t,e){1&t&&(b.j41(0,"div",0),b.nrm(1,"router-outlet"),b.k0s(),b.nrm(2,"p-confirmdialog",1))},dependencies:[r.n3,Y.FP,Y.TM],styles:[".main-container[_ngcontent-%COMP%]{margin-left:15rem;padding:2rem 2rem 3rem}[_nghost-%COMP%]:has(.login-page-route) .main-container[_ngcontent-%COMP%]{padding-bottom:0}"]})}}return t})();var rt=wn(4040);let ot=(()=>{class t{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=(0,n.WQX)(n.zZn);loadingSchedulerFn=(0,n.WQX)(st,{optional:!0});_engine;constructor(t,e,n,r,o){this.doc=t,this.delegate=e,this.zone=n,this.animationType=r,this.moduleImpl=o}ngOnDestroy(){this._engine?.flush()}loadImpl(){const t=()=>this.moduleImpl??wn.e(861).then(wn.bind(wn,8861)).then(t=>t);let e;return e=this.loadingSchedulerFn?this.loadingSchedulerFn(t):t(),e.catch(t=>{throw new n.buA(5300,!1)}).then(({ɵcreateEngine:t,ɵAnimationRendererFactory:e})=>{this._engine=t(this.animationType,this.doc);const n=new e(this.delegate,this._engine,this.zone);return this.delegate=n,n})}createRenderer(t,e){const r=this.delegate.createRenderer(t,e);if(0===r.ɵtype)return r;"boolean"==typeof r.throwOnSyntheticProps&&(r.throwOnSyntheticProps=!1);const o=new it(r);return e?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(r=>{const i=r.createRenderer(t,e);o.use(i),this.scheduler??=this.injector.get(n.hk6,null,{optional:!0}),this.scheduler?.notify(10)}).catch(t=>{o.use(r)}),o}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(t){this._engine?.flush(),this.delegate.componentReplaced?.(t)}static ɵfac=function(t){b.QTQ()};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();class it{delegate;replay=[];ɵtype=1;constructor(t){this.delegate=t}use(t){if(this.delegate=t,null!==this.replay){for(const e of this.replay)e(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,e){this.delegate.appendChild(t,e)}insertBefore(t,e,n,r){this.delegate.insertBefore(t,e,n,r)}removeChild(t,e,n,r){this.delegate.removeChild(t,e,n,r)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){this.shouldReplay(e)&&this.replay.push(r=>r.setProperty(t,e,n)),this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n,r){return this.shouldReplay(e)&&this.replay.push(o=>o.listen(t,e,n,r)),this.delegate.listen(t,e,n,r)}shouldReplay(t){return null!==this.replay&&t.startsWith("@")}}const st=new n.nKC("");let at=(()=>{class t{static{this.BASE_DOCUMENTATION_URL="https://graphdb.ontotext.com/documentation/"}static{this.LATEST_UNOFFICIAL_VERSION="master"}static getDocumentationUrl(e,n){if(!n)return;const r=e.includes("-"),o=K.BuildUtil.isDevMode()||r?t.LATEST_UNOFFICIAL_VERSION:e;return`${t.BASE_DOCUMENTATION_URL}${o}/${n}`}static{this.ɵfac=function(e){return new(e||t)}}static{this.ɵprov=n.jDH({token:t,factory:t.ɵfac,providedIn:"root"})}}return t})();const lt=[{path:"sparql-new",data:{title:"sparql_editor.title",helpInfo:"sparql_editor.helpInfo",documentationUrl:"sparql-queries.html"},resolve:{documentationLink:t=>{const e=(0,K.service)(K.ProductInfoContextService).getProductInfo();return e?at.getDocumentationUrl(e.shortVersion,t.data.documentationUrl)??"":""}},loadComponent:()=>Promise.all([wn.e(936),wn.e(323),wn.e(193),wn.e(166)]).then(wn.bind(wn,2274)).then(t=>t.SparqlEditorPageComponent)},{path:"login",loadComponent:()=>Promise.all([wn.e(936),wn.e(891)]).then(wn.bind(wn,7891)).then(t=>t.LoginPageComponent)},{path:"ux-test",loadComponent:()=>Promise.all([wn.e(936),wn.e(323),wn.e(237),wn.e(471)]).then(wn.bind(wn,8471)).then(t=>t.UxTestPageComponent)},{path:"**",loadComponent:()=>wn.e(703).then(wn.bind(wn,2703)).then(t=>t.NotFoundPageComponent)}],ct=(0,b.phd)(()=>{const t=(0,n.WQX)(tt.JO),e=K.ServiceProvider.get(K.LanguageContextService),r=K.ServiceProvider.get(K.LanguageService);return new Promise(n=>{e.onLanguageBundleChanged(o=>{if(o){const i=e.getSelectedLanguage()||r.getDefaultLanguage();t.setTranslation(o,i),t.setActiveLang(i),n()}})})}),ut=[ct,(0,tt.$o)({config:{availableLangs:K.ServiceProvider.get(K.LanguageService).getSupportedLanguages(),defaultLang:K.ServiceProvider.get(K.LanguageService).getDefaultLanguage(),reRenderOnLangChange:!0,prodMode:!1}})];var dt=wn(3818),ht=wn(3511),pt=wn(3828),ft=wn(2433),gt=wn(4457);const mt=new n.nKC("TRANSLOCO_MESSAGE_FORMAT_CONFIG");function yt(t,e){return new gt(t,e)}function bt(t,e){const n=yt(t,e),r=n.compile,o=new Map,i=`__${t?.toString()||gt.defaultLocale}__`;return n.compile=function(t){const e=`${i}${t}`,n=o.get(e);if(n)return n;const s=r.call(this,t);return o.set(e,s),s},n}let vt=(()=>{class t extends tt.YW{messageFormat;messageConfig;mfFactory;constructor(t){super();const{locales:e,enableCache:n=!0,...r}={locales:null,...t};this.messageConfig=r,this.mfFactory=n?bt:yt,this.messageFormat=this.mfFactory(e,r)}transpile({value:t,params:e={},translation:n,key:r}){if(!t)return t;if((0,ft.Gv)(t)&&e)Object.keys(e).forEach(o=>{const i=super.transpile({value:(0,tt._W)(t,o),params:(0,tt._W)(e,o),translation:n,key:r}),s=this.messageFormat.compile(i);t=(0,tt.KY)(t,o,s(e[o]))});else if(!Array.isArray(t)){const o=super.transpile({value:t,params:e,translation:n,key:r});return this.messageFormat.compile(o)(e)}return t}onLangChanged(t){this.setLocale(t)}setLocale(t){this.messageFormat=this.mfFactory(t,this.messageConfig)}static ɵfac=function(e){return new(e||t)(n.KVO(mt,8))};static ɵprov=n.jDH({token:t,factory:t.ɵfac})}return t})();const wt={providers:[...u(),...ut,(0,e.Jn2)({eventCoalescing:!0}),(0,rt.lh)(lt),{provide:i.kB,useValue:(0,K.getBasePath)()},function(t="animations"){return(0,b._jY)("NgAsyncAnimations"),(0,n.EmA)([{provide:b._9s,useFactory:()=>new ot((0,n.WQX)(n.qQL),(0,n.WQX)(D),(0,n.WQX)(n.SKi),t)},{provide:b.bc$,useValue:"noop"===t?"NoopAnimations":"BrowserAnimations"}])}(),(0,dt.wG)({theme:{options:{prefix:"gw"}}}),ht.o3,pt.td,(0,n.EmA)([{provide:mt,useValue:void 0},{provide:tt.Rv,useClass:vt}])]},St=(0,n.vPA)(null),Ct=function(t){const e={...d,...t};if("function"!=typeof e.bootstrapFunction)throw Error("single-spa-angular must be passed an options.bootstrapFunction");if("string"!=typeof e.template&&"function"!=typeof e.template)throw Error("single-spa-angular must be passed options.template string or function");if(!e.NgZone)throw Error("single-spa-angular must be passed the NgZone option");return e.Router&&!e.NavigationStart&&console.warn("single-spa-angular must be passed the NavigationStart option"),{bootstrap:h.bind(null,e),mount:f.bind(null,e),unmount:m.bind(null,e),update:e.updateFunction}}({bootstrapFunction:(Tt=(0,t.A)(function*(t){try{St.set(t);const e=Q(u());return yield function(t,e,n){return W.apply(this,arguments)}(nt,wt,{platformRef:e})}catch(t){throw console.error("Failed to bootstrap the Angular application:",t),t}}),function(t){return Tt.apply(this,arguments)}),template:"<app-root />",Router:r.Ix,NavigationStart:r.Z,NgZone:n.SKi}),_t=Ct.bootstrap,kt=Ct.mount,xt=Ct.unmount;var Tt})();const xw=Zd.Nw,Fw=Zd.Or,$w=Zd.vs;export{xw as bootstrap,Fw as mount,$w as unmount};
|