diff --git a/258.57b1e705262de9e3.js b/258.739f6fd3a76e0e7d.js similarity index 94% rename from 258.57b1e705262de9e3.js rename to 258.739f6fd3a76e0e7d.js index 4b92be8..b271568 100644 --- a/258.57b1e705262de9e3.js +++ b/258.739f6fd3a76e0e7d.js @@ -1 +1 @@ -"use strict";(self.webpackChunksample_integration_angular=self.webpackChunksample_integration_angular||[]).push([[258],{661:(T,E,s)=>{s.d(E,{a:()=>N,m:()=>A});var e=s(861),h=s(58);const l={},_={};function D(){return(D=(0,e.Z)(function*(n){const t=_[n];return void 0===t?new Promise((o,i)=>i(new Error(`Sequence ${n} has not been registered`))):(t.running||(t.promise=new Promise((o,i)=>{t.resolve=()=>{t.running=!1,o()},t.reject=r=>{t.running=!1,i(r)},t.running=!0,O(t)})),t.promise)})).apply(this,arguments)}function O(n){return R.apply(this,arguments)}function R(){return(R=(0,e.Z)(function*(n){var t;if(n.currentStepIndex>=n.steps.length)return void function L(n){var t;n.currentStepIndex=0,null===(t=n.resolve)||void 0===t||t.call(n,null),n.promise=void 0}(n);const o=n.steps[n.currentStepIndex],i=[];for(const r of o)i.push(b(r));try{yield Promise.all(i)}catch(r){return void(null===(t=n.reject)||void 0===t||t.call(n,r))}n.currentStepIndex+=1,setTimeout(()=>O(n),0)})).apply(this,arguments)}function v(n){const t=(0,h.t)(n.target);if(null===t)throw new Error(`${n.type} event target is null`);const o=t.dataset.phnAmId;null!=o&&k(o,t)}function b(n){return f.apply(this,arguments)}function f(){return(f=(0,e.Z)(function*({onStart:n,onEnd:t,animation:o,elementSelector:i}){if(n){const p=n();(0,h.q)(p)&&(yield p)}const r=Array.from((0,h.B)().querySelectorAll(i)),u=[];for(const p of r){const d=x(S)(p,o);u.push(d)}if(yield Promise.all(u),t){const p=t();(0,h.q)(p)&&(yield p)}})).apply(this,arguments)}function x(n){return function(){var t=(0,e.Z)(function*(o,i){const{cleanUpBeforeAnimation:r,cleanUpAfterAnimation:u}=i,p=n(o,i);if("function"==typeof r){const d=r(o);(0,h.q)(d)&&(yield d)}if(yield p,"function"==typeof u){const d=u(o);(0,h.q)(d)&&(yield d)}!1!==u&&o.classList.remove(i.className)});return function(o,i){return t.apply(this,arguments)}}()}const S=(n,t)=>{const o=Math.floor(1e7*Math.random());let i,r,u;n.classList.add(t.className),n.dataset.phnAmId=o.toString();const p=new Promise((d,w)=>{i=d,r=w,u=setTimeout(()=>{console.warn(`Animation with className ${t.className} didn't finish after 1000ms. Forcefully finishing animation and continuing with the rest of the sequence.`),k(String(o),n)},1e3)});return l[o]={animation:t,resolve:i,reject:r,promise:p,timeout:u},p};function k(n,t){const{resolve:o,timeout:i}=l[n];clearTimeout(i),delete l[n],delete t.dataset.phnAmId,o()}function A(n,t){return{steps:n.map(o=>o.map(i=>Object.assign(Object.assign({},t),i))),currentStepIndex:0,running:!1}}const N={initialize:function y(){(0,h.B)().addEventListener("transitionend",v),(0,h.B)().addEventListener("animationend",v)},play:function I(n){return D.apply(this,arguments)},isPlaying:function C(n){const t=_[n];if(void 0===t)throw new Error(`Sequence ${n} has not been registered`);return void 0!==t.promise},register:function m(n,t){_[n]=t},reset:function P(){Object.keys(_).forEach(n=>delete _[n])}}},205:(T,E,s)=>{s.d(E,{A:()=>e});const e={OPEN_DOUBLE_DRAWER:"openDoubleDrawer",CLOSE_DOUBLE_DRAWER:"closeDoubleDrawer",TRANSITION_SAME_LEVEL_DOUBLE_DRAWER:"transitionSameLevelDoubleDrawer",TRANSITION_SAME_LEVEL_DOUBLE_DRAWER_REVERSE:"transitionSameLevelDoubleDrawerReverse",TRANSITION_NEXT_LEVEL_DOUBLE_DRAWER:"transitionNextLevelDoubleDrawer",TRANSITION_PREVIOUS_LEVEL_DOUBLE_DRAWER:"transitionPreviousLevelDoubleDrawer",OPEN_SINGLE_DRAWER:"openSingleDrawer",CLOSE_SINGLE_DRAWER:"closeSingleDrawer",TRANSITION_NEXT_LEVEL_SINGLE_DRAWER:"transitionNextLevelSingleDrawer",TRANSITION_PREVIOUS_LEVEL_SINGLE_DRAWER:"transitionPreviousLevelSingleDrawer"}},258:(T,E,s)=>{s.r(E),s.d(E,{phn_level_0_icons:()=>n});var e=s(702),h=s(740),l=s(58),_=s(685),g=s(172),y=s(35),m=s(773),P=s(661),I=s(588);function L(t,o){return y.f.isPcomSearchToggleActive()&&["de-DE","en-US","en-CN","zh-CN"].includes(t)&&o===l.A.pcom}function v(t){switch(t){case"de-DE":return"https://www.porsche.com/germany/search/";case"en-US":return"https://www.porsche.com/usa/search/";case"en-CN":return"https://www.porsche.com/china/en/search/";case"zh-CN":return"https://www.porsche.com/china/zh/search/";default:return""}}function b(){return(0,e.h)("div",{class:"skeleton-container"},(0,e.h)("div",{class:"pure-button-skeleton"}))}s(63),s(416),s(205);const k=({numberOfItems:t=0,theme:o,mode:i})=>{const u=t<99?t:"99+";return t<=0?"":(0,e.h)("span",{class:`shopping-item-count ${t<10?"":"pill"} ${(0,l.H)(o,i)}`},u)};function A(t,o,i){_.g.pushDataLayerEvent(g.E.CONTEXTUAL_BUTTON_CLICK,{componentClick:{clickElementId:o,clickElementName:i,targetUrl:t}})}const n=class{constructor(t){(0,e.r)(this,t),this.openDrawer=(0,e.c)(this,"openDrawer",7),this.locale=void 0,this.theme=l.N.light,this.mode=l.f.navbar,this.app=l.A.default,this.breakpoint=void 0,this.isLoading=void 0,this.isNavigationLoaded=void 0}render(){const t={locale:this.locale,app:this.app,mode:this.mode,theme:this.theme,isNavigationLoaded:this.isNavigationLoaded,isDesktop:(0,l.l)(this.breakpoint)},r=(0,{pcom:()=>function x({locale:t,app:o,mode:i,theme:r,isNavigationLoaded:u}){return{leftIcons:L(t,o)?(0,e.h)("div",{class:"icon"},(0,e.h)("phn-p-link-pure",{icon:"search","hide-label":"true",stretch:"true",aria:"{ 'aria-haspopup': 'dialog', 'aria-label' : 'open the Porsche.com search' }","data-test-id":"pcom-search-button",target:"_self",href:v(t),onClick:()=>{!function p(d){_.g.pushDataLayerEvent(g.E.PCOM_SEARCH_CLICK,{componentClick:{clickElementId:"mainmenu.pcom.search",clickElementName:"Pcom Search",targetUrl:d}})}(v(t))},theme:(0,l.H)(r,i),style:u?{}:{display:"none"}}),u?null:b()):null,rightIcons:null}}(t),shop:()=>function S({locale:t,app:o,mode:i,theme:r,isNavigationLoaded:u,isDesktop:p}){var d,w,c;const{shopInformation:a}=m.s.state,K=(null===(d=g.b.state.shop)||void 0===d?void 0:d.cart)||"",M=(null===(c=null===(w=g.b.state.shop)||void 0===w?void 0:w.wishlist)||void 0===c?void 0:c.link)||"";return{leftIcons:(0,m.i)(t,o)?(0,e.h)("div",{class:"icon"},(0,e.h)("phn-p-button-pure",{icon:"search","hide-label":"true",stretch:"true",aria:"{ 'aria-haspopup': 'dialog', 'aria-label' : 'open the shop search field' }","data-test-id":"search-button",onClick:()=>{P.a.play("openContextualDrawer"),function C(){_.g.pushDataLayerEvent(g.E.CONTEXTUAL_BUTTON_CLICK,{componentClick:{clickElementId:"mainmenu.shop.search",clickElementName:"Shop search"}})}()},style:u?{}:{display:"none"},theme:(0,l.H)(r,i)}),u?null:b()):null,rightIcons:(0,m.i)(t,o)?(0,e.h)(e.F,null,p?(0,e.h)("div",{class:"icon"},(0,e.h)("phn-p-link-pure",{target:"_self","hide-label":"true",icon:"none",theme:(0,l.H)(r,i),style:u?{}:{display:"none"},className:"wishlist-link","data-test-id":"wishlist-link",onClick:()=>{A(M,"mainmenu.shop.wishlist","Wishlist")}},(0,e.h)("a",{href:M,"aria-label":function W(){return`My wishlist, ${a.wishlistItemsNumber} items`}()},(0,e.h)("div",{class:"icon-flex"},(0,e.h)(k,{numberOfItems:a.wishlistItemsNumber,theme:r,mode:i}),(0,e.h)("phn-p-icon",{theme:(0,l.H)(r,i),name:(0,m.h)("heart",a.wishlistItemsNumber),"data-test-id":"wishlist-link-icon"}))))):null,!u&&p?b():null,(0,e.h)("div",{class:"icon"},(0,e.h)("phn-p-link-pure",{target:"_self","hide-label":"true",icon:"none",theme:(0,l.H)(r,i),style:u?{}:{display:"none"},class:"shopping-cart-link","data-test-id":"shopping-cart-link",onClick:()=>{A(K,"mainmenu.shop.shoppingbag","Shopping cart")}},(0,e.h)("a",{href:K,"aria-label":function U(){return`My shopping bag, ${a.numberOfShoppingItems} items, estimated subtotal ${a.subTotal}`}()},(0,e.h)("div",{class:"icon-flex"},(0,e.h)(k,{numberOfItems:a.numberOfShoppingItems,theme:r,mode:i}),(0,e.h)("phn-p-icon",{theme:(0,l.H)(r,i),name:(0,m.h)("shopping-bag",a.numberOfShoppingItems),"data-test-id":"shopping-cart-link-icon"})))),u?null:b())):null}}(t),default:()=>({leftIcons:null,rightIcons:null})}[this.app])(),u=g.b.state.myPorsche;return(0,e.h)("div",{class:"contextual-icons"},(0,e.h)("div",{class:"left-icons"},(0,e.h)("phn-burger-button",{theme:this.theme,mode:this.mode,hideLabel:L(this.locale,this.app)||(0,m.i)(this.locale,this.app)?this.breakpoint<=l.o.xs:this.breakpoint{this.openDrawer.emit({initialRoutingKey:"",isKeyboardClick:(0,l.m)(p)})},style:this.isNavigationLoaded?{}:{display:"none"}}),this.isNavigationLoaded?null:function f(){return(0,e.h)("div",{class:"skeleton-container"},(0,e.h)("div",{class:"burger-button-skeleton"}))}(),this.breakpoint<=l.o.xs?r.leftIcons:null),(0,e.h)("slot",null),(0,e.h)("div",{class:"right-icons"},this.breakpoint>l.o.xs?r.leftIcons:null,r.rightIcons,u?(0,e.h)("div",{class:"icon"},(0,e.h)("phn-my-porsche-icon-button",{mode:this.mode,theme:this.theme,onClick:p=>{(0,l.l)(this.breakpoint)?this.openDrawer.emit({initialRoutingKey:h.a.MY_PORSCHE,isKeyboardClick:(0,l.m)(p)}):((0,I.c)(h.a.MY_PORSCHE),g.n.state.usingKeyboard=(0,l.m)(p))},style:this.isNavigationLoaded?{}:{display:"none"}}),this.isNavigationLoaded?null:b()):null))}};n.style='@-webkit-keyframes transition-forward-in-animation{from{left:150%}to{left:0%}}@keyframes transition-forward-in-animation{from{left:150%}to{left:0%}}@-webkit-keyframes transition-backward-in-animation{from{left:-150%}to{left:0%}}@keyframes transition-backward-in-animation{from{left:-150%}to{left:0%}}@-webkit-keyframes single-drawer-transition-forward-in-animation{from{left:100%}to{left:0%}}@keyframes single-drawer-transition-forward-in-animation{from{left:100%}to{left:0%}}@-webkit-keyframes fade-in-animation{from{opacity:0;background-color:rgba(0, 0, 0, 0)}to{opacity:1;background-color:rgba(0, 0, 0, 0.6)}}@keyframes fade-in-animation{from{opacity:0;background-color:rgba(0, 0, 0, 0)}to{opacity:1;background-color:rgba(0, 0, 0, 0.6)}}@-webkit-keyframes slide-in-from-left-absolute{from{left:-1000px}to{left:0px}}@keyframes slide-in-from-left-absolute{from{left:-1000px}to{left:0px}}@-webkit-keyframes slideDown{from{max-height:0}to{max-height:1000px}}@keyframes slideDown{from{max-height:0}to{max-height:1000px}}@-webkit-keyframes slideUp{from{max-height:1000px}to{max-height:0}}@keyframes slideUp{from{max-height:1000px}to{max-height:0}}@-webkit-keyframes slideLeft{from{max-width:0}to{max-width:1000px}}@keyframes slideLeft{from{max-width:0}to{max-width:1000px}}@-webkit-keyframes slideRight{from{max-width:1000px}to{max-width:0}}@keyframes slideRight{from{max-width:1000px}to{max-width:0}}@-webkit-keyframes darken{from{background-color:rgba(0, 0, 0, 0)}to{background-color:rgba(0, 0, 0, 0.8)}}@keyframes darken{from{background-color:rgba(0, 0, 0, 0)}to{background-color:rgba(0, 0, 0, 0.8)}}@-webkit-keyframes lighten{from{background-color:rgba(0, 0, 0, 0.8)}to{background-color:rgba(0, 0, 0, 0)}}@keyframes lighten{from{background-color:rgba(0, 0, 0, 0.8)}to{background-color:rgba(0, 0, 0, 0)}}@-webkit-keyframes fadeInFromBottom{0%{opacity:0;top:36px}100%{opacity:1;top:0px}}@keyframes fadeInFromBottom{0%{opacity:0;top:36px}100%{opacity:1;top:0px}}@-webkit-keyframes fadeOutToTop{0%{opacity:1;bottom:0px}100%{opacity:0;bottom:16px}}@keyframes fadeOutToTop{0%{opacity:1;bottom:0px}100%{opacity:0;bottom:16px}}@-webkit-keyframes slideLeftDoubleDrawer{from{right:-1000px}to{right:0px}}@keyframes slideLeftDoubleDrawer{from{right:-1000px}to{right:0px}}@-webkit-keyframes slideRightDoubleDrawer{from{right:0px}to{right:-1000px}}@keyframes slideRightDoubleDrawer{from{right:0px}to{right:-1000px}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.transition-forward-animation-out.sc-phn-level-0-icons{-webkit-transition:left 250ms;transition:left 250ms;position:relative !important;left:-150% !important}.transition-forward-animation-in.sc-phn-level-0-icons{position:relative;-webkit-animation:transition-forward-in-animation 250ms;animation:transition-forward-in-animation 250ms}.transition-backward-animation-out.sc-phn-level-0-icons{-webkit-transition:left 250ms;transition:left 250ms;position:relative !important;left:150% !important}.transition-backward-animation-in.sc-phn-level-0-icons{position:relative !important;-webkit-animation:transition-backward-in-animation 250ms;animation:transition-backward-in-animation 250ms}.slide-out-to-right-fixed.sc-phn-level-0-icons{-webkit-transition:left 400ms;transition:left 400ms;position:fixed;left:100% !important}.slide-in-from-right-fixed.sc-phn-level-0-icons{position:fixed;-webkit-animation:single-drawer-transition-forward-in-animation 400ms;animation:single-drawer-transition-forward-in-animation 400ms}.phn-flex-col.sc-phn-level-0-icons{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.phn-flex-row.sc-phn-level-0-icons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.phn-align-center.sc-phn-level-0-icons{-ms-flex-align:center;align-items:center}.phn-justify-around.sc-phn-level-0-icons{-ms-flex-pack:distribute;justify-content:space-around}.phn-justify-between.sc-phn-level-0-icons{-ms-flex-pack:justify;justify-content:space-between}.phn-flex-wrap.sc-phn-level-0-icons{-ms-flex-wrap:wrap;flex-wrap:wrap}.contextual-icons.sc-phn-level-0-icons{display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:1fr;gap:0px 0px;grid-template-areas:"left center right";width:100%}.contextual-icons.sc-phn-level-0-icons div.left-icons.sc-phn-level-0-icons,.contextual-icons.sc-phn-level-0-icons div.right-icons.sc-phn-level-0-icons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.contextual-icons.sc-phn-level-0-icons div.left-icons.sc-phn-level-0-icons{grid-area:left;justify-self:start}.contextual-icons.sc-phn-level-0-icons-s>*,.contextual-icons .sc-phn-level-0-icons-s>*{grid-area:center;justify-self:center}.contextual-icons.sc-phn-level-0-icons div.right-icons.sc-phn-level-0-icons{grid-area:right;justify-self:end}.contextual-icons.sc-phn-level-0-icons .icon-flex.sc-phn-level-0-icons{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons{position:relative;padding:0.375rem}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons .shopping-cart-link.sc-phn-level-0-icons{position:relative;z-index:2}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons .shopping-item-count.sc-phn-level-0-icons{color:white;position:absolute;margin-left:17px;margin-top:-6px;z-index:12;font-size:11px;line-height:8px;width:14px;height:8px;padding:4px 1px;text-align:center;border-radius:10px}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons .shopping-item-count.pill.sc-phn-level-0-icons{margin-left:23px;font-size:10px;width:20px;height:7px}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons .shopping-item-count.light.sc-phn-level-0-icons{background-color:#2762ec}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons .shopping-item-count.dark.sc-phn-level-0-icons{background-color:#178bff}@media (min-width: 1000px){.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons{padding:0.5rem}}@media (min-width: 1760px){.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons{padding:0.75rem}}.skeleton-container.sc-phn-level-0-icons{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;height:28px}.skeleton-container.sc-phn-level-0-icons .burger-button-skeleton.sc-phn-level-0-icons{margin-right:0.375rem;width:1.5rem;height:1.5rem;border-radius:4px;background:#d8d8db}@media (min-width: 760px){.skeleton-container.sc-phn-level-0-icons .burger-button-skeleton.sc-phn-level-0-icons{width:4.75rem;height:1.5rem}}.skeleton-container.sc-phn-level-0-icons .pure-button-skeleton.sc-phn-level-0-icons{width:1.5rem;height:1.5rem;border-radius:4px;background:#d8d8db}'},63:(T,E,s)=>{s.d(E,{r:()=>h});const h=(0,s(172).e)({routingKeyHistory:[],routingKeyPointer:-1,animatingPointer:-1,initialRoutingKeyHistory:null,initialRoutingKeyPointer:null})},588:(T,E,s)=>{s.d(E,{a:()=>u,b:()=>i,c:()=>S,d:()=>d,e:()=>t,f:()=>k,g:()=>f,h:()=>P,i:()=>r,j:()=>A,p:()=>C,r:()=>N,s:()=>w});var e=s(63),h=s(740),l=s(58),_=s(35),g=s(416),y=s(661),m=s(205);const P=()=>({OPENING:D,CLOSING:O,FORWARD:R,BACKWARDS:L,UNCHANGED:v}[function I(){return i()?"OPENING":p()?"CLOSING":t()?"FORWARD":o()?"BACKWARDS":"UNCHANGED"}()]()),D=()=>(y.a.play(m.A.OPEN_SINGLE_DRAWER),{nextRoute:"",currentRoute:f()}),O=()=>(y.a.play(m.A.CLOSE_SINGLE_DRAWER).then(()=>{}),{nextRoute:f()||"",currentRoute:x()||""}),R=()=>{var c,a;return setTimeout(()=>{y.a.play(m.A.TRANSITION_NEXT_LEVEL_SINGLE_DRAWER)}),{nextRoute:null!==(c=f())&&void 0!==c?c:"",currentRoute:null!==(a=x())&&void 0!==a?a:""}},L=()=>{var c,a;return""!==f()&&setTimeout(()=>{y.a.play(m.A.TRANSITION_PREVIOUS_LEVEL_SINGLE_DRAWER)}),{nextRoute:null!==(c=x())&&void 0!==c?c:"",currentRoute:null!==(a=f())&&void 0!==a?a:""}},v=()=>({nextRoute:"",currentRoute:f()}),f=()=>{const{routingKeyHistory:c,routingKeyPointer:a}=e.r.state;return c[a]||""},x=()=>{const{routingKeyHistory:c,animatingPointer:a}=e.r.state;return c[a]||""},S=(...c)=>{const a=[h.a.MAIN_MENU,...c];e.r.state.routingKeyPointer=c.length,e.r.state.routingKeyHistory=a},k=()=>{(()=>{try{return[m.A.OPEN_SINGLE_DRAWER,m.A.CLOSE_SINGLE_DRAWER,m.A.TRANSITION_NEXT_LEVEL_SINGLE_DRAWER,m.A.TRANSITION_PREVIOUS_LEVEL_SINGLE_DRAWER].some(a=>{try{return y.a.isPlaying(a)}catch{return!1}})}catch{return!1}})()||((0,h.f)(f())===h.a.DEALER_SEARCH&&(g.d.state.savedDealerCookie=null),e.r.state.routingKeyPointer=e.r.state.routingKeyPointer-1)},C=()=>{n()&&e.r.state.routingKeyHistory.pop()},A=c=>{if((0,l.l)(_.w.getBreakpoint()))(0,l.E)("phn-router","mobileMenuItemClick",{bubbles:!0,cancelable:!1,detail:[(0,h.c)(f(),...c)]});else{const a=[...e.r.state.routingKeyHistory,(0,h.c)(f(),...c)];e.r.state.routingKeyPointer=a.length-1,e.r.state.routingKeyHistory=a}},N=()=>{e.r.state.routingKeyPointer=-1},n=()=>e.r.state.routingKeyPointere.r.state.routingKeyPointer>e.r.state.animatingPointer,o=()=>e.r.state.routingKeyPointere.r.state.animatingPointer===h.R.LEVEL_ZERO&&e.r.state.routingKeyPointer>=0,r=()=>!u(),u=()=>e.r.state.routingKeyPointer===h.R.LEVEL_ZERO&&e.r.state.animatingPointer===h.R.LEVEL_ZERO,p=()=>-1===e.r.state.routingKeyPointer&&e.r.state.animatingPointer>=0,d=()=>{e.r.state.animatingPointer=e.r.state.routingKeyPointer},w=c=>e.r.state.routingKeyHistory.indexOf(c)>=h.R.LEVEL_TWO}}]); \ No newline at end of file +"use strict";(self.webpackChunksample_integration_angular=self.webpackChunksample_integration_angular||[]).push([[258],{661:(T,E,s)=>{s.d(E,{a:()=>N,m:()=>A});var e=s(861),h=s(58);const l={},_={};function D(){return(D=(0,e.Z)(function*(n){const t=_[n];return void 0===t?new Promise((o,i)=>i(new Error(`Sequence ${n} has not been registered`))):(t.running||(t.promise=new Promise((o,i)=>{t.resolve=()=>{t.running=!1,o()},t.reject=r=>{t.running=!1,i(r)},t.running=!0,O(t)})),t.promise)})).apply(this,arguments)}function O(n){return R.apply(this,arguments)}function R(){return(R=(0,e.Z)(function*(n){var t;if(n.currentStepIndex>=n.steps.length)return void function L(n){var t;n.currentStepIndex=0,null===(t=n.resolve)||void 0===t||t.call(n,null),n.promise=void 0}(n);const o=n.steps[n.currentStepIndex],i=[];for(const r of o)i.push(v(r));try{yield Promise.all(i)}catch(r){return void(null===(t=n.reject)||void 0===t||t.call(n,r))}n.currentStepIndex+=1,setTimeout(()=>O(n),0)})).apply(this,arguments)}function b(n){const t=(0,h.t)(n.target);if(null===t)throw new Error(`${n.type} event target is null`);const o=t.dataset.phnAmId;null!=o&&k(o,t)}function v(n){return f.apply(this,arguments)}function f(){return(f=(0,e.Z)(function*({onStart:n,onEnd:t,animation:o,elementSelector:i}){if(n){const p=n();(0,h.q)(p)&&(yield p)}const r=Array.from((0,h.B)().querySelectorAll(i)),u=[];for(const p of r){const d=x(S)(p,o);u.push(d)}if(yield Promise.all(u),t){const p=t();(0,h.q)(p)&&(yield p)}})).apply(this,arguments)}function x(n){return function(){var t=(0,e.Z)(function*(o,i){const{cleanUpBeforeAnimation:r,cleanUpAfterAnimation:u}=i,p=n(o,i);if("function"==typeof r){const d=r(o);(0,h.q)(d)&&(yield d)}if(yield p,"function"==typeof u){const d=u(o);(0,h.q)(d)&&(yield d)}!1!==u&&o.classList.remove(i.className)});return function(o,i){return t.apply(this,arguments)}}()}const S=(n,t)=>{const o=Math.floor(1e7*Math.random());let i,r,u;n.classList.add(t.className),n.dataset.phnAmId=o.toString();const p=new Promise((d,w)=>{i=d,r=w,u=setTimeout(()=>{console.warn(`Animation with className ${t.className} didn't finish after 1000ms. Forcefully finishing animation and continuing with the rest of the sequence.`),k(String(o),n)},1e3)});return l[o]={animation:t,resolve:i,reject:r,promise:p,timeout:u},p};function k(n,t){const{resolve:o,timeout:i}=l[n];clearTimeout(i),delete l[n],delete t.dataset.phnAmId,o()}function A(n,t){return{steps:n.map(o=>o.map(i=>Object.assign(Object.assign({},t),i))),currentStepIndex:0,running:!1}}const N={initialize:function y(){(0,h.B)().addEventListener("transitionend",b),(0,h.B)().addEventListener("animationend",b)},play:function I(n){return D.apply(this,arguments)},isPlaying:function C(n){const t=_[n];if(void 0===t)throw new Error(`Sequence ${n} has not been registered`);return void 0!==t.promise},register:function m(n,t){_[n]=t},reset:function P(){Object.keys(_).forEach(n=>delete _[n])}}},205:(T,E,s)=>{s.d(E,{A:()=>e});const e={OPEN_DOUBLE_DRAWER:"openDoubleDrawer",CLOSE_DOUBLE_DRAWER:"closeDoubleDrawer",TRANSITION_SAME_LEVEL_DOUBLE_DRAWER:"transitionSameLevelDoubleDrawer",TRANSITION_SAME_LEVEL_DOUBLE_DRAWER_REVERSE:"transitionSameLevelDoubleDrawerReverse",TRANSITION_NEXT_LEVEL_DOUBLE_DRAWER:"transitionNextLevelDoubleDrawer",TRANSITION_PREVIOUS_LEVEL_DOUBLE_DRAWER:"transitionPreviousLevelDoubleDrawer",OPEN_SINGLE_DRAWER:"openSingleDrawer",CLOSE_SINGLE_DRAWER:"closeSingleDrawer",TRANSITION_NEXT_LEVEL_SINGLE_DRAWER:"transitionNextLevelSingleDrawer",TRANSITION_PREVIOUS_LEVEL_SINGLE_DRAWER:"transitionPreviousLevelSingleDrawer"}},258:(T,E,s)=>{s.r(E),s.d(E,{phn_level_0_icons:()=>n});var e=s(702),h=s(740),l=s(58),_=s(685),g=s(172),y=s(35),m=s(773),P=s(661),I=s(588);function L(t,o){return y.f.isPcomSearchToggleActive()&&["de-DE","en-US","en-CN","zh-CN"].includes(t)&&o===l.A.pcom}function b(t){switch(t){case"de-DE":return"https://www.porsche.com/germany/search/";case"en-US":return"https://www.porsche.com/usa/search/";case"en-CN":return"https://www.porsche.com/china/en/search/";case"zh-CN":return"https://www.porsche.com/china/zh/search/";default:return""}}function v(){return(0,e.h)("div",{class:"skeleton-container"},(0,e.h)("div",{class:"pure-button-skeleton"}))}s(63),s(416),s(205);const k=({numberOfItems:t=0,theme:o,mode:i})=>{const u=t<99?t:"99+";return t<=0?"":(0,e.h)("span",{class:`shopping-item-count ${t<10?"":"pill"} ${(0,l.H)(o,i)}`},u)};function A(t,o,i){_.g.pushDataLayerEvent(g.E.CONTEXTUAL_BUTTON_CLICK,{componentClick:{clickElementId:o,clickElementName:i,targetUrl:t}})}const n=class{constructor(t){(0,e.r)(this,t),this.openDrawer=(0,e.c)(this,"openDrawer",7),this.locale=void 0,this.theme=l.N.light,this.mode=l.f.navbar,this.app=l.A.default,this.breakpoint=void 0,this.isLoading=void 0,this.isNavigationLoaded=void 0}render(){const t={locale:this.locale,app:this.app,mode:this.mode,theme:this.theme,isNavigationLoaded:this.isNavigationLoaded,isDesktop:(0,l.l)(this.breakpoint)},r=(0,{pcom:()=>function x({locale:t,app:o,mode:i,theme:r,isNavigationLoaded:u}){return{leftIcons:L(t,o)?(0,e.h)("div",{class:"icon"},(0,e.h)("phn-p-link-pure",{icon:"search","hide-label":"true",stretch:"true",aria:"{ 'aria-haspopup': 'dialog', 'aria-label' : 'open the Porsche.com search' }","data-test-id":"pcom-search-button",target:"_self",href:b(t),onClick:()=>{!function p(d){_.g.pushDataLayerEvent(g.E.PCOM_SEARCH_CLICK,{componentClick:{clickElementId:"mainmenu.pcom.search",clickElementName:"Pcom Search",targetUrl:d}})}(b(t))},theme:(0,l.H)(r,i),style:u?{}:{display:"none"}}),u?null:v()):null,rightIcons:null}}(t),shop:()=>function S({locale:t,app:o,mode:i,theme:r,isNavigationLoaded:u,isDesktop:p}){var d,w,c;const{shopInformation:a}=m.s.state,K=(null===(d=g.b.state.shop)||void 0===d?void 0:d.cart)||"",M=(null===(c=null===(w=g.b.state.shop)||void 0===w?void 0:w.wishlist)||void 0===c?void 0:c.link)||"";return{leftIcons:(0,m.i)(t,o)?(0,e.h)("div",{class:"icon"},(0,e.h)("phn-p-button-pure",{icon:"search","hide-label":"true",stretch:"true",aria:"{ 'aria-haspopup': 'dialog', 'aria-label' : 'open the shop search field' }","data-test-id":"search-button",onClick:()=>{P.a.play("openContextualDrawer"),function C(){_.g.pushDataLayerEvent(g.E.CONTEXTUAL_BUTTON_CLICK,{componentClick:{clickElementId:"mainmenu.shop.search",clickElementName:"Shop search"}})}()},style:u?{}:{display:"none"},theme:(0,l.H)(r,i)}),u?null:v()):null,rightIcons:(0,m.i)(t,o)?(0,e.h)(e.F,null,p?(0,e.h)("div",{class:"icon"},(0,e.h)("phn-p-link-pure",{target:"_self","hide-label":"true",icon:"none",theme:(0,l.H)(r,i),style:u?{}:{display:"none"},className:"wishlist-link","data-test-id":"wishlist-link",onClick:()=>{A(M,"mainmenu.shop.wishlist","Wishlist")}},(0,e.h)("a",{href:M,"aria-label":function W(){return`My wishlist, ${a.wishlistItemsNumber} items`}()},(0,e.h)("div",{class:"icon-flex"},(0,e.h)(k,{numberOfItems:a.wishlistItemsNumber,theme:r,mode:i}),(0,e.h)("phn-p-icon",{theme:(0,l.H)(r,i),name:(0,m.h)("heart",a.wishlistItemsNumber),"data-test-id":"wishlist-link-icon"}))))):null,!u&&p?v():null,(0,e.h)("div",{class:"icon"},(0,e.h)("phn-p-link-pure",{target:"_self","hide-label":"true",icon:"none",theme:(0,l.H)(r,i),style:u?{}:{display:"none"},class:"shopping-cart-link","data-test-id":"shopping-cart-link",onClick:()=>{A(K,"mainmenu.shop.shoppingbag","Shopping cart")}},(0,e.h)("a",{href:K,"aria-label":function U(){return`My shopping bag, ${a.numberOfShoppingItems} items, estimated subtotal ${a.subTotal}`}()},(0,e.h)("div",{class:"icon-flex"},(0,e.h)(k,{numberOfItems:a.numberOfShoppingItems,theme:r,mode:i}),(0,e.h)("phn-p-icon",{theme:(0,l.H)(r,i),name:(0,m.h)("shopping-bag",a.numberOfShoppingItems),"data-test-id":"shopping-cart-link-icon"})))),u?null:v())):null}}(t),default:()=>({leftIcons:null,rightIcons:null})}[this.app])(),u=g.b.state.myPorsche;return(0,e.h)("div",{class:"contextual-icons"},(0,e.h)("div",{class:"left-icons"},(0,e.h)("phn-burger-button",{theme:this.theme,mode:this.mode,hideLabel:L(this.locale,this.app)||(0,m.i)(this.locale,this.app)?this.breakpoint<=l.o.xs:this.breakpoint{this.openDrawer.emit({initialRoutingKey:"",isKeyboardClick:(0,l.m)(p)})},style:this.isNavigationLoaded?{}:{display:"none"}}),this.isNavigationLoaded?null:function f(){return(0,e.h)("div",{class:"skeleton-container"},(0,e.h)("div",{class:"burger-button-skeleton"}))}(),this.breakpoint<=l.o.xs?r.leftIcons:null),(0,e.h)("slot",null),(0,e.h)("div",{class:"right-icons"},this.breakpoint>l.o.xs?r.leftIcons:null,r.rightIcons,u?(0,e.h)("div",{class:"icon"},(0,e.h)("phn-my-porsche-icon-button",{mode:this.mode,theme:this.theme,onClick:p=>{(0,l.l)(this.breakpoint)?this.openDrawer.emit({initialRoutingKey:h.a.MY_PORSCHE,isKeyboardClick:(0,l.m)(p)}):((0,I.c)(h.a.MY_PORSCHE),g.n.state.usingKeyboard=(0,l.m)(p))},style:this.isNavigationLoaded?{}:{display:"none"}}),this.isNavigationLoaded?null:v()):null))}};n.style='@-webkit-keyframes transition-forward-in-animation{from{left:150%}to{left:0%}}@keyframes transition-forward-in-animation{from{left:150%}to{left:0%}}@-webkit-keyframes transition-backward-in-animation{from{left:-150%}to{left:0%}}@keyframes transition-backward-in-animation{from{left:-150%}to{left:0%}}@-webkit-keyframes single-drawer-transition-forward-in-animation{from{left:100%}to{left:0%}}@keyframes single-drawer-transition-forward-in-animation{from{left:100%}to{left:0%}}@-webkit-keyframes fade-in-animation{from{opacity:0;background-color:rgba(0, 0, 0, 0)}to{opacity:1;background-color:rgba(0, 0, 0, 0.6)}}@keyframes fade-in-animation{from{opacity:0;background-color:rgba(0, 0, 0, 0)}to{opacity:1;background-color:rgba(0, 0, 0, 0.6)}}@-webkit-keyframes slide-in-from-left-absolute{from{left:-1000px}to{left:0px}}@keyframes slide-in-from-left-absolute{from{left:-1000px}to{left:0px}}@-webkit-keyframes slideDown{from{max-height:0}to{max-height:1000px}}@keyframes slideDown{from{max-height:0}to{max-height:1000px}}@-webkit-keyframes slideUp{from{max-height:1000px}to{max-height:0}}@keyframes slideUp{from{max-height:1000px}to{max-height:0}}@-webkit-keyframes slideLeft{from{max-width:0}to{max-width:1000px}}@keyframes slideLeft{from{max-width:0}to{max-width:1000px}}@-webkit-keyframes slideRight{from{max-width:1000px}to{max-width:0}}@keyframes slideRight{from{max-width:1000px}to{max-width:0}}@-webkit-keyframes darken{from{background-color:rgba(0, 0, 0, 0)}to{background-color:rgba(0, 0, 0, 0.8)}}@keyframes darken{from{background-color:rgba(0, 0, 0, 0)}to{background-color:rgba(0, 0, 0, 0.8)}}@-webkit-keyframes lighten{from{background-color:rgba(0, 0, 0, 0.8)}to{background-color:rgba(0, 0, 0, 0)}}@keyframes lighten{from{background-color:rgba(0, 0, 0, 0.8)}to{background-color:rgba(0, 0, 0, 0)}}@-webkit-keyframes fadeInFromBottom{0%{opacity:0;top:36px}100%{opacity:1;top:0px}}@keyframes fadeInFromBottom{0%{opacity:0;top:36px}100%{opacity:1;top:0px}}@-webkit-keyframes fadeOutToTop{0%{opacity:1;bottom:0px}100%{opacity:0;bottom:16px}}@keyframes fadeOutToTop{0%{opacity:1;bottom:0px}100%{opacity:0;bottom:16px}}@-webkit-keyframes slideLeftDoubleDrawer{from{right:-1000px}to{right:0px}}@keyframes slideLeftDoubleDrawer{from{right:-1000px}to{right:0px}}@-webkit-keyframes slideRightDoubleDrawer{from{right:0px}to{right:-1000px}}@keyframes slideRightDoubleDrawer{from{right:0px}to{right:-1000px}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.transition-forward-animation-out.sc-phn-level-0-icons{-webkit-transition:left 250ms;transition:left 250ms;position:relative !important;left:-150% !important}.transition-forward-animation-in.sc-phn-level-0-icons{position:relative;-webkit-animation:transition-forward-in-animation 250ms;animation:transition-forward-in-animation 250ms}.transition-backward-animation-out.sc-phn-level-0-icons{-webkit-transition:left 250ms;transition:left 250ms;position:relative !important;left:150% !important}.transition-backward-animation-in.sc-phn-level-0-icons{position:relative !important;-webkit-animation:transition-backward-in-animation 250ms;animation:transition-backward-in-animation 250ms}.slide-out-to-right-fixed.sc-phn-level-0-icons{-webkit-transition:left 400ms;transition:left 400ms;position:fixed;left:100% !important}.slide-in-from-right-fixed.sc-phn-level-0-icons{position:fixed;-webkit-animation:single-drawer-transition-forward-in-animation 400ms;animation:single-drawer-transition-forward-in-animation 400ms}.phn-flex-col.sc-phn-level-0-icons{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.phn-flex-row.sc-phn-level-0-icons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.phn-align-center.sc-phn-level-0-icons{-ms-flex-align:center;align-items:center}.phn-justify-around.sc-phn-level-0-icons{-ms-flex-pack:distribute;justify-content:space-around}.phn-justify-between.sc-phn-level-0-icons{-ms-flex-pack:justify;justify-content:space-between}.phn-flex-wrap.sc-phn-level-0-icons{-ms-flex-wrap:wrap;flex-wrap:wrap}.contextual-icons.sc-phn-level-0-icons{display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:1fr;gap:0px 0px;grid-template-areas:"left center right";width:100%}.contextual-icons.sc-phn-level-0-icons div.left-icons.sc-phn-level-0-icons,.contextual-icons.sc-phn-level-0-icons div.right-icons.sc-phn-level-0-icons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.contextual-icons.sc-phn-level-0-icons div.left-icons.sc-phn-level-0-icons{grid-area:left;justify-self:start}.contextual-icons.sc-phn-level-0-icons-s>*,.contextual-icons .sc-phn-level-0-icons-s>*{grid-area:center;justify-self:center}.contextual-icons.sc-phn-level-0-icons div.right-icons.sc-phn-level-0-icons{grid-area:right;justify-self:end}.contextual-icons.sc-phn-level-0-icons .icon-flex.sc-phn-level-0-icons{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons{position:relative;padding:0.375rem}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons .shopping-cart-link.sc-phn-level-0-icons{position:relative;z-index:2}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons .shopping-item-count.sc-phn-level-0-icons{color:white;position:absolute;margin-left:17px;margin-top:-6px;z-index:12;font-size:11px;line-height:8px;width:14px;height:8px;padding:4px 1px;text-align:center;border-radius:10px}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons .shopping-item-count.pill.sc-phn-level-0-icons{margin-left:23px;font-size:10px;width:20px;height:7px}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons .shopping-item-count.light.sc-phn-level-0-icons{background-color:#2762ec}.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons .shopping-item-count.dark.sc-phn-level-0-icons{background-color:#178bff}@media (min-width: 1000px){.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons{padding:0.5rem}}@media (min-width: 1760px){.contextual-icons.sc-phn-level-0-icons div.icon.sc-phn-level-0-icons{padding:0.75rem}}.skeleton-container.sc-phn-level-0-icons{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;height:28px}.skeleton-container.sc-phn-level-0-icons .burger-button-skeleton.sc-phn-level-0-icons{margin-right:0.375rem;width:1.5rem;height:1.5rem;border-radius:4px;background:#d8d8db}@media (min-width: 760px){.skeleton-container.sc-phn-level-0-icons .burger-button-skeleton.sc-phn-level-0-icons{width:4.75rem;height:1.5rem}}.skeleton-container.sc-phn-level-0-icons .pure-button-skeleton.sc-phn-level-0-icons{width:1.5rem;height:1.5rem;border-radius:4px;background:#d8d8db}'},63:(T,E,s)=>{s.d(E,{r:()=>h});const h=(0,s(172).e)({routingKeyHistory:[],routingKeyPointer:-1,animatingPointer:-1,initialRoutingKeyHistory:null,initialRoutingKeyPointer:null})},588:(T,E,s)=>{s.d(E,{a:()=>u,b:()=>i,c:()=>S,d:()=>d,e:()=>t,f:()=>k,g:()=>f,h:()=>P,i:()=>r,j:()=>A,p:()=>C,r:()=>N,s:()=>w});var e=s(63),h=s(740),l=s(58),_=s(35),g=s(416),y=s(661),m=s(205);const P=()=>({OPENING:D,CLOSING:O,FORWARD:R,BACKWARDS:L,UNCHANGED:b}[function I(){return i()?"OPENING":p()?"CLOSING":t()?"FORWARD":o()?"BACKWARDS":"UNCHANGED"}()]()),D=()=>(y.a.play(m.A.OPEN_SINGLE_DRAWER),{nextRoute:"",currentRoute:f()}),O=()=>(y.a.play(m.A.CLOSE_SINGLE_DRAWER).then(()=>{}),{nextRoute:f()||"",currentRoute:x()||""}),R=()=>{var c,a;return setTimeout(()=>{y.a.play(m.A.TRANSITION_NEXT_LEVEL_SINGLE_DRAWER)}),{nextRoute:null!==(c=f())&&void 0!==c?c:"",currentRoute:null!==(a=x())&&void 0!==a?a:""}},L=()=>{var c,a;return""!==f()&&setTimeout(()=>{y.a.play(m.A.TRANSITION_PREVIOUS_LEVEL_SINGLE_DRAWER)}),{nextRoute:null!==(c=x())&&void 0!==c?c:"",currentRoute:null!==(a=f())&&void 0!==a?a:""}},b=()=>({nextRoute:"",currentRoute:f()}),f=()=>{const{routingKeyHistory:c,routingKeyPointer:a}=e.r.state;return c[a]||""},x=()=>{const{routingKeyHistory:c,animatingPointer:a}=e.r.state;return c[a]||""},S=(...c)=>{const a=[h.a.MAIN_MENU,...c];e.r.state.routingKeyPointer=c.length,e.r.state.routingKeyHistory=a},k=()=>{(()=>{try{return[m.A.OPEN_SINGLE_DRAWER,m.A.CLOSE_SINGLE_DRAWER,m.A.TRANSITION_NEXT_LEVEL_SINGLE_DRAWER,m.A.TRANSITION_PREVIOUS_LEVEL_SINGLE_DRAWER].some(a=>{try{return y.a.isPlaying(a)}catch{return!1}})}catch{return!1}})()||((0,h.f)(f())===h.a.DEALER_SEARCH&&(g.d.state.savedDealerCookie=null),e.r.state.routingKeyPointer=e.r.state.routingKeyPointer-1)},C=()=>{n()&&e.r.state.routingKeyHistory.pop()},A=c=>{if((0,l.l)(_.w.getBreakpoint()))(0,l.E)("phn-router","mobileMenuItemClick",{bubbles:!0,cancelable:!1,detail:[(0,h.c)(f(),...c)]});else{const a=[...e.r.state.routingKeyHistory,(0,h.c)(f(),...c)];e.r.state.routingKeyPointer=a.length-1,e.r.state.routingKeyHistory=a}},N=()=>{e.r.state.routingKeyPointer=-1},n=()=>e.r.state.routingKeyPointere.r.state.routingKeyPointer>e.r.state.animatingPointer,o=()=>e.r.state.routingKeyPointere.r.state.animatingPointer===h.R.LEVEL_ZERO&&e.r.state.routingKeyPointer>=0,r=()=>!u(),u=()=>e.r.state.routingKeyPointer===h.R.LEVEL_ZERO&&e.r.state.animatingPointer===h.R.LEVEL_ZERO,p=()=>-1===e.r.state.routingKeyPointer&&e.r.state.animatingPointer>=0,d=()=>{e.r.state.animatingPointer=e.r.state.routingKeyPointer},w=c=>e.r.state.routingKeyHistory.indexOf(c)>=h.R.LEVEL_TWO}}]); \ No newline at end of file diff --git a/index.html b/index.html index 01333be..b37ad46 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ - + @@ -16,8 +16,8 @@ - - + + diff --git a/main.a4bdda76e9058a1b.js b/main.a4bdda76e9058a1b.js new file mode 100644 index 0000000..776c9fb --- /dev/null +++ b/main.a4bdda76e9058a1b.js @@ -0,0 +1 @@ +(self.webpackChunksample_integration_angular=self.webpackChunksample_integration_angular||[]).push([[179],{402:(Ar,cr,_)=>{"use strict";let Ne=null,It=1;const Je=Symbol("SIGNAL");function ge(e){const t=Ne;return Ne=e,t}function Vt(e){if((!tt(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==It)){if(!e.producerMustRecompute(e)&&!ur(e))return e.dirty=!1,void(e.lastCleanEpoch=It);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=It}}function ur(e){Dt(e);for(let t=0;t0}function Dt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Ko=null;function ke(e){return"function"==typeof e}function Xo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Es=Xo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Jo(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class bt{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:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ke(r))try{r()}catch(i){t=i instanceof Es?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Ss(i)}catch(s){t=t??[],s instanceof Es?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Es(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ss(t);else{if(t instanceof bt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Jo(n,t)}remove(t){const{_finalizers:n}=this;n&&Jo(n,t),t instanceof bt&&t._removeParent(this)}}bt.EMPTY=(()=>{const e=new bt;return e.closed=!0,e})();const co=bt.EMPTY;function xr(e){return e instanceof bt||e&&"closed"in e&&ke(e.remove)&&ke(e.add)&&ke(e.unsubscribe)}function Ss(e){ke(e)?e():e.unsubscribe()}const jn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ei={setTimeout(e,t,...n){const{delegate:r}=ei;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ei;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function uo(e){ei.setTimeout(()=>{const{onUnhandledError:t}=jn;if(!t)throw e;t(e)})}function fo(){}const yl=Bt("C",void 0,void 0);function Bt(e,t,n){return{kind:e,value:t,error:n}}let Hn=null;function ho(e){if(jn.useDeprecatedSynchronousErrorHandling){const t=!Hn;if(t&&(Hn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Hn;if(Hn=null,n)throw r}}else e()}class Is extends bt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,xr(t)&&t.add(this)):this.destination=Dd}static create(t,n,r){return new Ms(t,n,r)}next(t){this.isStopped?Ts(function Dl(e){return Bt("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ts(function Pr(e){return Bt("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ts(yl,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 wl=Function.prototype.bind;function Nr(e,t){return wl.call(e,t)}class vd{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ti(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ti(r)}else ti(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ti(n)}}}class Ms extends Is{constructor(t,n,r){let o;if(super(),ke(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&jn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Nr(t.next,i),error:t.error&&Nr(t.error,i),complete:t.complete&&Nr(t.complete,i)}):o=t}this.destination=new vd(o)}}function ti(e){jn.useDeprecatedSynchronousErrorHandling?function Cl(e){jn.useDeprecatedSynchronousErrorHandling&&Hn&&(Hn.errorThrown=!0,Hn.error=e)}(e):uo(e)}function Ts(e,t){const{onStoppedNotification:n}=jn;n&&ei.setTimeout(()=>n(e,t))}const Dd={closed:!0,next:fo,error:function yd(e){throw e},complete:fo},As="function"==typeof Symbol&&Symbol.observable||"@@observable";function dr(e){return e}function Rr(e){return 0===e.length?dr:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let nt=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function El(e){return e&&e instanceof Is||function Cd(e){return e&&ke(e.next)&&ke(e.error)&&ke(e.complete)}(e)&&xr(e)}(n)?n:new Ms(n,r,o);return ho(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=bl(r))((o,i)=>{const s=new Ms({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[As](){return this}pipe(...n){return Rr(n)(this)}toPromise(n){return new(n=bl(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function bl(e){var t;return null!==(t=e??jn.Promise)&&void 0!==t?t:Promise}const wd=Xo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vn=(()=>{class e extends nt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Sl(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new wd}next(n){ho(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ho(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ho(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?co:(this.currentObservers=null,i.push(n),new bt(()=>{this.currentObservers=null,Jo(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new nt;return n.source=this,n}}return e.create=(t,n)=>new Sl(t,n),e})();class Sl extends vn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:co}}class jt extends vn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function xs(e){return ke(e?.lift)}function ht(e){return t=>{if(xs(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function rt(e,t,n,r,o){return new _d(e,t,n,r,o)}class _d extends Is{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Ie(e,t){return ht((n,r)=>{let o=0;n.subscribe(rt(r,i=>{r.next(e.call(t,i,o++))}))})}const Il="https://g.co/ng/security#xss";class A extends Error{constructor(t,n){super(function po(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Ce(e){for(let t in e)if(e[t]===Ce)return t;throw Error("Could not find renamed property on target object.")}function Or(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function me(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(me).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function _e(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const bd=Ce({__forward_ref__:Ce});function Re(e){return e.__forward_ref__=Re,e.toString=function(){return me(this())},e}function X(e){return go(e)?e():e}function go(e){return"function"==typeof e&&e.hasOwnProperty(bd)&&e.__forward_ref__===Re}function Ns(e){return e&&!!e.\u0275providers}const Fr=Ce({\u0275cmp:Ce}),mo=Ce({\u0275dir:Ce}),vo=Ce({\u0275pipe:Ce}),Tl=Ce({\u0275mod:Ce}),f=Ce({\u0275fac:Ce}),p=Ce({__NG_ELEMENT_ID__:Ce}),v=Ce({__NG_ENV_ID__:Ce});function m(e){return"string"==typeof e?e:null==e?"":String(e)}function V(e,t){throw new A(-201,!1)}function Xt(e,t){null==e&&function te(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yn(e){return{providers:e.providers||[],imports:e.imports||[]}}function xl(e){return Cm(e,Nl)||Cm(e,wm)}function Cm(e,t){return e.hasOwnProperty(t)?e[t]:null}function Pl(e){return e&&(e.hasOwnProperty(Sd)||e.hasOwnProperty(B0))?e[Sd]:null}const Nl=Ce({\u0275prov:Ce}),Sd=Ce({\u0275inj:Ce}),wm=Ce({ngInjectableDef:Ce}),B0=Ce({ngInjectorDef:Ce});var pe=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(pe||{});let Id;function _m(){return Id}function Jt(e){const t=Id;return Id=e,t}function bm(e,t,n){const r=xl(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&pe.Optional?null:void 0!==t?t:void V()}const $e=globalThis;class q{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Y({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Fs={},Pd="__NG_DI_FLAG__",Rl="ngTempTokenPath",U0=/\n/gm,Sm="__source";let ri;function Lr(e){const t=ri;return ri=e,t}function W0(e,t=pe.Default){if(void 0===ri)throw new A(-203,!1);return null===ri?bm(e,void 0,t):ri.get(e,t&pe.Optional?null:void 0,t)}function ee(e,t=pe.Default){return(_m()||W0)(X(e),t)}function L(e,t=pe.Default){return ee(e,Ol(t))}function Ol(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Nd(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const g=8&r?h:null;if(g&&-1!==Mm(g,c,0)||2&r&&c!==h){if(Tn(r))return!1;s=!0}}}}else{if(!s&&!Tn(r)&&!Tn(l))return!1;if(s&&Tn(l))continue;s=!1,r=l|1&r}}return Tn(r)||s}function Tn(e){return 0==(1&e)}function J0(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Tn(s)&&(t+=Om(i,o),o=""),r=s,i=i||!Tn(r);n++}return""!==o&&(t+=Om(i,o)),t}function B(e){return hr(()=>{const t=km(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Fl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mn.Emulated,styles:e.styles||Me,_:null,schemas:e.schemas||null,tView:null,id:""};Lm(n);const r=e.dependencies;return n.directiveDefs=kl(r,!1),n.pipeDefs=kl(r,!0),n.id=function uM(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function aM(e){return he(e)||pt(e)}function lM(e){return null!==e}function An(e){return hr(()=>({type:e.type,bootstrap:e.bootstrap||Me,declarations:e.declarations||Me,imports:e.imports||Me,exports:e.exports||Me,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Fm(e,t){if(null==e)return zn;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=Ue.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ue.None?[r,a]:r,t[i]=s):n[i]=r}return n}function oe(e){return hr(()=>{const t=km(e);return Lm(t),t})}function he(e){return e[Fr]||null}function pt(e){return e[mo]||null}function Et(e){return e[vo]||null}function Tt(e,t){const n=e[Tl]||null;if(!n&&!0===t)throw new Error(`Type ${me(e)} does not have '\u0275mod' property.`);return n}function km(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||zn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Me,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fm(e.inputs,t),outputs:Fm(e.outputs),debugInfo:null}}function Lm(e){e.features?.forEach(t=>t(e))}function kl(e,t){if(!e)return null;const n=t?Et:aM;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(lM)}const Ke=0,k=1,K=2,ot=3,xn=4,At=5,Pn=6,oi=7,Ve=8,Ut=9,pr=10,ce=11,$s=12,$m=13,ii=14,Ze=15,Vs=16,si=17,Gn=18,Bs=19,Vm=20,Vr=21,Ll=22,yo=23,ae=25,Od=1,Wn=7,ai=9,it=10;var Fd=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Fd||{});function xt(e){return Array.isArray(e)&&"object"==typeof e[Od]}function Pt(e){return Array.isArray(e)&&!0===e[Od]}function kd(e){return 0!=(4&e.flags)}function Do(e){return e.componentOffset>-1}function Vl(e){return 1==(1&e.flags)}function Nn(e){return!!e.template}function Ld(e){return 0!=(512&e[K])}function Co(e,t){return e.hasOwnProperty(f)?e[f]:null}class pM{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Um(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function an(){return zm}function zm(e){return e.type.prototype.ngOnChanges&&(e.setInput=mM),gM}function gM(){const e=Wm(this),t=e?.current;if(t){const n=e.previous;if(n===zn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function mM(e,t,n,r,o){const i=this.declaredInputs[r],s=Wm(e)||function vM(e,t){return e[Gm]=t}(e,{previous:zn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new pM(c&&c.currentValue,n,l===zn),Um(e,t,o,n)}an.ngInherit=!0;const Gm="__ngSimpleChanges__";function Wm(e){return e[Gm]||null}const qn=function(e,t,n){};let Ym=!1;function Be(e){for(;Array.isArray(e);)e=e[Ke];return e}function Hs(e,t){return Be(t[e])}function zt(e,t){return Be(t[e.index])}function Us(e,t){return e.data[t]}function ln(e,t){const n=t[e];return xt(n)?n:n[Ke]}function Hd(e){return 128==(128&e[K])}function Zn(e,t){return null==t?null:e[t]}function Qm(e){e[si]=0}function bM(e){1024&e[K]||(e[K]|=1024,Hd(e)&&zs(e))}function Xm(e){return 9216&e[K]||e[yo]?.dirty}function Ud(e){Xm(e)?zs(e):64&e[K]&&(function DM(){return Ym}()?(e[K]|=1024,zs(e)):e[pr].changeDetectionScheduler?.notify())}function zs(e){e[pr].changeDetectionScheduler?.notify();let t=wo(e);for(;null!==t&&!(8192&t[K])&&(t[K]|=8192,Hd(t));)t=wo(t)}function Bl(e,t){if(256==(256&e[K]))throw new A(911,!1);null===e[Vr]&&(e[Vr]=[]),e[Vr].push(t)}function wo(e){const t=e[ot];return Pt(t)?t[ot]:t}const ne={lFrame:lv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ev(){return ne.bindingsEnabled}function ci(){return null!==ne.skipHydrationRootTNode}function E(){return ne.lFrame.lView}function ye(){return ne.lFrame.tView}function Oe(){let e=tv();for(;null!==e&&64===e.type;)e=e.parent;return e}function tv(){return ne.lFrame.currentTNode}function Yn(e,t){const n=ne.lFrame;n.currentTNode=e,n.isParent=t}function Gd(){return ne.lFrame.isParent}function Wd(){ne.lFrame.isParent=!1}function Qn(){return ne.lFrame.bindingIndex++}function kM(e,t){const n=ne.lFrame;n.bindingIndex=n.bindingRootIndex=e,qd(t)}function qd(e){ne.lFrame.currentDirectiveIndex=e}function Yd(e){ne.lFrame.currentQueryIndex=e}function $M(e){const t=e[k];return 2===t.type?t.declTNode:1===t.type?e[At]:null}function sv(e,t,n){if(n&pe.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&pe.Host||(o=$M(i),null===o||(i=i[ii],10&o.type))););if(null===o)return!1;t=o,e=i}const r=ne.lFrame=av();return r.currentTNode=t,r.lView=e,!0}function Qd(e){const t=av(),n=e[k];ne.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function av(){const e=ne.lFrame,t=null===e?null:e.child;return null===t?lv(e):t}function lv(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function cv(){const e=ne.lFrame;return ne.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const uv=cv;function Kd(){const e=cv();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Nt(){return ne.lFrame.selectedIndex}function _o(e){ne.lFrame.selectedIndex=e}function ze(){const e=ne.lFrame;return Us(e.tView,e.selectedIndex)}let fv=!0;function jl(){return fv}function Br(e){fv=e}function Hl(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[si]+=65536),(a>14>16&&(3&e[K])===t&&(e[K]+=16384,pv(a,i)):pv(a,i)}const ui=-1;class Ws{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ef(e){return e!==ui}function qs(e){return 32767&e}function Zs(e,t){let n=function QM(e){return e>>16}(e),r=t;for(;n>0;)r=r[ii],n--;return r}let tf=!0;function Gl(e){const t=tf;return tf=e,t}const gv=255,mv=5;let KM=0;const Kn={};function Wl(e,t){const n=vv(e,t);if(-1!==n)return n;const r=t[k];r.firstCreatePass&&(e.injectorIndex=t.length,nf(r.data,e),nf(t,null),nf(r.blueprint,null));const o=ql(e,t),i=e.injectorIndex;if(ef(o)){const s=qs(o),a=Zs(o,t),l=a[k].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function nf(e,t){e.push(0,0,0,0,0,0,0,0,t)}function vv(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ql(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Ev(o),null===r)return ui;if(n++,o=o[ii],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ui}function rf(e,t,n){!function XM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(p)&&(r=n[p]),null==r&&(r=n[p]=KM++);const o=r&gv;t.data[e+(o>>mv)]|=1<=0?t&gv:nT:t}(n);if("function"==typeof i){if(!sv(t,e,r))return r&pe.Host?yv(o,0,r):Dv(t,n,r,o);try{let s;if(s=i(r),null!=s||r&pe.Optional)return s;V()}finally{uv()}}else if("number"==typeof i){let s=null,a=vv(e,t),l=ui,c=r&pe.Host?t[Ze][At]:null;for((-1===a||r&pe.SkipSelf)&&(l=-1===a?ql(e,t):t[a+8],l!==ui&&bv(r,!1)?(s=t[k],a=qs(l),t=Zs(l,t)):a=-1);-1!==a;){const u=t[k];if(_v(i,a,u.data)){const d=eT(a,t,n,s,r,c);if(d!==Kn)return d}l=t[a+8],l!==ui&&bv(r,t[k].data[a+8]===c)&&_v(i,a,t)?(s=u,a=qs(l),t=Zs(l,t)):a=-1}}return o}function eT(e,t,n,r,o,i){const s=t[k],a=s.data[e+8],u=function Zl(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let g=r?a:a+u;g=l&&y.type===n)return g}if(o){const g=s[l];if(g&&Nn(g)&&g.type===n)return l}return null}(a,s,n,null==r?Do(a)&&tf:r!=s&&0!=(3&a.type),o&pe.Host&&i===a);return null!==u?bo(t,s,u,a):Kn}function bo(e,t,n,r){let o=e[n];const i=t.data;if(function WM(e){return e instanceof Ws}(o)){const s=o;s.resolving&&function x(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new A(-200,`Circular dependency in DI detected for ${e}${n}`)}(function D(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():m(e)}(i[n]));const a=Gl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Jt(s.injectImpl):null;sv(e,r,pe.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function zM(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=zm(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&Jt(c),Gl(a),s.resolving=!1,uv()}}return o}function _v(e,t,n){return!!(n[t+(e>>mv)]&1<{const t=e.prototype.constructor,n=t[f]||sf(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[f]||sf(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function sf(e){return go(e)?()=>{const t=sf(X(e));return t&&t()}:Co(e)}function Ev(e){const t=e[k],n=t.type;return 2===n?t.declTNode:1===n?e[At]:null}const pi="__parameters__";function mi(e,t,n){return hr(()=>{const r=function af(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(pi)?l[pi]:Object.defineProperty(l,pi,{value:[]})[pi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function yi(e,t){e.forEach(n=>Array.isArray(n)?yi(n,t):t(n))}function Iv(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ql(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function cn(e,t,n){let r=Di(e,t);return r>=0?e[1|r]=n:(r=~r,function Mv(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function cf(e,t){const n=Di(e,t);if(n>=0)return e[1|n]}function Di(e,t){return function Tv(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return yi(t,s=>{const a=s;rc(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Ov(o,i),n}function Ov(e,t){for(let n=0;n{t(i,r)})}}function rc(e,t,n,r){if(!(e=X(e)))return!1;let o=null,i=Pl(e);const s=!i&&he(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Pl(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)rc(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{yi(i.imports,u=>{rc(u,t,n,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ov(c,t)}if(!a){const c=Co(o)||(()=>new o);t({provide:o,useFactory:c,deps:Me},o),t({provide:ff,useValue:o,multi:!0},o),t({provide:Eo,useValue:()=>ee(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;pf(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function pf(e,t){for(let n of e)Ns(n)&&(n=n.\u0275providers),Array.isArray(n)?pf(n,t):t(n)}const IT=Ce({provide:String,useValue:Ce});function gf(e){return null!==e&&"object"==typeof e&&IT in e}function So(e){return"function"==typeof e}const mf=new q("Set Injector scope."),oc={},TT={};let vf;function ic(){return void 0===vf&&(vf=new nc),vf}class Dn{}class wi extends Dn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Df(t,s=>this.processProvider(s)),this.records.set(Nv,_i(void 0,this)),o.has("environment")&&this.records.set(Dn,_i(void 0,this));const i=this.records.get(mf);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ff,Me,pe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Lr(this),r=Jt(void 0);try{return t()}finally{Lr(n),Jt(r)}}get(t,n=Fs,r=pe.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(v))return t[v](this);r=Ol(r);const i=Lr(this),s=Jt(void 0);try{if(!(r&pe.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function RT(e){return"function"==typeof e||"object"==typeof e&&e instanceof q}(t)&&xl(t);l=c&&this.injectableDefInScope(c)?_i(yf(t),oc):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&pe.Self?ic():this.parent).get(t,n=r&pe.Optional&&n===Fs?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[Rl]=a[Rl]||[]).unshift(me(t)),i)throw a;return function Z0(e,t,n,r){const o=e[Rl];throw t[Sm]&&o.unshift(t[Sm]),e.message=function Y0(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=me(t);if(Array.isArray(t))o=t.map(me).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):me(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(U0,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Rl]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Jt(s),Lr(i)}}resolveInjectorInitializers(){const t=Lr(this),n=Jt(void 0);try{const o=this.get(Eo,Me,pe.Self);for(const i of o)i()}finally{Lr(t),Jt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(me(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new A(205,!1)}processProvider(t){let n=So(t=X(t))?t:X(t&&t.provide);const r=function xT(e){return gf(e)?_i(void 0,e.useValue):_i(Lv(e),oc)}(t);if(!So(t)&&!0===t.multi){let o=this.records.get(n);o||(o=_i(void 0,oc,!0),o.factory=()=>Nd(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===oc&&(n.value=TT,n.value=n.factory()),"object"==typeof n.value&&n.value&&function NT(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=X(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function yf(e){const t=xl(e),n=null!==t?t.factory:Co(e);if(null!==n)return n;if(e instanceof q)throw new A(204,!1);if(e instanceof Function)return function AT(e){if(e.length>0)throw new A(204,!1);const n=function V0(e){return e&&(e[Nl]||e[wm])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new A(204,!1)}function Lv(e,t,n){let r;if(So(e)){const o=X(e);return Co(o)||yf(o)}if(gf(e))r=()=>X(e.useValue);else if(function kv(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Nd(e.deps||[]));else if(function Fv(e){return!(!e||!e.useExisting)}(e))r=()=>ee(X(e.useExisting));else{const o=X(e&&(e.useClass||e.provide));if(!function PT(e){return!!e.deps}(e))return Co(o)||yf(o);r=()=>new o(...Nd(e.deps))}return r}function _i(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Df(e,t){for(const n of e)Array.isArray(n)?Df(n,t):n&&Ns(n)?Df(n.\u0275providers,t):t(n)}function Io(e,t){e instanceof wi&&e.assertNotDestroyed();const r=Lr(e),o=Jt(void 0);try{return t()}finally{Lr(r),Jt(o)}}function jv(e,t=null,n=null,r){const o=Hv(e,t,n,r);return o.resolveInjectorInitializers(),o}function Hv(e,t=null,n=null,r,o=new Set){const i=[n||Me,ST(e)];return r=r||("object"==typeof e?void 0:me(e)),new wi(i,t||ic(),r||null,o)}let _f,nn=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Fs;static#t=this.NULL=new nc;static create(n,r){if(Array.isArray(n))return jv({name:""},r,n,"");{const o=n.name??"";return jv({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=Y({token:e,providedIn:"any",factory:()=>ee(Nv)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const ac=new q("AppId",{providedIn:"root",factory:()=>HT}),HT="ng",zv=new q("Platform Initializer"),Mo=new q("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Gv=new q("CSP nonce",{providedIn:"root",factory:()=>function Hr(){if(void 0!==_f)return _f;if(typeof document<"u")return document;throw new A(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function un(e){return e instanceof Function?e():e}function dc(e){return 128==(128&e.flags)}var Gr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gr||{});const XT=/^>|^->||--!>|)/g,eA="\u200b$1\u200b";const Mf=new Map;let tA=0;const Af="__ngContext__";function Rt(e,t){xt(t)?(e[Af]=t[Bs],function rA(e){Mf.set(e[Bs],e)}(t)):e[Af]=t}let xf;function Pf(e,t){return xf(e,t)}function Ei(e,t,n,r,o){if(null!=r){let i,s=!1;Pt(r)?i=r:xt(r)&&(s=!0,r=r[Ke]);const a=Be(r);0===e&&null!==n?null==o?hy(t,n,a):To(t,n,a,o||null,!0):1===e&&null!==n?To(t,n,a,o||null,!0):2===e?function yc(e,t,n){const r=mc(e,t);r&&function DA(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function _A(e,t,n,r,o){const i=n[Wn];i!==Be(n)&&Ei(t,e,r,i,o);for(let a=it;at.replace(JT,eA))}(t))}function pc(e,t,n){return e.createElement(t,n)}function uy(e,t){Dc(e,t,t[ce],2,null,null)}function dy(e,t){const n=e[ai],r=n.indexOf(t);n.splice(r,1)}function ta(e,t){if(e.length<=it)return;const n=it+t,r=e[n];if(r){const o=r[Vs];null!==o&&o!==e&&dy(o,r),t>0&&(e[n-1][xn]=r[xn]);const i=Ql(e,it+t);!function fA(e,t){uy(e,t),t[Ke]=null,t[At]=null}(r[k],r);const s=i[Gn];null!==s&&s.detachView(i[k]),r[ot]=null,r[xn]=null,r[K]&=-129}return r}function gc(e,t){if(!(256&t[K])){const n=t[ce];n.destroyNode&&Dc(e,t,n,3,null,null),function pA(e){let t=e[$s];if(!t)return Rf(e[k],e);for(;t;){let n=null;if(xt(t))n=t[$s];else{const r=t[it];r&&(n=r)}if(!n){for(;t&&!t[xn]&&t!==e;)xt(t)&&Rf(t[k],t),t=t[ot];null===t&&(t=e),xt(t)&&Rf(t[k],t),n=t&&t[xn]}t=n}}(t)}}function Rf(e,t){if(!(256&t[K])){t[K]&=-129,t[K]|=256,t[yo]&&function Ee(e){if(Dt(e),tt(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[oi]=null);const o=t[Vr];if(null!==o){t[Vr]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Mn.None||i===Mn.Emulated)return null}return zt(r,n)}}(e,t.parent,n)}function To(e,t,n,r,o){e.insertBefore(t,n,r,o)}function hy(e,t,n){e.appendChild(t,n)}function py(e,t,n,r,o){null!==r?To(e,t,n,r,o):hy(e,t,n)}function mc(e,t){return e.parentNode(t)}function gy(e,t,n){return vy(e,t,n)}let Ff,wc,vy=function my(e,t,n){return 40&e.type?zt(e,n):null};function vc(e,t,n,r){const o=Of(e,r,t),i=t[ce],a=gy(r.parent||t[At],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return wc}()?.createScriptURL(e)||e}class My{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Il})`}}function Wr(e){return e instanceof My?e.changingThisBreaksApplicationSecurity:e}function ra(e,t){const n=function RA(e){return e instanceof My&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Il})`)}return n===t}const LA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Ii=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ii||{});function zf(e){const t=ia();return t?t.sanitize(Ii.URL,e)||"":ra(e,"URL")?Wr(e):function Bf(e){return(e=String(e)).match(LA)?e:"unsafe:"+e}(m(e))}function Oy(e){const t=ia();if(t)return Iy(t.sanitize(Ii.RESOURCE_URL,e)||"");if(ra(e,"ResourceURL"))return Iy(Wr(e));throw new A(904,!1)}function ia(){const e=E();return e&&e[pr].sanitizer}class ky{}let Ly=()=>null;function Xf(e,t,n=!1){return Ly(e,t,n)}class ox{}class By{}class sx{resolveComponentFactory(t){throw function ix(e){const t=Error(`No component factory found for ${me(e)}.`);return t.ngComponent=e,t}(t)}}let Tc=(()=>{class e{static#e=this.NULL=new sx}return e})();function ax(){return Ai(Oe(),E())}function Ai(e,t){return new on(zt(e,t))}let on=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=ax}return e})();class Hy{}let yr=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function cx(){const e=E(),n=ln(Oe().index,e);return(xt(n)?n:e)[ce]}()}return e})(),ux=(()=>{class e{static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:()=>null})}return e})();const th={};function Ac(e){return!!nh(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function nh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class zy{constructor(){}supports(t){return Ac(t)}create(t){return new mx(t)}}const gx=(e,t)=>t;class mx{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||gx}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),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,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new vx(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Gy),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Gy),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class vx{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class yx{constructor(){this._head=null,this._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,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Gy{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new yx,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Wy(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new Cx(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_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,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,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,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class Cx{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Zy(){return new rh([new zy])}let rh=(()=>{class e{static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:Zy});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Zy()),deps:[[e,new ec,new Jl]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new A(901,!1)}}return e})();function Yy(){return new xc([new qy])}let xc=(()=>{class e{static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:Yy});constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Yy()),deps:[[e,new ec,new Jl]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new A(901,!1)}}return e})();function la(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(Be(i)),Pt(i)&&Qy(i,r);const s=n.type;if(8&s)la(e,t,n.child,r);else if(32&s){const a=Pf(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=Dy(t,n);if(Array.isArray(a))r.push(...a);else{const l=wo(t[Ze]);la(l[k],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Qy(e,t){for(let n=it;n!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{zs(e.lView)},consumerOnSignalRead(){this.lView[yo]=this}};function Xy(e){return eD(e[$s])}function Jy(e){return eD(e[xn])}function eD(e){for(;null!==e&&!Pt(e);)e=e[xn];return e}function oh(e){return e.ngOriginalError}class Dr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&oh(t);for(;n&&oh(n);)n=oh(n);return n||null}}const nD=new q("",{providedIn:"root",factory:()=>L(Dr).handleError.bind(void 0)}),oD=new q("",{providedIn:"root",factory:()=>!1}),ue={};function j(e=1){lD(ye(),E(),Nt()+e,!1)}function lD(e,t,n,r){if(!r)if(3==(3&t[K])){const i=e.preOrderCheckHooks;null!==i&&Ul(t,i,n)}else{const i=e.preOrderHooks;null!==i&&zl(t,i,0,n)}_o(n)}function N(e,t=pe.Default){const n=E();return null===n?ee(e,t):Cv(Oe(),n,X(e),t)}function uD(e,t,n,r,o,i){const s=ge(null);try{let a=null;o&Ue.SignalBased&&(a=t[r][Je]),null!==a&&void 0!==a.transformFn&&(i=a.transformFn(i)),o&Ue.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),null!==e.setInput?e.setInput(t,a,i,n,r):Um(t,a,r,i)}finally{ge(s)}}function Nc(e,t,n,r,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[Ke]=o,d[K]=204|r,(null!==c||e&&2048&e[K])&&(d[K]|=2048),Qm(d),d[ot]=d[ii]=e,d[Ve]=n,d[pr]=s||e&&e[pr],d[ce]=a||e&&e[ce],d[Ut]=l||e&&e[Ut]||null,d[At]=i,d[Bs]=function nA(){return tA++}(),d[Pn]=u,d[Vm]=c,d[Ze]=2==t.type?e[Ze]:d,d}function xi(e,t,n,r,o){let i=e.data[t];if(null===i)i=function ih(e,t,n,r,o){const i=tv(),s=Gd(),l=e.data[t]=function Bx(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ci()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function FM(){return ne.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Gs(){const e=ne.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Yn(i,!0),i}function ca(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iae&&lD(e,t,ae,!1),qn(s?2:0,o),n(r,o)}finally{_o(i),qn(s?3:1,o)}}function sh(e,t,n){if(kd(t)){const r=ge(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function pD(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,l=Ue.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=i;if(null!==o){if(!o.hasOwnProperty(i))continue;c=o[i]}0===e?gD(r,n,c,a,l):gD(r,n,c,a)}return r}function gD(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function uh(e,t,n,r){if(ev()){const o=null===r?null:{"":-1},i=function Yx(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,ca(e,n,o.hostVars,ue),o)}function Xn(e,t,n,r,o,i){const s=zt(e,t);!function fh(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?m(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[ce],s,i,e.value,n,r,o)}function tP(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function Ex(e){e.lView[yo]!==e&&(e.lView=null,Ky.push(e))}(a)),Kd()}}function bD(e,t){for(let n=Xy(e);null!==n;n=Jy(n))for(let r=it;r-1&&(ta(t,r),Ql(n,r))}this._attachedToViewContainer=!1}gc(this._lView[k],this._lView)}onDestroy(t){Bl(this._lView,t)}markForCheck(){ua(this._cdRefInjectingView||this._lView)}detach(){this._lView[K]&=-129}reattach(){Ud(this._lView),this._lView[K]|=128}detectChanges(){this._lView[K]|=1024,function gh(e,t=!0){const n=e[pr],r=n.rendererFactory;r.begin?.();try{!function oP(e){mh(e,0);let t=0;for(;Xm(e);){if(100===t)throw new A(103,!1);t++,mh(e,1)}}(e)}catch(i){throw t&&Oc(e,i),i}finally{r.end?.(),n.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,uy(this._lView[k],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=t,Ud(this._lView)}}let Pi=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=cP}return e})();function cP(e){return function uP(e,t,n){if(Do(e)&&!n){const r=ln(e.index,t);return new da(r,r)}return 47&e.type?new da(t[Ze],t):null}(Oe(),E(),16==(16&e))}let Fc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=pP;static#t=this.__NG_ENV_ID__=n=>n}return e})();class hP extends Fc{constructor(t){super(),this._lView=t}onDestroy(t){return Bl(this._lView,t),()=>function zd(e,t){if(null===e[Vr])return;const n=e[Vr].indexOf(t);-1!==n&&e[Vr].splice(n,1)}(this._lView,t)}}function pP(){return new hP(E())}const ID=new Set;function Ao(e){ID.has(e)||(ID.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function vh(e){return t=>{setTimeout(e,void 0,t)}}const J=class CP extends vn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=vh(i),o&&(o=vh(o)),s&&(s=vh(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof bt&&t.add(a),a}};function MD(...e){}class Pe{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new J(!1),this.onMicrotaskEmpty=new J(!1),this.onStable=new J(!1),this.onError=new J(!1),typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function wP(){const e="function"==typeof $e.requestAnimationFrame;let t=$e[e?"requestAnimationFrame":"setTimeout"],n=$e[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function EP(e){const t=()=>{!function bP(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call($e,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Dh(e),e.isCheckStableRunning=!0,yh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Dh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function SP(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return TD(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),AD(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return TD(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),AD(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Dh(e),yh(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Pe.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(Pe.isInAngularZone())throw new A(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,_P,MD,MD);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const _P={};function yh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Dh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function TD(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function AD(e){e._nesting--,yh(e)}class xD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new J,this.onMicrotaskEmpty=new J,this.onStable=new J,this.onError=new J}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}var xo=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(xo||{});const PD={destroy(){}};function RD(e,t){!t&&function Cf(e){if(!_m()&&!function G0(){return ri}())throw new A(-203,!1)}();const n=t?.injector??L(nn);if(!function Ur(e){return"browser"===(e??L(nn)).get(Mo)}(n))return PD;Ao("NgAfterNextRender");const r=n.get(fa),o=r.handler??=new FD,i=t?.phase??xo.MixedReadWrite,s=()=>{o.unregister(l),a()},a=n.get(Fc).onDestroy(s),l=new OD(n,i,()=>{s(),e()});return o.register(l),{destroy:s}}class OD{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(Pe),this.errorHandler=t.get(Dr,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class FD{constructor(){this.executingCallbacks=!1,this.buckets={[xo.EarlyRead]:new Set,[xo.Write]:new Set,[xo.MixedReadWrite]:new Set,[xo.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){let t=!1;this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const r of n)t=!0,r.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);return this.deferredCallbacks.clear(),t}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let fa=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of n)o();return!!this.handler?.execute()||n.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:()=>new e})}return e})();function TP(e,t){const n=ln(t,e),r=n[k];!function AP(e,t){for(let n=t.length;n0&&_y(e,n,i.join(" "))}}(h,de,y,r),void 0!==n&&function VP(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Ls(o.hostAttrs,n=Ls(n,o.hostAttrs))}}(r)}function jP(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function Lc(e){return e===zn?{}:e===Me?[]:e}function UP(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function zP(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function GP(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function HD(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function Ri(e,t){return!t||null===t.firstChild||dc(e)}function Da(e,t,n,r=!0){const o=t[k];if(function gA(e,t,n,r){const o=it+r,i=n.length;r>0&&(n[o-1][xn]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=yN}return e})();function yN(){return function XD(e,t){let n;const r=t[e.index];return Pt(r)?n=r:(n=yD(r,t,null,e),t[e.index]=n,Rc(t,n)),JD(n,t,e,r),new QD(n,e,t)}(Oe(),E())}const DN=Rn,QD=class extends DN{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ai(this._hostTNode,this._hostLView)}get injector(){return new gt(this._hostTNode,this._hostLView)}get parentInjector(){const t=ql(this._hostTNode,this._hostLView);if(ef(t)){const n=Zs(t,this._hostLView),r=qs(t);return new gt(n[k].data[r+8],n)}return new gt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=KD(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-it}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,Ri(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function Ys(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const y=n||{};a=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef}const l=s?t:new ha(he(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const w=(s?c:this.parentInjector).get(Dn,null);w&&(i=w)}he(l.componentType??{});const g=l.create(c,o,null,i);return this.insertImpl(g.hostView,a,Ri(this._hostTNode,null)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function _M(e){return Pt(e[ot])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=o[ot],c=new QD(l,l[At],l[ot]);c.detach(c.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return Da(s,o,i,r),t.attachToViewContainerRef(),Iv(Mh(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=KD(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ta(this._lContainer,n);r&&(Ql(Mh(this._lContainer),n),gc(r[k],r))}detach(t){const n=this._adjustIndex(t,-1),r=ta(this._lContainer,n);return r&&null!=Ql(Mh(this._lContainer),n)?new da(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function KD(e){return e[8]}function Mh(e){return e[8]||(e[8]=[])}let JD=function tC(e,t,n,r){if(e[Wn])return;let o;o=8&n.type?Be(r):function CN(e,t){const n=e[ce],r=n.createComment(""),o=zt(t,e);return To(n,mc(n,o),r,function CA(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Wn]=o},Th=()=>!1;function lt(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function St(e,t,n,r,o,i,s,a){const l=E(),c=ye(),u=e+ae,d=c.firstCreatePass?function EN(e,t,n,r,o,i,s,a,l){const c=t.consts,u=xi(t,e,4,s||null,Zn(c,a));uh(t,n,u,Zn(c,l)),Hl(t,u);const d=u.tView=ch(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,o,i,s):c.data[u];Yn(d,!1);const h=nC(c,l,d,e);jl()&&vc(c,l,h,d),Rt(h,l);const g=yD(h,l,h,d);return l[u]=g,Rc(l,g),function eC(e,t,n){return Th(e,t,n)}(g,d,l),Vl(d)&&ah(c,l,d),null!=s&&lh(l,d,a),St}let nC=function rC(e,t,n,r){return Br(!0),t[ce].createComment("")};function er(e,t,n,r){const o=E();return lt(o,Qn(),t)&&(ye(),Xn(ze(),o,e,t,n,r)),er}function Zc(e,t){return e<<17|t<<2}function Zr(e){return e>>17&32767}function Lh(e){return 2|e}function Ro(e){return(131068&e)>>2}function $h(e,t){return-131069&e|t<<2}function Vh(e){return 1|e}function FC(e,t,n,r){const o=e[n+1],i=null===t;let s=r?Zr(o):Ro(o),a=!1;for(;0!==s&&(!1===a||i);){const c=e[s+1];l1(e[s],t)&&(a=!0,e[s+1]=r?Vh(c):Lh(c)),s=r?Zr(c):Ro(c)}a&&(e[n+1]=r?Lh(o):Vh(o))}function l1(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Di(e,t)>=0}const vt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function kC(e){return e.substring(vt.key,vt.keyEnd)}function c1(e){return e.substring(vt.value,vt.valueEnd)}function $C(e,t){const n=vt.textEnd;let r=vt.key=Yi(e,t,n);return n===r?-1:(r=vt.keyEnd=function h1(e,t,n){let r;for(;t=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=BC(e,r,n),r=vt.value=Yi(e,r,n),r=vt.valueEnd=function p1(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s32&&(a=s),i=o,o=r,r=-33&l}return a}(e,r,n),BC(e,r,n))}function Yi(e,t,n){for(;t0)&&(c=!0)):u=n,o)if(0!==l){const h=Zr(e[a+1]);e[r+1]=Zc(h,a),0!==h&&(e[h+1]=$h(e[h+1],r)),e[a+1]=function o1(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Zc(a,0),0!==a&&(e[a+1]=$h(e[a+1],r)),a=r;else e[r+1]=Zc(l,0),0===a?a=r:e[l+1]=$h(e[l+1],r),l=r;c&&(e[r+1]=Lh(e[r+1])),FC(e,u,r,!0),FC(e,u,r,!1),function a1(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Di(i,t)>=0&&(n[r+1]=Vh(n[r+1]))}(t,u,e,r,i),s=Zc(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(o,null,i,r);const s=E();if(n!==ue&<(s,i,n)){const a=o.data[Nt()];if(ZC(a,r)&&!UC(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=_e(l,n||"")),Bh(o,a,s,n,r)}else!function b1(e,t,n,r,o,i,s,a){o===ue&&(o=Me);let l=0,c=0,u=0=0;n=$C(t,n))GC(e,kC(t),c1(t))}function UC(e,t){return t>=e.expandoStartIndex}function jh(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=n[o+1];h===ue&&(h=d?Me:void 0);let g=d?cf(h,r):u===r?h:void 0;if(c&&!Qc(g)&&(g=cf(l,r)),Qc(g)&&(a=g,s))return a;const y=e[o+1];o=s?Zr(y):Ro(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=cf(l,r))}return a}function Qc(e){return void 0!==e}function ZC(e,t){return 0!=(e.flags&(t?8:16))}function P(e,t,n,r){const o=E(),i=ye(),s=ae+e,a=o[ce],l=i.firstCreatePass?function q1(e,t,n,r,o,i){const s=t.consts,l=xi(t,e,2,r,Zn(s,o));return uh(t,n,l,Zn(s,i)),null!==l.attrs&&kc(l,l.attrs,!1),null!==l.mergedAttrs&&kc(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],c=XC(i,o,l,a,t,e);o[s]=c;const u=Vl(l);return Yn(l,!0),by(a,c,l),32!=(32&l.flags)&&jl()&&vc(i,o,c,l),0===function EM(){return ne.lFrame.elementDepthCount}()&&Rt(c,o),function SM(){ne.lFrame.elementDepthCount++}(),u&&(ah(i,o,l),sh(i,l,o)),null!==r&&lh(o,l),P}function F(){let e=Oe();Gd()?Wd():(e=e.parent,Yn(e,!1));const t=e;(function MM(e){return ne.skipHydrationRootTNode===e})(t)&&function PM(){ne.skipHydrationRootTNode=null}(),function IM(){ne.lFrame.elementDepthCount--}();const n=ye();return n.firstCreatePass&&(Hl(n,e),kd(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ZM(e){return 0!=(8&e.flags)}(t)&&Bh(n,t,E(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function YM(e){return 0!=(16&e.flags)}(t)&&Bh(n,t,E(),t.stylesWithoutHost,!1),F}function we(e,t,n,r){return P(e,t,n,r),F(),we}let XC=(e,t,n,r,o,i)=>(Br(!0),pc(r,o,function dv(){return ne.lFrame.currentNamespace}()));function Oo(e,t,n){const r=E(),o=ye(),i=e+ae,s=o.firstCreatePass?function Q1(e,t,n,r,o){const i=t.consts,s=Zn(i,r),a=xi(t,e,8,"ng-container",s);return null!==s&&kc(a,s,!0),uh(t,n,a,Zn(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Yn(s,!0);const a=ew(o,r,s,e);return r[i]=a,jl()&&vc(o,r,a,s),Rt(a,r),Vl(s)&&(ah(o,r,s),sh(o,s,r)),null!=n&&lh(r,s),Oo}function Fo(){let e=Oe();const t=ye();return Gd()?Wd():(e=e.parent,Yn(e,!1)),t.firstCreatePass&&(Hl(t,e),kd(e)&&t.queries.elementEnd(e)),Fo}let ew=(e,t,n,r)=>(Br(!0),Nf(t[ce],""));const Ki="en-US";let iw=Ki;function xa(e){return!!e&&"function"==typeof e.then}function xw(e){return!!e&&"function"==typeof e.subscribe}function be(e,t,n,r){const o=E(),i=ye(),s=Oe();return function Nw(e,t,n,r,o,i,s){const a=Vl(r),c=e.firstCreatePass&&function wD(e){return e.cleanup||(e.cleanup=[])}(e),u=t[Ve],d=function CD(e){return e[oi]||(e[oi]=[])}(t);let h=!0;if(3&r.type||s){const w=zt(r,t),I=s?s(w):w,O=d.length,S=s?se=>s(Be(se[r.index])):r.index;let Q=null;if(!s&&a&&(Q=function QR(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==Q)(Q.__ngLastListenerFn__||Q).__ngNextListenerFn__=i,Q.__ngLastListenerFn__=i,h=!1;else{i=Ow(r,t,u,i,!1);const se=n.listen(I,o,i);d.push(i,se),c&&c.push(o,S,O,O+1)}}else i=Ow(r,t,u,i,!1);const g=r.outputs;let y;if(h&&null!==g&&(y=g[o])){const w=y.length;if(w)for(let I=0;I-1?ln(e.index,t):t);let l=Rw(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)l=Rw(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function _n(e=1){return function VM(e){return(ne.lFrame.contextLView=function Km(e,t){for(;e>0;)t=t[ii],e--;return t}(e,ne.lFrame.contextLView))[Ve]}(e)}function KR(e,t){let n=null;const r=function eM(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o{class e{static#e=this.__NG_ELEMENT_ID__=tO}return e})();const JR=wr,eO=class extends JR{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function ya(e,t,n,r){const o=t.tView,a=Nc(e,o,n,4096&e[K]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Vs]=e[t.index];const c=e[Gn];return null!==c&&(a[Gn]=c.createEmbeddedView(o)),Ch(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new da(o)}};function tO(){return function tu(e,t){return 4&e.type?new eO(t,e,Ai(e,t)):null}(Oe(),E())}function z(e,t=""){const n=E(),r=ye(),o=e+ae,i=r.firstCreatePass?xi(r,o,1,t,null):r.data[o],s=a_(r,n,i,t,e);n[o]=s,jl()&&vc(r,n,s,i),Yn(i,!1)}let a_=(e,t,n,r,o)=>(Br(!0),function hc(e,t){return e.createText(t)}(t[ce],r));function qt(e){return Xi("",e,""),qt}function Xi(e,t,n){const r=E(),o=function ji(e,t,n,r){return lt(e,Qn(),n)?t+m(n)+r:ue}(r,e,t,n);return o!==ue&&function Cr(e,t,n){const r=Hs(t,e);!function cy(e,t,n){e.setValue(t,n)}(e[ce],r,n)}(r,Nt(),o),Xi}function tp(e,t,n,r,o){if(e=X(e),Array.isArray(e))for(let i=0;i>20;if(So(e)||!e.multi){const g=new Ws(c,o,N),y=rp(l,t,o?u:u+h,d);-1===y?(rf(Wl(a,s),i,l),np(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(g),s.push(g)):(n[y]=g,s[y]=g)}else{const g=rp(l,t,u+h,d),y=rp(l,t,u,u+h),I=y>=0&&n[y];if(o&&!I||!o&&!(g>=0&&n[g])){rf(Wl(a,s),i,l);const O=function SO(e,t,n,r,o){const i=new Ws(e,n,N);return i.multi=[],i.index=t,i.componentProviders=0,m_(i,o,r&&!n),i}(o?EO:bO,n.length,o,r,c);!o&&I&&(n[y].providerFactory=O),np(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(O),s.push(O)}else np(i,e,g>-1?g:y,m_(n[o?y:g],c,!o&&r));!o&&r&&I&&n[y].componentProviders++}}}function np(e,t,n,r){const o=So(t),i=function MT(e){return!!e.useClass}(t);if(o||i){const l=(i?X(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function m_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function rp(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function _O(e,t,n){const r=ye();if(r.firstCreatePass){const o=Nn(e);tp(n,r.data,r.blueprint,o,!0),tp(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Lo{}class v_{}class ip extends Lo{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new kD(this);const o=Tt(t);this._bootstrapComponents=un(o.bootstrap),this._r3Injector=Hv(t,n,[{provide:Lo,useValue:this},{provide:Tc,useValue:this.componentFactoryResolver},...r],me(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class sp extends v_{constructor(t){super(),this.moduleType=t}create(t){return new ip(this.moduleType,t,[])}}class y_ extends Lo{constructor(t){super(),this.componentFactoryResolver=new kD(this),this.instance=null;const n=new wi([...t.providers,{provide:Lo,useValue:this},{provide:Tc,useValue:this.componentFactoryResolver}],t.parent||ic(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ap(e,t,n=null){return new y_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let TO=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Rv(0,n.type),o=r.length>0?ap([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Y({token:e,providedIn:"environment",factory:()=>new e(ee(Dn))})}return e})();function D_(e){Ao("NgStandalone"),e.getStandaloneInjector=t=>t.get(TO).getOrCreateStandaloneInjector(e)}function T_(e,t,n,r){return function A_(e,t,n,r,o,i){const s=t+n;return lt(e,s,o)?function Jn(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function Pa(e,t){const n=e[t];return n===ue?void 0:n}(e,s+1)}(E(),function Gt(){const e=ne.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}let Y_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class bF{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Q_=(()=>{class e{compileModuleSync(n){return new sp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=un(Tt(n).declarations).reduce((s,a)=>{const l=he(a);return l&&s.push(new ha(l)),s},[]);return new bF(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),iu=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new jt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const tb=new q(""),au=new q("");let mp,pp=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,mp||(function QF(e){mp=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Pe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(ee(Pe),ee(gp),ee(au))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})(),gp=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return mp?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const vp=new q("Application Initializer");let yp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=L(vp,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(xa(i))n.push(i);else if(xw(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Dp=new q("appBootstrapListener");function ob(e,t){return Array.isArray(t)?t.reduce(ob,e):{...e,...t}}let $o=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=L(nD),this.afterRenderEffectManager=L(fa),this.componentTypes=[],this.components=[],this.isStable=L(iu).hasPendingTasks.pipe(Ie(n=>!n)),this._injector=L(Dn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof By;if(!this._injector.get(yp).done)throw!o&&function $r(e){const t=he(e)||pt(e)||Et(e);return null!==t&&t.standalone}(n),new A(405,!1);let s;s=o?n:this._injector.get(Tc).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function XF(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Lo),c=s.create(nn.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(tb,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),lu(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new A(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{try{this.afterRenderEffectManager.execute()}catch(n){this.internalErrorHandler(n)}this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;lu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Dp,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>lu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new A(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let ek=(()=>{class e{constructor(){this.zone=L(Pe),this.applicationRef=L($o)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tk(){const e=L(Pe),t=L(Dr);return n=>e.runOutsideAngular(()=>t.handleError(n))}let rk=(()=>{class e{constructor(){this.subscription=new bt,this.initialized=!1,this.zone=L(Pe),this.pendingTasks=L(iu)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Pe.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Pe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _r=new q("LocaleId",{providedIn:"root",factory:()=>L(_r,pe.Optional|pe.SkipSelf)||function ok(){return typeof $localize<"u"&&$localize.locale||Ki}()}),Cp=new q("PlatformDestroyListeners");let lb=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function IP(e="zone.js",t){return"noop"===e?new xD:"zone.js"===e?new Pe(t):e}(r?.ngZone,function ab(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function MO(e,t,n){return new ip(e,t,n)}(n.moduleType,this.injector,function sb(e){return[{provide:Pe,useFactory:e},{provide:Eo,multi:!0,useFactory:()=>{const t=L(ek,{optional:!0});return()=>t.initialize()}},{provide:Eo,multi:!0,useFactory:()=>{const t=L(rk);return()=>{t.initialize()}}},{provide:nD,useFactory:tk}]}(()=>o)),s=i.injector.get(Dr,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{lu(this._modules,i),a.unsubscribe()})}),function rb(e,t,n){try{const r=n();return xa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(yp);return a.runInitializers(),a.donePromise.then(()=>(function sw(e){Xt(e,"Expected localeId to be defined"),"string"==typeof e&&(iw=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(_r,Ki)||Ki),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=ob({},r);return function KF(e,t,n){const r=new sp(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get($o);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new A(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new A(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Cp,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(ee(nn))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Yr=null;const cb=new q("AllowMultipleToken");function ub(e,t,n=[]){const r=`Platform: ${t}`,o=new q(r);return(i=[])=>{let s=wp();if(!s||s.injector.get(cb,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function ak(e){if(Yr&&!Yr.get(cb,!1))throw new A(400,!1);(function nb(){!function hd(e){Ko=e}(()=>{throw new A(600,!1)})})(),Yr=e;const t=e.get(lb);(function fb(e){e.get(zv,null)?.forEach(n=>n())})(e)}(function db(e=[],t){return nn.create({name:t,providers:[{provide:mf,useValue:"platform"},{provide:Cp,useValue:new Set([()=>Yr=null])},...e]})}(a,r))}return function lk(e){const t=wp();if(!t)throw new A(401,!1);return t}()}}function wp(){return Yr?.get(lb)??null}const pk=ub(null,"core",[]);let gk=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(ee($o))};static#t=this.\u0275mod=An({type:e});static#n=this.\u0275inj=yn({})}return e})();function ns(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Tp=null;function Qr(){return Tp}class Gk{}const fn=new q("DocumentToken");let Ap=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>L(qk),providedIn:"platform"})}return e})();const Wk=new q("Location Initialized");let qk=(()=>{class e extends Ap{constructor(){super(),this._doc=L(fn),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Qr().getBaseHref(this._doc)}onPopState(n){const r=Qr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Qr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function xp(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function kb(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function br(e){return e&&"?"!==e[0]?"?"+e:e}let Bo=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>L($b),providedIn:"root"})}return e})();const Lb=new q("appBaseHref");let $b=(()=>{class e extends Bo{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??L(fn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return xp(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+br(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+br(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+br(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(ee(Ap),ee(Lb,8))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Zk=(()=>{class e extends Bo{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=xp(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+br(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+br(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(ee(Ap),ee(Lb,8))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})(),$a=(()=>{class e{constructor(n){this._subject=new J,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function Kk(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(kb(Vb(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+br(r))}normalize(n){return e.stripTrailingSlash(function Qk(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,Vb(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+br(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+br(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=br;static#t=this.joinWithSlash=xp;static#n=this.stripTrailingSlash=kb;static#r=this.\u0275fac=function(r){return new(r||e)(ee(Bo))};static#o=this.\u0275prov=Y({token:e,factory:()=>function Yk(){return new $a(ee(Bo))}(),providedIn:"root"})}return e})();function Vb(e){return e.replace(/\/index.html$/,"")}class $L{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}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 Mu=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new $L(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),Qb(a,o)}});for(let o=0,i=r.length;o{Qb(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(N(Rn),N(wr),N(rh))};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function Qb(e,t){e.context.$implicit=t.item}let Tu=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new VL,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Kb("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Kb("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(N(Rn),N(wr))};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class VL{constructor(){this.$implicit=null,this.ngIf=null}}function Kb(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${me(t)}'.`)}class jp{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Au=(()=>{class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){const r=n===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(const r of this._defaultViews)r.enforceState(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return e})(),Xb=(()=>{class e{constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new jp(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(r){return new(r||e)(N(Rn),N(wr),N(Au,9))};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return e})(),eE=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:Gr.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static#e=this.\u0275fac=function(r){return new(r||e)(N(on),N(xc),N(yr))};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),d$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=An({type:e});static#n=this.\u0275inj=yn({})}return e})();const nE="browser";function rE(e){return"server"===e}let m$=(()=>{class e{static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:()=>function g$(e){return e===nE}(L(Mo))?new v$(L(fn),window):new D$})}return e})();class v${constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){const n=function y$(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}}class D${setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}}class U$ extends Gk{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Wp extends U${static makeCurrent(){!function zk(e){Tp||(Tp=e)}(new Wp)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||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,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function z$(){return Ha=Ha||document.querySelector("base"),Ha?Ha.getAttribute("href"):null}();return null==n?null:function G$(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Ha=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function FL(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Ha=null,q$=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const qp=new q("EventManagerPlugins");let aE=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new A(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(ee(qp),ee(Pe))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();class lE{constructor(t){this._doc=t}}const Zp="ng-app-id";let cE=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=rE(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Zp}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Zp),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Zp,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(ee(fn),ee(ac),ee(Gv,8),ee(Mo))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const Yp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Qp=/%COMP%/g,K$=new q("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function dE(e,t){return t.map(n=>n.replace(Qp,e))}let fE=(()=>{class e{constructor(n,r,o,i,s,a,l,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=rE(a),this.defaultRenderer=new Kp(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Mn.ShadowDom&&(r={...r,encapsulation:Mn.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof pE?o.applyToHost(n):o instanceof Xp&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Mn.Emulated:i=new pE(l,c,r,this.appId,u,s,a,d);break;case Mn.ShadowDom:return new t2(l,c,n,r,s,a,this.nonce,d);default:i=new Xp(l,c,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(ee(aE),ee(cE),ee(ac),ee(K$),ee(fn),ee(Mo),ee(Pe),ee(Gv))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();class Kp{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Yp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(hE(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(hE(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new A(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Yp[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Yp[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Gr.DashCase|Gr.Important)?t.style.setProperty(n,r,o&Gr.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Gr.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Qr().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function hE(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class t2 extends Kp{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=dE(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xp extends Kp{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?dE(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class pE extends Xp{constructor(t,n,r,o,i,s,a,l){const c=o+"-"+r.id;super(t,n,r,i,s,a,l,c),this.contentAttr=function X$(e){return"_ngcontent-%COMP%".replace(Qp,e)}(c),this.hostAttr=function J$(e){return"_nghost-%COMP%".replace(Qp,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let n2=(()=>{class e extends lE{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(ee(fn))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const gE=["alt","control","meta","shift"],r2={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},o2={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let i2=(()=>{class e extends lE{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Qr().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),gE.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=r2[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),gE.forEach(s=>{s!==o&&(0,o2[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(ee(fn))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const c2=ub(pk,"browser",[{provide:Mo,useValue:nE},{provide:zv,useValue:function s2(){Wp.makeCurrent()},multi:!0},{provide:fn,useFactory:function l2(){return function jT(e){_f=e}(document),document},deps:[]}]),u2=new q(""),yE=[{provide:au,useClass:class W${addToWindow(t){$e.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new A(5103,!1);return i},$e.getAllAngularTestabilities=()=>t.getAllTestabilities(),$e.getAllAngularRootElements=()=>t.getAllRootElements(),$e.frameworkStabilizers||($e.frameworkStabilizers=[]),$e.frameworkStabilizers.push(r=>{const o=$e.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Qr().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:tb,useClass:pp,deps:[Pe,gp,au]},{provide:pp,useClass:pp,deps:[Pe,gp,au]}],DE=[{provide:mf,useValue:"root"},{provide:Dr,useFactory:function a2(){return new Dr},deps:[]},{provide:qp,useClass:n2,multi:!0,deps:[fn,Pe,Mo]},{provide:qp,useClass:i2,multi:!0,deps:[fn]},fE,cE,aE,{provide:Hy,useExisting:fE},{provide:class C${},useClass:q$,deps:[]},[]];let d2=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ac,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(ee(u2,12))};static#t=this.\u0275mod=An({type:e});static#n=this.\u0275inj=yn({providers:[...DE,...yE],imports:[d$,gk]})}return e})(),CE=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static#e=this.\u0275fac=function(r){return new(r||e)(ee(fn))};static#t=this.\u0275prov=Y({token:e,factory:function(r){let o=null;return o=r?new r:function h2(){return new CE(ee(fn))}(),o},providedIn:"root"})}return e})();function Xr(e){return this instanceof Xr?(this.v=e,this):new Xr(e)}function ME(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function rg(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}typeof window<"u"&&window,"function"==typeof SuppressedError&&SuppressedError;const TE=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function AE(e){return ke(e?.then)}function xE(e){return ke(e[As])}function PE(e){return Symbol.asyncIterator&&ke(e?.[Symbol.asyncIterator])}function NE(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const RE=function B2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function OE(e){return ke(e?.[RE])}function FE(e){return function IE(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){r[h]&&(o[h]=function(g){return new Promise(function(y,w){i.push([h,g,y,w])>1||a(h,g)})})}function a(h,g){try{!function l(h){h.value instanceof Xr?Promise.resolve(h.value.v).then(c,u):d(i[0][2],h)}(r[h](g))}catch(y){d(i[0][3],y)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,g){h(g),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Xr(n.read());if(o)return yield Xr(void 0);yield yield Xr(r)}}finally{n.releaseLock()}})}function kE(e){return ke(e?.getReader)}function nr(e){if(e instanceof nt)return e;if(null!=e){if(xE(e))return function j2(e){return new nt(t=>{const n=e[As]();if(ke(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(TE(e))return function H2(e){return new nt(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,uo)})}(e);if(PE(e))return LE(e);if(OE(e))return function z2(e){return new nt(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(kE(e))return function G2(e){return LE(FE(e))}(e)}throw NE(e)}function LE(e){return new nt(t=>{(function W2(e,t){var n,r,o,i;return function EE(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=ME(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Ir(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function $E(e,t=0){return ht((n,r)=>{n.subscribe(rt(r,o=>Ir(r,e,()=>r.next(o),t),()=>Ir(r,e,()=>r.complete(),t),o=>Ir(r,e,()=>r.error(o),t)))})}function VE(e,t=0){return ht((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function BE(e,t){if(!e)throw new Error("Iterable cannot be null");return new nt(n=>{Ir(n,t,()=>{const r=e[Symbol.asyncIterator]();Ir(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ct(e,t){return t?function X2(e,t){if(null!=e){if(xE(e))return function q2(e,t){return nr(e).pipe(VE(t),$E(t))}(e,t);if(TE(e))return function Y2(e,t){return new nt(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(AE(e))return function Z2(e,t){return nr(e).pipe(VE(t),$E(t))}(e,t);if(PE(e))return BE(e,t);if(OE(e))return function Q2(e,t){return new nt(n=>{let r;return Ir(n,t,()=>{r=e[RE](),Ir(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>ke(r?.return)&&r.return()})}(e,t);if(kE(e))return function K2(e,t){return BE(FE(e),t)}(e,t)}throw NE(e)}(e,t):nr(e)}function og(e){return e[e.length-1]}function Nu(e){return function J2(e){return e&&ke(e.schedule)}(og(e))?e.pop():void 0}function ie(...e){return Ct(e,Nu(e))}const{isArray:eV}=Array,{getPrototypeOf:tV,prototype:nV,keys:rV}=Object;const{isArray:iV}=Array;function ig(...e){const t=Nu(e),n=function jE(e){return ke(og(e))?e.pop():void 0}(e),{args:r,keys:o}=function HE(e){if(1===e.length){const t=e[0];if(eV(t))return{args:t,keys:null};if(function oV(e){return e&&"object"==typeof e&&tV(e)===nV}(t)){const n=rV(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return Ct([],t);const i=new nt(function aV(e,t,n=dr){return r=>{GE(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const c=Ct(e[l],t);let u=!1;c.subscribe(rt(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>function zE(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}(o,s):dr));return n?i.pipe(function UE(e){return Ie(t=>function sV(e,t){return iV(t)?e(...t):e(t)}(e,t))}(n)):i}function GE(e,t,n){e?Ir(n,e,t):t()}const Ru=Xo(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ot(e,t,n=1/0){return ke(t)?Ot((r,o)=>Ie((i,s)=>t(r,i,o,s))(nr(e(r,o))),n):("number"==typeof t&&(n=t),ht((r,o)=>function lV(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},g=w=>c{i&&t.next(w),c++;let I=!1;nr(n(w,u++)).subscribe(rt(t,O=>{o?.(O),i?g(O):t.next(O)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&cy(O)):y(O)}h()}catch(O){t.error(O)}}))};return e.subscribe(rt(t,g,()=>{d=!0,h()})),()=>{a?.()}}(r,o,e,n)))}function za(e=1/0){return Ot(dr,e)}function sg(...e){return function cV(){return za(1)}()(Ct(e,Nu(e)))}function WE(e){return new nt(t=>{nr(e()).subscribe(t)})}function Ou(e,t){const n=ke(e)?e:()=>e,r=o=>o.error(n());return new nt(t?o=>t.schedule(r,0,o):r)}const Mr=new nt(e=>e.complete());function ag(){return ht((e,t)=>{let n=null;e._refCount++;const r=rt(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class qE extends nt{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,xs(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new bt;const n=this.getSubject();t.add(this.source.subscribe(rt(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=bt.EMPTY)}return t}refCount(){return ag()(this)}}function rr(e,t){return ht((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(rt(r,l=>{o?.unsubscribe();let c=0;const u=i++;nr(e(l,u)).subscribe(o=rt(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function os(e){return e<=0?()=>Mr:ht((t,n)=>{let r=0;t.subscribe(rt(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Jr(e,t){return ht((n,r)=>{let o=0;n.subscribe(rt(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Fu(e){return ht((t,n)=>{let r=!1;t.subscribe(rt(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ZE(e=fV){return ht((t,n)=>{let r=!1;t.subscribe(rt(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function fV(){return new Ru}function jo(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Jr((o,i)=>e(o,i,r)):dr,os(1),n?Fu(t):ZE(()=>new Ru))}function Ga(e,t){return ke(t)?Ot(e,t,1):Ot(e,1)}function Ft(e,t,n){const r=ke(e)||t||n?{next:e,error:t,complete:n}:e;return r?ht((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(rt(i,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),i.error(l)},()=>{var l,c;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):dr}function is(e){return ht((t,n)=>{let i,r=null,o=!1;r=t.subscribe(rt(n,void 0,void 0,s=>{i=nr(e(s,is(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function lg(e){return e<=0?()=>Mr:ht((t,n)=>{let r=[];t.subscribe(rt(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function cg(e){return ht((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const fe="primary",Wa=Symbol("RouteTitle");class yV{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function ss(e){return new yV(e)}function DV(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function QE(e){return e.length>0?e[e.length-1]:null}function eo(e){return function y2(e){return!!e&&(e instanceof nt||ke(e.lift)&&ke(e.subscribe))}(e)?e:xa(e)?Ct(Promise.resolve(e)):ie(e)}const wV={exact:function JE(e,t,n){if(!Ho(e.segments,t.segments)||!ku(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!JE(e.children[r],t.children[r],n))return!1;return!0},subset:eS},KE={exact:function _V(e,t){return or(e,t)},subset:function bV(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>YE(e[n],t[n]))},ignored:()=>!0};function XE(e,t,n){return wV[n.paths](e.root,t.root,n.matrixParams)&&KE[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function eS(e,t,n){return tS(e,t,t.segments,n)}function tS(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Ho(o,n)||t.hasChildren()||!ku(o,n,r))}if(e.segments.length===n.length){if(!Ho(e.segments,n)||!ku(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!eS(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(Ho(e.segments,o)&&ku(e.segments,o,r)&&e.children[fe])&&tS(e.children[fe],t,i,r)}}function ku(e,t,n){return t.every((r,o)=>KE[n](e[o].parameters,r.parameters))}class as{constructor(t=new Fe([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ss(this.queryParams),this._queryParamMap}toString(){return IV.serialize(this)}}class Fe{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lu(this)}}class qa{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=ss(this.parameters),this._parameterMap}toString(){return oS(this)}}function Ho(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let ls=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>new dg,providedIn:"root"})}return e})();class dg{parse(t){const n=new LV(t);return new as(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Za(t.root,!0)}`,r=function AV(e){const t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${$u(n)}=${$u(o)}`).join("&"):`${$u(n)}=${$u(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function MV(e){return encodeURI(e)}(t.fragment)}`:""}`}}const IV=new dg;function Lu(e){return e.segments.map(t=>oS(t)).join("/")}function Za(e,t){if(!e.hasChildren())return Lu(e);if(t){const n=e.children[fe]?Za(e.children[fe],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==fe&&r.push(`${o}:${Za(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function SV(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===fe&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==fe&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===fe?[Za(e.children[fe],!1)]:[`${o}:${Za(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[fe]?`${Lu(e)}/${n[0]}`:`${Lu(e)}/(${n.join("//")})`}}function nS(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $u(e){return nS(e).replace(/%3B/gi,";")}function fg(e){return nS(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vu(e){return decodeURIComponent(e)}function rS(e){return Vu(e.replace(/\+/g,"%20"))}function oS(e){return`${fg(e.path)}${function TV(e){return Object.entries(e).map(([t,n])=>`;${fg(t)}=${fg(n)}`).join("")}(e.parameters)}`}const xV=/^[^\/()?;#]+/;function hg(e){const t=e.match(xV);return t?t[0]:""}const PV=/^[^\/()?;=#]+/,RV=/^[^=?&#]+/,FV=/^[^&#]+/;class LV{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Fe([],{}):new Fe([],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(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[fe]=new Fe(t,n)),r}parseSegment(){const t=hg(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(t),new qa(Vu(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function NV(e){const t=e.match(PV);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=hg(this.remaining);o&&(r=o,this.capture(r))}t[Vu(n)]=Vu(r)}parseQueryParam(t){const n=function OV(e){const t=e.match(RV);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function kV(e){const t=e.match(FV);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=rS(n),i=rS(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=hg(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new A(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=fe);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[fe]:new Fe([],s),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 A(4011,!1)}}function iS(e){return e.segments.length>0?new Fe([],{[fe]:e}):e}function sS(e){const t={};for(const[r,o]of Object.entries(e.children)){const i=sS(o);if(r===fe&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function $V(e){if(1===e.numberOfChildren&&e.children[fe]){const t=e.children[fe];return new Fe(e.segments.concat(t.segments),t.children)}return e}(new Fe(e.segments,t))}function Uo(e){return e instanceof as}function aS(e){let t;const o=iS(function n(i){const s={};for(const l of i.children){const c=n(l);s[l.outlet]=c}const a=new Fe(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function lS(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return pg(o,o,o,n,r);const i=function BV(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new uS(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new uS(n,t,r)}(t);if(i.toRoot())return pg(o,o,new Fe([],{}),n,r);const s=function jV(e,t,n){if(e.isAbsolute)return new ju(t,!0,0);if(!n)return new ju(t,!1,NaN);if(null===n.parent)return new ju(n,!0,0);const r=Bu(e.commands[0])?0:1;return function HV(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new A(4005,!1);o=r.segments.length}return new ju(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?Qa(s.segmentGroup,s.index,i.commands):dS(s.segmentGroup,s.index,i.commands);return pg(o,s.segmentGroup,a,n,r)}function Bu(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ya(e){return"object"==typeof e&&null!=e&&e.outlets}function pg(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([l,c])=>{i[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===t?n:cS(e,t,n);const a=iS(sS(s));return new as(a,i,o)}function cS(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:cS(i,t,n)}),new Fe(e.segments,r)}class uS{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Bu(r[0]))throw new A(4003,!1);const o=r.find(Ya);if(o&&o!==QE(r))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ju{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function dS(e,t,n){if(e??=new Fe([],{}),0===e.segments.length&&e.hasChildren())return Qa(e,t,n);const r=function zV(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(Ya(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!hS(l,c,s))return i;r+=2}else{if(!hS(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==fe)&&e.children[fe]&&1===e.numberOfChildren&&0===e.children[fe].segments.length){const i=Qa(e.children[fe],t,n);return new Fe(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=dS(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new Fe(e.segments,o)}}function gg(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=gg(new Fe([],{}),0,r))}),t}function fS(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function hS(e,t,n){return e==n.path&&or(t,n.parameters)}const Ka="imperative";var De=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(De||{});class ir{constructor(t,n){this.id=t,this.url=n}}class Hu extends ir{constructor(t,n,r="imperative",o=null){super(t,n),this.type=De.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Tr extends ir{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=De.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Sn=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(Sn||{}),Uu=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Uu||{});class cs extends ir{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=De.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class us extends ir{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=De.NavigationSkipped}}class zu extends ir{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=De.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class pS extends ir{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=De.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class WV extends ir{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=De.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qV extends ir{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=De.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ZV extends ir{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=De.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class YV extends ir{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=De.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class QV{constructor(t){this.route=t,this.type=De.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class KV{constructor(t){this.route=t,this.type=De.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class XV{constructor(t){this.snapshot=t,this.type=De.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class JV{constructor(t){this.snapshot=t,this.type=De.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class eB{constructor(t){this.snapshot=t,this.type=De.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tB{constructor(t){this.snapshot=t,this.type=De.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gS{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=De.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class mg{}class vg{constructor(t){this.url=t}}class nB{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Xa,this.attachRef=null}}let Xa=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new nB,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class mS{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=yg(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=yg(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Dg(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Dg(t,this._root).map(n=>n.value)}}function yg(e,t){if(e===t.value)return t;for(const n of t.children){const r=yg(e,n);if(r)return r}return null}function Dg(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Dg(e,n);if(r.length)return r.unshift(t),r}return[]}class Vn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function ds(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class vS extends mS{constructor(t,n){super(t),this.snapshot=n,_g(this,t)}toString(){return this.snapshot.toString()}}function yS(e){const t=function rB(e){const i=new wg([],{},{},"",{},fe,e,null,{});return new DS("",new Vn(i,[]))}(e),n=new jt([new qa("",{})]),r=new jt({}),o=new jt({}),i=new jt({}),s=new jt(""),a=new fs(n,r,i,s,o,fe,e,t.root);return a.snapshot=t.root,new vS(new Vn(a,[]),t)}class fs{constructor(t,n,r,o,i,s,a,l){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(Ie(c=>c[Wa]))??ie(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}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(Ie(t=>ss(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Ie(t=>ss(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Cg(e,t,n="emptyOnly"){let r;const{routeConfig:o}=e;return r=null===t||"always"!==n&&""!==o?.path&&(t.component||t.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...o?.data,...e._resolvedData}},o&&wS(o)&&(r.resolve[Wa]=o.title),r}class wg{get title(){return this.data?.[Wa]}constructor(t,n,r,o,i,s,a,l,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=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??=ss(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ss(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class DS extends mS{constructor(t,n){super(n),this.url=t,_g(this,n)}toString(){return CS(this._root)}}function _g(e,t){t.value._routerState=e,t.children.forEach(n=>_g(e,n))}function CS(e){const t=e.children.length>0?` { ${e.children.map(CS).join(", ")} } `:"";return`${e.value}${t}`}function bg(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,or(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),or(t.params,n.params)||e.paramsSubject.next(n.params),function CV(e,t){if(e.length!==t.length)return!1;for(let n=0;nor(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Eg(e.parent,t.parent))}function wS(e){return"string"==typeof e.title||null===e.title}let Sg=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=fe,this.activateEvents=new J,this.deactivateEvents=new J,this.attachEvents=new J,this.detachEvents=new J,this.parentContexts=L(Xa),this.location=L(Rn),this.changeDetector=L(Pi),this.environmentInjector=L(Dn),this.inputBinder=L(Gu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new A(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new oB(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=oe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[an]})}return e})();class oB{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===fs?this.route:t===Xa?this.childContexts:this.parent.get(t,n)}}const Gu=new q("");let _S=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,o=ig([r.queryParams,r.params,r.data]).pipe(rr(([i,s,a],l)=>(a={...i,...s,...a},0===l?ie(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function Uk(e){const t=he(e);if(!t)return null;const n=new ha(t);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 t.standalone},get isSignal(){return t.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();function Ja(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function sB(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Ja(e,r,o);return Ja(e,r)})}(e,t,n);return new Vn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Ja(e,a)),s}}const r=function aB(e){return new fs(new jt(e.url),new jt(e.params),new jt(e.queryParams),new jt(e.fragment),new jt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Ja(e,i));return new Vn(r,o)}}const Ig="ngNavigationCancelingError";function bS(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Uo(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=ES(!1,Sn.Redirect,t);return o.url=n,o.navigationBehaviorOptions=r,o}function ES(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[Ig]=!0,r.cancellationCode=t,n&&(r.url=n),r}function SS(e){return e&&e[Ig]}let IS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=B({type:e,selectors:[["ng-component"]],standalone:!0,features:[D_],decls:1,vars:0,template:function(r,o){1&r&&we(0,"router-outlet")},dependencies:[Sg],encapsulation:2})}return e})();function Mg(e){const t=e.children&&e.children.map(Mg),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==fe&&(n.component=IS),n}function sr(e){return e.outlet||fe}function el(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class gB{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),bg(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=ds(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=ds(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=ds(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=ds(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new tB(i.value.snapshot))}),t.children.length&&this.forwardEvent(new JV(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(bg(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),bg(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=el(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class MS{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Wu{constructor(t,n){this.component=t,this.route=n}}function mB(e,t,n){const r=e._root;return tl(r,t?t._root:null,n,[r.value])}function hs(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function $0(e){return null!==xl(e)}(e)?t.get(e):e:r}function tl(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=ds(t);return e.children.forEach(s=>{(function yB(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function DB(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ho(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ho(e.url,t.url)||!or(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Eg(e,t)||!or(e.queryParams,t.queryParams);default:return!Eg(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new MS(r)):(i.data=s.data,i._resolvedData=s._resolvedData),tl(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Wu(a.outlet.component,s))}else s&&nl(t,a,o),o.canActivateChecks.push(new MS(r)),tl(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>nl(a,n.getContext(s),o)),o}function nl(e,t,n){const r=ds(e),o=e.value;Object.entries(r).forEach(([i,s])=>{nl(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Wu(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function rl(e){return"function"==typeof e}function TS(e){return e instanceof Ru||"EmptyError"===e?.name}const qu=Symbol("INITIAL_VALUE");function ps(){return rr(e=>ig(e.map(t=>t.pipe(os(1),function dV(...e){const t=Nu(e);return ht((n,r)=>{(t?sg(e,n,t):sg(e,n)).subscribe(r)})}(qu)))).pipe(Ie(t=>{for(const n of t)if(!0!==n){if(n===qu)return qu;if(!1===n||n instanceof as)return n}return!0}),Jr(t=>t!==qu),os(1)))}function AS(e){return function _l(...e){return Rr(e)}(Ft(t=>{if(Uo(t))throw bS(0,t)}),Ie(t=>!0===t))}class Tg{constructor(t){this.segmentGroup=t||null}}class Ag extends Error{constructor(t){super(),this.urlTree=t}}function gs(e){return Ou(new Tg(e))}class VB{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return ie(r);if(o.numberOfChildren>1||!o.children[fe])return Ou(new A(4e3,!1));o=o.children[fe]}}applyRedirectCommands(t,n,r){const o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new Ag(o);return o}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new as(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,r,o)}),new Fe(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new A(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const xg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function BB(e,t,n,r,o){const i=Pg(e,t,n);return i.matched?(r=function cB(e,t){return e.providers&&!e._injector&&(e._injector=ap(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function kB(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?ie(o.map(s=>{const a=hs(s,e);return eo(function SB(e){return e&&rl(e.canMatch)}(a)?a.canMatch(t,n):Io(e,()=>a(t,n)))})).pipe(ps(),AS()):ie(!0)}(r,t,n).pipe(Ie(s=>!0===s?i:{...xg}))):ie(i)}function Pg(e,t,n){if("**"===t.path)return function jB(e){return{matched:!0,parameters:e.length>0?QE(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...xg}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||DV)(n,e,t);if(!o)return{...xg};const i={};Object.entries(o.posParams??{}).forEach(([a,l])=>{i[a]=l.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function xS(e,t,n,r){return n.length>0&&function zB(e,t,n){return n.some(r=>Zu(e,t,r)&&sr(r)!==fe)}(e,n,r)?{segmentGroup:new Fe(t,UB(r,new Fe(n,e.children))),slicedSegments:[]}:0===n.length&&function GB(e,t,n){return n.some(r=>Zu(e,t,r))}(e,n,r)?{segmentGroup:new Fe(e.segments,HB(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new Fe(e.segments,e.children),slicedSegments:n}}function HB(e,t,n,r){const o={};for(const i of n)if(Zu(e,t,i)&&!r[sr(i)]){const s=new Fe([],{});o[sr(i)]=s}return{...r,...o}}function UB(e,t){const n={};n[fe]=t;for(const r of e)if(""===r.path&&sr(r)!==fe){const o=new Fe([],{});n[sr(r)]=o}return n}function Zu(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class ZB{}class KB{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new VB(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new A(4002,`'${t.segmentGroup}'`)}recognize(){const t=xS(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(Ie(n=>{const r=new wg([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},fe,this.rootComponentType,null,{}),o=new Vn(r,n),i=new DS("",o),s=function VV(e,t,n=null,r=null){return lS(aS(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,fe).pipe(is(r=>{if(r instanceof Ag)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Tg?this.noMatchError(r):r}))}inheritParamsAndData(t,n){const r=t.value,o=Cg(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(Ie(i=>i instanceof Vn?[i]:[]))}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Ct(o).pipe(Ga(i=>{const s=r.children[i],a=function hB(e,t){const n=e.filter(r=>sr(r)===t);return n.push(...e.filter(r=>sr(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function pV(e,t){return ht(function hV(e,t,n,r,o){return(i,s)=>{let a=n,l=t,c=0;i.subscribe(rt(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),Fu(null),function gV(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Jr((o,i)=>e(o,i,r)):dr,lg(1),n?Fu(t):ZE(()=>new Ru))}(),Ot(i=>{if(null===i)return gs(r);const s=PS(i);return function XB(e){e.sort((t,n)=>t.value.outlet===fe?-1:n.value.outlet===fe?1:t.value.outlet.localeCompare(n.value.outlet))}(s),ie(s)}))}processSegment(t,n,r,o,i,s){return Ct(n).pipe(Ga(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(is(l=>{if(l instanceof Tg)return ie(null);throw l}))),jo(a=>!!a),is(a=>{if(TS(a))return function qB(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?ie(new ZB):gs(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function WB(e,t,n,r){return!!(sr(e)===r||r!==fe&&Zu(t,n,e))&&Pg(t,e,n).matched}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):gs(o):gs(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=Pg(n,o,i);if(!a)return gs(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe(Ot(h=>this.processSegment(t,r,n,h.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){const s=BB(n,r,o,t);return"**"===r.path&&(n.children={}),s.pipe(rr(a=>a.matched?this.getChildConfig(t=r._injector??t,r,o).pipe(rr(({routes:l})=>{const c=r._loadedInjector??t,{consumedSegments:u,remainingSegments:d,parameters:h}=a,g=new wg(u,h,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function ej(e){return e.data||{}}(r),sr(r),r.component??r._loadedComponent??null,r,function tj(e){return e.resolve||{}}(r)),{segmentGroup:y,slicedSegments:w}=xS(n,u,d,l);if(0===w.length&&y.hasChildren())return this.processChildren(c,l,y).pipe(Ie(O=>null===O?null:new Vn(g,O)));if(0===l.length&&0===w.length)return ie(new Vn(g,[]));const I=sr(r)===i;return this.processSegment(c,l,y,w,I?fe:i,!0).pipe(Ie(O=>new Vn(g,O instanceof Vn?[O]:[])))})):gs(n)))}getChildConfig(t,n,r){return n.children?ie({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?ie({routes:n._loadedRoutes,injector:n._loadedInjector}):function FB(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?ie(!0):ie(o.map(s=>{const a=hs(s,e);return eo(function wB(e){return e&&rl(e.canLoad)}(a)?a.canLoad(t,n):Io(e,()=>a(t,n)))})).pipe(ps(),AS())}(t,n,r).pipe(Ot(o=>o?this.configLoader.loadChildren(t,n).pipe(Ft(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function $B(e){return Ou(ES(!1,Sn.GuardRejected))}())):ie({routes:[],injector:t})}}function JB(e){const t=e.value.routeConfig;return t&&""===t.path}function PS(e){const t=[],n=new Set;for(const r of e){if(!JB(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=PS(r.children);t.push(new Vn(r.value,o))}return t.filter(r=>!n.has(r))}function NS(e){const t=e.children.map(n=>NS(n)).flat();return[e,...t]}function Ng(e){return rr(t=>{const n=e(t);return n?Ct(n).pipe(Ie(()=>t)):ie(t)})}let RS=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===fe);return r}getResolvedTitleForRoute(n){return n.data[Wa]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>L(aj),providedIn:"root"})}return e})(),aj=(()=>{class e extends RS{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(ee(CE))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ms=new q("",{providedIn:"root",factory:()=>({})}),vs=new q("ROUTES");let Rg=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=L(Q_)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return ie(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=eo(n.loadComponent()).pipe(Ie(OS),Ft(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),cg(()=>{this.componentLoaders.delete(n)})),o=new qE(r,()=>new vn).pipe(ag());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return ie({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function lj(e,t,n,r){return eo(e.loadChildren()).pipe(Ie(OS),Ot(o=>o instanceof v_||Array.isArray(o)?ie(o):Ct(t.compileModuleAsync(o))),Ie(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(n).injector,s=i.get(vs,[],{optional:!0,self:!0}).flat()),{routes:s.map(Mg),injector:i}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(cg(()=>{this.childrenLoaders.delete(r)})),s=new qE(i,()=>new vn).pipe(ag());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function OS(e){return function cj(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Og=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>L(uj),providedIn:"root"})}return e})(),uj=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const FS=new q(""),kS=new q("");function dj(e,t,n){const r=e.get(kS),o=e.get(fn);return e.get(Pe).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,Promise.resolve();let i;const s=new Promise(c=>{i=c}),a=o.startViewTransition(()=>(i(),function fj(e){return new Promise(t=>{RD(t,{injector:e})})}(e))),{onViewTransitionCreated:l}=r;return l&&Io(e,()=>l({transition:a,from:t,to:n})),s})}let Yu=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new vn,this.transitionAbortSubject=new vn,this.configLoader=L(Rg),this.environmentInjector=L(Dn),this.urlSerializer=L(ls),this.rootContexts=L(Xa),this.location=L($a),this.inputBindingEnabled=null!==L(Gu,{optional:!0}),this.titleStrategy=L(RS),this.options=L(ms,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=L(Og),this.createViewTransition=L(FS,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ie(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new KV(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new QV(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new jt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ka,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Jr(i=>0!==i.id),Ie(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),rr(i=>{this.currentTransition=i;let s=!1,a=!1;return ie(i).pipe(Ft(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),rr(l=>{const c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const d="";return this.events.next(new us(l.id,this.urlSerializer.serialize(l.rawUrl),d,Uu.IgnoredSameUrlNavigation)),l.resolve(null),Mr}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return ie(l).pipe(rr(d=>{const h=this.transitions?.getValue();return this.events.next(new Hu(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?Mr:Promise.resolve(d)}),function nj(e,t,n,r,o,i){return Ot(s=>function YB(e,t,n,r,o,i,s="emptyOnly"){return new KB(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(Ie(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Ft(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const h=new pS(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:d,extractedUrl:h,source:g,restoredState:y,extras:w}=l,I=new Hu(d,this.urlSerializer.serialize(h),g,y);this.events.next(I);const O=yS(this.rootComponentType).snapshot;return this.currentTransition=i={...l,targetSnapshot:O,urlAfterRedirects:h,extras:{...w,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=h,ie(i)}{const d="";return this.events.next(new us(l.id,this.urlSerializer.serialize(l.extractedUrl),d,Uu.IgnoredByUrlHandlingStrategy)),l.resolve(null),Mr}}),Ft(l=>{const c=new WV(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),Ie(l=>(this.currentTransition=i={...l,guards:mB(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},i)),function MB(e,t){return Ot(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?ie({...n,guardsResult:!0}):function TB(e,t,n,r){return Ct(e).pipe(Ot(o=>function OB(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?ie(i.map(a=>{const l=el(t)??o,c=hs(a,l);return eo(function EB(e){return e&&rl(e.canDeactivate)}(c)?c.canDeactivate(e,t,n,r):Io(l,()=>c(e,t,n,r))).pipe(jo())})).pipe(ps()):ie(!0)}(o.component,o.route,n,t,r)),jo(o=>!0!==o,!0))}(s,r,o,e).pipe(Ot(a=>a&&function CB(e){return"boolean"==typeof e}(a)?function AB(e,t,n,r){return Ct(t).pipe(Ga(o=>sg(function PB(e,t){return null!==e&&t&&t(new XV(e)),ie(!0)}(o.route.parent,r),function xB(e,t){return null!==e&&t&&t(new eB(e)),ie(!0)}(o.route,r),function RB(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function vB(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>WE(()=>ie(s.guards.map(l=>{const c=el(s.node)??n,u=hs(l,c);return eo(function bB(e){return e&&rl(e.canActivateChild)}(u)?u.canActivateChild(r,e):Io(c,()=>u(r,e))).pipe(jo())})).pipe(ps())));return ie(i).pipe(ps())}(e,o.path,n),function NB(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return ie(!0);const o=r.map(i=>WE(()=>{const s=el(t)??n,a=hs(i,s);return eo(function _B(e){return e&&rl(e.canActivate)}(a)?a.canActivate(t,e):Io(s,()=>a(t,e))).pipe(jo())}));return ie(o).pipe(ps())}(e,o.route,n))),jo(o=>!0!==o,!0))}(r,i,e,t):ie(a)),Ie(a=>({...n,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),Ft(l=>{if(i.guardsResult=l.guardsResult,Uo(l.guardsResult))throw bS(0,l.guardsResult);const c=new qV(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),Jr(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",Sn.GuardRejected),!1)),Ng(l=>{if(l.guards.canActivateChecks.length)return ie(l).pipe(Ft(c=>{const u=new ZV(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),rr(c=>{let u=!1;return ie(c).pipe(function rj(e,t){return Ot(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return ie(n);const i=new Set(o.map(l=>l.route)),s=new Set;for(const l of i)if(!s.has(l))for(const c of NS(l))s.add(c);let a=0;return Ct(s).pipe(Ga(l=>i.has(l)?function oj(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!wS(o)&&(i[Wa]=o.title),function ij(e,t,n,r){const o=ug(e);if(0===o.length)return ie({});const i={};return Ct(o).pipe(Ot(s=>function sj(e,t,n,r){const o=el(t)??r,i=hs(e,o);return eo(i.resolve?i.resolve(t,n):Io(o,()=>i(t,n)))}(e[s],t,n,r).pipe(jo(),Ft(a=>{i[s]=a}))),lg(1),function mV(e){return Ie(()=>e)}(i),is(s=>TS(s)?Mr:Ou(s)))}(i,e,t,r).pipe(Ie(s=>(e._resolvedData=s,e.data=Cg(e,e.parent,n).resolve,null)))}(l,r,e,t):(l.data=Cg(l,l.parent,e).resolve,ie(void 0))),Ft(()=>a++),lg(1),Ot(l=>a===s.size?ie(n):Mr))})}(this.paramsInheritanceStrategy,this.environmentInjector),Ft({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",Sn.NoDataFromResolver)}}))}),Ft(c=>{const u=new YV(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),Ng(l=>{const c=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(Ft(h=>{u.component=h}),Ie(()=>{})));for(const h of u.children)d.push(...c(h));return d};return ig(c(l.targetSnapshot.root)).pipe(Fu(null),os(1))}),Ng(()=>this.afterPreactivation()),rr(()=>{const{currentSnapshot:l,targetSnapshot:c}=i,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?Ct(u).pipe(Ie(()=>i)):ie(i)}),Ie(l=>{const c=function iB(e,t,n){const r=Ja(e,t._root,n?n._root:void 0);return new vS(r,t)}(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=i={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,i}),Ft(()=>{this.events.next(new mg)}),((e,t,n,r)=>Ie(o=>(new gB(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),os(1),Ft({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Tr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),function vV(e){return ht((t,n)=>{nr(e).subscribe(rt(n,()=>n.complete(),fo)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe(Ft(l=>{throw l}))),cg(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",Sn.SupersededByNewNavigation),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),is(l=>{if(a=!0,SS(l))this.events.next(new cs(i.id,this.urlSerializer.serialize(i.extractedUrl),l.message,l.cancellationCode)),function lB(e){return SS(e)&&Uo(e.url)}(l)?this.events.next(new vg(l.url)):i.resolve(!1);else{this.events.next(new zu(i.id,this.urlSerializer.serialize(i.extractedUrl),l,i.targetSnapshot??void 0));try{i.resolve(n.errorHandler(l))}catch(c){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(c)}}return Mr}))}))}cancelNavigationTransition(n,r,o){const i=new cs(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hj(e){return e!==Ka}let pj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>L(mj),providedIn:"root"})}return e})();class gj{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let mj=(()=>{class e extends gj{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=$(e)))(o||e)}})();static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),LS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>L(vj),providedIn:"root"})}return e})(),vj=(()=>{class e extends LS{constructor(){super(...arguments),this.location=L($a),this.urlSerializer=L(ls),this.options=L(ms,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=L(Og),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new as,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=yS(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{"popstate"===r.type&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Hu)this.stateMemento=this.createStateMemento();else if(n instanceof us)this.rawUrlTree=r.initialUrl;else if(n instanceof pS){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof mg?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof cs&&(n.code===Sn.GuardRejected||n.code===Sn.NoDataFromResolver)?this.restoreHistory(r):n instanceof zu?this.restoreHistory(r,!0):n instanceof Tr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&0===i&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=$(e)))(o||e)}})();static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ol=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ol||{});function $S(e,t){e.events.pipe(Jr(n=>n instanceof Tr||n instanceof cs||n instanceof zu||n instanceof us),Ie(n=>n instanceof Tr||n instanceof us?ol.COMPLETE:n instanceof cs&&(n.code===Sn.Redirect||n.code===Sn.SupersededByNewNavigation)?ol.REDIRECTING:ol.FAILED),Jr(n=>n!==ol.REDIRECTING),os(1)).subscribe(()=>{t()})}function yj(e){throw e}const Dj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Cj={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Bn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=L(Y_),this.stateManager=L(LS),this.options=L(ms,{optional:!0})||{},this.pendingTasks=L(iu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=L(Yu),this.urlSerializer=L(ls),this.location=L($a),this.urlHandlingStrategy=L(Og),this._events=new vn,this.errorHandler=this.options.errorHandler||yj,this.navigated=!1,this.routeReuseStrategy=L(pj),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=L(vs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!L(Gu,{optional:!0}),this.eventsSubscription=new bt,this.isNgZoneEnabled=L(Pe)instanceof Pe&&Pe.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==o&&null!==i)if(this.stateManager.handleRouterEvent(r,i),r instanceof cs&&r.code!==Sn.Redirect&&r.code!==Sn.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Tr)this.navigated=!0;else if(r instanceof vg){const s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||hj(o.source)};this.scheduleNavigation(s,Ka,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function _j(e){return!(e instanceof mg||e instanceof vg)})(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ka,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Mg),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...i};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}null!==u&&(u=this.removeEmptyProps(u));try{d=aS(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return lS(d,n,u,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Uo(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Ka,null,r)}navigate(n,r={skipLocationChange:!1}){return function wj(e){for(let t=0;t(null!=i&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h});const u=this.pendingTasks.add();return $S(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qu=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new vn,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=n.events.subscribe(c=>{c instanceof Tr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function Fy(e,t,n){return function YA(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Oy:zf}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(r){return new(r||e)(N(Bn),N(fs),function Yl(e){return function JM(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Jr(n=>n instanceof Tr),Ga(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=ap(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Ct(o).pipe(za())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):ie(null);const i=o.pipe(Ot(s=>null===s?ie(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Ct([i,this.loader.loadComponent(r)]).pipe(za()):i})}static#e=this.\u0275fac=function(r){return new(r||e)(ee(Bn),ee(Q_),ee(Dn),ee(VS),ee(Rg))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Fg=new q("");let BS=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Hu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Tr?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof us&&n.code===Uu.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof gS&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new gS(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function cD(){throw new Error("invalid")}()};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();function ar(e,t){return{\u0275kind:e,\u0275providers:t}}function HS(){const e=L(nn);return t=>{const n=e.get($o);if(t!==n.components[0])return;const r=e.get(Bn),o=e.get(US);1===e.get(kg)&&r.initialNavigation(),e.get(zS,null,pe.Optional)?.setUpPreloading(),e.get(Fg,null,pe.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const US=new q("",{factory:()=>new vn}),kg=new q("",{providedIn:"root",factory:()=>1}),zS=new q("");function Aj(e){return ar(0,[{provide:zS,useExisting:Sj},{provide:VS,useExisting:e}])}function Pj(e){return ar(9,[{provide:FS,useValue:dj},{provide:kS,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const GS=new q("ROUTER_FORROOT_GUARD"),Nj=[$a,{provide:ls,useClass:dg},Bn,Xa,{provide:fs,useFactory:function jS(e){return e.routerState.root},deps:[Bn]},Rg,[]];let WS=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Nj,[],{provide:vs,multi:!0,useValue:n},{provide:GS,useFactory:kj,deps:[[Bn,new Jl,new ec]]},{provide:ms,useValue:r||{}},r?.useHash?{provide:Bo,useClass:Zk}:{provide:Bo,useClass:$b},{provide:Fg,useFactory:()=>{const e=L(m$),t=L(Pe),n=L(ms),r=L(Yu),o=L(ls);return n.scrollOffset&&e.setOffset(n.scrollOffset),new BS(o,r,e,t,n)}},r?.preloadingStrategy?Aj(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Lj(r):[],r?.bindToComponentInputs?ar(8,[_S,{provide:Gu,useExisting:_S}]).\u0275providers:[],r?.enableViewTransitions?Pj().\u0275providers:[],[{provide:qS,useFactory:HS},{provide:Dp,multi:!0,useExisting:qS}]]}}static forChild(n){return{ngModule:e,providers:[{provide:vs,multi:!0,useValue:n}]}}static#e=this.\u0275fac=function(r){return new(r||e)(ee(GS,8))};static#t=this.\u0275mod=An({type:e});static#n=this.\u0275inj=yn({})}return e})();function kj(e){return"guarded"}function Lj(e){return["disabled"===e.initialNavigation?ar(3,[{provide:vp,multi:!0,useFactory:()=>{const t=L(Bn);return()=>{t.setUpLocationChangeListener()}}},{provide:kg,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?ar(2,[{provide:kg,useValue:0},{provide:vp,multi:!0,deps:[nn],useFactory:t=>{const n=t.get(Wk,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(Bn),i=t.get(US);$S(o,()=>{r(!0)}),t.get(Yu).afterPreactivation=()=>(r(!0),i.closed?ie(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const qS=new q("");var Lg={d:(e,t)=>{for(var n in t)Lg.o(t,n)&&!Lg.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},$g={};Lg.d($g,{l:()=>jj,z:()=>Bj});const Ku="porscheDesignSystem";function ZS(){return document[Ku]||(document[Ku]={}),document[Ku]}const Bj=(e={})=>{const t="PORSCHE_DESIGN_SYSTEM_CDN";window[t]=e.cdn||window[t]||(window.location.origin.match(/\.cn$/)?"cn":"auto");const n="porscheDesignSystem";document[n]||(document[n]={}),document[n].cdn={url:"https://cdn.ui.porsche."+("cn"===window[t]?"cn":"com"),prefixes:[]},function Vj({script:e,version:t,prefix:n}){const r=function(l){const c=ZS(),{[l]:u}=c;if(!u){let d=()=>{};const h=new Promise(g=>d=g);c[l]={isInjected:!1,isReady:()=>h,readyResolve:d,prefixes:[],registerCustomElements:null}}return c[l]}(t),{isInjected:o,prefixes:i=[],registerCustomElements:s}=r,[a]=Object.entries(ZS()).filter(([l,c])=>l!==t&&"object"==typeof c&&c.prefixes.includes(n));if(a)throw new Error(`[Porsche Design System v${t}] prefix '${n}' is already registered with version '${a[0]}' of the Porsche Design System. Please use a different one.\nTake a look at document.${Ku} for more details.`);o||(function(l){const c=document.createElement("script");c.src=l,c.setAttribute("crossorigin",""),document.body.appendChild(c)}(e),r.isInjected=!0),i.includes(n)||(i.push(n),s&&s(n))}({version:"3.11.0-rc.0",script:document[n].cdn.url+"/porsche-design-system/components/porsche-design-system.v3.11.0-rc.0.f6bdc748eea6dad875db.js",prefix:e.prefix||""})},jj=(e=document.body)=>{let t;const n=new Promise(o=>t=o),r=()=>{Hj().then(()=>Uj(e,t))};if(YS())r();else{const o="readystatechange",i=()=>{YS()&&(document.removeEventListener(o,i),r())};document.addEventListener(o,i)}return n},YS=()=>"complete"===document.readyState,Hj=()=>{if(document.porscheDesignSystem?.["3.11.0-rc.0"]?.isReady)return document.porscheDesignSystem["3.11.0-rc.0"].isReady();{let e;const t=new Promise(r=>e=r);return document.porscheDesignSystem=new Proxy(document.porscheDesignSystem||{},{set(r,o,i){return"3.11.0-rc.0"===o&&i.isReady().then(e),Reflect.set(...arguments)}}),t}},Uj=(e,t)=>{const n=QS(e);Promise.all(n).then(r=>t(r.length)).catch(r=>console.error("[Porsche Design System]",r))},QS=e=>{let t=[];return 1===e?.nodeType&&Array.from(e.children).forEach(n=>{Gj(n)&&t.push(n.componentOnReady()),t=t.concat(QS(n))}),t},zj=/^(.*-)?P-(.*)$/,Gj=e=>zj.exec(e.tagName)&&"function"==typeof e.componentOnReady;var Wj=$g.z;const G=["*"],Vg=new q("pdsTheme");let Ye=(()=>{class e{constructor(n,r){n.detach(),this.el=r.nativeElement}ngOnChanges(n){for(const r in n)this.el[r]=n[r].currentValue}}return e.\u0275fac=function(n){return new(n||e)(N(Pi),N(on))},e.\u0275cmp=B({type:e,selectors:[["ng-component"]],features:[an],decls:0,vars:0,template:function(n,r){},encapsulation:2,changeDetection:0}),e})(),le=(()=>{class e extends Ye{constructor(){super(...arguments),this.themeSubscription=L(Vg).subscribe(n=>{this.el.theme=this.theme||n})}ngOnDestroy(){this.themeSubscription.unsubscribe()}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["ng-component"]],features:[R],decls:0,vars:0,template:function(n,r){},encapsulation:2}),e})(),KS=(()=>{class e extends le{constructor(){super(...arguments),this.accordionChange=new J,this.update=new J}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-accordion"],["","p-accordion",""]],inputs:{compact:"compact",heading:"heading",open:"open",size:"size",tag:"tag",theme:"theme"},outputs:{accordionChange:"accordionChange",update:"update"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),il=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-button"],["","p-button",""]],inputs:{aria:"aria",disabled:"disabled",hideLabel:"hideLabel",icon:"icon",iconSource:"iconSource",loading:"loading",name:"name",theme:"theme",type:"type",value:"value",variant:"variant"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),Bg=(()=>{class e extends Ye{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-button-group"],["","p-button-group",""]],inputs:{direction:"direction"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),XS=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-button-pure"],["","p-button-pure",""]],inputs:{active:"active",alignLabel:"alignLabel",aria:"aria",disabled:"disabled",hideLabel:"hideLabel",icon:"icon",iconSource:"iconSource",loading:"loading",name:"name",size:"size",stretch:"stretch",theme:"theme",type:"type",value:"value",weight:"weight"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),jg=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-checkbox-wrapper"],["","p-checkbox-wrapper",""]],inputs:{hideLabel:"hideLabel",label:"label",loading:"loading",message:"message",state:"state",theme:"theme"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),Xu=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-divider"],["","p-divider",""]],inputs:{color:"color",direction:"direction",orientation:"orientation",theme:"theme"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),sl=(()=>{class e extends Ye{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-grid"],["","p-grid",""]],inputs:{direction:"direction",gutter:"gutter",wrap:"wrap"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),al=(()=>{class e extends Ye{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-grid-item"],["","p-grid-item",""]],inputs:{offset:"offset",size:"size"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),ll=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-heading"],["","p-heading",""]],inputs:{align:"align",color:"color",ellipsis:"ellipsis",size:"size",tag:"tag",theme:"theme"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),Hg=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-icon"],["","p-icon",""]],inputs:{aria:"aria",color:"color",lazy:"lazy",name:"name",size:"size",source:"source",theme:"theme"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),JS=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-link"],["","p-link",""]],inputs:{aria:"aria",download:"download",hideLabel:"hideLabel",href:"href",icon:"icon",iconSource:"iconSource",rel:"rel",target:"target",theme:"theme",variant:"variant"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),Ju=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-link-pure"],["","p-link-pure",""]],inputs:{active:"active",alignLabel:"alignLabel",aria:"aria",download:"download",hideLabel:"hideLabel",href:"href",icon:"icon",iconSource:"iconSource",rel:"rel",size:"size",stretch:"stretch",target:"target",theme:"theme",underline:"underline",weight:"weight"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),eI=(()=>{class e extends Ye{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-link-tile"],["","p-link-tile",""]],inputs:{align:"align",aria:"aria",aspectRatio:"aspectRatio",background:"background",compact:"compact",description:"description",download:"download",gradient:"gradient",href:"href",label:"label",rel:"rel",size:"size",target:"target",weight:"weight"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),tI=(()=>{class e extends le{constructor(){super(...arguments),this.close=new J,this.dismiss=new J}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-modal"],["","p-modal",""]],inputs:{aria:"aria",disableBackdropClick:"disableBackdropClick",disableCloseButton:"disableCloseButton",dismissButton:"dismissButton",fullscreen:"fullscreen",heading:"heading",open:"open",theme:"theme"},outputs:{close:"close",dismiss:"dismiss"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),nI=(()=>{class e extends le{constructor(){super(...arguments),this.update=new J}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-multi-select"],["","p-multi-select",""]],inputs:{description:"description",disabled:"disabled",dropdownDirection:"dropdownDirection",hideLabel:"hideLabel",label:"label",message:"message",name:"name",required:"required",state:"state",theme:"theme",value:"value"},outputs:{update:"update"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),rI=(()=>{class e extends Ye{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-multi-select-option"],["","p-multi-select-option",""]],inputs:{disabled:"disabled",value:"value"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),oI=(()=>{class e extends le{constructor(){super(...arguments),this.pageChange=new J,this.update=new J}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-pagination"],["","p-pagination",""]],inputs:{activePage:"activePage",allyLabel:"allyLabel",allyLabelNext:"allyLabelNext",allyLabelPage:"allyLabelPage",allyLabelPrev:"allyLabelPrev",intl:"intl",itemsPerPage:"itemsPerPage",maxNumberOfPageLinks:"maxNumberOfPageLinks",showLastPage:"showLastPage",theme:"theme",totalItemsCount:"totalItemsCount"},outputs:{pageChange:"pageChange",update:"update"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),iI=(()=>{class e extends le{constructor(){super(...arguments),this.update=new J}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-pin-code"],["","p-pin-code",""]],inputs:{description:"description",disabled:"disabled",hideLabel:"hideLabel",label:"label",length:"length",loading:"loading",message:"message",name:"name",required:"required",state:"state",theme:"theme",type:"type",value:"value"},outputs:{update:"update"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),sI=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-popover"],["","p-popover",""]],inputs:{aria:"aria",description:"description",direction:"direction",theme:"theme"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),aI=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-radio-button-wrapper"],["","p-radio-button-wrapper",""]],inputs:{hideLabel:"hideLabel",label:"label",loading:"loading",message:"message",state:"state",theme:"theme"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),lI=(()=>{class e extends le{constructor(){super(...arguments),this.segmentedControlChange=new J,this.update=new J}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-segmented-control"],["","p-segmented-control",""]],inputs:{backgroundColor:"backgroundColor",columns:"columns",theme:"theme",value:"value"},outputs:{segmentedControlChange:"segmentedControlChange",update:"update"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),cI=(()=>{class e extends Ye{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-segmented-control-item"],["","p-segmented-control-item",""]],inputs:{disabled:"disabled",icon:"icon",iconSource:"iconSource",label:"label",value:"value"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),Ug=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-select-wrapper"],["","p-select-wrapper",""]],inputs:{description:"description",dropdownDirection:"dropdownDirection",filter:"filter",hideLabel:"hideLabel",label:"label",message:"message",native:"native",state:"state",theme:"theme"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),uI=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-spinner"],["","p-spinner",""]],inputs:{aria:"aria",size:"size",theme:"theme"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),dI=(()=>{class e extends le{constructor(){super(...arguments),this.stepChange=new J,this.update=new J}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-stepper-horizontal"],["","p-stepper-horizontal",""]],inputs:{size:"size",theme:"theme"},outputs:{stepChange:"stepChange",update:"update"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),fI=(()=>{class e extends Ye{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-stepper-horizontal-item"],["","p-stepper-horizontal-item",""]],inputs:{disabled:"disabled",state:"state"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),hI=(()=>{class e extends le{constructor(){super(...arguments),this.tabChange=new J,this.update=new J}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-tabs-bar"],["","p-tabs-bar",""]],inputs:{activeTabIndex:"activeTabIndex",gradientColor:"gradientColor",gradientColorScheme:"gradientColorScheme",size:"size",theme:"theme",weight:"weight"},outputs:{tabChange:"tabChange",update:"update"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),ed=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-text"],["","p-text",""]],inputs:{align:"align",color:"color",ellipsis:"ellipsis",size:"size",tag:"tag",theme:"theme",weight:"weight"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),pI=(()=>{class e extends le{constructor(){super(...arguments),this.action=new J}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-text-field-wrapper"],["","p-text-field-wrapper",""]],inputs:{actionIcon:"actionIcon",actionLoading:"actionLoading",description:"description",hideLabel:"hideLabel",label:"label",message:"message",showCharacterCount:"showCharacterCount",showCounter:"showCounter",showPasswordToggle:"showPasswordToggle",state:"state",submitButton:"submitButton",theme:"theme",unit:"unit",unitPosition:"unitPosition"},outputs:{action:"action"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),gI=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-textarea-wrapper"],["","p-textarea-wrapper",""]],inputs:{description:"description",hideLabel:"hideLabel",label:"label",message:"message",showCharacterCount:"showCharacterCount",showCounter:"showCounter",state:"state",theme:"theme"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),mI=(()=>{class e extends le{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=$(e)))(r||e)}})(),e.\u0275cmp=B({type:e,selectors:[["p-toast"],["","p-toast",""]],inputs:{theme:"theme"},features:[R],ngContentSelectors:G,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})();class zg{constructor(){this.prefix=""}}let TH=(()=>{class e{constructor(n){this.theme$=L(Vg);const r=n||[new zg];this.theme$.next(r[0].theme||"light"),r.forEach(Wj)}static load(n){return{ngModule:e,providers:[{provide:zg,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(ee(zg,8))},e.\u0275mod=An({type:e}),e.\u0275inj=yn({providers:[{provide:Vg,useValue:new jt("light")}]}),e})(),AH=(()=>{class e{addMessage(n){const r=document.body.querySelector("p-toast,[p-toast]");customElements.whenDefined(r.tagName.toLowerCase()).then(()=>r.addMessage(n))}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),vI=(()=>{class e{constructor(n){this.toastManager=n,this.headingText="",this.activeTab=0,this.activePage=1,this.isDisabled=!1,this.isModalOpen=!1,this.isAccordion1Open=!1,this.isAccordion2Open=!1,this.toastCounter=1,this.content="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum."}onAccordion1Update(n){this.isAccordion1Open=n.detail.open}onAccordion2Update(n){this.isAccordion2Open=n.detail.open}onButtonClick(){this.headingText="Heading appears through Button click",this.isDisabled=!this.isDisabled}onButtonPureClick(){this.headingText="",this.isDisabled=!this.isDisabled}openModal(){this.isModalOpen=!0}queueToast(){this.toastManager.addMessage({text:`Some message ${this.toastCounter}`,state:"info"}),this.toastCounter++}handleModalClose(n){console.log(n),this.isModalOpen=!1}handlePageUpdate(n){console.log(n),this.activePage=n.detail.page}handleTabUpdate(n){console.log(n),this.activeTab=n.detail.activeTabIndex}static#e=this.\u0275fac=function(r){return new(r||e)(N(AH))};static#t=this.\u0275cmp=B({type:e,selectors:[["collection-page"]],decls:100,vars:17,consts:[["size","12"],["size","medium"],[1,"divider"],[3,"disabled","click"],["size","12",1,"contentWrapperSmall"],["id","heading","size","medium"],[3,"click"],[3,"heading","open","close"],[1,"footer"],["variant","tertiary",3,"click"],["href","https://www.porsche.com",1,"removeLinkStyle"],["size","12",1,"contentWrapperBig"],[3,"stretch"],["href","#hashTest",1,"removeLinkStyle"],["href","#propHashTest"],["size","5"],["href","#","label","Some Label","description","Default"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAQMAAAAk8RryAAAABlBMVEUAAAD2vP9xXLiUAAAAAXRSTlMAQObYZgAAABxJREFUGNNjYOBgYGBhYKAZ/R8MDsD4Q5amkz8ASp4PtTYYQZIAAAAASUVORK5CYII=","alt","Some alt text"],[3,"activeTabIndex","update"],["size","small"],["size","medium","name","highway","role","img"],[1,"accordion-wrapper"],["heading","Some Heading","tag","h3",3,"open","update"],[3,"description","direction"],["totalItemsCount","11","itemsPerPage","3",3,"activePage","update"]],template:function(r,o){1&r&&(P(0,"p-grid")(1,"p-grid-item",0)(2,"p-heading",1),z(3,"Buttons"),F(),we(4,"p-divider",2),P(5,"p-button",3),be("click",function(){return o.onButtonClick()}),z(6,"Submit"),F()(),P(7,"p-grid-item",4)(8,"p-button-pure",3),be("click",function(){return o.onButtonPureClick()}),z(9,"Dismiss"),F()(),P(10,"p-grid-item",4)(11,"p-heading",5),z(12),F()(),P(13,"p-grid-item",4)(14,"p-button",6),be("click",function(){return o.openModal()}),z(15,"Open Modal"),F(),P(16,"p-modal",7),be("close",function(s){return o.handleModalClose(s)}),P(17,"p-text"),z(18,"Some Content"),F(),P(19,"p-button-group",8)(20,"p-button"),z(21,"Save"),F(),P(22,"p-button",9),be("click",function(s){return o.handleModalClose(s)}),z(23,"Close"),F()()()(),P(24,"p-grid-item",4)(25,"p-button",6),be("click",function(){return o.queueToast()}),z(26,"Queue Toast"),F()(),P(27,"p-grid-item",0),we(28,"p-divider",2),P(29,"p-heading",1),z(30,"Links"),F(),we(31,"p-divider",2),P(32,"p-link")(33,"a",10),z(34,"porsche.com"),F()()(),P(35,"p-grid-item",11)(36,"p-link-pure",12)(37,"a",13),z(38,"Test PLinkPure"),F()(),P(39,"p-link-pure",14),z(40,"Test propHash"),F()(),P(41,"p-grid-item",15)(42,"p-link-tile",16),we(43,"img",17),F()(),P(44,"p-grid-item",0),we(45,"p-divider",2),P(46,"p-heading",1),z(47,"Tabs"),F(),we(48,"p-divider",2),P(49,"p-tabs-bar",18),be("update",function(s){return o.handleTabUpdate(s)}),P(50,"button"),z(51,"Tab 1"),F(),P(52,"button"),z(53,"Tab 2"),F(),P(54,"button"),z(55,"Tab 3"),F()()(),P(56,"p-grid-item",0),we(57,"p-divider",2),P(58,"p-heading",1),z(59,"Icons"),F(),we(60,"p-divider",2)(61,"p-spinner",19),F(),P(62,"p-grid-item",0),we(63,"p-icon",20),F(),P(64,"p-grid-item",0),we(65,"p-divider",2),P(66,"p-heading",1),z(67,"Accordion"),F(),we(68,"p-divider",2),F(),P(69,"p-grid-item",0)(70,"div",21)(71,"p-accordion",22),be("update",function(s){return o.onAccordion1Update(s)}),P(72,"p-text"),z(73),F(),P(74,"p-text"),z(75),F()(),P(76,"p-accordion",22),be("update",function(s){return o.onAccordion2Update(s)}),P(77,"p-text"),z(78),F(),P(79,"p-text"),z(80),F()()()(),P(81,"p-grid-item",0),we(82,"p-divider",2),P(83,"p-heading",1),z(84,"Popover"),F(),we(85,"p-divider",2),F(),P(86,"p-grid-item",0)(87,"p-text"),z(88," Lorem ipsum dolor sit amet, "),P(89,"p-popover"),z(90,"Some descriptive content"),F(),z(91," consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, "),we(92,"p-popover",23),z(93," sed diam voluptua. "),F()(),P(94,"p-grid-item",0),we(95,"p-divider",2),P(96,"p-heading",1),z(97),F(),we(98,"p-divider",2),P(99,"p-pagination",24),be("update",function(s){return o.handlePageUpdate(s)}),F()()()),2&r&&(j(5),Z("disabled",o.isDisabled),j(3),Z("disabled",!o.isDisabled),j(4),qt(o.headingText),j(4),Z("heading","Some Heading")("open",o.isModalOpen),j(20),Z("stretch",!0),j(13),Z("activeTabIndex",o.activeTab),j(22),Z("open",o.isAccordion1Open),j(2),qt(o.content),j(2),qt(o.content),j(),Z("open",o.isAccordion2Open),j(2),qt(o.content),j(2),qt(o.content),j(12),Z("description","Short info opened top")("direction","top"),j(5),Xi("You are on Page ",o.activePage," Page"),j(2),Z("activePage",o.activePage))},dependencies:[KS,il,Bg,XS,Xu,sl,al,ll,Hg,JS,Ju,eI,tI,oI,sI,uI,hI,ed],styles:[".footer[_ngcontent-%COMP%]{padding:2rem 0 0}.accordion-wrapper[_ngcontent-%COMP%]{max-width:800px}"]})}return e})(),yI=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||e)(N(yr),N(on))};static#t=this.\u0275dir=oe({type:e})}return e})(),zo=(()=>{class e extends yI{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=$(e)))(o||e)}})();static#t=this.\u0275dir=oe({type:e,features:[R]})}return e})();const lr=new q("NgValueAccessor"),Ds=new q("CallSetDisabledState",{providedIn:"root",factory:()=>sd}),sd="always";Promise.resolve(),Promise.resolve();let o0=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=An({type:e});static#n=this.\u0275inj=yn({})}return e})();const hU={provide:lr,useExisting:Re(()=>lm),multi:!0};function f0(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let lm=(()=>{class e extends zo{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;const o=f0(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function pU(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=$(e)))(o||e)}})();static#t=this.\u0275dir=oe({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&be("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[qe([hU]),R]})}return e})(),cm=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(f0(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(N(on),N(yr),N(lm,9))};static#t=this.\u0275dir=oe({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const gU={provide:lr,useExisting:Re(()=>um),multi:!0};function h0(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let um=(()=>{class e extends zo{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{let n;return function(o){return(n||(n=$(e)))(o||e)}})();static#t=this.\u0275dir=oe({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&be("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[qe([gU]),R]})}return e})(),dm=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(h0(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(h0(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(N(on),N(yr),N(um,9))};static#t=this.\u0275dir=oe({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),SU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=An({type:e});static#n=this.\u0275inj=yn({imports:[o0]})}return e})(),MU=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ds,useValue:n.callSetDisabledState??sd}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=An({type:e});static#n=this.\u0275inj=yn({imports:[SU]})}return e})();function TU(e,t){if(1&e&&(Oo(0),P(1,"p-stepper-horizontal-item",29),z(2),F(),Fo()),2&e){const n=t.$implicit;j(),Z("state",n.state),j(),Xi(" ",n.name," ")}}function AU(e,t){if(1&e&&(P(0,"p-text"),z(1),F()),2&e){const n=_n().$implicit;j(),qt(n)}}function xU(e,t){if(1&e&&(Oo(0),St(1,AU,2,1,"p-text",30),Fo()),2&e){const n=t.index,r=_n();j(),Z("ngIf",r.getActiveStepIndex(r.steps)===n)}}function PU(e,t){1&e&&(P(0,"p-heading",31),z(1,"Checkbox Worked"),F())}function NU(e,t){1&e&&(P(0,"p-heading",1),z(1,"Radio Worked"),F())}function RU(e,t){if(1&e&&(P(0,"option",9),z(1),F()),2&e){const n=t.$implicit;Z("value",n),j(),qt(n)}}function OU(e,t){if(1&e&&(P(0,"option",9),z(1),F()),2&e){const n=t.$implicit;Z("value",n),j(),qt(n)}}function FU(e,t){if(1&e&&(P(0,"p-text"),z(1),F()),2&e){const n=_n().index,r=_n(2);j(),qt(r.content+n)}}function kU(e,t){if(1&e&&(P(0,"p-checkbox-wrapper",15),we(1,"input",16),F()),2&e){const n=_n().index;Z("label",_n(2).content+n)}}function LU(e,t){if(1&e&&(P(0,"p-button",17),z(1),F()),2&e){const n=_n().index,r=_n(2);j(),qt(r.content+n)}}function $U(e,t){if(1&e&&(Oo(0)(1,11),St(2,FU,2,1,"p-text",12)(3,kU,2,1,"p-checkbox-wrapper",13)(4,LU,2,1,"p-button",14),Fo()()),2&e){const n=_n(2);j(),Z("ngSwitch",n.element),j(),Z("ngSwitchCase","text"),j(),Z("ngSwitchCase","checkbox"),j(),Z("ngSwitchCase","button")}}function VU(e,t){if(1&e&&(P(0,"p-grid-item",0),St(1,$U,5,4,"ng-container",10),F()),2&e){const n=_n();j(),Z("ngForOf",n.elementsOnPage)}}const BU=["text","checkbox","button"],jU=[25,50,100];const M0_brand="#d5001c",pn="'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif",In_regular=400,JU={xSmall:{fontFamily:pn,fontWeight:In_regular,fontSize:"0.75rem",lineHeight:"calc(6px + 2.125ex)"},small:{fontFamily:pn,fontWeight:In_regular,fontSize:"1rem",lineHeight:"calc(6px + 2.125ex)"},medium:{fontFamily:pn,fontWeight:In_regular,fontSize:"1.5rem",lineHeight:"calc(6px + 2.125ex)"},large:{fontFamily:pn,fontWeight:In_regular,fontSize:"2.25rem",lineHeight:"calc(6px + 2.125ex)"},xLarge:{fontFamily:pn,fontWeight:In_regular,fontSize:"3.25rem",lineHeight:"calc(6px + 2.125ex)"}},o3=(typeof window<"u"&&window,e=>({width:"50px",height:"50px",background:e}));const k0=[{path:"",redirectTo:"collection",pathMatch:"full"},{path:"collection",component:vI,name:"Collection Page"},{path:"forms",component:(()=>{class e{constructor(){this.selectInput="Heading A",this.checkBox=!1,this.radioButton=!1,this.textFieldHeading="Change me",this.textValue="",this.currentValue=1,this.steps=[{state:"current",name:"Enter personal details"},{name:"Confirm e-mail"},{name:"Set password"}],this.stepContent=["A form with personal details could be displayed here.","A form with a verification code input field could be displayed here.","A form with a password input field could be displayed here."]}onSegmentedControlChange(n){this.currentValue=n.detail.value}handleSelectChange(n){this.selectInput=n.target.value}handleCheckbox(){this.checkBox=!1===this.checkBox}handleRadio(){this.radioButton=!1===this.radioButton}handleTextField(n){this.textValue=n.target.value,this.textFieldHeading=""===this.textValue?"Change me":this.textValue}getActiveStepIndex(n){return n.findIndex(r=>"current"===r.state)}onNextPrevStep(n){const r=[...this.steps],o=this.getActiveStepIndex(r);"next"===n?(r[o].state="complete",r[o+1].state="current"):(delete r[o].state,r[o-1].state="current"),this.steps=r}onStepChange(n){const{activeStepIndex:r}=n.detail,o=[...this.steps];for(let i=r+1;i{class e{constructor(){this.selectableElements=BU,this.selectableCounts=jU,this.count=25,this.element="text",this.elementsOnPage=Array(this.count),this.content="Lorem Ipsum ",this.shouldRender=!0,this.onElementChange=n=>{this.element=n.target.value},this.onCountChange=n=>{this.count=+n.target.value,this.elementsOnPage=Array(this.count)},this.onShouldRender=n=>{this.shouldRender=n.target.checked}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=B({type:e,selectors:[["performance"]],decls:17,vars:5,consts:[["size","12"],["size","medium"],["size","4"],[3,"value","change"],[3,"value",4,"ngFor","ngForOf"],["label","Render"],["type","checkbox","checked","",3,"change"],[2,"margin-top","2rem"],["size","12",4,"ngIf"],[3,"value"],[4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"label",4,"ngSwitchCase"],["variant","primary",4,"ngSwitchCase"],[3,"label"],["type","checkbox"],["variant","primary"]],template:function(r,o){1&r&&(P(0,"p-grid")(1,"p-grid-item",0)(2,"p-heading",1),z(3,"Choose Element and Count"),F()(),P(4,"p-grid-item",2)(5,"p-select-wrapper")(6,"select",3),be("change",function(s){return o.onElementChange(s)}),St(7,RU,2,2,"option",4),F()()(),P(8,"p-grid-item",2)(9,"p-select-wrapper")(10,"select",3),be("change",function(s){return o.onCountChange(s)}),St(11,OU,2,2,"option",4),F()()(),P(12,"p-grid-item",2)(13,"p-checkbox-wrapper",5)(14,"input",6),be("change",function(s){return o.onShouldRender(s)}),F()()()(),P(15,"p-grid",7),St(16,VU,2,1,"p-grid-item",8),F()),2&r&&(j(6),Z("value",o.element),j(),Z("ngForOf",o.selectableElements),j(3),Z("value",o.count),j(),Z("ngForOf",o.selectableCounts),j(5),Z("ngIf",o.shouldRender))},dependencies:[Mu,Tu,Au,Xb,il,jg,sl,al,ll,Ug,ed,cm,dm],encapsulation:2})}return e})(),name:"Performance"},{path:"phn-header",component:(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=B({type:e,selectors:[["phn-header-page"]],decls:12,vars:0,consts:[["env","preview","locale","de-DE",2,"position","absolute","left","0","right","0"],[2,"padding-top","150px"],["href","#"],["name","configurate"],["name","compare"],["name","search"]],template:function(r,o){1&r&&(we(0,"phn-header",0),P(1,"div",1)(2,"div")(3,"p-button"),z(4,"Some PButton"),F()(),P(5,"div")(6,"p-link-pure",2),z(7,"Some PLinkPure"),F()(),P(8,"div"),we(9,"p-icon",3)(10,"p-icon",4)(11,"p-icon",5),F()())},dependencies:[il,Hg,Ju],encapsulation:2})}return e})(),name:"Phn Header"},{path:"utilities",component:(()=>{class e{constructor(){this.backgroundColor=M0_brand,this.textMedium=JU.medium}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=B({type:e,selectors:[["utilities-page"]],decls:6,vars:5,consts:[[3,"ngStyle"],[1,"textSizeMedium"],[1,"backgroundColorPds",2,"width","50px","height","50px"]],template:function(r,o){1&r&&(P(0,"div"),z(1,"JS utilities"),F(),we(2,"div",0),P(3,"div",1),z(4,"Scss utilities"),F(),we(5,"div",2)),2&r&&(On(o.textMedium),j(2),Z("ngStyle",T_(3,o3,o.backgroundColor)))},dependencies:[eE],styles:[".backgroundColorPds[_ngcontent-%COMP%]{background:#d5001c}.textSizeMedium[_ngcontent-%COMP%]{font-size:1.5rem;line-height:calc(6px + 2.125ex);font-family:Porsche Next,Arial Narrow,Arial,Heiti SC,SimHei,sans-serif;font-weight:400}"]})}return e})(),name:"Utilities"}];let i3=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=An({type:e});static#n=this.\u0275inj=yn({imports:[WS.forRoot(k0,{useHash:!0}),WS]})}return e})();function s3(e,t){if(1&e&&(P(0,"p-link-pure")(1,"a",6),z(2),F()()),2&e){const n=_n().$implicit;j(),Z("routerLink",n.path),j(),qt(n.name)}}function a3(e,t){if(1&e&&(Oo(0),St(1,s3,3,2,"p-link-pure",5),Fo()),2&e){const n=t.$implicit;j(),Z("ngIf",""!==n.path)}}let l3=(()=>{class e{constructor(){this.routes=k0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=B({type:e,selectors:[["app-root"]],decls:13,vars:2,consts:[[1,"pageLayout"],["size","12"],["size","medium",3,"align"],[1,"divider"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"routerLink"]],template:function(r,o){1&r&&(P(0,"div",0)(1,"p-grid")(2,"p-grid-item",1)(3,"p-heading",2),z(4,"Example usage of the Porsche-Design-System Angular"),F()(),P(5,"p-grid-item",1),we(6,"p-divider",3),F(),P(7,"p-grid-item",1),St(8,a3,2,1,"ng-container",4),F(),P(9,"p-grid-item",1),we(10,"p-divider",3),F()(),we(11,"router-outlet")(12,"p-toast"),F()),2&r&&(j(3),Z("align","center"),j(5),Z("ngForOf",o.routes))},dependencies:[Mu,Tu,Sg,Qu,Xu,sl,al,ll,Ju,mI],styles:[".pageLayout{margin-left:10%;margin-right:10%;margin-bottom:2rem}.removeLinkStyle{text-decoration:none;outline:none}.divider{margin-bottom:2rem;margin-top:2rem}.contentWrapperSmall{margin-top:1rem}.contentWrapperBig{margin-top:2rem}\n"],encapsulation:2})}return e})(),c3=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=An({type:e,bootstrap:[l3]});static#n=this.\u0275inj=yn({imports:[d2,i3,TH,MU]})}return e})();var f3=_(702),h3=_(155);c2().bootstrapModule(c3).catch(e=>console.error(e)),function d3(){var e=[];if(typeof window<"u"){var t=window;(!t.customElements||t.Element&&(!t.Element.prototype.closest||!t.Element.prototype.matches||!t.Element.prototype.remove||!t.Element.prototype.getRootNode))&&e.push(_.e(748).then(_.t.bind(_,111,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||t.NodeList&&!t.NodeList.prototype.forEach||!t.fetch||!function(){try{var r=new URL("b","http://a");return r.pathname="c%20d","http://a/c%20d"===r.href&&r.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&e.push(_.e(214).then(_.t.bind(_,812,23)))}return Promise.all(e)}().then(()=>{window,typeof window>"u"||(function p3(){h3.c.load({prefix:"phn"})}(),(0,f3.b)([["phn-country-recommender",[[2,"phn-country-recommender",{locale:[1],content:[16],flagURL:[32]},[[1,"animationend","handleAnimationEnd"]],{locale:["localeWatcher"]}]]],["phn-single-drawer",[[2,"phn-single-drawer",{breakpoint:[2],locale:[1],usingKeyboard:[4,"using-keyboard"],receivedContent:[4,"received-content"]},[[0,"keydown","handleKeyDown"]]]]],["phn-double-drawer",[[2,"phn-double-drawer",{breakpoint:[2],locale:[1],initialUsingKeyboard:[4,"initial-using-keyboard"],routingKeyHistory:[16],routingKeyPointer:[2,"routing-key-pointer"],receivedContent:[4,"received-content"],usingKeyboard:[32],animatingRoutingKeyPointer:[32],isAnimating:[32],animatingRoutingKey:[32]},[[9,"resize","onResizeWindow"],[0,"keydown","handleKeyDown"],[0,"mobileMenuItemClick","handleMobileMenuItemClick"],[0,"sideDrawerItemClick","handleSideDrawerItemClick"]],{routingKeyPointer:["watchRoutingKeyPointer"],routingKeyHistory:["watchRoutingKeyHistory"]}]]],["phn-level-0-icons",[[6,"phn-level-0-icons",{locale:[1],theme:[1],mode:[1],app:[1],breakpoint:[2],isLoading:[4,"is-loading"],isNavigationLoaded:[4,"is-navigation-loaded"]}]]],["contextual-drawer",[[6,"contextual-drawer",{isDrawerOpened:[32]},[[8,"phnCloseContextualDrawer","closeContextualDrawer"],[8,"phnOpenContextualDrawer","openContextualDrawer"]]]]],["phn-backdrop",[[2,"phn-backdrop",null,[[1,"click","handleClick"]]]]],["phn-logo",[[2,"phn-logo",{size:[1],locale:[1],app:[1],theme:[1],mode:[1],breakpoint:[2]}]]],["phn-drawer-header",[[2,"phn-drawer-header",{backButtonText:[1,"back-button-text"],backButtonAnalyticsId:[1,"back-button-analytics-id"],showBackButton:[4,"show-back-button"],route:[1],breakpoint:[2],receivedContent:[4,"received-content"],locale:[1],showSkeleton:[32]}]]],["phn-side-drawer-item",[[6,"phn-side-drawer-item",{text:[1],analyticsId:[1,"analytics-id"],subtext:[1],elementId:[1,"element-id"],link:[1],iconRight:[1,"icon-right"],datalayerEventAction:[1,"datalayer-event-action"],customDatalayerProperties:[16],isActive:[4,"is-active"],hasDoubleDrawerAnimationFinished:[4,"has-double-drawer-animation-finished"],renderSignatures:[4,"render-signatures"]}]]],["phn-side-drawer",[[2,"phn-side-drawer",{activeRoutingKey:[1,"active-routing-key"],locale:[1]}]]],["phn-burger-button_2",[[2,"phn-burger-button",{hideLabel:[4,"hide-label"],alignLabel:[1,"align-label"],isLoading:[4,"is-loading"],theme:[1],mode:[1]}],[2,"phn-my-porsche-icon-button",{mode:[1],theme:[1],isMyPorscheHoveredOn:[32]}]]],["phn-menu-item",[[6,"phn-menu-item",{text:[1],analyticsId:[1,"analytics-id"],subtext:[1],fontWeight:[1,"font-weight"],elementId:[1,"element-id"],size:[1],iconLeft:[1,"icon-left"],iconRight:[1,"icon-right"],link:[1],isLoading:[4,"is-loading"],datalayerEventAction:[1,"datalayer-event-action"],customDatalayerProperties:[16],target:[1],variant:[1],isModels:[4,"is-models"]}]]],["phn-back-button_3",[[2,"phn-heading",{text:[1],subtext:[1]}],[2,"phn-signature-heading",{text:[1],subtext:[1]}],[2,"phn-back-button",{text:[1],analyticsId:[1,"analytics-id"]}]]],["phn-autocomplete-search-field_8",[[2,"phn-dealer-search-results",{showOverlay:[4,"show-overlay"],locale:[1],breakpoint:[2]}],[2,"phn-dealer-search-form-geolocation",{locale:[1],predictions:[32],errorMessage:[32],formErrorMessage:[32],isLoading:[32],showGeolocationButton:[32],animateResults:[32],searchTerm:[32],showSkeleton:[32]},[[0,"autoCompleteLoaded","loadedAutoCompleteListener"]]],[2,"phn-dealer-search-by-number-of-dealers",{locale:[1],isLoading:[32],formErrorMessage:[32]}],[2,"phn-dealer-search-form-dropdown",{locale:[1],breakpoint:[2],isLoading:[32],errorMessage:[32],dealersOfRegion:[32],cities:[32],selectedProvince:[32],selectedCity:[32],showSkeleton:[32]},[[0,"removeSkeletonOnDealerSearchForm","loadedAutoCompleteListener"]]],[2,"phn-myporsche-login",{login:[16],more:[16],signup:[16],signupText:[1,"signup-text"]}],[2,"phn-dealer-details-drawer",{dealerId:[1,"dealer-id"],locale:[1],breakpoint:[2],errorMessage:[32],showSkeleton:[32]}],[2,"phn-autocomplete-search-field",{placeholder:[1],predictions:[16],initialValue:[1,"initial-value"],errorState:[1,"error-state"],errorMessage:[1,"error-message"],showPredictions:[32],highlightedPredictionIndex:[32],searchterm:[32]},[[9,"click","clickListener"],[0,"keydown","keydownListener"]],{showPredictions:["watchShowPredictions"],initialValue:["watchInitialValue"]}],[6,"phn-menu-item-card",{text:[1],analyticsId:[1,"analytics-id"],subtext:[1],elementId:[1,"element-id"],link:[1],datalayerEventAction:[1,"datalayer-event-action"],customDatalayerProperties:[16],target:[1],iconLeft:[1,"icon-left"]},[[0,"keydown","handleKeyDown"]]]]],["phn-car-body-types-drawer_7",[[2,"phn-router",{activeRoutingKey:[1,"active-routing-key"],breakpoint:[2],locale:[1],receivedContent:[4,"received-content"]}],[2,"phn-dealer-search-form",{dealer:[16],locale:[1],showHeadline:[4,"show-headline"],breakpoint:[2],showOverlay:[32],formErrorMessage:[32],showSkeleton:[32],animateResults:[32]},[[0,"predictionsToggle","toggleOverlay"],[0,"removeSkeletonOnDealerSearchForm","loadedAutoCompleteListener"]]],[2,"phn-myporsche-drawer",{showSkeleton:[32]}],[2,"phn-level-1",{locale:[1],breakpoint:[2]}],[2,"phn-menu",{item:[16],showHeadline:[4,"show-headline"],receivedContent:[4,"received-content"],showSkeleton:[32]}],[2,"phn-models",{breakpoint:[2],showHeadline:[4,"show-headline"],showSkeleton:[32]}],[2,"phn-car-body-types-drawer",{series:[16],breakpoint:[2],seriesLoaded:[32],showSkeleton:[32]},null,{series:["seriesWatcher"]}]]],["phn-header_3",[[1,"phn-header",{locale:[1],env:[1],clientId:[1,"client-id"],pageName:[1,"page-name"],theme:[1],mode:[1],limitedWidth:[1,"limited-width"],app:[1],initialRoutingPath:[1,"initial-routing-path"],displayLogoOnly:[4,"display-logo-only"],numberOfShoppingItems:[2,"number-of-shopping-items"],wishlistItemsNumber:[2,"wishlist-items-number"],shopInformation:[1,"shop-information"],loadingContent:[32],receivedContent:[32],breakpoint:[32]},[[9,"resize","resizeHandler"],[9,"message","newAuthMessageReceived"],[0,"loginEvent","handleLogin"],[0,"logoutEvent","handleLogout"],[9,"ucReady","handleUserCentricsReady"],[9,"ucInit","handleUserCentricsInitalization"],[0,"navigationLoaded","navigationLoadedHandler"]],{locale:["localeWatchHandler"],pageName:["pageNameWatchHandler"],env:["newEnvReceived"],app:["appWatcher"],breakpoint:["breakpointWatcher"],shopInformation:["watchShopVariable"],initialRoutingPath:["initialRoutingPathWatcher"]}],[6,"phn-wrapper",{locale:[1],breakpoint:[2],loadingContent:[4,"loading-content"],receivedContent:[4,"received-content"],theme:[1],mode:[1],app:[1],displayLogoOnly:[4,"display-logo-only"],limitedWidth:[4,"limited-width"],showCountryRecommender:[32],countryRecommenderClosed:[32]}],[6,"phn-level-0",{locale:[1],breakpoint:[2],loadingContent:[4,"loading-content"],receivedContent:[4,"received-content"],theme:[1],mode:[1],app:[1],displayLogoOnly:[4,"display-logo-only"],limitedWidth:[4,"limited-width"],usingKeyboard:[32],scrolledPastHeader:[32],showBackdrop:[32],routingKeyHistory:[32],routingKeyPointer:[32],isNavigationLoaded:[32],isLoading:[32],isMyPorscheHoveredOn:[32]},[[0,"logoLoaded","logoLoadedHandler"],[9,"scroll","scrollHandler"],[9,"keydown","handleKeyDown"],[1,"click","handleClick"],[0,"mobileMenuItemClick","handleMobileMenuItemClick"],[0,"sideDrawerItemClick","handleSideDrawerItemClick"],[0,"clickDrawerHeaderBack","handleClickDrawerHeaderBack"],[0,"clickDrawerHeaderClose","handleClickDrawerHeaderClose"],[0,"backdropClosed","handleBackdropClosed"],[0,"drawerChanged","handleDrawerChanged"],[0,"openDrawer","handleOpenDrawer"]],{loadingContent:["loadingContentWatcher"],breakpoint:["breakpointWatcher"],receivedContent:["receivedContentWatcher"]}]]]],void 0))})},702:(Ar,cr,_)=>{"use strict";_.d(cr,{F:()=>_d,H:()=>Qo,a:()=>Dd,b:()=>rt,c:()=>pm,d:()=>oo,f:()=>dr,g:()=>gl,h:()=>mn,r:()=>mm});var Lt=_(861);let Qe,It,Je,ge=!1,et=!1,_t=!1,Kt=null,Mt=!1;const oo=f=>{const p=new URL(f,_e.$resourcesUrl$);return p.origin!==Or.location.origin?p.href:p.pathname},ur="s-id",Ee="sty-id",tt="http://www.w3.org/1999/xlink",Dt={},ao=f=>"object"==(f=typeof f)||"function"===f;function Yo(f){var p,v,m;return null!==(m=null===(v=null===(p=f.head)||void 0===p?void 0:p.querySelector('meta[name="csp-nonce"]'))||void 0===v?void 0:v.getAttribute("content"))&&void 0!==m?m:void 0}const mn=(f,p,...v)=>{let m=null,D=null,C=null,b=!1,x=!1;const M=[],T=W=>{for(let re=0;reW[re]).join(" "))}}if("function"==typeof f)return f(null===p?{}:p,M,Ko);const V=ft(f,null);return V.$attrs$=p,M.length>0&&(V.$children$=M),V.$key$=D,V.$name$=C,V},ft=(f,p)=>({$flags$:0,$tag$:f,$text$:p,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Qo={},Ko={forEach:(f,p)=>f.map(lo).forEach(p),map:(f,p)=>f.map(lo).map(p).map(hd)},lo=f=>({vattrs:f.$attrs$,vchildren:f.$children$,vkey:f.$key$,vname:f.$name$,vtag:f.$tag$,vtext:f.$text$}),hd=f=>{if("function"==typeof f.vtag){const v=Object.assign({},f.vattrs);return f.vkey&&(v.key=f.vkey),f.vname&&(v.name=f.vname),mn(f.vtag,v,...f.vchildren||[])}const p=ft(f.vtag,f.vtext);return p.$attrs$=f.vattrs,p.$children$=f.vchildren,p.$key$=f.vkey,p.$name$=f.vname,p},hl=(f,p,v,m,D,C,b)=>{let x,M,T,V;if(1===C.nodeType){for(x=C.getAttribute("c-id"),x&&(M=x.split("."),(M[0]===b||"0"===M[0])&&(T={$flags$:0,$hostId$:M[0],$nodeId$:M[1],$depth$:M[2],$index$:M[3],$tag$:C.tagName.toLowerCase(),$elm$:C,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},p.push(T),C.removeAttribute("c-id"),f.$children$||(f.$children$=[]),f.$children$[T.$index$]=T,f=T,m&&"0"===T.$depth$&&(m[T.$index$]=T.$elm$))),V=C.childNodes.length-1;V>=0;V--)hl(f,p,v,m,D,C.childNodes[V],b);if(C.shadowRoot)for(V=C.shadowRoot.childNodes.length-1;V>=0;V--)hl(f,p,v,m,D,C.shadowRoot.childNodes[V],b)}else if(8===C.nodeType)M=C.nodeValue.split("."),(M[1]===b||"0"===M[1])&&(x=M[0],T={$flags$:0,$hostId$:M[1],$nodeId$:M[2],$depth$:M[3],$index$:M[4],$elm$:C,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===x?(T.$elm$=C.nextSibling,T.$elm$&&3===T.$elm$.nodeType&&(T.$text$=T.$elm$.textContent,p.push(T),C.remove(),f.$children$||(f.$children$=[]),f.$children$[T.$index$]=T,m&&"0"===T.$depth$&&(m[T.$index$]=T.$elm$))):T.$hostId$===b&&("s"===x?(T.$tag$="slot",C["s-sn"]=M[5]?T.$name$=M[5]:"",C["s-sr"]=!0,m&&(T.$elm$=me.createElement(T.$tag$),T.$name$&&T.$elm$.setAttribute("name",T.$name$),C.parentNode.insertBefore(T.$elm$,C),C.remove(),"0"===T.$depth$&&(m[T.$index$]=T.$elm$)),v.push(T),f.$children$||(f.$children$=[]),f.$children$[T.$index$]=T):"r"===x&&(m?C.remove():(D["s-cr"]=C,C["s-cn"]=!0))));else if(f&&"style"===f.$tag$){const W=ft(null,C.textContent);W.$elm$=C,W.$index$="0",f.$children$=[W]}},pl=(f,p)=>{if(1===f.nodeType){let v=0;for(;vUn(f).$hostElement$,pm=(f,p,v)=>{const m=gl(f);return{emit:D=>ml(m,p,{bubbles:!!(4&v),composed:!!(2&v),cancelable:!!(1&v),detail:D})}},ml=(f,p,v)=>{const m=_e.ce(p,v);return f.dispatchEvent(m),m},vl=new WeakMap,pd=(f,p,v)=>{let m=Ce.get(f);Re&&v?(m=m||new CSSStyleSheet,"string"==typeof m?m=p:m.replaceSync(p)):m=p,Ce.set(f,m)},bs=(f,p,v)=>{var m;const D=md(p),C=Ce.get(D);if(f=11===f.nodeType?f:me,C)if("string"==typeof C){let x,b=vl.get(f=f.head||f);if(b||vl.set(f,b=new Set),!b.has(D)){if(f.host&&(x=f.querySelector(`[${Ee}="${D}"]`)))x.innerHTML=C;else{x=me.createElement("style"),x.innerHTML=C;const M=null!==(m=_e.$nonce$)&&void 0!==m?m:Yo(me);null!=M&&x.setAttribute("nonce",M),f.insertBefore(x,f.querySelector("link"))}b&&b.add(D)}}else f.adoptedStyleSheets.includes(C)||(f.adoptedStyleSheets=[...f.adoptedStyleSheets,C]);return D},md=(f,p)=>"sc-"+f.$tagName$,ke=f=>f.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Xo=(f,p,v,m,D,C)=>{if(v!==m){let b=Ps(f,p),x=p.toLowerCase();if("class"===p){const M=f.classList,T=Jo(v),V=Jo(m);M.remove(...T.filter(W=>W&&!V.includes(W))),M.add(...V.filter(W=>W&&!T.includes(W)))}else if("style"===p){for(const M in v)(!m||null==m[M])&&(M.includes("-")?f.style.removeProperty(M):f.style[M]="");for(const M in m)(!v||m[M]!==v[M])&&(M.includes("-")?f.style.setProperty(M,m[M]):f.style[M]=m[M])}else if("key"!==p)if("ref"===p)m&&m(f);else if(b||"o"!==p[0]||"n"!==p[1]){const M=ao(m);if((b||M&&null!==m)&&!D)try{if(f.tagName.includes("-"))f[p]=m;else{const V=m??"";"list"===p?b=!1:(null==v||f[p]!=V)&&(f[p]=V)}}catch{}let T=!1;x!==(x=x.replace(/^xlink\:?/,""))&&(p=x,T=!0),null==m||!1===m?(!1!==m||""===f.getAttribute(p))&&(T?f.removeAttributeNS(tt,p):f.removeAttribute(p)):(!b||4&C||D)&&!M&&(m=!0===m?"":m,T?f.setAttributeNS(tt,p,m):f.setAttribute(p,m))}else p="-"===p[2]?p.slice(3):Ps(Or,x)?x.slice(2):x[2]+p.slice(3),v&&_e.rel(f,p,v,!1),m&&_e.ael(f,p,m,!1)}},Es=/\s/,Jo=f=>f?f.split(Es):[],bt=(f,p,v,m)=>{const D=11===p.$elm$.nodeType&&p.$elm$.host?p.$elm$.host:p.$elm$,C=f&&f.$attrs$||Dt,b=p.$attrs$||Dt;for(m in C)m in b||Xo(D,m,C[m],void 0,v,p.$flags$);for(m in b)Xo(D,m,C[m],b[m],v,p.$flags$)},co=(f,p,v,m)=>{const D=p.$children$[v];let b,x,M,C=0;if(ge||(_t=!0,"slot"===D.$tag$&&(Qe&&m.classList.add(Qe+"-s"),D.$flags$|=D.$children$?2:1)),null!==D.$text$)b=D.$elm$=me.createTextNode(D.$text$);else if(1&D.$flags$)b=D.$elm$=me.createTextNode("");else if(b=D.$elm$=me.createElement(2&D.$flags$?"slot-fb":D.$tag$),bt(null,D,!1),(f=>null!=f)(Qe)&&b["s-si"]!==Qe&&b.classList.add(b["s-si"]=Qe),D.$children$)for(C=0;C{_e.$flags$|=1;const v=f.childNodes;for(let m=v.length-1;m>=0;m--){const D=v[m];D["s-hn"]!==Je&&D["s-ol"]&&(yl(D).insertBefore(D,fo(D)),D["s-ol"].remove(),D["s-ol"]=void 0,_t=!0),p&&xr(D,p)}_e.$flags$&=-2},Ss=(f,p,v,m,D,C)=>{let x,b=f["s-cr"]&&f["s-cr"].parentNode||f;for(b.shadowRoot&&b.tagName===Je&&(b=b.shadowRoot);D<=C;++D)m[D]&&(x=co(null,v,D,f),x&&(m[D].$elm$=x,b.insertBefore(x,fo(p))))},jn=(f,p,v)=>{for(let m=p;m<=v;++m){const D=f[m];if(D){const C=D.$elm$;Cl(D),C&&(et=!0,C["s-ol"]?C["s-ol"].remove():xr(C,!0),C.remove())}}},uo=(f,p)=>f.$tag$===p.$tag$&&("slot"===f.$tag$?f.$name$===p.$name$:f.$key$===p.$key$),fo=f=>f&&f["s-ol"]||f,yl=f=>(f["s-ol"]?f["s-ol"]:f).parentNode,Pr=(f,p)=>{const v=p.$elm$=f.$elm$,m=f.$children$,D=p.$children$,b=p.$text$;let x;null===b?("slot"===p.$tag$||bt(f,p,!1),null!==m&&null!==D?((f,p,v,m)=>{let Ht,We,D=0,C=0,b=0,x=0,M=p.length-1,T=p[0],V=p[M],W=m.length-1,re=m[0],ve=m[W];for(;D<=M&&C<=W;)if(null==T)T=p[++D];else if(null==V)V=p[--M];else if(null==re)re=m[++C];else if(null==ve)ve=m[--W];else if(uo(T,re))Pr(T,re),T=p[++D],re=m[++C];else if(uo(V,ve))Pr(V,ve),V=p[--M],ve=m[--W];else if(uo(T,ve))("slot"===T.$tag$||"slot"===ve.$tag$)&&xr(T.$elm$.parentNode,!1),Pr(T,ve),f.insertBefore(T.$elm$,V.$elm$.nextSibling),T=p[++D],ve=m[--W];else if(uo(V,re))("slot"===T.$tag$||"slot"===ve.$tag$)&&xr(V.$elm$.parentNode,!1),Pr(V,re),f.insertBefore(V.$elm$,T.$elm$),V=p[--M],re=m[++C];else{for(b=-1,x=D;x<=M;++x)if(p[x]&&null!==p[x].$key$&&p[x].$key$===re.$key$){b=x;break}b>=0?(We=p[b],We.$tag$!==re.$tag$?Ht=co(p&&p[C],v,b,f):(Pr(We,re),p[b]=void 0,Ht=We.$elm$),re=m[++C]):(Ht=co(p&&p[C],v,C,f),re=m[++C]),Ht&&yl(T.$elm$).insertBefore(Ht,fo(T.$elm$))}D>M?Ss(f,null==m[W+1]?null:m[W+1].$elm$,v,m,C,W):C>W&&jn(p,D,M)})(v,m,p,D):null!==D?(null!==f.$text$&&(v.textContent=""),Ss(v,null,p,D,0,D.length-1)):null!==m&&jn(m,0,m.length-1)):(x=v["s-cr"])?x.parentNode.textContent=b:f.$text$!==b&&(v.data=b)},Dl=f=>{const p=f.childNodes;let v,m,D,C,b,x;for(m=0,D=p.length;m{let p,v,m,D,C,b,x=0;const M=f.childNodes,T=M.length;for(;x=0;b--)v=m[b],!v["s-cn"]&&!v["s-nr"]&&v["s-hn"]!==p["s-hn"]&&(ho(v,D)?(C=Bt.find(V=>V.$nodeToRelocate$===v),et=!0,v["s-sn"]=v["s-sn"]||D,C?C.$slotRefNode$=p:Bt.push({$slotRefNode$:p,$nodeToRelocate$:v}),v["s-sr"]&&Bt.map(V=>{ho(V.$nodeToRelocate$,v["s-sn"])&&(C=Bt.find(W=>W.$nodeToRelocate$===v),C&&!V.$slotRefNode$&&(V.$slotRefNode$=C.$slotRefNode$))})):Bt.some(V=>V.$nodeToRelocate$===v)||Bt.push({$nodeToRelocate$:v}));1===p.nodeType&&Hn(p)}},ho=(f,p)=>1===f.nodeType?null===f.getAttribute("slot")&&""===p||f.getAttribute("slot")===p:f["s-sn"]===p||""===p,Cl=f=>{f.$attrs$&&f.$attrs$.ref&&f.$attrs$.ref(null),f.$children$&&f.$children$.map(Cl)},wl=(f,p)=>{p&&!f.$onRenderResolve$&&p["s-p"]&&p["s-p"].push(new Promise(v=>f.$onRenderResolve$=v))},Nr=(f,p)=>{if(f.$flags$|=16,!(4&f.$flags$))return wl(f,f.$ancestorComponent$),Tl(()=>vd(f,p));f.$flags$|=512},vd=(f,p)=>{const m=f.$lazyInstance$;let D;return p&&(f.$flags$|=256,f.$queuedListeners$&&(f.$queuedListeners$.map(([C,b])=>Rr(m,C,b)),f.$queuedListeners$=void 0),D=Rr(m,"componentWillLoad")),Ms(D,()=>yd(f,m,p))},Ms=(f,p)=>ti(f)?f.then(p):p(),ti=f=>f instanceof Promise||f&&f.then&&"function"==typeof f.then,yd=function(){var f=(0,Lt.Z)(function*(p,v,m){var D;const C=p.$hostElement$,x=C["s-rc"];m&&(f=>{const p=f.$cmpMeta$,v=f.$hostElement$,m=p.$flags$,C=bs(v.shadowRoot?v.shadowRoot:v.getRootNode(),p);10&m&&(v["s-sc"]=C,v.classList.add(C+"-h"),2&m&&v.classList.add(C+"-s"))})(p);Ts(p,v,C,m),x&&(x.map(T=>T()),C["s-rc"]=void 0);{const T=null!==(D=C["s-p"])&&void 0!==D?D:[],V=()=>As(p);0===T.length?V():(Promise.all(T).then(V),p.$flags$|=4,T.length=0)}});return function(v,m,D){return f.apply(this,arguments)}}(),Ts=(f,p,v,m)=>{try{Kt=p,p=p.render(),f.$flags$&=-17,f.$flags$|=2,((f,p,v=!1)=>{const m=f.$hostElement$,D=f.$cmpMeta$,C=f.$vnode$||ft(null,null),b=(f=>f&&f.$tag$===Qo)(p)?p:mn(null,null,p);if(Je=m.tagName,v&&b.$attrs$)for(const x of Object.keys(b.$attrs$))m.hasAttribute(x)&&!["key","ref","style","class"].includes(x)&&(b.$attrs$[x]=m[x]);if(b.$tag$=null,b.$flags$|=4,f.$vnode$=b,b.$elm$=C.$elm$=m.shadowRoot||m,Qe=m["s-sc"],It=m["s-cr"],ge=0!=(1&D.$flags$),et=!1,Pr(C,b),_e.$flags$|=1,_t){Hn(b.$elm$);let x,M,T,V,W,re,ve=0;for(;veKt,As=f=>{const v=f.$hostElement$,D=f.$lazyInstance$,C=f.$ancestorComponent$;Rr(D,"componentDidRender"),64&f.$flags$||(f.$flags$|=64,nt(v),Rr(D,"componentDidLoad"),f.$onReadyResolve$(v),C||_l()),f.$onRenderResolve$&&(f.$onRenderResolve$(),f.$onRenderResolve$=void 0),512&f.$flags$&&vo(()=>Nr(f,!1)),f.$flags$&=-517},dr=f=>{{const p=Un(f),v=p.$hostElement$.isConnected;return v&&2==(18&p.$flags$)&&Nr(p,!1),v}},_l=f=>{nt(me.documentElement),vo(()=>ml(Or,"appload",{detail:{namespace:"porsche-navigation"}}))},Rr=(f,p,v)=>{if(f&&f[p])try{return f[p](v)}catch(m){Ge(m)}},nt=f=>f.classList.add("hydrated"),El=(f,p,v)=>{var m;if(p.$members$){f.watchers&&(p.$watchers$=f.watchers);const D=Object.entries(p.$members$),C=f.prototype;if(D.map(([b,[x]])=>{(31&x||2&v&&32&x)&&Object.defineProperty(C,b,{get(){return((f,p)=>Un(this).$instanceValues$.get(p))(0,b)},set(M){((f,p,v,m)=>{const D=Un(f),C=D.$hostElement$,b=D.$instanceValues$.get(p),x=D.$flags$,M=D.$lazyInstance$;v=((f,p)=>null==f||ao(f)?f:4&p?"false"!==f&&(""===f||!!f):2&p?parseFloat(f):1&p?String(f):f)(v,m.$members$[p][0]);const T=Number.isNaN(b)&&Number.isNaN(v);if((!(8&x)||void 0===b)&&v!==b&&!T&&(D.$instanceValues$.set(p,v),M)){if(m.$watchers$&&128&x){const W=m.$watchers$[p];W&&W.map(re=>{try{M[re](v,b,p)}catch(ve){Ge(ve,C)}})}2==(18&x)&&Nr(D,!1)}})(this,b,M,p)},configurable:!0,enumerable:!0})}),1&v){const b=new Map;C.attributeChangedCallback=function(x,M,T){_e.jmp(()=>{const V=b.get(x);if(this.hasOwnProperty(V))T=this[V],delete this[V];else{if(C.hasOwnProperty(V)&&"number"==typeof this[V]&&this[V]==T)return;if(null==V){const W=Un(this),re=W?.$flags$;if(!(8&re)&&128&re&&T!==M){const ve=W.$lazyInstance$,Ht=p.$watchers$[x];Ht?.forEach(We=>{null!=ve[We]&&ve[We].call(ve,T,M,x)})}return}}this[V]=(null!==T||"boolean"!=typeof this[V])&&T})},f.observedAttributes=Array.from(new Set([...Object.keys(null!==(m=p.$watchers$)&&void 0!==m?m:{}),...D.filter(([x,M])=>15&M[0]).map(([x,M])=>{const T=M[1]||x;return b.set(T,x),T})]))}}return f},wd=function(){var f=(0,Lt.Z)(function*(p,v,m,D,C){if(!(32&v.$flags$)){v.$flags$|=32;{if((C=ym(m)).then){const T=()=>{};C=yield C,T()}C.isProxied||(m.$watchers$=C.watchers,El(C,m,2),C.isProxied=!0);const M=()=>{};v.$flags$|=8;try{new C(v)}catch(T){Ge(T)}v.$flags$&=-9,v.$flags$|=128,M()}if(C.style){let M=C.style;const T=md(m);if(!Ce.has(T)){const V=()=>{};pd(T,M,!!(1&m.$flags$)),V()}}}const b=v.$ancestorComponent$,x=()=>Nr(v,!0);b&&b["s-rc"]?b["s-rc"].push(x):x()});return function(v,m,D,C,b){return f.apply(this,arguments)}}(),jt=f=>{const p=f["s-cr"]=me.createComment("");p["s-cn"]=!0,f.insertBefore(p,f.firstChild)},xs=f=>{Rr(f,"disconnectedCallback")},ht=function(){var f=(0,Lt.Z)(function*(p){if(!(1&_e.$flags$)){const v=Un(p);v.$rmListeners$&&(v.$rmListeners$.map(m=>m()),v.$rmListeners$=void 0),v?.$lazyInstance$?xs(v.$lazyInstance$):v?.$onReadyPromise$&&v.$onReadyPromise$.then(()=>xs(v.$lazyInstance$))}});return function(v){return f.apply(this,arguments)}}(),rt=(f,p={})=>{var v;const D=[],C=p.exclude||[],b=Or.customElements,x=me.head,M=x.querySelector("meta[charset]"),T=me.createElement("style"),V=[],W=me.querySelectorAll(`[${Ee}]`);let re,ve=!0,Ht=0;for(Object.assign(_e,p),_e.$resourcesUrl$=new URL(p.resourcesUrl||"./",me.baseURI).href,_e.$flags$|=2;Ht{We[1].map(kr=>{var Al;const fr={$flags$:kr[0],$tagName$:kr[1],$members$:kr[2],$listeners$:kr[3]};fr.$members$=kr[2],fr.$listeners$=kr[3],fr.$watchers$=null!==(Al=kr[4])&&void 0!==Al?Al:{};const Rs=fr.$tagName$,Ed=class extends HTMLElement{constructor(Os){super(Os),vm(Os=this,fr),1&fr.$flags$&&Os.attachShadow({mode:"open"})}connectedCallback(){re&&(clearTimeout(re),re=null),ve?V.push(this):_e.jmp(()=>(f=>{if(!(1&_e.$flags$)){const p=Un(f),v=p.$cmpMeta$,m=()=>{};if(1&p.$flags$)Ie(f,p,v.$listeners$),p?.$lazyInstance$||p?.$onReadyPromise$&&p.$onReadyPromise$.then(()=>{});else{let D;if(p.$flags$|=1,D=f.getAttribute(ur),D){if(1&v.$flags$){const C=bs(f.shadowRoot,v);f.classList.remove(C+"-h",C+"-s")}((f,p,v,m)=>{const C=f.shadowRoot,b=[],M=C?[]:null,T=m.$vnode$=ft(p,null);_e.$orgLocNodes$||pl(me.body,_e.$orgLocNodes$=new Map),f[ur]=v,f.removeAttribute(ur),hl(T,b,[],M,f,f,v),b.map(V=>{const W=V.$hostId$+"."+V.$nodeId$,re=_e.$orgLocNodes$.get(W),ve=V.$elm$;re&&Dm&&""===re["s-en"]&&re.parentNode.insertBefore(ve,re.nextSibling),C||(ve["s-hn"]=p,re&&(ve["s-ol"]=re,ve["s-ol"]["s-nr"]=ve)),_e.$orgLocNodes$.delete(W)}),C&&M.map(V=>{V&&C.appendChild(V)})})(f,v.$tagName$,D,p)}D||12&v.$flags$&&jt(f);{let C=f;for(;C=C.parentNode||C.host;)if(1===C.nodeType&&C.hasAttribute("s-id")&&C["s-p"]||C["s-p"]){wl(p,p.$ancestorComponent$=C);break}}v.$members$&&Object.entries(v.$members$).map(([C,[b]])=>{if(31&b&&f.hasOwnProperty(C)){const x=f[C];delete f[C],f[C]=x}}),wd(f,p,v)}m()}})(this))}disconnectedCallback(){_e.jmp(()=>ht(this))}componentOnReady(){return Un(this).$onReadyPromise$}};fr.$lazyBundleId$=We[0],!C.includes(Rs)&&!b.get(Rs)&&(D.push(Rs),b.define(Rs,El(Ed,fr,1)))})});{T.innerHTML=D+"{visibility:hidden}.hydrated{visibility:inherit}",T.setAttribute("data-styles","");const We=null!==(v=_e.$nonce$)&&void 0!==v?v:Yo(me);null!=We&&T.setAttribute("nonce",We),x.insertBefore(T,M?M.nextSibling:x.firstChild)}ve=!1,V.length?V.map(We=>We.connectedCallback()):_e.jmp(()=>re=setTimeout(_l,30))},_d=(f,p)=>p,Ie=(f,p,v,m)=>{v&&v.map(([D,C,b])=>{const x=Il(f,D),M=gm(p,b),T=A(D);_e.ael(x,C,M,T),(p.$rmListeners$=p.$rmListeners$||[]).push(()=>_e.rel(x,C,M,T))})},gm=(f,p)=>v=>{try{256&f.$flags$?f.$lazyInstance$[p](v):(f.$queuedListeners$=f.$queuedListeners$||[]).push([p,v])}catch(m){Ge(m)}},Il=(f,p)=>8&p?Or:f,A=f=>0!=(2&f),ni=new WeakMap,Un=f=>ni.get(f),mm=(f,p)=>ni.set(p.$lazyInstance$=f,p),vm=(f,p)=>{const v={$flags$:0,$hostElement$:f,$cmpMeta$:p,$instanceValues$:new Map};return v.$onReadyPromise$=new Promise(m=>v.$onReadyResolve$=m),f["s-p"]=[],f["s-rc"]=[],Ie(f,v,p.$listeners$),ni.set(f,v)},Ps=(f,p)=>p in f,Ge=(f,p)=>(0,console.error)(f,p),Ml=new Map,ym=(f,p,v)=>{const m=f.$tagName$.replace(/-/g,"_"),D=f.$lazyBundleId$,C=Ml.get(D);if(C)return C[m];if(!v||!BUILD.hotModuleReplacement){const b=x=>(Ml.set(D,x),x[m]);switch(D){case"phn-header_3":return Promise.all([_.e(172),_.e(685),_.e(772),_.e(162),_.e(592),_.e(694)]).then(_.bind(_,694)).then(b,Ge);case"phn-country-recommender":return Promise.all([_.e(172),_.e(685),_.e(592),_.e(970)]).then(_.bind(_,970)).then(b,Ge);case"contextual-drawer":return _.e(706).then(_.bind(_,706)).then(b,Ge);case"phn-backdrop":return Promise.all([_.e(172),_.e(685),_.e(772),_.e(670),_.e(333)]).then(_.bind(_,333)).then(b,Ge);case"phn-double-drawer":return Promise.all([_.e(172),_.e(685),_.e(772),_.e(670),_.e(592),_.e(808)]).then(_.bind(_,808)).then(b,Ge);case"phn-level-0-icons":return Promise.all([_.e(172),_.e(685),_.e(772),_.e(592),_.e(258)]).then(_.bind(_,258)).then(b,Ge);case"phn-logo":return Promise.all([_.e(172),_.e(685),_.e(592),_.e(741)]).then(_.bind(_,741)).then(b,Ge);case"phn-single-drawer":return Promise.all([_.e(172),_.e(685),_.e(772),_.e(670),_.e(592),_.e(667)]).then(_.bind(_,667)).then(b,Ge);case"phn-burger-button_2":return Promise.all([_.e(172),_.e(685),_.e(97)]).then(_.bind(_,97)).then(b,Ge);case"phn-drawer-header":return Promise.all([_.e(172),_.e(685),_.e(772),_.e(670),_.e(805)]).then(_.bind(_,805)).then(b,Ge);case"phn-side-drawer":return Promise.all([_.e(172),_.e(772),_.e(451)]).then(_.bind(_,451)).then(b,Ge);case"phn-back-button_3":return Promise.all([_.e(172),_.e(685),_.e(772),_.e(670),_.e(899)]).then(_.bind(_,899)).then(b,Ge);case"phn-car-body-types-drawer_7":return Promise.all([_.e(172),_.e(685),_.e(772),_.e(670),_.e(592),_.e(590)]).then(_.bind(_,590)).then(b,Ge);case"phn-side-drawer-item":return Promise.all([_.e(172),_.e(685),_.e(772),_.e(670),_.e(835)]).then(_.bind(_,835)).then(b,Ge);case"phn-autocomplete-search-field_8":return Promise.all([_.e(172),_.e(685),_.e(772),_.e(670),_.e(162),_.e(592),_.e(893)]).then(_.bind(_,893)).then(b,Ge);case"phn-menu-item":return Promise.all([_.e(172),_.e(685),_.e(772),_.e(670),_.e(592),_.e(278)]).then(_.bind(_,278)).then(b,Ge)}}return _(353)(`./${D}.entry.js`).then(b=>(Ml.set(D,b),b[m]),Ge)},Ce=new Map,Or=typeof window<"u"?window:{},me=Or.document||{head:{}},_e={$flags$:0,$resourcesUrl$:"",jmp:f=>f(),raf:f=>requestAnimationFrame(f),ael:(f,p,v,m)=>f.addEventListener(p,v,m),rel:(f,p,v,m)=>f.removeEventListener(p,v,m),ce:(f,p)=>new CustomEvent(f,p)},Dm=!0,Re=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),X=[],go=[],Ns=(f,p)=>v=>{f.push(v),Mt||(Mt=!0,p&&4&_e.$flags$?vo(mo):_e.raf(mo))},Fr=f=>{for(let p=0;p{Fr(X),Fr(go),(Mt=X.length>0)&&_e.raf(mo)},vo=f=>Promise.resolve(void 0).then(f),Tl=Ns(go,!0)},155:(Ar,cr,_)=>{"use strict";_.d(cr,{c:()=>It}),typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"&&self;var It=function Ne(Je,ge,et){return Je(et={path:ge,exports:{},require:function(_t,$t){return function Qe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},et.exports),et.exports}(function(Je,ge){typeof self<"u"&&self,Je.exports=(()=>{var et={d:(Ee,Te)=>{for(var Se in Te)et.o(Te,Se)&&!et.o(Ee,Se)&&Object.defineProperty(Ee,Se,{enumerable:!0,get:Te[Se]})},o:(Ee,Te)=>Object.prototype.hasOwnProperty.call(Ee,Te),r:Ee=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(Ee,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Ee,"__esModule",{value:!0})}},_t={};et.r(_t),et.d(_t,{componentsReady:()=>Vt,load:()=>oo});const $t="porscheDesignSystem";function Kt(){return document[$t]||(document[$t]={}),document[$t]}const oo=(Ee={})=>{const Te="PORSCHE_DESIGN_SYSTEM_CDN";window[Te]=Ee.cdn||window[Te]||(window.location.origin.match(/\.cn$/)?"cn":"auto");const Se="porscheDesignSystem";document[Se]||(document[Se]={}),document[Se].cdn={url:"https://cdn.ui.porsche."+("cn"===window[Te]?"cn":"com"),prefixes:[]},function Mt({script:Ee,version:Te,prefix:Se}){const tt=function(mn){const ft=Kt(),{[mn]:Qo}=ft;if(!Qo){let ws=()=>{};const Ko=new Promise(lo=>ws=lo);ft[mn]={isInjected:!1,isReady:()=>Ko,readyResolve:ws,prefixes:[],registerCustomElements:null}}return ft[mn]}(Te),{isInjected:Dt,prefixes:gn=[],registerCustomElements:ao}=tt,[Yo]=Object.entries(Kt()).filter(([mn,ft])=>mn!==Te&&"object"==typeof ft&&ft.prefixes.includes(Se));if(Yo)throw new Error(`[Porsche Design System v${Te}] prefix '${Se}' is already registered with version '${Yo[0]}' of the Porsche Design System. Please use a different one.\nTake a look at document.${$t} for more details.`);Dt||(function(mn){const ft=document.createElement("script");ft.src=mn,ft.setAttribute("crossorigin",""),document.body.appendChild(ft)}(Ee),tt.isInjected=!0),gn.includes(Se)||(gn.push(Se),ao&&ao(Se))}({version:"3.8.0",script:document[Se].cdn.url+"/porsche-design-system/components/porsche-design-system.v3.8.0.688f651c1314ab84fa7b.js",prefix:Ee.prefix||""})},Vt=(Ee=document.body)=>{let Te;const Se=new Promise(Dt=>Te=Dt),tt=()=>{Wo().then(()=>qo(Ee,Te))};if(io())tt();else{const Dt="readystatechange",gn=()=>{io()&&(document.removeEventListener(Dt,gn),tt())};document.addEventListener(Dt,gn)}return Se},io=()=>"complete"===document.readyState,Wo=()=>{if(document.porscheDesignSystem?.["3.8.0"]?.isReady)return document.porscheDesignSystem["3.8.0"].isReady();{let Ee;const Te=new Promise(tt=>Ee=tt),Se={set(tt,Dt,gn){return"3.8.0"===Dt&&gn.isReady().then(Ee),Reflect.set(...arguments)}};return document.porscheDesignSystem=new Proxy(document.porscheDesignSystem||{},Se),Te}},qo=(Ee,Te)=>{const Se=so(Ee);Promise.all(Se).then(tt=>Te(tt.length)).catch(tt=>console.error("[Porsche Design System]",tt))},so=Ee=>{let Te=[];return 1===Ee?.nodeType&&Array.from(Ee.children).forEach(Se=>{ur(Se)&&Te.push(Se.componentOnReady()),Te=Te.concat(so(Se))}),Te},Zo=/^(.*-)?P-(.*)$/,ur=Ee=>Zo.exec(Ee.tagName)&&"function"==typeof Ee.componentOnReady;return _t})()})},353:(Ar,cr,_)=>{var Lt={"./contextual-drawer.entry.js":[706,706],"./phn-autocomplete-search-field_8.entry.js":[893,172,685,772,670,162,592,893],"./phn-back-button_3.entry.js":[899,172,685,772,670,899],"./phn-backdrop.entry.js":[333,172,685,772,670,333],"./phn-burger-button_2.entry.js":[97,172,685,97],"./phn-car-body-types-drawer_7.entry.js":[590,172,685,772,670,592,590],"./phn-country-recommender.entry.js":[970,172,685,592,970],"./phn-double-drawer.entry.js":[808,172,685,772,670,592,808],"./phn-drawer-header.entry.js":[805,172,685,772,670,805],"./phn-header_3.entry.js":[694,172,685,772,162,592,694],"./phn-level-0-icons.entry.js":[258,172,685,772,592,258],"./phn-logo.entry.js":[741,172,685,592,741],"./phn-menu-item.entry.js":[278,172,685,772,670,592,278],"./phn-side-drawer-item.entry.js":[835,172,685,772,670,835],"./phn-side-drawer.entry.js":[451,172,772,451],"./phn-single-drawer.entry.js":[667,172,685,772,670,592,667]};function Ne(Qe){if(!_.o(Lt,Qe))return Promise.resolve().then(()=>{var ge=new Error("Cannot find module '"+Qe+"'");throw ge.code="MODULE_NOT_FOUND",ge});var It=Lt[Qe],Je=It[0];return Promise.all(It.slice(1).map(_.e)).then(()=>_(Je))}Ne.keys=()=>Object.keys(Lt),Ne.id=353,Ar.exports=Ne},861:(Ar,cr,_)=>{"use strict";function Lt(Qe,It,Je,ge,et,_t,$t){try{var Kt=Qe[_t]($t),Mt=Kt.value}catch(oo){return void Je(oo)}Kt.done?It(Mt):Promise.resolve(Mt).then(ge,et)}function Ne(Qe){return function(){var It=this,Je=arguments;return new Promise(function(ge,et){var _t=Qe.apply(It,Je);function $t(Mt){Lt(_t,ge,et,$t,Kt,"next",Mt)}function Kt(Mt){Lt(_t,ge,et,$t,Kt,"throw",Mt)}$t(void 0)})}}_.d(cr,{Z:()=>Ne})}},Ar=>{Ar(Ar.s=402)}]); \ No newline at end of file diff --git a/main.f9d0ecf95dfde006.js b/main.f9d0ecf95dfde006.js deleted file mode 100644 index 3886c11..0000000 --- a/main.f9d0ecf95dfde006.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunksample_integration_angular=self.webpackChunksample_integration_angular||[]).push([[179],{171:(Fr,mr,w)=>{"use strict";let xe=null,xt=1;function me(e){const t=xe;return xe=e,t}function Ht(e){if((!nt(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==xt)){if(!e.producerMustRecompute(e)&&!vr(e))return e.dirty=!1,void(e.lastCleanEpoch=xt);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=xt}}function vr(e){Dt(e);for(let t=0;t0}function Dt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Uo=null;function Re(e){return"function"==typeof e}function xs(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const zo=xs(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Go(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ct{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:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Re(r))try{r()}catch(i){t=i instanceof zo?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Ns(i)}catch(s){t=t??[],s instanceof zo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new zo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ns(t);else{if(t instanceof Ct){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Go(n,t)}remove(t){const{_finalizers:n}=this;n&&Go(n,t),t instanceof Ct&&t._removeParent(this)}}Ct.EMPTY=(()=>{const e=new Ct;return e.closed=!0,e})();const Lr=Ct.EMPTY;function Ps(e){return e instanceof Ct||e&&"closed"in e&&Re(e.remove)&&Re(e.add)&&Re(e.unsubscribe)}function Ns(e){Re(e)?e():e.unsubscribe()}const yr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Dr={setTimeout(e,t,...n){const{delegate:r}=Dr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Dr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Wo(e){Dr.setTimeout(()=>{const{onUnhandledError:t}=yr;if(!t)throw e;t(e)})}function qo(){}const $r=Zo("C",void 0,void 0);function Zo(e,t,n){return{kind:e,value:t,error:n}}let qn=null;function fo(e){if(yr.useDeprecatedSynchronousErrorHandling){const t=!qn;if(t&&(qn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=qn;if(qn=null,n)throw r}}else e()}class Yo extends Ct{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ps(t)&&t.add(this)):this.destination=Sd}static create(t,n,r){return new ho(t,n,r)}next(t){this.isStopped?Os(function ln(e){return Zo("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Os(function Al(e){return Zo("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Os($r,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 Qo=Function.prototype.bind;function Rs(e,t){return Qo.call(e,t)}class bd{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ko(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ko(r)}else Ko(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ko(n)}}}class ho extends Yo{constructor(t,n,r){let o;if(super(),Re(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&yr.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Rs(t.next,i),error:t.error&&Rs(t.error,i),complete:t.complete&&Rs(t.complete,i)}):o=t}this.destination=new bd(o)}}function Ko(e){yr.useDeprecatedSynchronousErrorHandling?function _d(e){yr.useDeprecatedSynchronousErrorHandling&&qn&&(qn.errorThrown=!0,qn.error=e)}(e):Wo(e)}function Os(e,t){const{onStoppedNotification:n}=yr;n&&Dr.setTimeout(()=>n(e,t))}const Sd={closed:!0,next:qo,error:function Ed(e){throw e},complete:qo},Fs="function"==typeof Symbol&&Symbol.observable||"@@observable";function xn(e){return e}function ks(e){return 0===e.length?xn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Qe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function Id(e){return e&&e instanceof Yo||function Pl(e){return e&&Re(e.next)&&Re(e.error)&&Re(e.complete)}(e)&&Ps(e)}(n)?n:new ho(n,r,o);return fo(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=xl(r))((o,i)=>{const s=new ho({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Fs](){return this}pipe(...n){return ks(n)(this)}toPromise(n){return new(n=xl(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function xl(e){var t;return null!==(t=e??yr.Promise)&&void 0!==t?t:Promise}const Md=xs(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let cn=(()=>{class e extends Qe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Nl(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Md}next(n){fo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){fo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){fo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Lr:(this.currentObservers=null,i.push(n),new Ct(()=>{this.currentObservers=null,Go(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Qe;return n.source=this,n}}return e.create=(t,n)=>new Nl(t,n),e})();class Nl extends cn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Lr}}function Ls(e){return Re(e?.lift)}function rt(e){return t=>{if(Ls(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ke(e,t,n,r,o){return new Td(e,t,n,r,o)}class Td extends Yo{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Ie(e,t){return rt((n,r)=>{let o=0;n.subscribe(Ke(r,i=>{r.next(e.call(t,i,o++))}))})}function Pn(e){return this instanceof Pn?(this.v=e,this):new Pn(e)}function Jo(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Ce(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const T=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function V(e){return Re(e?.then)}function Q(e){return Re(e[Fs])}function ee(e){return Symbol.asyncIterator&&Re(e?.[Symbol.asyncIterator])}function ve(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const _t=function Nt(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Qn(e){return Re(e?.[_t])}function ei(e){return function kl(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){r[h]&&(o[h]=function(g){return new Promise(function(y,C){i.push([h,g,y,C])>1||a(h,g)})})}function a(h,g){try{!function l(h){h.value instanceof Pn?Promise.resolve(h.value.v).then(c,u):d(i[0][2],h)}(r[h](g))}catch(y){d(i[0][3],y)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,g){h(g),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Pn(n.read());if(o)return yield Pn(void 0);yield yield Pn(r)}}finally{n.releaseLock()}})}function Nn(e){return Re(e?.getReader)}function bt(e){if(e instanceof Qe)return e;if(null!=e){if(Q(e))return function Od(e){return new Qe(t=>{const n=e[Fs]();if(Re(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(T(e))return function ti(e){return new Qe(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Wo)})}(e);if(ee(e))return xm(e);if(Qn(e))return function jI(e){return new Qe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Nn(e))return function BI(e){return xm(ei(e))}(e)}throw ve(e)}function xm(e){return new Qe(t=>{(function HI(e,t){var n,r,o,i;return function Rl(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Jo(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Cr(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Rt(e,t,n=1/0){return Re(t)?Rt((r,o)=>Ie((i,s)=>t(r,i,o,s))(bt(e(r,o))),n):("number"==typeof t&&(n=t),rt((r,o)=>function UI(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},g=C=>c{i&&t.next(C),c++;let I=!1;bt(n(C,u++)).subscribe(Ke(t,N=>{o?.(N),i?g(N):t.next(N)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&cy(N)):y(N)}h()}catch(N){t.error(N)}}))};return e.subscribe(Ke(t,g,()=>{d=!0,h()})),()=>{a?.()}}(r,o,e,n)))}function ni(e=1/0){return Rt(xn,e)}const Kn=new Qe(e=>e.complete());function Fd(e){return e[e.length-1]}function Us(e){return function GI(e){return e&&Re(e.schedule)}(Fd(e))?e.pop():void 0}function Nm(e,t=0){return rt((n,r)=>{n.subscribe(Ke(r,o=>Cr(r,e,()=>r.next(o),t),()=>Cr(r,e,()=>r.complete(),t),o=>Cr(r,e,()=>r.error(o),t)))})}function Rm(e,t=0){return rt((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Om(e,t){if(!e)throw new Error("Iterable cannot be null");return new Qe(n=>{Cr(n,t,()=>{const r=e[Symbol.asyncIterator]();Cr(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ht(e,t){return t?function XI(e,t){if(null!=e){if(Q(e))return function qI(e,t){return bt(e).pipe(Rm(t),Nm(t))}(e,t);if(T(e))return function YI(e,t){return new Qe(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(V(e))return function ZI(e,t){return bt(e).pipe(Rm(t),Nm(t))}(e,t);if(ee(e))return Om(e,t);if(Qn(e))return function QI(e,t){return new Qe(n=>{let r;return Cr(n,t,()=>{r=e[_t](),Cr(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>Re(r?.return)&&r.return()})}(e,t);if(Nn(e))return function KI(e,t){return Om(ei(e),t)}(e,t)}throw ve(e)}(e,t):bt(e)}class un extends cn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function re(...e){return ht(e,Us(e))}function Fm(e={}){const{connector:t=(()=>new cn),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},g=()=>{h(),s=l=void 0,u=d=!1},y=()=>{const C=s;g(),C?.unsubscribe()};return rt((C,I)=>{c++,!d&&!u&&h();const N=l=l??t();I.add(()=>{c--,0===c&&!d&&!u&&(a=kd(y,o))}),N.subscribe(I),!s&&c>0&&(s=new ho({next:S=>N.next(S),error:S=>{d=!0,h(),a=kd(g,n,S),N.error(S)},complete:()=>{u=!0,h(),a=kd(g,r),N.complete()}}),bt(C).subscribe(s))})(i)}}function kd(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new ho({next:()=>{r.unsubscribe(),e()}});return bt(t(...n)).subscribe(r)}function Rn(e,t){return rt((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ke(r,l=>{o?.unsubscribe();let c=0;const u=i++;bt(e(l,u)).subscribe(o=Ke(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function tM(e,t){return e===t}function Pe(e){for(let t in e)if(e[t]===Pe)return t;throw Error("Could not find renamed property on target object.")}function $l(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function at(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(at).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ld(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const nM=Pe({__forward_ref__:Pe});function $e(e){return e.__forward_ref__=$e,e.toString=function(){return at(this())},e}function te(e){return Vl(e)?e():e}function Vl(e){return"function"==typeof e&&e.hasOwnProperty(nM)&&e.__forward_ref__===$e}function $d(e){return e&&!!e.\u0275providers}const km="https://g.co/ng/security#xss";class A extends Error{constructor(t,n){super(function ri(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const zs=Pe({\u0275cmp:Pe}),Vd=Pe({\u0275dir:Pe}),jd=Pe({\u0275pipe:Pe}),Lm=Pe({\u0275mod:Pe}),wr=Pe({\u0275fac:Pe}),Gs=Pe({__NG_ELEMENT_ID__:Pe}),$m=Pe({__NG_ENV_ID__:Pe});function se(e){return"string"==typeof e?e:null==e?"":String(e)}function Bd(e,t){throw new A(-201,!1)}function Jt(e,t){null==e&&function ne(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function _n(e){return{providers:e.providers||[],imports:e.imports||[]}}function jl(e){return Vm(e,Hl)||Vm(e,jm)}function Vm(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bl(e){return e&&(e.hasOwnProperty(Hd)||e.hasOwnProperty(dM))?e[Hd]:null}const Hl=Pe({\u0275prov:Pe}),Hd=Pe({\u0275inj:Pe}),jm=Pe({ngInjectableDef:Pe}),dM=Pe({ngInjectorDef:Pe});var ge=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ge||{});let Ud;function Bm(){return Ud}function en(e){const t=Ud;return Ud=e,t}function Hm(e,t,n){const r=jl(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ge.Optional?null:void 0!==t?t:void Bd(at(e))}const Ve=globalThis;class G{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Y({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ws={},Zd="__NG_DI_FLAG__",Ul="ngTempTokenPath",pM=/\n/gm,zm="__source";let oi;function jr(e){const t=oi;return oi=e,t}function vM(e,t=ge.Default){if(void 0===oi)throw new A(-203,!1);return null===oi?Hm(e,void 0,t):oi.get(e,t&ge.Optional?null:void 0,t)}function J(e,t=ge.Default){return(Bm()||vM)(te(e),t)}function $(e,t=ge.Default){return J(e,zl(t))}function zl(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Yd(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const g=8&r?h:null;if(g&&-1!==Wm(g,c,0)||2&r&&c!==h){if(Fn(r))return!1;s=!0}}}}else{if(!s&&!Fn(r)&&!Fn(l))return!1;if(s&&Fn(l))continue;s=!1,r=l|1&r}}return Fn(r)||s}function Fn(e){return 0==(1&e)}function EM(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Fn(s)&&(t+=Jm(i,o),o=""),r=s,i=i||!Fn(r);n++}return""!==o&&(t+=Jm(i,o)),t}function j(e){return _r(()=>{const t=tv(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Gl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||On.Emulated,styles:e.styles||Ee,_:null,schemas:e.schemas||null,tView:null,id:""};nv(n);const r=e.dependencies;return n.directiveDefs=Wl(r,!1),n.pipeDefs=Wl(r,!0),n.id=function FM(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function NM(e){return he(e)||pt(e)}function RM(e){return null!==e}function kn(e){return _r(()=>({type:e.type,bootstrap:e.bootstrap||Ee,declarations:e.declarations||Ee,imports:e.imports||Ee,exports:e.exports||Ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ev(e,t){if(null==e)return Xn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function ie(e){return _r(()=>{const t=tv(e);return nv(t),t})}function he(e){return e[zs]||null}function pt(e){return e[Vd]||null}function Mt(e){return e[jd]||null}function Ot(e,t){const n=e[Lm]||null;if(!n&&!0===t)throw new Error(`Type ${at(e)} does not have '\u0275mod' property.`);return n}function tv(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Xn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ev(e.inputs,t),outputs:ev(e.outputs),debugInfo:null}}function nv(e){e.features?.forEach(t=>t(e))}function Wl(e,t){if(!e)return null;const n=t?Mt:NM;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(RM)}const Xe=0,k=1,K=2,Ge=3,Ln=4,Ft=5,Jn=6,ii=7,ke=8,Ut=9,si=10,ae=11,Ys=12,rv=13,ai=14,qe=15,Qs=16,li=17,er=18,Ks=19,ov=20,Hr=21,ql=22,go=23,le=25,Kd=1,tr=7,ci=9,ot=10;var ui=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(ui||{});function Tt(e){return Array.isArray(e)&&"object"==typeof e[Kd]}function Et(e){return Array.isArray(e)&&!0===e[Kd]}function Xd(e){return 0!=(4&e.flags)}function mo(e){return e.componentOffset>-1}function Yl(e){return 1==(1&e.flags)}function $n(e){return!!e.template}function Jd(e){return 0!=(512&e[K])}function vo(e,t){return e.hasOwnProperty(wr)?e[wr]:null}class VM{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function fn(){return lv}function lv(e){return e.type.prototype.ngOnChanges&&(e.setInput=BM),jM}function jM(){const e=uv(this),t=e?.current;if(t){const n=e.previous;if(n===Xn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function BM(e,t,n,r){const o=this.declaredInputs[n],i=uv(e)||function HM(e,t){return e[cv]=t}(e,{previous:Xn,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new VM(l&&l.currentValue,t,a===Xn),e[r]=t}fn.ngInherit=!0;const cv="__ngSimpleChanges__";function uv(e){return e[cv]||null}const nr=function(e,t,n){};function je(e){for(;Array.isArray(e);)e=e[Xe];return e}function Js(e,t){return je(t[e])}function zt(e,t){return je(t[e.index])}function ea(e,t){return e.data[t]}function hn(e,t){const n=t[e];return Tt(n)?n:n[Xe]}function sf(e){return 128==(128&e[K])}function rr(e,t){return null==t?null:e[t]}function hv(e){e[li]=0}function qM(e){1024&e[K]||(e[K]|=1024,sf(e)&&Ql(e))}function gv(e){9216&e[K]&&Ql(e)}function Ql(e){let t=e[Ge];for(;null!==t&&!(Et(t)&&t[K]&ui.HasChildViewsToRefresh||Tt(t)&&8192&t[K]);){if(Et(t))t[K]|=ui.HasChildViewsToRefresh;else if(t[K]|=8192,!sf(t))break;t=t[Ge]}}function Kl(e,t){if(256==(256&e[K]))throw new A(911,!1);null===e[Hr]&&(e[Hr]=[]),e[Hr].push(t)}const oe={lFrame:Sv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function vv(){return oe.bindingsEnabled}function fi(){return null!==oe.skipHydrationRootTNode}function E(){return oe.lFrame.lView}function ye(){return oe.lFrame.tView}function Oe(){let e=yv();for(;null!==e&&64===e.type;)e=e.parent;return e}function yv(){return oe.lFrame.currentTNode}function or(e,t){const n=oe.lFrame;n.currentTNode=e,n.isParent=t}function lf(){return oe.lFrame.isParent}function cf(){oe.lFrame.isParent=!1}function ir(){return oe.lFrame.bindingIndex++}function sT(e,t){const n=oe.lFrame;n.bindingIndex=n.bindingRootIndex=e,uf(t)}function uf(e){oe.lFrame.currentDirectiveIndex=e}function ff(e){oe.lFrame.currentQueryIndex=e}function lT(e){const t=e[k];return 2===t.type?t.declTNode:1===t.type?e[Ft]:null}function bv(e,t,n){if(n&ge.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&ge.Host||(o=lT(i),null===o||(i=i[ai],10&o.type))););if(null===o)return!1;t=o,e=i}const r=oe.lFrame=Ev();return r.currentTNode=t,r.lView=e,!0}function hf(e){const t=Ev(),n=e[k];oe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ev(){const e=oe.lFrame,t=null===e?null:e.child;return null===t?Sv(e):t}function Sv(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Iv(){const e=oe.lFrame;return oe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Mv=Iv;function pf(){const e=Iv();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function kt(){return oe.lFrame.selectedIndex}function yo(e){oe.lFrame.selectedIndex=e}function Ue(){const e=oe.lFrame;return ea(e.tView,e.selectedIndex)}let Av=!0;function Xl(){return Av}function Ur(e){Av=e}function Jl(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[li]+=65536),(a>14>16&&(3&e[K])===t&&(e[K]+=16384,Pv(a,i)):Pv(a,i)}const hi=-1;class na{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function vf(e){return e!==hi}function ra(e){return 32767&e}function oa(e,t){let n=function CT(e){return e>>16}(e),r=t;for(;n>0;)r=r[ai],n--;return r}let yf=!0;function nc(e){const t=yf;return yf=e,t}const Nv=255,Rv=5;let wT=0;const sr={};function rc(e,t){const n=Ov(e,t);if(-1!==n)return n;const r=t[k];r.firstCreatePass&&(e.injectorIndex=t.length,Df(r.data,e),Df(t,null),Df(r.blueprint,null));const o=oc(e,t),i=e.injectorIndex;if(vf(o)){const s=ra(o),a=oa(o,t),l=a[k].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function Df(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ov(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function oc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Bv(o),null===r)return hi;if(n++,o=o[ai],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return hi}function Cf(e,t,n){!function _T(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Gs)&&(r=n[Gs]),null==r&&(r=n[Gs]=wT++);const o=r&Nv;t.data[e+(o>>Rv)]|=1<=0?t&Nv:IT:t}(n);if("function"==typeof i){if(!bv(t,e,r))return r&ge.Host?Fv(o,0,r):kv(t,n,r,o);try{let s;if(s=i(r),null!=s||r&ge.Optional)return s;Bd()}finally{Mv()}}else if("number"==typeof i){let s=null,a=Ov(e,t),l=hi,c=r&ge.Host?t[qe][Ft]:null;for((-1===a||r&ge.SkipSelf)&&(l=-1===a?oc(e,t):t[a+8],l!==hi&&jv(r,!1)?(s=t[k],a=ra(l),t=oa(l,t)):a=-1);-1!==a;){const u=t[k];if(Vv(i,a,u.data)){const d=ET(a,t,n,s,r,c);if(d!==sr)return d}l=t[a+8],l!==hi&&jv(r,t[k].data[a+8]===c)&&Vv(i,a,t)?(s=u,a=ra(l),t=oa(l,t)):a=-1}}return o}function ET(e,t,n,r,o,i){const s=t[k],a=s.data[e+8],u=function ic(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let g=r?a:a+u;g=l&&y.type===n)return g}if(o){const g=s[l];if(g&&$n(g)&&g.type===n)return l}return null}(a,s,n,null==r?mo(a)&&yf:r!=s&&0!=(3&a.type),o&ge.Host&&i===a);return null!==u?Do(t,s,u,a):sr}function Do(e,t,n,r){let o=e[n];const i=t.data;if(function mT(e){return e instanceof na}(o)){const s=o;s.resolving&&function oM(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new A(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Me(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():se(e)}(i[n]));const a=nc(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?en(s.injectImpl):null;bv(e,r,ge.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function pT(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=lv(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&en(c),nc(a),s.resolving=!1,Mv()}}return o}function Vv(e,t,n){return!!(n[t+(e>>Rv)]&1<{const t=e.prototype.constructor,n=t[wr]||wf(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[wr]||wf(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function wf(e){return Vl(e)?()=>{const t=wf(te(e));return t&&t()}:vo(e)}function Bv(e){const t=e[k],n=t.type;return 2===n?t.declTNode:1===n?e[Ft]:null}const vi="__parameters__";function Di(e,t,n){return _r(()=>{const r=function _f(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(vi)?l[vi]:Object.defineProperty(l,vi,{value:[]})[vi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function wi(e,t){e.forEach(n=>Array.isArray(n)?wi(n,t):t(n))}function Uv(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ac(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function sa(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function zv(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Ef(e,t){const n=_i(e,t);if(n>=0)return e[1|n]}function _i(e,t){return function Gv(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return wi(t,s=>{const a=s;hc(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Xv(o,i),n}function Xv(e,t){for(let n=0;n{t(i,r)})}}function hc(e,t,n,r){if(!(e=te(e)))return!1;let o=null,i=Bl(e);const s=!i&&he(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Bl(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)hc(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{wi(i.imports,u=>{hc(u,t,n,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Xv(c,t)}if(!a){const c=vo(o)||(()=>new o);t({provide:o,useFactory:c,deps:Ee},o),t({provide:Mf,useValue:o,multi:!0},o),t({provide:Ei,useValue:()=>J(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;Tf(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function Tf(e,t){for(let n of e)$d(n)&&(n=n.\u0275providers),Array.isArray(n)?Tf(n,t):t(n)}const QT=Pe({provide:String,useValue:Pe});function Af(e){return null!==e&&"object"==typeof e&&QT in e}function Co(e){return"function"==typeof e}const xf=new G("Set Injector scope."),pc={},XT={};let Pf;function gc(){return void 0===Pf&&(Pf=new fc),Pf}class bn{}class Si extends bn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Rf(t,s=>this.processProvider(s)),this.records.set(Yv,Ii(void 0,this)),o.has("environment")&&this.records.set(bn,Ii(void 0,this));const i=this.records.get(xf);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Mf,Ee,ge.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=jr(this),r=en(void 0);try{return t()}finally{jr(n),en(r)}}get(t,n=Ws,r=ge.Default){if(this.assertNotDestroyed(),t.hasOwnProperty($m))return t[$m](this);r=zl(r);const i=jr(this),s=en(void 0);try{if(!(r&ge.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function rA(e){return"function"==typeof e||"object"==typeof e&&e instanceof G}(t)&&jl(t);l=c&&this.injectableDefInScope(c)?Ii(Nf(t),pc):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&ge.Self?gc():this.parent).get(t,n=r&ge.Optional&&n===Ws?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[Ul]=a[Ul]||[]).unshift(at(t)),i)throw a;return function DM(e,t,n,r){const o=e[Ul];throw t[zm]&&o.unshift(t[zm]),e.message=function CM(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=at(t);if(Array.isArray(t))o=t.map(at).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):at(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(pM,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Ul]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{en(s),jr(i)}}resolveInjectorInitializers(){const t=jr(this),n=en(void 0);try{const o=this.get(Ei,Ee,ge.Self);for(const i of o)i()}finally{jr(t),en(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(at(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new A(205,!1)}processProvider(t){let n=Co(t=te(t))?t:te(t&&t.provide);const r=function eA(e){return Af(e)?Ii(void 0,e.useValue):Ii(ty(e),pc)}(t);if(Co(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Ii(void 0,pc,!0),o.factory=()=>Yd(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===pc&&(n.value=XT,n.value=n.factory()),"object"==typeof n.value&&n.value&&function nA(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=te(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Nf(e){const t=jl(e),n=null!==t?t.factory:vo(e);if(null!==n)return n;if(e instanceof G)throw new A(204,!1);if(e instanceof Function)return function JT(e){const t=e.length;if(t>0)throw sa(t,"?"),new A(204,!1);const n=function uM(e){return e&&(e[Hl]||e[jm])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new A(204,!1)}function ty(e,t,n){let r;if(Co(e)){const o=te(e);return vo(o)||Nf(o)}if(Af(e))r=()=>te(e.useValue);else if(function ey(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Yd(e.deps||[]));else if(function Jv(e){return!(!e||!e.useExisting)}(e))r=()=>J(te(e.useExisting));else{const o=te(e&&(e.useClass||e.provide));if(!function tA(e){return!!e.deps}(e))return vo(o)||Nf(o);r=()=>new o(...Yd(e.deps))}return r}function Ii(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Rf(e,t){for(const n of e)Array.isArray(n)?Rf(n,t):n&&$d(n)?Rf(n.\u0275providers,t):t(n)}function iy(e,t=null,n=null,r){const o=sy(e,t,n,r);return o.resolveInjectorInitializers(),o}function sy(e,t=null,n=null,r,o=new Set){const i=[n||Ee,YT(e)];return r=r||("object"==typeof e?void 0:at(e)),new Si(i,t||gc(),r||null,o)}let kf,rn=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ws;static#t=this.NULL=new fc;static create(n,r){if(Array.isArray(n))return iy({name:""},r,n,"");{const o=n.name??"";return iy({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=Y({token:e,providedIn:"any",factory:()=>J(Yv)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const vc=new G("AppId",{providedIn:"root",factory:()=>hA}),hA="ng",ly=new G("Platform Initializer"),Mi=new G("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),cy=new G("CSP nonce",{providedIn:"root",factory:()=>function Gr(){if(void 0!==kf)return kf;if(typeof document<"u")return document;throw new A(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function gn(e){return e instanceof Function?e():e}function wc(e){return 128==(128&e.flags)}var Zr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Zr||{});const bA=/^>|^->||--!>|)/g,SA="\u200b$1\u200b";const Bf=new Map;let IA=0;const Uf="__ngContext__";function Lt(e,t){Tt(t)?(e[Uf]=t[Ks],function TA(e){Bf.set(e[Ks],e)}(t)):e[Uf]=t}let zf;function Gf(e,t){return zf(e,t)}function fa(e){const t=e[Ge];return Et(t)?t[Ge]:t}function My(e){return Ay(e[Ys])}function Ty(e){return Ay(e[Ln])}function Ay(e){for(;null!==e&&!Et(e);)e=e[Ln];return e}function Ai(e,t,n,r,o){if(null!=r){let i,s=!1;Et(r)?i=r:Tt(r)&&(s=!0,r=r[Xe]);const a=je(r);0===e&&null!==n?null==o?Ry(t,n,a):wo(t,n,a,o||null,!0):1===e&&null!==n?wo(t,n,a,o||null,!0):2===e?function Tc(e,t,n){const r=Ic(e,t);r&&function qA(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function QA(e,t,n,r,o){const i=n[tr];i!==je(n)&&Ai(t,e,r,i,o);for(let a=ot;at.replace(EA,SA))}(t))}function Ec(e,t,n){return e.createElement(t,n)}function Py(e,t){const n=e[ci],r=n.indexOf(t);n.splice(r,1)}function ha(e,t){if(e.length<=ot)return;const n=ot+t,r=e[n];if(r){const o=r[Qs];null!==o&&o!==e&&Py(o,r),t>0&&(e[n-1][Ln]=r[Ln]);const i=ac(e,ot+t);!function VA(e,t){ga(e,t,t[ae],2,null,null),t[Xe]=null,t[Ft]=null}(r[k],r);const s=i[er];null!==s&&s.detachView(i[k]),r[Ge]=null,r[Ln]=null,r[K]&=-129}return r}function Sc(e,t){if(!(256&t[K])){const n=t[ae];t[go]&&function _e(e){if(Dt(e),nt(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[ii]=null);const o=t[Hr];if(null!==o){t[Hr]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===On.None||i===On.Emulated)return null}return zt(r,n)}}(e,t.parent,n)}function wo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ry(e,t,n){e.appendChild(t,n)}function Oy(e,t,n,r,o){null!==r?wo(e,t,n,r,o):Ry(e,t,n)}function Ic(e,t){return e.parentNode(t)}function Fy(e,t,n){return Ly(e,t,n)}let Yf,xc,Ly=function ky(e,t,n){return 40&e.type?zt(e,n):null};function Mc(e,t,n,r){const o=Zf(e,r,t),i=t[ae],a=Fy(r.parent||t[Ft],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return xc}()?.createScriptURL(e)||e}class qy{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${km})`}}function Yr(e){return e instanceof qy?e.changingThisBreaksApplicationSecurity:e}function ma(e,t){const n=function ax(e){return e instanceof qy&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${km})`)}return n===t}const dx=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Pi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Pi||{});function oh(e){const t=ya();return t?t.sanitize(Pi.URL,e)||"":ma(e,"URL")?Yr(e):function eh(e){return(e=String(e)).match(dx)?e:"unsafe:"+e}(se(e))}function eD(e){const t=ya();if(t)return Wy(t.sanitize(Pi.RESOURCE_URL,e)||"");if(ma(e,"ResourceURL"))return Wy(Yr(e));throw new A(904,!1)}function ya(){const e=E();return e&&e[si].sanitizer}let nD=(e,t,n)=>null;function fh(e,t,n=!1){return nD(e,t,n)}class Nx{}class iD{}class Ox{resolveComponentFactory(t){throw function Rx(e){const t=Error(`No component factory found for ${at(e)}.`);return t.ngComponent=e,t}(t)}}let Lc=(()=>{class e{static#e=this.NULL=new Ox}return e})();function Fx(){return Oi(Oe(),E())}function Oi(e,t){return new sn(zt(e,t))}let sn=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=Fx}return e})();class aD{}let Ir=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Lx(){const e=E(),n=hn(Oe().index,e);return(Tt(n)?n:e)[ae]}()}return e})(),$x=(()=>{class e{static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:()=>null})}return e})();class wa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Vx=new wa("17.0.4"),gh={};function $c(e){return!!mh(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function mh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class cD{constructor(){}supports(t){return $c(t)}create(t){return new zx(t)}}const Ux=(e,t)=>t;class zx{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ux}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),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,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Gx(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new uD),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new uD),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Gx{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Wx{constructor(){this._head=null,this._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,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class uD{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Wx,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function dD(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new Zx(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_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,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,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,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class Zx{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function hD(){return new Vc([new cD])}let Vc=(()=>{class e{static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:hD});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||hD()),deps:[[e,new uc,new cc]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new A(901,!1)}}return e})();function pD(){return new _a([new fD])}let _a=(()=>{class e{static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:pD});constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||pD()),deps:[[e,new uc,new cc]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new A(901,!1)}}return e})();function ba(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(je(i)),Et(i)&&gD(i,r);const s=n.type;if(8&s)ba(e,t,n.child,r);else if(32&s){const a=Gf(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=Vy(t,n);if(Array.isArray(a))r.push(...a);else{const l=fa(t[qe]);ba(l[k],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function gD(e,t){for(let n=ot;n!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ql(e.lView)},consumerOnSignalRead(){this.lView[go]=this}};function vh(e){return e.ngOriginalError}class Mr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&vh(t);for(;n&&vh(n);)n=vh(n);return n||null}}const DD=new G("",{providedIn:"root",factory:()=>!1}),ue={};function B(e){bD(ye(),E(),kt()+e,!1)}function bD(e,t,n,r){if(!r)if(3==(3&t[K])){const i=e.preOrderCheckHooks;null!==i&&ec(t,i,n)}else{const i=e.preOrderHooks;null!==i&&tc(t,i,0,n)}yo(n)}function R(e,t=ge.Default){const n=E();return null===n?J(e,t):Lv(Oe(),n,te(e),t)}function Bc(e,t,n,r,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[Xe]=o,d[K]=140|r,(null!==c||e&&2048&e[K])&&(d[K]|=2048),hv(d),d[Ge]=d[ai]=e,d[ke]=n,d[si]=s||e&&e[si],d[ae]=a||e&&e[ae],d[Ut]=l||e&&e[Ut]||null,d[Ft]=i,d[Ks]=function MA(){return IA++}(),d[Jn]=u,d[ov]=c,d[qe]=2==t.type?e[qe]:d,d}function Fi(e,t,n,r,o){let i=e.data[t];if(null===i)i=function yh(e,t,n,r,o){const i=yv(),s=lf(),l=e.data[t]=function f1(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return fi()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function iT(){return oe.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function ta(){const e=oe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return or(i,!0),i}function Ea(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;ile&&bD(e,t,le,!1),nr(s?2:0,o),n(r,o)}finally{yo(i),nr(s?3:1,o)}}function Dh(e,t,n){if(Xd(t)){const r=me(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function TD(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?AD(n,t,o,i):r.hasOwnProperty(o)&&AD(n,t,r[o],i)}return n}function AD(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function bh(e,t,n,r){if(vv()){const o=null===r?null:{"":-1},i=function w1(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Ea(e,n,o.hostVars,ue),o)}function ar(e,t,n,r,o,i){const s=zt(e,t);!function Sh(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?se(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[ae],s,i,e.value,n,r,o)}function M1(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function Xx(e){e.lView[go]!==e&&(e.lView=null,mD.push(e))}(a)),pf()}}function VD(e,t){for(let n=My(e);null!==n;n=Ty(n)){n[K]&=~ui.HasChildViewsToRefresh;for(let r=ot;r-1&&(ha(t,r),ac(n,r))}this._attachedToViewContainer=!1}Sc(this._lView[k],this._lView)}onDestroy(t){Kl(this._lView,t)}markForCheck(){Sa(this._cdRefInjectingView||this._lView)}detach(){this._lView[K]&=-129}reattach(){gv(this._lView),this._lView[K]|=128}detectChanges(){!function Th(e,t=!0){const n=e[si],r=n.rendererFactory,o=n.afterRenderEventManager;r.begin?.(),o?.begin();try{const s=e[k];$D(s,e,s.template,e[ke]),function x1(e){let t=0;for(;9216&e[K]||e[go]?.dirty;){if(100===t)throw new A(103,!1);t++,BD(e,1)}}(e)}catch(s){throw t&&Uc(e,s),s}finally{r.end?.(),n.inlineEffectRunner?.flush(),o?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function BA(e,t){ga(e,t,t[ae],2,null,null)}(this._lView[k],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=t}}let ki=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=O1}return e})();function O1(e){return function F1(e,t,n){if(mo(e)&&!n){const r=hn(e.index,t);return new Ia(r,r)}return 47&e.type?new Ia(t[qe],t):null}(Oe(),E(),16==(16&e))}let zc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=V1;static#t=this.__NG_ENV_ID__=n=>n}return e})();class $1 extends zc{constructor(t){super(),this._lView=t}onDestroy(t){return Kl(this._lView,t),()=>function af(e,t){if(null===e[Hr])return;const n=e[Hr].indexOf(t);-1!==n&&e[Hr].splice(n,1)}(this._lView,t)}}function V1(){return new $1(E())}const UD=new Set;function _o(e){UD.has(e)||(UD.add(e),performance?.mark?.("mark_use_counter",{detail:{feature:e}}))}function Ah(e){return t=>{setTimeout(e,void 0,t)}}const X=class W1 extends cn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Ah(i),o&&(o=Ah(o)),s&&(s=Ah(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Ct&&t.add(a),a}};function zD(...e){}class Ne{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new X(!1),this.onMicrotaskEmpty=new X(!1),this.onStable=new X(!1),this.onError=new X(!1),typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function q1(){const e="function"==typeof Ve.requestAnimationFrame;let t=Ve[e?"requestAnimationFrame":"setTimeout"],n=Ve[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Q1(e){const t=()=>{!function Y1(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ve,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ph(e),e.isCheckStableRunning=!0,xh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ph(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function X1(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return GD(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),WD(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return GD(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),WD(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ph(e),xh(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ne.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(Ne.isInAngularZone())throw new A(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Z1,zD,zD);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Z1={};function xh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ph(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function GD(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function WD(e){e._nesting--,xh(e)}class K1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new X,this.onMicrotaskEmpty=new X,this.onStable=new X,this.onError=new X}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const qD=new G("",{providedIn:"root",factory:ZD});function ZD(){const e=$(Ne);let t=!0;return function JI(...e){const t=Us(e),n=function WI(e,t){return"number"==typeof Fd(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?bt(r[0]):ni(n)(ht(r,t)):Kn}(new Qe(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Qe(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Fm()))}var bo=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(bo||{});const YD={destroy(){}};function KD(e,t){!t&&function Of(e){if(!Bm()&&!function mM(){return oi}())throw new A(-203,!1)}();const n=t?.injector??$(rn);if(!function Wr(e){return"browser"===(e??$(rn)).get(Mi)}(n))return YD;_o("NgAfterNextRender");const r=n.get(Gc),o=r.handler??=new JD,i=t?.phase??bo.MixedReadWrite,s=()=>{o.unregister(l),a()},a=n.get(zc).onDestroy(s),l=new XD(n,i,()=>{s(),e()});return o.register(l),{destroy:s}}class XD{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(Ne),this.errorHandler=t.get(Mr,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class JD{constructor(){this.executingCallbacks=!1,this.buckets={[bo.EarlyRead]:new Set,[bo.Write]:new Set,[bo.MixedReadWrite]:new Set,[bo.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new A(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Gc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:()=>new e})}return e})();function eP(e,t){const n=hn(t,e),r=n[k];!function tP(e,t){for(let n=t.length;n0&&Hy(e,n,i.join(" "))}}(d,et,g,r),void 0!==n&&function dP(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Zs(o.hostAttrs,n=Zs(n,o.hostAttrs))}}(r)}function qc(e){return e===Xn?{}:e===Ee?[]:e}function pP(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function gP(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function mP(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function sC(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function lt(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function cr(e,t,n,r){const o=E();return lt(o,ir(),t)&&(ye(),ar(Ue(),o,e,t,n,r)),cr}function Yc(e,t){return e<<17|t<<2}function Qr(e){return e>>17&32767}function Rh(e){return 2|e}function So(e){return(131068&e)>>2}function Oh(e,t){return-131069&e|t<<2}function Fh(e){return 1|e}function mC(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Qr(i):So(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];MP(e[a],t)&&(l=!0,e[a+1]=r?Fh(u):Rh(u)),a=r?Qr(u):So(u)}l&&(e[n+1]=r?Rh(i):Fh(i))}function MP(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&_i(e,t)>=0}const vt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vC(e){return e.substring(vt.key,vt.keyEnd)}function TP(e){return e.substring(vt.value,vt.valueEnd)}function DC(e,t){const n=vt.textEnd;let r=vt.key=Wi(e,t,n);return n===r?-1:(r=vt.keyEnd=function NP(e,t,n){let r;for(;t=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=wC(e,r,n),r=vt.value=Wi(e,r,n),r=vt.valueEnd=function RP(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s32&&(a=s),i=o,o=r,r=-33&l}return a}(e,r,n),wC(e,r,n))}function Wi(e,t,n){for(;t0)&&(c=!0)):u=n,o)if(0!==l){const h=Qr(e[a+1]);e[r+1]=Yc(h,a),0!==h&&(e[h+1]=Oh(e[h+1],r)),e[a+1]=function bP(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Yc(a,0),0!==a&&(e[a+1]=Oh(e[a+1],r)),a=r;else e[r+1]=Yc(l,0),0===a?a=r:e[l+1]=Oh(e[l+1],r),l=r;c&&(e[r+1]=Rh(e[r+1])),mC(e,u,r,!0),mC(e,u,r,!1),function IP(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&_i(i,t)>=0&&(n[r+1]=Fh(n[r+1]))}(t,u,e,r,i),s=Yc(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(o,null,i,r);const s=E();if(n!==ue&<(s,i,n)){const a=o.data[kt()];if(AC(a,r)&&!EC(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Ld(l,n||"")),kh(o,a,s,n,r)}else!function HP(e,t,n,r,o,i,s,a){o===ue&&(o=Ee);let l=0,c=0,u=0=0;n=DC(t,n))IC(e,vC(t),TP(t))}function EC(e,t){return t>=e.expandoStartIndex}function Lh(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=n[o+1];h===ue&&(h=d?Ee:void 0);let g=d?Ef(h,r):u===r?h:void 0;if(c&&!Kc(g)&&(g=Ef(l,r)),Kc(g)&&(a=g,s))return a;const y=e[o+1];o=s?Qr(y):So(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Ef(l,r))}return a}function Kc(e){return void 0!==e}function AC(e,t){return 0!=(e.flags&(t?8:16))}function Zi(e,t){return!t||wc(e)}function Oa(e,t,n,r=!0){const o=t[k];if(function UA(e,t,n,r){const o=ot+r,i=n.length;r>0&&(n[o-1][Ln]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=bN}return e})();function bN(){return function HC(e,t){let n;const r=t[e.index];return Et(r)?n=r:(n=RD(r,t,null,e),t[e.index]=n,Hc(t,n)),UC(n,t,e,r),new jC(n,e,t)}(Oe(),E())}const EN=Hn,jC=class extends EN{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Oi(this._hostTNode,this._hostLView)}get injector(){return new gt(this._hostTNode,this._hostLView)}get parentInjector(){const t=oc(this._hostTNode,this._hostLView);if(vf(t)){const n=oa(t,this._hostLView),r=ra(t);return new gt(n[k].data[r+8],n)}return new gt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=BC(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ot}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,Zi(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function ia(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const y=n||{};a=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef}const l=s?t:new Ma(he(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const C=(s?c:this.parentInjector).get(bn,null);C&&(i=C)}he(l.componentType??{});const g=l.create(c,o,null,i);return this.insertImpl(g.hostView,a,Zi(this._hostTNode,null)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function WM(e){return Et(e[Ge])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=o[Ge],c=new jC(l,l[Ft],l[Ge]);c.detach(c.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return Oa(s,o,i,r),t.attachToViewContainerRef(),Uv(Wh(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=BC(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ha(this._lContainer,n);r&&(ac(Wh(this._lContainer),n),Sc(r[k],r))}detach(t){const n=this._adjustIndex(t,-1),r=ha(this._lContainer,n);return r&&null!=ac(Wh(this._lContainer),n)?new Ia(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function BC(e){return e[8]}function Wh(e){return e[8]||(e[8]=[])}let UC=function GC(e,t,n,r){if(e[tr])return;let o;o=8&n.type?je(r):function SN(e,t){const n=e[ae],r=n.createComment(""),o=zt(t,e);return wo(n,Ic(n,o),r,function ZA(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[tr]=o},qh=(e,t,n)=>!1;function At(e,t,n,r,o,i,s,a){const l=E(),c=ye(),u=e+le,d=c.firstCreatePass?function AN(e,t,n,r,o,i,s,a,l){const c=t.consts,u=Fi(t,e,4,s||null,rr(c,a));bh(t,n,u,rr(c,l)),Jl(t,u);const d=u.tView=_h(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,o,i,s):c.data[u];or(d,!1);const h=WC(c,l,d,e);Xl()&&Mc(c,l,h,d),Lt(h,l);const g=RD(h,l,h,d);return l[u]=g,Hc(l,g),function zC(e,t,n){return qh(e,t,n)}(g,d,l),Yl(d)&&Ch(c,l,d),null!=s&&wh(l,d,a),At}let WC=function qC(e,t,n,r){return Ur(!0),t[ae].createComment("")};function P(e,t,n,r){const o=E(),i=ye(),s=le+e,a=o[ae],l=i.firstCreatePass?function yR(e,t,n,r,o,i){const s=t.consts,l=Fi(t,e,2,r,rr(s,o));return bh(t,n,l,rr(s,i)),null!==l.attrs&&Wc(l,l.attrs,!1),null!==l.mergedAttrs&&Wc(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],c=mw(i,o,l,a,t,e);o[s]=c;const u=Yl(l);return or(l,!0),Uy(a,c,l),32!=(32&l.flags)&&Xl()&&Mc(i,o,c,l),0===function ZM(){return oe.lFrame.elementDepthCount}()&&Lt(c,o),function YM(){oe.lFrame.elementDepthCount++}(),u&&(Ch(i,o,l),Dh(i,l,o)),null!==r&&wh(o,l),P}function F(){let e=Oe();lf()?cf():(e=e.parent,or(e,!1));const t=e;(function KM(e){return oe.skipHydrationRootTNode===e})(t)&&function tT(){oe.skipHydrationRootTNode=null}(),function QM(){oe.lFrame.elementDepthCount--}();const n=ye();return n.firstCreatePass&&(Jl(n,e),Xd(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function yT(e){return 0!=(8&e.flags)}(t)&&kh(n,t,E(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function DT(e){return 0!=(16&e.flags)}(t)&&kh(n,t,E(),t.stylesWithoutHost,!1),F}function De(e,t,n,r){return P(e,t,n,r),F(),De}let mw=(e,t,n,r,o,i)=>(Ur(!0),Ec(r,o,function Tv(){return oe.lFrame.currentNamespace}()));function Mo(e,t,n){const r=E(),o=ye(),i=e+le,s=o.firstCreatePass?function wR(e,t,n,r,o){const i=t.consts,s=rr(i,r),a=Fi(t,e,8,"ng-container",s);return null!==s&&Wc(a,s,!0),bh(t,n,a,rr(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];or(s,!0);const a=yw(o,r,s,e);return r[i]=a,Xl()&&Mc(o,r,a,s),Lt(a,r),Yl(s)&&(Ch(o,r,s),Dh(o,s,r)),null!=n&&wh(r,s),Mo}function To(){let e=Oe();const t=ye();return lf()?cf():(e=e.parent,or(e,!1)),t.firstCreatePass&&(Jl(t,e),Xd(e)&&t.queries.elementEnd(e)),To}let yw=(e,t,n,r)=>(Ur(!0),Wf(t[ae],""));const ns="en-US";let bw=ns;function Ua(e){return!!e&&"function"==typeof e.then}function Zw(e){return!!e&&"function"==typeof e.subscribe}function we(e,t,n,r){const o=E(),i=ye(),s=Oe();return function Qw(e,t,n,r,o,i,s){const a=Yl(r),c=e.firstCreatePass&&function kD(e){return e.cleanup||(e.cleanup=[])}(e),u=t[ke],d=function FD(e){return e[ii]||(e[ii]=[])}(t);let h=!0;if(3&r.type||s){const C=zt(r,t),I=s?s(C):C,N=d.length,S=s?de=>s(je(de[r.index])):r.index;let Z=null;if(!s&&a&&(Z=function wO(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==Z)(Z.__ngLastListenerFn__||Z).__ngNextListenerFn__=i,Z.__ngLastListenerFn__=i,h=!1;else{i=Xw(r,t,u,i,!1);const de=n.listen(I,o,i);d.push(i,de),c&&c.push(o,S,N,N+1)}}else i=Xw(r,t,u,i,!1);const g=r.outputs;let y;if(h&&null!==g&&(y=g[o])){const C=y.length;if(C)for(let I=0;I-1?hn(e.index,t):t);let l=Kw(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)l=Kw(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function In(e=1){return function cT(e){return(oe.lFrame.contextLView=function pv(e,t){for(;e>0;)t=t[ai],e--;return t}(e,oe.lFrame.contextLView))[ke]}(e)}function _O(e,t){let n=null;const r=function SM(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o(Ur(!0),function bc(e,t){return e.createText(t)}(t[ae],r));function qt(e){return rs("",e,""),qt}function rs(e,t,n){const r=E(),o=function $i(e,t,n,r){return lt(e,ir(),n)?t+se(n)+r:ue}(r,e,t,n);return o!==ue&&function Tr(e,t,n){const r=Js(t,e);!function xy(e,t,n){e.setValue(t,n)}(e[ae],r,n)}(r,kt(),o),rs}function ap(e,t,n,r,o){if(e=te(e),Array.isArray(e))for(let i=0;i>20;if(Co(e)||!e.multi){const g=new na(c,o,R),y=cp(l,t,o?u:u+h,d);-1===y?(Cf(rc(a,s),i,l),lp(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(g),s.push(g)):(n[y]=g,s[y]=g)}else{const g=cp(l,t,u+h,d),y=cp(l,t,u,u+h),I=y>=0&&n[y];if(o&&!I||!o&&!(g>=0&&n[g])){Cf(rc(a,s),i,l);const N=function VO(e,t,n,r,o){const i=new na(e,n,R);return i.multi=[],i.index=t,i.componentProviders=0,I_(i,o,r&&!n),i}(o?$O:LO,n.length,o,r,c);!o&&I&&(n[y].providerFactory=N),lp(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else lp(i,e,g>-1?g:y,I_(n[o?y:g],c,!o&&r));!o&&r&&I&&n[y].componentProviders++}}}function lp(e,t,n,r){const o=Co(t),i=function KT(e){return!!e.useClass}(t);if(o||i){const l=(i?te(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function I_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function cp(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function kO(e,t,n){const r=ye();if(r.firstCreatePass){const o=$n(e);ap(n,r.data,r.blueprint,o,!0),ap(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class xo{}class M_{}class dp extends xo{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new eC(this);const o=Ot(t);this._bootstrapComponents=gn(o.bootstrap),this._r3Injector=sy(t,n,[{provide:xo,useValue:this},{provide:Lc,useValue:this.componentFactoryResolver},...r],at(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class fp extends M_{constructor(t){super(),this.moduleType=t}create(t){return new dp(this.moduleType,t,[])}}class T_ extends xo{constructor(t){super(),this.componentFactoryResolver=new eC(this),this.instance=null;const n=new Si([...t.providers,{provide:xo,useValue:this},{provide:Lc,useValue:this.componentFactoryResolver}],t.parent||gc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function hp(e,t,n=null){return new T_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let HO=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Kv(0,n.type),o=r.length>0?hp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Y({token:e,providedIn:"environment",factory:()=>new e(J(bn))})}return e})();function A_(e){_o("NgStandalone"),e.getStandaloneInjector=t=>t.get(HO).getOrCreateStandaloneInjector(e)}function L_(e,t,n,r){return function $_(e,t,n,r,o,i){const s=t+n;return lt(e,s,o)?function lr(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function za(e,t){const n=e[t];return n===ue?void 0:n}(e,s+1)}(E(),function Gt(){const e=oe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}Symbol;let Ar=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=yF}return e})();const mF=Ar,vF=class extends mF{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function Ra(e,t,n,r){const o=t.tView,a=Bc(e,o,n,4096&e[K]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Qs]=e[t.index];const c=e[er];return null!==c&&(a[er]=c.createEmbeddedView(o)),Nh(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Ia(o)}};function yF(){return function hu(e,t){return 4&e.type?new vF(t,e,Oi(e,t)):null}(Oe(),E())}const Sp=new G("Application Initializer");let Ip=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=$(Sp,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Ua(i))n.push(i);else if(Zw(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const xr=new G("LocaleId",{providedIn:"root",factory:()=>$(xr,ge.Optional|ge.SkipSelf)||function ZF(){return typeof $localize<"u"&&$localize.locale||ns}()});let pb=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new un(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class ek{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let gb=(()=>{class e{compileModuleSync(n){return new fp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=gn(Ot(n).declarations).reduce((s,a)=>{const l=he(a);return l&&s.push(new Ma(l)),s},[]);return new ek(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Cb=new G(""),mu=new G("");let xp,Tp=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,xp||(function Sk(e){xp=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(J(Ne),J(Ap),J(mu))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})(),Ap=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return xp?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Xr=null;const wb=new G("AllowMultipleToken"),Pp=new G("PlatformDestroyListeners"),Np=new G("appBootstrapListener");function Eb(e,t,n=[]){const r=`Platform: ${t}`,o=new G(r);return(i=[])=>{let s=Rp();if(!s||s.injector.get(wb,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function Tk(e){if(Xr&&!Xr.get(wb,!1))throw new A(400,!1);(function _b(){!function Dd(e){Uo=e}(()=>{throw new A(600,!1)})})(),Xr=e;const t=e.get(Ib);(function bb(e){e.get(ly,null)?.forEach(n=>n())})(e)}(function Sb(e=[],t){return rn.create({name:t,providers:[{provide:xf,useValue:"platform"},{provide:Pp,useValue:new Set([()=>Xr=null])},...e]})}(a,r))}return function xk(e){const t=Rp();if(!t)throw new A(401,!1);return t}()}}function Rp(){return Xr?.get(Ib)??null}let Ib=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function Pk(e="zone.js",t){return"noop"===e?new K1:"zone.js"===e?new Ne(t):e}(r?.ngZone,function Mb(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function BO(e,t,n){return new dp(e,t,n)}(n.moduleType,this.injector,function Nb(e){return[{provide:Ne,useFactory:e},{provide:Ei,multi:!0,useFactory:()=>{const t=$(Rk,{optional:!0});return()=>t.initialize()}},{provide:Pb,useFactory:Nk},{provide:qD,useFactory:ZD}]}(()=>o)),s=i.injector.get(Mr,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{vu(this._modules,i),a.unsubscribe()})}),function Tb(e,t,n){try{const r=n();return Ua(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Ip);return a.runInitializers(),a.donePromise.then(()=>(function Ew(e){Jt(e,"Expected localeId to be defined"),"string"==typeof e&&(bw=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(xr,ns)||ns),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=Ab({},r);return function Ik(e,t,n){const r=new fp(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ss);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new A(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new A(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Pp,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(J(rn))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ab(e,t){return Array.isArray(t)?t.reduce(Ab,e):{...e,...t}}let ss=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=$(Pb),this.zoneIsStable=$(qD),this.componentTypes=[],this.components=[],this.isStable=$(pb).hasPendingTasks.pipe(Rn(n=>n?re(!1):this.zoneIsStable),function eM(e,t=xn){return e=e??tM,rt((n,r)=>{let o,i=!0;n.subscribe(Ke(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Fm()),this._injector=$(bn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof iD;if(!this._injector.get(Ip).done)throw!o&&function Br(e){const t=he(e)||pt(e)||Mt(e);return null!==t&&t.standalone}(n),new A(405,!1);let s;s=o?n:this._injector.get(Lc).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function Mk(e){return e.isBoundToModule}(s)?void 0:this._injector.get(xo),c=s.create(rn.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Cb,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),vu(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new A(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;vu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Np,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>vu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new A(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Pb=new G("",{providedIn:"root",factory:()=>$(Mr).handleError.bind(void 0)});function Nk(){const e=$(Ne),t=$(Mr);return n=>e.runOutsideAngular(()=>t.handleError(n))}let Rk=(()=>{class e{constructor(){this.zone=$(Ne),this.applicationRef=$(ss)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const jk=Eb(null,"core",[]);let Bk=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(J(ss))};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=_n({})}return e})();function ls(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Up=null;function Jr(){return Up}class dL{}const vn=new G("DocumentToken");let zp=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>$(hL),providedIn:"platform"})}return e})();const fL=new G("Location Initialized");let hL=(()=>{class e extends zp{constructor(){super(),this._doc=$(vn),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Jr().getBaseHref(this._doc)}onPopState(n){const r=Jr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Jr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Gp(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function tE(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Pr(e){return e&&"?"!==e[0]?"?"+e:e}let No=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>$(rE),providedIn:"root"})}return e})();const nE=new G("appBaseHref");let rE=(()=>{class e extends No{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??$(vn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Gp(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Pr(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Pr(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Pr(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(J(zp),J(nE,8))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pL=(()=>{class e extends No{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Gp(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Pr(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Pr(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(J(zp),J(nE,8))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})(),Qa=(()=>{class e{constructor(n){this._subject=new X,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function vL(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(tE(oE(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Pr(r))}normalize(n){return e.stripTrailingSlash(function mL(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,oE(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pr(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pr(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=Pr;static#t=this.joinWithSlash=Gp;static#n=this.stripTrailingSlash=tE;static#r=this.\u0275fac=function(r){return new(r||e)(J(No))};static#o=this.\u0275prov=Y({token:e,factory:()=>function gL(){return new Qa(J(No))}(),providedIn:"root"})}return e})();function oE(e){return e.replace(/\/index.html$/,"")}class o${constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}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 Fu=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new o$(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),gE(a,o)}});for(let o=0,i=r.length;o{gE(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(R(Hn),R(Ar),R(Vc))};static#t=this.\u0275dir=ie({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function gE(e,t){e.context.$implicit=t.item}let ku=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new i$,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){mE("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){mE("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(R(Hn),R(Ar))};static#t=this.\u0275dir=ie({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class i${constructor(){this.$implicit=null,this.ngIf=null}}function mE(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${at(t)}'.`)}class ng{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Lu=(()=>{class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){const r=n===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(const r of this._defaultViews)r.enforceState(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=ie({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return e})(),vE=(()=>{class e{constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new ng(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(r){return new(r||e)(R(Hn),R(Ar),R(Lu,9))};static#t=this.\u0275dir=ie({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return e})(),DE=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:Zr.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static#e=this.\u0275fac=function(r){return new(r||e)(R(sn),R(_a),R(Ir))};static#t=this.\u0275dir=ie({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),P$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=_n({})}return e})();function _E(e){return"server"===e}let F$=(()=>{class e{static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:()=>new k$(J(vn),window)})}return e})();class k${constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function L$(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class a2 extends dL{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ag extends a2{static makeCurrent(){!function uL(e){Up||(Up=e)}(new ag)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||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,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function l2(){return el=el||document.querySelector("base"),el?el.getAttribute("href"):null}();return null==n?null:function c2(e){ju=ju||document.createElement("a"),ju.setAttribute("href",e);const t=ju.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){el=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function t$(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let ju,el=null,d2=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const lg=new G("EventManagerPlugins");let IE=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new A(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(J(lg),J(Ne))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();class ME{constructor(t){this._doc=t}}const cg="ng-app-id";let TE=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=_E(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${cg}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(cg),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(cg,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(J(vn),J(vc),J(cy,8),J(Mi))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const ug={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},dg=/%COMP%/g,g2=new G("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function xE(e,t){return t.map(n=>n.replace(dg,e))}let PE=(()=>{class e{constructor(n,r,o,i,s,a,l,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=_E(a),this.defaultRenderer=new fg(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===On.ShadowDom&&(r={...r,encapsulation:On.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof RE?o.applyToHost(n):o instanceof hg&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case On.Emulated:i=new RE(l,c,r,this.appId,u,s,a,d);break;case On.ShadowDom:return new D2(l,c,n,r,s,a,this.nonce,d);default:i=new hg(l,c,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(J(IE),J(TE),J(vc),J(g2),J(vn),J(Mi),J(Ne),J(cy))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();class fg{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(ug[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(NE(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(NE(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new A(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=ug[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=ug[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Zr.DashCase|Zr.Important)?t.style.setProperty(n,r,o&Zr.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Zr.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Jr().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function NE(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class D2 extends fg{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=xE(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class hg extends fg{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?xE(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class RE extends hg{constructor(t,n,r,o,i,s,a,l){const c=o+"-"+r.id;super(t,n,r,i,s,a,l,c),this.contentAttr=function m2(e){return"_ngcontent-%COMP%".replace(dg,e)}(c),this.hostAttr=function v2(e){return"_nghost-%COMP%".replace(dg,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let C2=(()=>{class e extends ME{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(J(vn))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const OE=["alt","control","meta","shift"],w2={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},_2={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let b2=(()=>{class e extends ME{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Jr().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),OE.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=w2[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),OE.forEach(s=>{s!==o&&(0,_2[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(J(vn))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const M2=Eb(jk,"browser",[{provide:Mi,useValue:"browser"},{provide:ly,useValue:function E2(){ag.makeCurrent()},multi:!0},{provide:vn,useFactory:function I2(){return function fA(e){kf=e}(document),document},deps:[]}]),T2=new G(""),LE=[{provide:mu,useClass:class u2{addToWindow(t){Ve.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new A(5103,!1);return i},Ve.getAllAngularTestabilities=()=>t.getAllTestabilities(),Ve.getAllAngularRootElements=()=>t.getAllRootElements(),Ve.frameworkStabilizers||(Ve.frameworkStabilizers=[]),Ve.frameworkStabilizers.push(r=>{const o=Ve.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Jr().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Cb,useClass:Tp,deps:[Ne,Ap,mu]},{provide:Tp,useClass:Tp,deps:[Ne,Ap,mu]}],$E=[{provide:xf,useValue:"root"},{provide:Mr,useFactory:function S2(){return new Mr},deps:[]},{provide:lg,useClass:C2,multi:!0,deps:[vn,Ne,Mi]},{provide:lg,useClass:b2,multi:!0,deps:[vn]},PE,TE,IE,{provide:aD,useExisting:PE},{provide:class $${},useClass:d2,deps:[]},[]];let A2=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:vc,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(J(T2,12))};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=_n({providers:[...$E,...LE],imports:[P$,Bk]})}return e})(),VE=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static#e=this.\u0275fac=function(r){return new(r||e)(J(vn))};static#t=this.\u0275prov=Y({token:e,factory:function(r){let o=null;return o=r?new r:function P2(){return new VE(J(vn))}(),o},providedIn:"root"})}return e})();typeof window<"u"&&window;const{isArray:L2}=Array,{getPrototypeOf:$2,prototype:V2,keys:j2}=Object;const{isArray:H2}=Array;function gg(...e){const t=Us(e),n=function Pm(e){return Re(Fd(e))?e.pop():void 0}(e),{args:r,keys:o}=function UE(e){if(1===e.length){const t=e[0];if(L2(t))return{args:t,keys:null};if(function B2(e){return e&&"object"==typeof e&&$2(e)===V2}(t)){const n=j2(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return ht([],t);const i=new Qe(function z2(e,t,n=xn){return r=>{WE(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const c=ht(e[l],t);let u=!1;c.subscribe(Ke(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>function GE(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}(o,s):xn));return n?i.pipe(function zE(e){return Ie(t=>function U2(e,t){return H2(t)?e(...t):e(t)}(e,t))}(n)):i}function WE(e,t,n){e?Cr(n,e,t):t()}const Bu=xs(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function mg(...e){return function G2(){return ni(1)}()(ht(e,Us(e)))}function qE(e){return new Qe(t=>{bt(e()).subscribe(t)})}function Hu(e,t){const n=Re(e)?e:()=>e,r=o=>o.error(n());return new Qe(t?o=>t.schedule(r,0,o):r)}function vg(){return rt((e,t)=>{let n=null;e._refCount++;const r=Ke(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class ZE extends Qe{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ls(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Ct;const n=this.getSubject();t.add(this.source.subscribe(Ke(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Ct.EMPTY)}return t}refCount(){return vg()(this)}}function us(e){return e<=0?()=>Kn:rt((t,n)=>{let r=0;t.subscribe(Ke(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function to(e,t){return rt((n,r)=>{let o=0;n.subscribe(Ke(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Uu(e){return rt((t,n)=>{let r=!1;t.subscribe(Ke(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function YE(e=q2){return rt((t,n)=>{let r=!1;t.subscribe(Ke(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function q2(){return new Bu}function Ro(e,t){const n=arguments.length>=2;return r=>r.pipe(e?to((o,i)=>e(o,i,r)):xn,us(1),n?Uu(t):YE(()=>new Bu))}function tl(e,t){return Re(t)?Rt(e,t,1):Rt(e,1)}function $t(e,t,n){const r=Re(e)||t||n?{next:e,error:t,complete:n}:e;return r?rt((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Ke(i,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),i.error(l)},()=>{var l,c;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):xn}function ds(e){return rt((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Ke(n,void 0,void 0,s=>{i=bt(e(s,ds(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function yg(e){return e<=0?()=>Kn:rt((t,n)=>{let r=[];t.subscribe(Ke(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Dg(e){return rt((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const fe="primary",nl=Symbol("RouteTitle");class J2{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function fs(e){return new J2(e)}function eV(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function KE(e){return e.length>0?e[e.length-1]:null}function no(e){return function k2(e){return!!e&&(e instanceof Qe||Re(e.lift)&&Re(e.subscribe))}(e)?e:Ua(e)?ht(Promise.resolve(e)):re(e)}const nV={exact:function eS(e,t,n){if(!Oo(e.segments,t.segments)||!zu(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!eS(e.children[r],t.children[r],n))return!1;return!0},subset:tS},XE={exact:function rV(e,t){return dr(e,t)},subset:function oV(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>QE(e[n],t[n]))},ignored:()=>!0};function JE(e,t,n){return nV[n.paths](e.root,t.root,n.matrixParams)&&XE[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function tS(e,t,n){return nS(e,t,t.segments,n)}function nS(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Oo(o,n)||t.hasChildren()||!zu(o,n,r))}if(e.segments.length===n.length){if(!Oo(e.segments,n)||!zu(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!tS(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(Oo(e.segments,o)&&zu(e.segments,o,r)&&e.children[fe])&&nS(e.children[fe],t,i,r)}}function zu(e,t,n){return t.every((r,o)=>XE[n](e[o].parameters,r.parameters))}class hs{constructor(t=new Fe([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fs(this.queryParams)),this._queryParamMap}toString(){return aV.serialize(this)}}class Fe{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Gu(this)}}class rl{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=fs(this.parameters)),this._parameterMap}toString(){return iS(this)}}function Oo(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let ps=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>new wg,providedIn:"root"})}return e})();class wg{parse(t){const n=new yV(t);return new hs(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${ol(t.root,!0)}`,r=function uV(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${Wu(n)}=${Wu(o)}`).join("&"):`${Wu(n)}=${Wu(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function lV(e){return encodeURI(e)}(t.fragment)}`:""}`}}const aV=new wg;function Gu(e){return e.segments.map(t=>iS(t)).join("/")}function ol(e,t){if(!e.hasChildren())return Gu(e);if(t){const n=e.children[fe]?ol(e.children[fe],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==fe&&r.push(`${o}:${ol(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function sV(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===fe&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==fe&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===fe?[ol(e.children[fe],!1)]:[`${o}:${ol(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[fe]?`${Gu(e)}/${n[0]}`:`${Gu(e)}/(${n.join("//")})`}}function rS(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wu(e){return rS(e).replace(/%3B/gi,";")}function _g(e){return rS(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qu(e){return decodeURIComponent(e)}function oS(e){return qu(e.replace(/\+/g,"%20"))}function iS(e){return`${_g(e.path)}${function cV(e){return Object.keys(e).map(t=>`;${_g(t)}=${_g(e[t])}`).join("")}(e.parameters)}`}const dV=/^[^\/()?;#]+/;function bg(e){const t=e.match(dV);return t?t[0]:""}const fV=/^[^\/()?;=#]+/,pV=/^[^=?&#]+/,mV=/^[^&#]+/;class yV{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Fe([],{}):new Fe([],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(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[fe]=new Fe(t,n)),r}parseSegment(){const t=bg(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(t),new rl(qu(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function hV(e){const t=e.match(fV);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=bg(this.remaining);o&&(r=o,this.capture(r))}t[qu(n)]=qu(r)}parseQueryParam(t){const n=function gV(e){const t=e.match(pV);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function vV(e){const t=e.match(mV);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=oS(n),i=oS(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=bg(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new A(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=fe);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[fe]:new Fe([],s),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 A(4011,!1)}}function sS(e){return e.segments.length>0?new Fe([],{[fe]:e}):e}function aS(e){const t={};for(const r of Object.keys(e.children)){const i=aS(e.children[r]);if(r===fe&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function DV(e){if(1===e.numberOfChildren&&e.children[fe]){const t=e.children[fe];return new Fe(e.segments.concat(t.segments),t.children)}return e}(new Fe(e.segments,t))}function Fo(e){return e instanceof hs}function lS(e){let t;const o=sS(function n(i){const s={};for(const l of i.children){const c=n(l);s[l.outlet]=c}const a=new Fe(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function cS(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return Eg(o,o,o,n,r);const i=function wV(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new dS(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new dS(n,t,r)}(t);if(i.toRoot())return Eg(o,o,new Fe([],{}),n,r);const s=function _V(e,t,n){if(e.isAbsolute)return new Yu(t,!0,0);if(!n)return new Yu(t,!1,NaN);if(null===n.parent)return new Yu(n,!0,0);const r=Zu(e.commands[0])?0:1;return function bV(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new A(4005,!1);o=r.segments.length}return new Yu(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?sl(s.segmentGroup,s.index,i.commands):fS(s.segmentGroup,s.index,i.commands);return Eg(o,s.segmentGroup,a,n,r)}function Zu(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function il(e){return"object"==typeof e&&null!=e&&e.outlets}function Eg(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([l,c])=>{i[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===t?n:uS(e,t,n);const a=sS(aS(s));return new hs(a,i,o)}function uS(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:uS(i,t,n)}),new Fe(e.segments,r)}class dS{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Zu(r[0]))throw new A(4003,!1);const o=r.find(il);if(o&&o!==KE(r))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Yu{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function fS(e,t,n){if(e||(e=new Fe([],{})),0===e.segments.length&&e.hasChildren())return sl(e,t,n);const r=function SV(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(il(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!pS(l,c,s))return i;r+=2}else{if(!pS(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==fe)&&e.children[fe]&&1===e.numberOfChildren&&0===e.children[fe].segments.length){const i=sl(e.children[fe],t,n);return new Fe(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=fS(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new Fe(e.segments,o)}}function Sg(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=Sg(new Fe([],{}),0,r))}),t}function hS(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function pS(e,t,n){return e==n.path&&dr(t,n.parameters)}const al="imperative";class fr{constructor(t,n){this.id=t,this.url=n}}class Qu extends fr{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Or extends fr{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class gs extends fr{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ms extends fr{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class Ku extends fr{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class gS extends fr{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class MV extends fr{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class TV extends fr{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class AV extends fr{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xV extends fr{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class PV{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class NV{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class RV{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class OV{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class FV{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kV{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mS{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ig{}class Mg{constructor(t){this.url=t}}class LV{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ll,this.attachRef=null}}let ll=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new LV,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class vS{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=Tg(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Tg(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Ag(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ag(t,this._root).map(n=>n.value)}}function Tg(e,t){if(e===t.value)return t;for(const n of t.children){const r=Tg(e,n);if(r)return r}return null}function Ag(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Ag(e,n);if(r.length)return r.unshift(t),r}return[]}class Gn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function vs(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class yS extends vS{constructor(t,n){super(t),this.snapshot=n,Ng(this,t)}toString(){return this.snapshot.toString()}}function DS(e,t){const n=function $V(e,t){const s=new Pg([],{},{},"",{},fe,t,null,{});return new CS("",new Gn(s,[]))}(0,t),r=new un([new rl("",{})]),o=new un({}),i=new un({}),s=new un({}),a=new un(""),l=new ys(r,o,s,a,i,fe,t,n.root);return l.snapshot=n.root,new yS(new Gn(l,[]),n)}class ys{constructor(t,n,r,o,i,s,a,l){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(Ie(c=>c[nl]))??re(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Ie(t=>fs(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Ie(t=>fs(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function xg(e,t,n="emptyOnly"){let r;const{routeConfig:o}=e;return r=null===t||"always"!==n&&""!==o?.path&&(t.component||t.routeConfig?.loadComponent)?{params:e.params,data:e.data,resolve:{...e.data,...e._resolvedData??{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...o?.data,...e._resolvedData}},o&&_S(o)&&(r.resolve[nl]=o.title),r}class Pg{get title(){return this.data?.[nl]}constructor(t,n,r,o,i,s,a,l,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=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||(this._paramMap=fs(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fs(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class CS extends vS{constructor(t,n){super(n),this.url=t,Ng(this,n)}toString(){return wS(this._root)}}function Ng(e,t){t.value._routerState=e,t.children.forEach(n=>Ng(e,n))}function wS(e){const t=e.children.length>0?` { ${e.children.map(wS).join(", ")} } `:"";return`${e.value}${t}`}function Rg(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,dr(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),dr(t.params,n.params)||e.paramsSubject.next(n.params),function tV(e,t){if(e.length!==t.length)return!1;for(let n=0;ndr(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Og(e.parent,t.parent))}function _S(e){return"string"==typeof e.title||null===e.title}let Fg=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=fe,this.activateEvents=new X,this.deactivateEvents=new X,this.attachEvents=new X,this.detachEvents=new X,this.parentContexts=$(ll),this.location=$(Hn),this.changeDetector=$(ki),this.environmentInjector=$(bn),this.inputBinder=$(Xu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new A(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new VV(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=ie({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[fn]})}return e})();class VV{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===ys?this.route:t===ll?this.childContexts:this.parent.get(t,n)}}const Xu=new G("");let bS=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,o=gg([r.queryParams,r.params,r.data]).pipe(Rn(([i,s,a],l)=>(a={...i,...s,...a},0===l?re(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function cL(e){const t=he(e);if(!t)return null;const n=new Ma(t);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 t.standalone},get isSignal(){return t.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();function cl(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function BV(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return cl(e,r,o);return cl(e,r)})}(e,t,n);return new Gn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>cl(e,a)),s}}const r=function HV(e){return new ys(new un(e.url),new un(e.params),new un(e.queryParams),new un(e.fragment),new un(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>cl(e,i));return new Gn(r,o)}}const kg="ngNavigationCancelingError";function ES(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Fo(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=SS(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function SS(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[kg]=!0,r.cancellationCode=t,n&&(r.url=n),r}function IS(e){return e&&e[kg]}let MS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=j({type:e,selectors:[["ng-component"]],standalone:!0,features:[A_],decls:1,vars:0,template:function(r,o){1&r&&De(0,"router-outlet")},dependencies:[Fg],encapsulation:2})}return e})();function Lg(e){const t=e.children&&e.children.map(Lg),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==fe&&(n.component=MS),n}function hr(e){return e.outlet||fe}function ul(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class QV{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Rg(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=vs(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=vs(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=vs(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=vs(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new kV(i.value.snapshot))}),t.children.length&&this.forwardEvent(new OV(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Rg(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Rg(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=ul(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class TS{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ju{constructor(t,n){this.component=t,this.route=n}}function KV(e,t,n){const r=e._root;return dl(r,t?t._root:null,n,[r.value])}function Ds(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function cM(e){return null!==jl(e)}(e)?t.get(e):e:r}function dl(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=vs(t);return e.children.forEach(s=>{(function JV(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function ej(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Oo(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Oo(e.url,t.url)||!dr(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Og(e,t)||!dr(e.queryParams,t.queryParams);default:return!Og(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new TS(r)):(i.data=s.data,i._resolvedData=s._resolvedData),dl(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ju(a.outlet.component,s))}else s&&fl(t,a,o),o.canActivateChecks.push(new TS(r)),dl(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>fl(a,n.getContext(s),o)),o}function fl(e,t,n){const r=vs(e),o=e.value;Object.entries(r).forEach(([i,s])=>{fl(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Ju(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function hl(e){return"function"==typeof e}function AS(e){return e instanceof Bu||"EmptyError"===e?.name}const ed=Symbol("INITIAL_VALUE");function Cs(){return Rn(e=>gg(e.map(t=>t.pipe(us(1),function W2(...e){const t=Us(e);return rt((n,r)=>{(t?mg(e,n,t):mg(e,n)).subscribe(r)})}(ed)))).pipe(Ie(t=>{for(const n of t)if(!0!==n){if(n===ed)return ed;if(!1===n||n instanceof hs)return n}return!0}),to(t=>t!==ed),us(1)))}function xS(e){return function po(...e){return ks(e)}($t(t=>{if(Fo(t))throw ES(0,t)}),Ie(t=>!0===t))}class $g{constructor(t){this.segmentGroup=t||null}}class Vg extends Error{constructor(t){super(),this.urlTree=t}}function ws(e){return Hu(new $g(e))}class Cj{constructor(t,n){this.urlSerializer=t,this.urlTree=n}noMatchError(t){return new A(4002,!1)}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return re(r);if(o.numberOfChildren>1||!o.children[fe])return Hu(new A(4e3,!1));o=o.children[fe]}}applyRedirectCommands(t,n,r){const o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new Vg(o);return o}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new hs(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,r,o)}),new Fe(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new A(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const jg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function wj(e,t,n,r,o){const i=Bg(e,t,n);return i.matched?(r=function zV(e,t){return e.providers&&!e._injector&&(e._injector=hp(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function vj(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?re(o.map(s=>{const a=Ds(s,e);return no(function sj(e){return e&&hl(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Cs(),xS()):re(!0)}(r,t,n).pipe(Ie(s=>!0===s?i:{...jg}))):re(i)}function Bg(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...jg}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||eV)(n,e,t);if(!o)return{...jg};const i={};Object.entries(o.posParams??{}).forEach(([a,l])=>{i[a]=l.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function PS(e,t,n,r){return n.length>0&&function Ej(e,t,n){return n.some(r=>td(e,t,r)&&hr(r)!==fe)}(e,n,r)?{segmentGroup:new Fe(t,bj(r,new Fe(n,e.children))),slicedSegments:[]}:0===n.length&&function Sj(e,t,n){return n.some(r=>td(e,t,r))}(e,n,r)?{segmentGroup:new Fe(e.segments,_j(e,0,n,r,e.children)),slicedSegments:n}:{segmentGroup:new Fe(e.segments,e.children),slicedSegments:n}}function _j(e,t,n,r,o){const i={};for(const s of r)if(td(e,n,s)&&!o[hr(s)]){const a=new Fe([],{});i[hr(s)]=a}return{...o,...i}}function bj(e,t){const n={};n[fe]=t;for(const r of e)if(""===r.path&&hr(r)!==fe){const o=new Fe([],{});n[hr(r)]=o}return n}function td(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class Tj{}class Pj{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Cj(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new A(4002,!1)}recognize(){const t=PS(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(Ie(n=>{const r=new Pg([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},fe,this.rootComponentType,null,{}),o=new Gn(r,n),i=new CS("",o),s=function CV(e,t,n=null,r=null){return cS(lS(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,fe).pipe(ds(r=>{if(r instanceof Vg)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof $g?this.noMatchError(r):r}))}inheritParamsAndData(t,n){const r=t.value,o=xg(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(Ie(i=>i instanceof Gn?[i]:[]))}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return ht(o).pipe(tl(i=>{const s=r.children[i],a=function ZV(e,t){const n=e.filter(r=>hr(r)===t);return n.push(...e.filter(r=>hr(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function Y2(e,t){return rt(function Z2(e,t,n,r,o){return(i,s)=>{let a=n,l=t,c=0;i.subscribe(Ke(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),Uu(null),function Q2(e,t){const n=arguments.length>=2;return r=>r.pipe(e?to((o,i)=>e(o,i,r)):xn,yg(1),n?Uu(t):YE(()=>new Bu))}(),Rt(i=>{if(null===i)return ws(r);const s=NS(i);return function Nj(e){e.sort((t,n)=>t.value.outlet===fe?-1:n.value.outlet===fe?1:t.value.outlet.localeCompare(n.value.outlet))}(s),re(s)}))}processSegment(t,n,r,o,i,s){return ht(n).pipe(tl(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(ds(l=>{if(l instanceof $g)return re(null);throw l}))),Ro(a=>!!a),ds(a=>{if(AS(a))return function Mj(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?re(new Tj):ws(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function Ij(e,t,n,r){return!!(hr(e)===r||r!==fe&&td(t,n,e))&&("**"===e.path||Bg(t,e,n).matched)}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):ws(o):ws(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}="**"===o.path?RS(i):Bg(n,o,i);if(!a)return ws(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe(Rt(h=>this.processSegment(t,r,n,h.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){let s;return"**"===r.path?(s=re(RS(o)),n.children={}):s=wj(n,r,o,t),s.pipe(Rn(a=>a.matched?this.getChildConfig(t=r._injector??t,r,o).pipe(Rn(({routes:l})=>{const c=r._loadedInjector??t,{consumedSegments:u,remainingSegments:d,parameters:h}=a,g=new Pg(u,h,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Oj(e){return e.data||{}}(r),hr(r),r.component??r._loadedComponent??null,r,function Fj(e){return e.resolve||{}}(r)),{segmentGroup:y,slicedSegments:C}=PS(n,u,d,l);if(0===C.length&&y.hasChildren())return this.processChildren(c,l,y).pipe(Ie(N=>null===N?null:new Gn(g,N)));if(0===l.length&&0===C.length)return re(new Gn(g,[]));const I=hr(r)===i;return this.processSegment(c,l,y,C,I?fe:i,!0).pipe(Ie(N=>new Gn(g,N instanceof Gn?[N]:[])))})):ws(n)))}getChildConfig(t,n,r){return n.children?re({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?re({routes:n._loadedRoutes,injector:n._loadedInjector}):function mj(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?re(!0):re(o.map(s=>{const a=Ds(s,e);return no(function nj(e){return e&&hl(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Cs(),xS())}(t,n,r).pipe(Rt(o=>o?this.configLoader.loadChildren(t,n).pipe($t(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function Dj(e){return Hu(SS(!1,3))}())):re({routes:[],injector:t})}}function Rj(e){const t=e.value.routeConfig;return t&&""===t.path}function NS(e){const t=[],n=new Set;for(const r of e){if(!Rj(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=NS(r.children);t.push(new Gn(r.value,o))}return t.filter(r=>!n.has(r))}function RS(e){return{matched:!0,parameters:e.length>0?KE(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Lj(e,t){return Rt(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return re(n);const i=o.map(c=>c.route),s=new Set(i),a=OS(i[0].parent).slice(1);let l=0;return ht(a).pipe(tl(c=>s.has(c)?function $j(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!_S(o)&&(i[nl]=o.title),function Vj(e,t,n,r){const o=Cg(e);if(0===o.length)return re({});const i={};return ht(o).pipe(Rt(s=>function jj(e,t,n,r){const o=ul(t)??r,i=Ds(e,o);return no(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(Ro(),$t(a=>{i[s]=a}))),yg(1),function K2(e){return Ie(()=>e)}(i),ds(s=>AS(s)?Kn:Hu(s)))}(i,e,t,r).pipe(Ie(s=>(e._resolvedData=s,e.data=xg(e,e.parent,n).resolve,null)))}(c,r,e,t):(c.data=xg(c,c.parent,e).resolve,re(void 0))),$t(()=>l++),yg(1),Rt(c=>l===a.length?re(n):Kn))})}function OS(e){const t=e.children.map(n=>OS(n)).flat();return[e,...t]}function Hg(e){return Rn(t=>{const n=e(t);return n?ht(n).pipe(Ie(()=>t)):re(t)})}let FS=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===fe);return r}getResolvedTitleForRoute(n){return n.data[nl]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>$(Bj),providedIn:"root"})}return e})(),Bj=(()=>{class e extends FS{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(J(VE))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _s=new G("",{providedIn:"root",factory:()=>({})}),bs=new G("ROUTES");let Ug=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=$(gb)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return re(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=no(n.loadComponent()).pipe(Ie(kS),$t(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Dg(()=>{this.componentLoaders.delete(n)})),o=new ZE(r,()=>new cn).pipe(vg());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return re({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function Hj(e,t,n,r){return no(e.loadChildren()).pipe(Ie(kS),Rt(o=>o instanceof M_||Array.isArray(o)?re(o):ht(t.compileModuleAsync(o))),Ie(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(n).injector,s=i.get(bs,[],{optional:!0,self:!0}).flat()),{routes:s.map(Lg),injector:i}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(Dg(()=>{this.childrenLoaders.delete(r)})),s=new ZE(i,()=>new cn).pipe(vg());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kS(e){return function Uj(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let zg=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>$(zj),providedIn:"root"})}return e})(),zj=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const LS=new G(""),$S=new G("");function Gj(e,t,n){const r=e.get($S),o=e.get(vn);return e.get(Ne).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,Promise.resolve();let i;const s=new Promise(c=>{i=c}),a=o.startViewTransition(()=>(i(),function Wj(e){return new Promise(t=>{KD(t,{injector:e})})}(e))),{onViewTransitionCreated:l}=r;return l&&function oA(e,t){e instanceof Si&&e.assertNotDestroyed();const r=jr(e),o=en(void 0);try{return t()}finally{jr(r),en(o)}}(e,()=>l({transition:a,from:t,to:n})),s})}let nd=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new cn,this.transitionAbortSubject=new cn,this.configLoader=$(Ug),this.environmentInjector=$(bn),this.urlSerializer=$(ps),this.rootContexts=$(ll),this.location=$(Qa),this.inputBindingEnabled=null!==$(Xu,{optional:!0}),this.titleStrategy=$(FS),this.options=$(_s,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=$(zg),this.createViewTransition=$(LS,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>re(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new NV(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new PV(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new un({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:al,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(to(i=>0!==i.id),Ie(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),Rn(i=>{this.currentTransition=i;let s=!1,a=!1;return re(i).pipe($t(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Rn(l=>{const c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const d="";return this.events.next(new ms(l.id,this.urlSerializer.serialize(l.rawUrl),d,0)),l.resolve(null),Kn}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return re(l).pipe(Rn(d=>{const h=this.transitions?.getValue();return this.events.next(new Qu(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?Kn:Promise.resolve(d)}),function kj(e,t,n,r,o,i){return Rt(s=>function Aj(e,t,n,r,o,i,s="emptyOnly"){return new Pj(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(Ie(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),$t(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const h=new gS(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:d,extractedUrl:h,source:g,restoredState:y,extras:C}=l,I=new Qu(d,this.urlSerializer.serialize(h),g,y);this.events.next(I);const N=DS(0,this.rootComponentType).snapshot;return this.currentTransition=i={...l,targetSnapshot:N,urlAfterRedirects:h,extras:{...C,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=h,re(i)}{const d="";return this.events.next(new ms(l.id,this.urlSerializer.serialize(l.extractedUrl),d,1)),l.resolve(null),Kn}}),$t(l=>{const c=new MV(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),Ie(l=>(this.currentTransition=i={...l,guards:KV(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},i)),function lj(e,t){return Rt(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?re({...n,guardsResult:!0}):function cj(e,t,n,r){return ht(e).pipe(Rt(o=>function gj(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?re(i.map(a=>{const l=ul(t)??o,c=Ds(a,l);return no(function ij(e){return e&&hl(e.canDeactivate)}(c)?c.canDeactivate(e,t,n,r):l.runInContext(()=>c(e,t,n,r))).pipe(Ro())})).pipe(Cs()):re(!0)}(o.component,o.route,n,t,r)),Ro(o=>!0!==o,!0))}(s,r,o,e).pipe(Rt(a=>a&&function tj(e){return"boolean"==typeof e}(a)?function uj(e,t,n,r){return ht(t).pipe(tl(o=>mg(function fj(e,t){return null!==e&&t&&t(new RV(e)),re(!0)}(o.route.parent,r),function dj(e,t){return null!==e&&t&&t(new FV(e)),re(!0)}(o.route,r),function pj(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function XV(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>qE(()=>re(s.guards.map(l=>{const c=ul(s.node)??n,u=Ds(l,c);return no(function oj(e){return e&&hl(e.canActivateChild)}(u)?u.canActivateChild(r,e):c.runInContext(()=>u(r,e))).pipe(Ro())})).pipe(Cs())));return re(i).pipe(Cs())}(e,o.path,n),function hj(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return re(!0);const o=r.map(i=>qE(()=>{const s=ul(t)??n,a=Ds(i,s);return no(function rj(e){return e&&hl(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Ro())}));return re(o).pipe(Cs())}(e,o.route,n))),Ro(o=>!0!==o,!0))}(r,i,e,t):re(a)),Ie(a=>({...n,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),$t(l=>{if(i.guardsResult=l.guardsResult,Fo(l.guardsResult))throw ES(0,l.guardsResult);const c=new TV(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),to(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",3),!1)),Hg(l=>{if(l.guards.canActivateChecks.length)return re(l).pipe($t(c=>{const u=new AV(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Rn(c=>{let u=!1;return re(c).pipe(Lj(this.paramsInheritanceStrategy,this.environmentInjector),$t({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",2)}}))}),$t(c=>{const u=new xV(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),Hg(l=>{const c=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe($t(h=>{u.component=h}),Ie(()=>{})));for(const h of u.children)d.push(...c(h));return d};return gg(c(l.targetSnapshot.root)).pipe(Uu(),us(1))}),Hg(()=>this.afterPreactivation()),Rn(()=>{const{currentSnapshot:l,targetSnapshot:c}=i,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?ht(u).pipe(Ie(()=>i)):re(i)}),Ie(l=>{const c=function jV(e,t,n){const r=cl(e,t._root,n?n._root:void 0);return new yS(r,t)}(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=i={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,i}),$t(()=>{this.events.next(new Ig)}),((e,t,n,r)=>Ie(o=>(new QV(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),us(1),$t({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Or(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),function X2(e){return rt((t,n)=>{bt(e).subscribe(Ke(n,()=>n.complete(),qo)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe($t(l=>{throw l}))),Dg(()=>{s||a||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),ds(l=>{if(a=!0,IS(l))this.events.next(new gs(i.id,this.urlSerializer.serialize(i.extractedUrl),l.message,l.cancellationCode)),function UV(e){return IS(e)&&Fo(e.url)}(l)?this.events.next(new Mg(l.url)):i.resolve(!1);else{this.events.next(new Ku(i.id,this.urlSerializer.serialize(i.extractedUrl),l,i.targetSnapshot??void 0));try{i.resolve(n.errorHandler(l))}catch(c){i.reject(c)}}return Kn}))}))}cancelNavigationTransition(n,r,o){const i=new gs(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qj(e){return e!==al}let Zj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>$(Qj),providedIn:"root"})}return e})();class Yj{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let Qj=(()=>{class e extends Yj{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=L(e)))(o||e)}})();static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),VS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:()=>$(Kj),providedIn:"root"})}return e})(),Kj=(()=>{class e extends VS{constructor(){super(...arguments),this.location=$(Qa),this.urlSerializer=$(ps),this.options=$(_s,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=$(zg),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new hs,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=DS(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{"popstate"===r.type&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Qu)this.stateMemento=this.createStateMemento();else if(n instanceof ms)this.rawUrlTree=r.initialUrl;else if(n instanceof gS){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof Ig?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof gs&&(3===n.code||2===n.code)?this.restoreHistory(r):n instanceof Ku?this.restoreHistory(r,!0):n instanceof Or&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&0===i&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=L(e)))(o||e)}})();static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var pl=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(pl||{});function jS(e,t){e.events.pipe(to(n=>n instanceof Or||n instanceof gs||n instanceof Ku||n instanceof ms),Ie(n=>n instanceof Or||n instanceof ms?pl.COMPLETE:n instanceof gs&&(0===n.code||1===n.code)?pl.REDIRECTING:pl.FAILED),to(n=>n!==pl.REDIRECTING),us(1)).subscribe(()=>{t()})}function Xj(e){throw e}const Jj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},eB={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Wn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=$(fb),this.stateManager=$(VS),this.options=$(_s,{optional:!0})||{},this.pendingTasks=$(pb),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=$(nd),this.urlSerializer=$(ps),this.location=$(Qa),this.urlHandlingStrategy=$(zg),this._events=new cn,this.errorHandler=this.options.errorHandler||Xj,this.navigated=!1,this.routeReuseStrategy=$(Zj),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=$(bs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!$(Xu,{optional:!0}),this.eventsSubscription=new Ct,this.isNgZoneEnabled=$(Ne)instanceof Ne&&Ne.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==o&&null!==i)if(this.stateManager.handleRouterEvent(r,i),r instanceof gs&&0!==r.code&&1!==r.code)this.navigated=!0;else if(r instanceof Or)this.navigated=!0;else if(r instanceof Mg){const s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||qj(o.source)};this.scheduleNavigation(s,al,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function nB(e){return!(e instanceof Ig||e instanceof Mg)})(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),al,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)}))}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Lg),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...i};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}null!==u&&(u=this.removeEmptyProps(u));try{d=lS(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return cS(d,n,u,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Fo(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,al,null,r)}navigate(n,r={skipLocationChange:!1}){return function tB(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h});const u=this.pendingTasks.add();return jS(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rd=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new cn,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=n.events.subscribe(c=>{c instanceof Or&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function tD(e,t,n){return function bx(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?eD:oh}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(r){return new(r||e)(R(Wn),R(ys),function sc(e){return function bT(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(to(n=>n instanceof Or),tl(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=hp(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return ht(o).pipe(ni())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):re(null);const i=o.pipe(Rt(s=>null===s?re(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?ht([i,this.loader.loadComponent(r)]).pipe(ni()):i})}static#e=this.\u0275fac=function(r){return new(r||e)(J(Wn),J(gb),J(bn),J(BS),J(Ug))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Gg=new G("");let HS=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Qu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Or?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof ms&&0===n.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof mS&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new mS(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function ED(){throw new Error("invalid")}()};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();function pr(e,t){return{\u0275kind:e,\u0275providers:t}}function zS(){const e=$(rn);return t=>{const n=e.get(ss);if(t!==n.components[0])return;const r=e.get(Wn),o=e.get(GS);1===e.get(Wg)&&r.initialNavigation(),e.get(WS,null,ge.Optional)?.setUpPreloading(),e.get(Gg,null,ge.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const GS=new G("",{factory:()=>new cn}),Wg=new G("",{providedIn:"root",factory:()=>1}),WS=new G("");function cB(e){return pr(0,[{provide:WS,useExisting:iB},{provide:BS,useExisting:e}])}function dB(e){return pr(9,[{provide:LS,useValue:Gj},{provide:$S,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const qS=new G("ROUTER_FORROOT_GUARD"),fB=[Qa,{provide:ps,useClass:wg},Wn,ll,{provide:ys,useFactory:function US(e){return e.routerState.root},deps:[Wn]},Ug,[]];let ZS=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[fB,[],{provide:bs,multi:!0,useValue:n},{provide:qS,useFactory:mB,deps:[[Wn,new cc,new uc]]},{provide:_s,useValue:r||{}},r?.useHash?{provide:No,useClass:pL}:{provide:No,useClass:rE},{provide:Gg,useFactory:()=>{const e=$(F$),t=$(Ne),n=$(_s),r=$(nd),o=$(ps);return n.scrollOffset&&e.setOffset(n.scrollOffset),new HS(o,r,e,t,n)}},r?.preloadingStrategy?cB(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?vB(r):[],r?.bindToComponentInputs?pr(8,[bS,{provide:Xu,useExisting:bS}]).\u0275providers:[],r?.enableViewTransitions?dB().\u0275providers:[],[{provide:YS,useFactory:zS},{provide:Np,multi:!0,useExisting:YS}]]}}static forChild(n){return{ngModule:e,providers:[{provide:bs,multi:!0,useValue:n}]}}static#e=this.\u0275fac=function(r){return new(r||e)(J(qS,8))};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=_n({})}return e})();function mB(e){return"guarded"}function vB(e){return["disabled"===e.initialNavigation?pr(3,[{provide:Sp,multi:!0,useFactory:()=>{const t=$(Wn);return()=>{t.setUpLocationChangeListener()}}},{provide:Wg,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?pr(2,[{provide:Wg,useValue:0},{provide:Sp,multi:!0,deps:[rn],useFactory:t=>{const n=t.get(fL,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(Wn),i=t.get(GS);jS(o,()=>{r(!0)}),t.get(nd).afterPreactivation=()=>(r(!0),i.closed?re(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const YS=new G("");var qg={d:(e,t)=>{for(var n in t)qg.o(t,n)&&!qg.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},Zg={};qg.d(Zg,{l:()=>wB,z:()=>CB});const od="porscheDesignSystem";function QS(){return document[od]||(document[od]={}),document[od]}const CB=(e={})=>{const t="PORSCHE_DESIGN_SYSTEM_CDN";window[t]=e.cdn||window[t]||(window.location.origin.match(/\.cn$/)?"cn":"auto");const n="porscheDesignSystem";document[n]||(document[n]={}),document[n].cdn={url:"https://cdn.ui.porsche."+("cn"===window[t]?"cn":"com"),prefixes:[]},function DB({script:e,version:t,prefix:n}){const r=function(l){const c=QS(),{[l]:u}=c;if(!u){let d=()=>{};const h=new Promise(g=>d=g);c[l]={isInjected:!1,isReady:()=>h,readyResolve:d,prefixes:[],registerCustomElements:null}}return c[l]}(t),{isInjected:o,prefixes:i=[],registerCustomElements:s}=r,[a]=Object.entries(QS()).filter(([l,c])=>l!==t&&"object"==typeof c&&c.prefixes.includes(n));if(a)throw new Error(`[Porsche Design System v${t}] prefix '${n}' is already registered with version '${a[0]}' of the Porsche Design System. Please use a different one.\nTake a look at document.${od} for more details.`);o||(function(l){const c=document.createElement("script");c.src=l,c.setAttribute("crossorigin",""),document.body.appendChild(c)}(e),r.isInjected=!0),i.includes(n)||(i.push(n),s&&s(n))}({version:"3.10.0-rc.5",script:document[n].cdn.url+"/porsche-design-system/components/porsche-design-system.v3.10.0-rc.5.a24d41457159bf70a7b9.js",prefix:e.prefix||""})},wB=(e=document.body)=>{let t;const n=new Promise(o=>t=o),r=()=>{_B().then(()=>bB(e,t))};if(KS())r();else{const o="readystatechange",i=()=>{KS()&&(document.removeEventListener(o,i),r())};document.addEventListener(o,i)}return n},KS=()=>"complete"===document.readyState,_B=()=>{if(document.porscheDesignSystem?.["3.10.0-rc.5"]?.isReady)return document.porscheDesignSystem["3.10.0-rc.5"].isReady();{let e;const t=new Promise(r=>e=r);return document.porscheDesignSystem=new Proxy(document.porscheDesignSystem||{},{set(r,o,i){return"3.10.0-rc.5"===o&&i.isReady().then(e),Reflect.set(...arguments)}}),t}},bB=(e,t)=>{const n=XS(e);Promise.all(n).then(r=>t(r.length)).catch(r=>console.error("[Porsche Design System]",r))},XS=e=>{let t=[];return 1===e?.nodeType&&Array.from(e.children).forEach(n=>{SB(n)&&t.push(n.componentOnReady()),t=t.concat(XS(n))}),t},EB=/^(.*-)?P-(.*)$/,SB=e=>EB.exec(e.tagName)&&"function"==typeof e.componentOnReady;var IB=Zg.z;const W=["*"],Yg=new G("pdsTheme");let Ze=(()=>{class e{constructor(n,r){n.detach(),this.el=r.nativeElement}ngOnChanges(n){for(const r in n)this.el[r]=n[r].currentValue}}return e.\u0275fac=function(n){return new(n||e)(R(ki),R(sn))},e.\u0275cmp=j({type:e,selectors:[["ng-component"]],features:[fn],decls:0,vars:0,template:function(n,r){},encapsulation:2,changeDetection:0}),e})(),ce=(()=>{class e extends Ze{constructor(){super(...arguments),this.themeSubscription=$(Yg).subscribe(n=>{this.el.theme=this.theme||n})}ngOnDestroy(){this.themeSubscription.unsubscribe()}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["ng-component"]],features:[O],decls:0,vars:0,template:function(n,r){},encapsulation:2}),e})(),JS=(()=>{class e extends ce{constructor(){super(...arguments),this.accordionChange=new X,this.update=new X}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-accordion"],["","p-accordion",""]],inputs:{compact:"compact",heading:"heading",open:"open",size:"size",tag:"tag",theme:"theme"},outputs:{accordionChange:"accordionChange",update:"update"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),gl=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-button"],["","p-button",""]],inputs:{aria:"aria",disabled:"disabled",hideLabel:"hideLabel",icon:"icon",iconSource:"iconSource",loading:"loading",name:"name",theme:"theme",type:"type",value:"value",variant:"variant"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),Qg=(()=>{class e extends Ze{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-button-group"],["","p-button-group",""]],inputs:{direction:"direction"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),e0=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-button-pure"],["","p-button-pure",""]],inputs:{active:"active",alignLabel:"alignLabel",aria:"aria",disabled:"disabled",hideLabel:"hideLabel",icon:"icon",iconSource:"iconSource",loading:"loading",name:"name",size:"size",stretch:"stretch",theme:"theme",type:"type",value:"value",weight:"weight"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),Kg=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-checkbox-wrapper"],["","p-checkbox-wrapper",""]],inputs:{hideLabel:"hideLabel",label:"label",loading:"loading",message:"message",state:"state",theme:"theme"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),id=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-divider"],["","p-divider",""]],inputs:{color:"color",direction:"direction",orientation:"orientation",theme:"theme"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),ml=(()=>{class e extends Ze{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-grid"],["","p-grid",""]],inputs:{direction:"direction",gutter:"gutter",wrap:"wrap"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),vl=(()=>{class e extends Ze{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-grid-item"],["","p-grid-item",""]],inputs:{offset:"offset",size:"size"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),yl=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-heading"],["","p-heading",""]],inputs:{align:"align",color:"color",ellipsis:"ellipsis",size:"size",tag:"tag",theme:"theme"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),Xg=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-icon"],["","p-icon",""]],inputs:{aria:"aria",color:"color",lazy:"lazy",name:"name",size:"size",source:"source",theme:"theme"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),t0=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-link"],["","p-link",""]],inputs:{aria:"aria",download:"download",hideLabel:"hideLabel",href:"href",icon:"icon",iconSource:"iconSource",rel:"rel",target:"target",theme:"theme",variant:"variant"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),sd=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-link-pure"],["","p-link-pure",""]],inputs:{active:"active",alignLabel:"alignLabel",aria:"aria",download:"download",hideLabel:"hideLabel",href:"href",icon:"icon",iconSource:"iconSource",rel:"rel",size:"size",stretch:"stretch",target:"target",theme:"theme",underline:"underline",weight:"weight"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),n0=(()=>{class e extends Ze{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-link-tile"],["","p-link-tile",""]],inputs:{align:"align",aria:"aria",aspectRatio:"aspectRatio",background:"background",compact:"compact",description:"description",download:"download",gradient:"gradient",href:"href",label:"label",rel:"rel",size:"size",target:"target",weight:"weight"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),r0=(()=>{class e extends ce{constructor(){super(...arguments),this.close=new X,this.dismiss=new X}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-modal"],["","p-modal",""]],inputs:{aria:"aria",disableBackdropClick:"disableBackdropClick",disableCloseButton:"disableCloseButton",dismissButton:"dismissButton",fullscreen:"fullscreen",heading:"heading",open:"open",theme:"theme"},outputs:{close:"close",dismiss:"dismiss"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),o0=(()=>{class e extends ce{constructor(){super(...arguments),this.update=new X}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-multi-select"],["","p-multi-select",""]],inputs:{description:"description",disabled:"disabled",dropdownDirection:"dropdownDirection",hideLabel:"hideLabel",label:"label",message:"message",name:"name",required:"required",state:"state",theme:"theme",value:"value"},outputs:{update:"update"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),s0=(()=>{class e extends Ze{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-multi-select-option"],["","p-multi-select-option",""]],inputs:{disabled:"disabled",value:"value"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),a0=(()=>{class e extends ce{constructor(){super(...arguments),this.pageChange=new X,this.update=new X}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-pagination"],["","p-pagination",""]],inputs:{activePage:"activePage",allyLabel:"allyLabel",allyLabelNext:"allyLabelNext",allyLabelPage:"allyLabelPage",allyLabelPrev:"allyLabelPrev",intl:"intl",itemsPerPage:"itemsPerPage",maxNumberOfPageLinks:"maxNumberOfPageLinks",showLastPage:"showLastPage",theme:"theme",totalItemsCount:"totalItemsCount"},outputs:{pageChange:"pageChange",update:"update"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),l0=(()=>{class e extends ce{constructor(){super(...arguments),this.update=new X}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-pin-code"],["","p-pin-code",""]],inputs:{description:"description",disabled:"disabled",hideLabel:"hideLabel",label:"label",length:"length",loading:"loading",message:"message",name:"name",required:"required",state:"state",theme:"theme",type:"type",value:"value"},outputs:{update:"update"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),c0=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-popover"],["","p-popover",""]],inputs:{aria:"aria",description:"description",direction:"direction",theme:"theme"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),u0=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-radio-button-wrapper"],["","p-radio-button-wrapper",""]],inputs:{hideLabel:"hideLabel",label:"label",loading:"loading",message:"message",state:"state",theme:"theme"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),d0=(()=>{class e extends ce{constructor(){super(...arguments),this.segmentedControlChange=new X,this.update=new X}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-segmented-control"],["","p-segmented-control",""]],inputs:{backgroundColor:"backgroundColor",columns:"columns",theme:"theme",value:"value"},outputs:{segmentedControlChange:"segmentedControlChange",update:"update"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),f0=(()=>{class e extends Ze{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-segmented-control-item"],["","p-segmented-control-item",""]],inputs:{disabled:"disabled",icon:"icon",iconSource:"iconSource",label:"label",value:"value"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),Jg=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-select-wrapper"],["","p-select-wrapper",""]],inputs:{description:"description",dropdownDirection:"dropdownDirection",filter:"filter",hideLabel:"hideLabel",label:"label",message:"message",native:"native",state:"state",theme:"theme"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),h0=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-spinner"],["","p-spinner",""]],inputs:{aria:"aria",size:"size",theme:"theme"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),p0=(()=>{class e extends ce{constructor(){super(...arguments),this.stepChange=new X,this.update=new X}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-stepper-horizontal"],["","p-stepper-horizontal",""]],inputs:{size:"size",theme:"theme"},outputs:{stepChange:"stepChange",update:"update"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),g0=(()=>{class e extends Ze{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-stepper-horizontal-item"],["","p-stepper-horizontal-item",""]],inputs:{disabled:"disabled",state:"state"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),m0=(()=>{class e extends ce{constructor(){super(...arguments),this.tabChange=new X,this.update=new X}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-tabs-bar"],["","p-tabs-bar",""]],inputs:{activeTabIndex:"activeTabIndex",gradientColor:"gradientColor",gradientColorScheme:"gradientColorScheme",size:"size",theme:"theme",weight:"weight"},outputs:{tabChange:"tabChange",update:"update"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),ad=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-text"],["","p-text",""]],inputs:{align:"align",color:"color",ellipsis:"ellipsis",size:"size",tag:"tag",theme:"theme",weight:"weight"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),v0=(()=>{class e extends ce{constructor(){super(...arguments),this.action=new X}}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-text-field-wrapper"],["","p-text-field-wrapper",""]],inputs:{actionIcon:"actionIcon",actionLoading:"actionLoading",description:"description",hideLabel:"hideLabel",label:"label",message:"message",showCharacterCount:"showCharacterCount",showCounter:"showCounter",showPasswordToggle:"showPasswordToggle",state:"state",submitButton:"submitButton",theme:"theme",unit:"unit",unitPosition:"unitPosition"},outputs:{action:"action"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),y0=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-textarea-wrapper"],["","p-textarea-wrapper",""]],inputs:{description:"description",hideLabel:"hideLabel",label:"label",message:"message",showCharacterCount:"showCharacterCount",showCounter:"showCounter",state:"state",theme:"theme"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})(),D0=(()=>{class e extends ce{}return e.\u0275fac=(()=>{let t;return function(r){return(t||(t=L(e)))(r||e)}})(),e.\u0275cmp=j({type:e,selectors:[["p-toast"],["","p-toast",""]],inputs:{theme:"theme"},features:[O],ngContentSelectors:W,decls:1,vars:0,template:function(n,r){1&n&&(H(),U(0))},encapsulation:2}),e})();class em{constructor(){this.prefix=""}}let lH=(()=>{class e{constructor(n){this.theme$=$(Yg);const r=n||[new em];this.theme$.next(r[0].theme||"light"),r.forEach(IB)}static load(n){return{ngModule:e,providers:[{provide:em,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(J(em,8))},e.\u0275mod=kn({type:e}),e.\u0275inj=_n({providers:[{provide:Yg,useValue:new un("light")}]}),e})(),cH=(()=>{class e{addMessage(n){const r=document.body.querySelector("p-toast,[p-toast]");customElements.whenDefined(r.tagName.toLowerCase()).then(()=>r.addMessage(n))}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),C0=(()=>{class e{constructor(n){this.toastManager=n,this.headingText="",this.activeTab=0,this.activePage=1,this.isDisabled=!1,this.isModalOpen=!1,this.isAccordion1Open=!1,this.isAccordion2Open=!1,this.toastCounter=1,this.content="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum."}onAccordion1Update(n){this.isAccordion1Open=n.detail.open}onAccordion2Update(n){this.isAccordion2Open=n.detail.open}onButtonClick(){this.headingText="Heading appears through Button click",this.isDisabled=!this.isDisabled}onButtonPureClick(){this.headingText="",this.isDisabled=!this.isDisabled}openModal(){this.isModalOpen=!0}queueToast(){this.toastManager.addMessage({text:`Some message ${this.toastCounter}`,state:"info"}),this.toastCounter++}handleModalClose(n){console.log(n),this.isModalOpen=!1}handlePageUpdate(n){console.log(n),this.activePage=n.detail.page}handleTabUpdate(n){console.log(n),this.activeTab=n.detail.activeTabIndex}static#e=this.\u0275fac=function(r){return new(r||e)(R(cH))};static#t=this.\u0275cmp=j({type:e,selectors:[["collection-page"]],decls:100,vars:17,consts:[["size","12"],["size","medium"],[1,"divider"],[3,"disabled","click"],["size","12",1,"contentWrapperSmall"],["id","heading","size","medium"],[3,"click"],[3,"heading","open","close"],[1,"footer"],["variant","tertiary",3,"click"],["href","https://www.porsche.com",1,"removeLinkStyle"],["size","12",1,"contentWrapperBig"],[3,"stretch"],["href","#hashTest",1,"removeLinkStyle"],["href","#propHashTest"],["size","5"],["href","#","label","Some Label","description","Default"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAQMAAAAk8RryAAAABlBMVEUAAAD2vP9xXLiUAAAAAXRSTlMAQObYZgAAABxJREFUGNNjYOBgYGBhYKAZ/R8MDsD4Q5amkz8ASp4PtTYYQZIAAAAASUVORK5CYII=","alt","Some alt text"],[3,"activeTabIndex","update"],["size","small"],["size","medium","name","highway","role","img"],[1,"accordion-wrapper"],["heading","Some Heading","tag","h3",3,"open","update"],[3,"description","direction"],["totalItemsCount","11","itemsPerPage","3",3,"activePage","update"]],template:function(r,o){1&r&&(P(0,"p-grid")(1,"p-grid-item",0)(2,"p-heading",1),z(3,"Buttons"),F(),De(4,"p-divider",2),P(5,"p-button",3),we("click",function(){return o.onButtonClick()}),z(6,"Submit"),F()(),P(7,"p-grid-item",4)(8,"p-button-pure",3),we("click",function(){return o.onButtonPureClick()}),z(9,"Dismiss"),F()(),P(10,"p-grid-item",4)(11,"p-heading",5),z(12),F()(),P(13,"p-grid-item",4)(14,"p-button",6),we("click",function(){return o.openModal()}),z(15,"Open Modal"),F(),P(16,"p-modal",7),we("close",function(s){return o.handleModalClose(s)}),P(17,"p-text"),z(18,"Some Content"),F(),P(19,"p-button-group",8)(20,"p-button"),z(21,"Save"),F(),P(22,"p-button",9),we("click",function(s){return o.handleModalClose(s)}),z(23,"Close"),F()()()(),P(24,"p-grid-item",4)(25,"p-button",6),we("click",function(){return o.queueToast()}),z(26,"Queue Toast"),F()(),P(27,"p-grid-item",0),De(28,"p-divider",2),P(29,"p-heading",1),z(30,"Links"),F(),De(31,"p-divider",2),P(32,"p-link")(33,"a",10),z(34,"porsche.com"),F()()(),P(35,"p-grid-item",11)(36,"p-link-pure",12)(37,"a",13),z(38,"Test PLinkPure"),F()(),P(39,"p-link-pure",14),z(40,"Test propHash"),F()(),P(41,"p-grid-item",15)(42,"p-link-tile",16),De(43,"img",17),F()(),P(44,"p-grid-item",0),De(45,"p-divider",2),P(46,"p-heading",1),z(47,"Tabs"),F(),De(48,"p-divider",2),P(49,"p-tabs-bar",18),we("update",function(s){return o.handleTabUpdate(s)}),P(50,"button"),z(51,"Tab 1"),F(),P(52,"button"),z(53,"Tab 2"),F(),P(54,"button"),z(55,"Tab 3"),F()()(),P(56,"p-grid-item",0),De(57,"p-divider",2),P(58,"p-heading",1),z(59,"Icons"),F(),De(60,"p-divider",2)(61,"p-spinner",19),F(),P(62,"p-grid-item",0),De(63,"p-icon",20),F(),P(64,"p-grid-item",0),De(65,"p-divider",2),P(66,"p-heading",1),z(67,"Accordion"),F(),De(68,"p-divider",2),F(),P(69,"p-grid-item",0)(70,"div",21)(71,"p-accordion",22),we("update",function(s){return o.onAccordion1Update(s)}),P(72,"p-text"),z(73),F(),P(74,"p-text"),z(75),F()(),P(76,"p-accordion",22),we("update",function(s){return o.onAccordion2Update(s)}),P(77,"p-text"),z(78),F(),P(79,"p-text"),z(80),F()()()(),P(81,"p-grid-item",0),De(82,"p-divider",2),P(83,"p-heading",1),z(84,"Popover"),F(),De(85,"p-divider",2),F(),P(86,"p-grid-item",0)(87,"p-text"),z(88," Lorem ipsum dolor sit amet, "),P(89,"p-popover"),z(90,"Some descriptive content"),F(),z(91," consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, "),De(92,"p-popover",23),z(93," sed diam voluptua. "),F()(),P(94,"p-grid-item",0),De(95,"p-divider",2),P(96,"p-heading",1),z(97),F(),De(98,"p-divider",2),P(99,"p-pagination",24),we("update",function(s){return o.handlePageUpdate(s)}),F()()()),2&r&&(B(5),q("disabled",o.isDisabled),B(3),q("disabled",!o.isDisabled),B(4),qt(o.headingText),B(4),q("heading","Some Heading")("open",o.isModalOpen),B(20),q("stretch",!0),B(13),q("activeTabIndex",o.activeTab),B(22),q("open",o.isAccordion1Open),B(2),qt(o.content),B(2),qt(o.content),B(1),q("open",o.isAccordion2Open),B(2),qt(o.content),B(2),qt(o.content),B(12),q("description","Short info opened top")("direction","top"),B(5),rs("You are on Page ",o.activePage," Page"),B(2),q("activePage",o.activePage))},dependencies:[JS,gl,Qg,e0,id,ml,vl,yl,Xg,t0,sd,n0,r0,a0,c0,h0,m0,ad],styles:[".footer[_ngcontent-%COMP%]{padding:2rem 0 0}.accordion-wrapper[_ngcontent-%COMP%]{max-width:800px}"]})}return e})(),w0=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||e)(R(Ir),R(sn))};static#t=this.\u0275dir=ie({type:e})}return e})(),ko=(()=>{class e extends w0{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=L(e)))(o||e)}})();static#t=this.\u0275dir=ie({type:e,features:[O]})}return e})();const gr=new G("NgValueAccessor"),Ss=new G("CallSetDisabledState",{providedIn:"root",factory:()=>hd}),hd="always";let aI=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=_n({})}return e})();const qH={provide:gr,useExisting:$e(()=>ym),multi:!0};function pI(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let ym=(()=>{class e extends ko{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;const o=pI(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function ZH(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=L(e)))(o||e)}})();static#t=this.\u0275dir=ie({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&we("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[We([qH]),O]})}return e})(),Dm=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(pI(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(R(sn),R(Ir),R(ym,9))};static#t=this.\u0275dir=ie({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const YH={provide:gr,useExisting:$e(()=>Cm),multi:!0};function gI(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Cm=(()=>{class e extends ko{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{let n;return function(o){return(n||(n=L(e)))(o||e)}})();static#t=this.\u0275dir=ie({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&we("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[We([YH]),O]})}return e})(),wm=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(gI(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(gI(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(R(sn),R(Ir),R(Cm,9))};static#t=this.\u0275dir=ie({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),iU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=_n({imports:[aI]})}return e})(),aU=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ss,useValue:n.callSetDisabledState??hd}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=_n({imports:[iU]})}return e})();function lU(e,t){if(1&e&&(Mo(0),P(1,"p-stepper-horizontal-item",29),z(2),F(),To()),2&e){const n=t.$implicit;B(1),q("state",n.state),B(1),rs(" ",n.name," ")}}function cU(e,t){if(1&e&&(P(0,"p-text"),z(1),F()),2&e){const n=In().$implicit;B(1),qt(n)}}function uU(e,t){if(1&e&&(Mo(0),At(1,cU,2,1,"p-text",30),To()),2&e){const n=t.index,r=In();B(1),q("ngIf",r.getActiveStepIndex(r.steps)===n)}}function dU(e,t){1&e&&(P(0,"p-heading",31),z(1,"Checkbox Worked"),F())}function fU(e,t){1&e&&(P(0,"p-heading",1),z(1,"Radio Worked"),F())}function hU(e,t){if(1&e&&(P(0,"option",9),z(1),F()),2&e){const n=t.$implicit;q("value",n),B(1),qt(n)}}function pU(e,t){if(1&e&&(P(0,"option",9),z(1),F()),2&e){const n=t.$implicit;q("value",n),B(1),qt(n)}}function gU(e,t){if(1&e&&(P(0,"p-text"),z(1),F()),2&e){const n=In().index,r=In(2);B(1),qt(r.content+n)}}function mU(e,t){if(1&e&&(P(0,"p-checkbox-wrapper",15),De(1,"input",16),F()),2&e){const n=In().index;q("label",In(2).content+n)}}function vU(e,t){if(1&e&&(P(0,"p-button",17),z(1),F()),2&e){const n=In().index,r=In(2);B(1),qt(r.content+n)}}function yU(e,t){if(1&e&&(Mo(0)(1,11),At(2,gU,2,1,"p-text",12)(3,mU,2,1,"p-checkbox-wrapper",13)(4,vU,2,1,"p-button",14),To()()),2&e){const n=In(2);B(1),q("ngSwitch",n.element),B(1),q("ngSwitchCase","text"),B(1),q("ngSwitchCase","checkbox"),B(1),q("ngSwitchCase","button")}}function DU(e,t){if(1&e&&(P(0,"p-grid-item",0),At(1,yU,5,4,"ng-container",10),F()),2&e){const n=In();B(1),q("ngForOf",n.elementsOnPage)}}const CU=["text","checkbox","button"],wU=[25,50,100];const AI_brand="#d5001c",Dn="'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif",An_regular=400,RU={xSmall:{fontFamily:Dn,fontWeight:An_regular,fontSize:"0.75rem",lineHeight:"calc(6px + 2.125ex)"},small:{fontFamily:Dn,fontWeight:An_regular,fontSize:"1rem",lineHeight:"calc(6px + 2.125ex)"},medium:{fontFamily:Dn,fontWeight:An_regular,fontSize:"1.5rem",lineHeight:"calc(6px + 2.125ex)"},large:{fontFamily:Dn,fontWeight:An_regular,fontSize:"2.25rem",lineHeight:"calc(6px + 2.125ex)"},xLarge:{fontFamily:Dn,fontWeight:An_regular,fontSize:"3.25rem",lineHeight:"calc(6px + 2.125ex)"}},$U=(typeof window<"u"&&window,e=>({width:"50px",height:"50px",background:e}));const $I=[{path:"",redirectTo:"collection",pathMatch:"full"},{path:"collection",component:C0,name:"Collection Page"},{path:"forms",component:(()=>{class e{constructor(){this.selectInput="Heading A",this.checkBox=!1,this.radioButton=!1,this.textFieldHeading="Change me",this.textValue="",this.currentValue=1,this.steps=[{state:"current",name:"Enter personal details"},{name:"Confirm e-mail"},{name:"Set password"}],this.stepContent=["A form with personal details could be displayed here.","A form with a verification code input field could be displayed here.","A form with a password input field could be displayed here."]}onSegmentedControlChange(n){this.currentValue=n.detail.value}handleSelectChange(n){this.selectInput=n.target.value}handleCheckbox(){this.checkBox=!1===this.checkBox}handleRadio(){this.radioButton=!1===this.radioButton}handleTextField(n){this.textValue=n.target.value,this.textFieldHeading=""===this.textValue?"Change me":this.textValue}getActiveStepIndex(n){return n.findIndex(r=>"current"===r.state)}onNextPrevStep(n){const r=[...this.steps],o=this.getActiveStepIndex(r);"next"===n?(r[o].state="complete",r[o+1].state="current"):(delete r[o].state,r[o-1].state="current"),this.steps=r}onStepChange(n){const{activeStepIndex:r}=n.detail,o=[...this.steps];for(let i=r+1;i{class e{constructor(){this.selectableElements=CU,this.selectableCounts=wU,this.count=25,this.element="text",this.elementsOnPage=Array(this.count),this.content="Lorem Ipsum ",this.shouldRender=!0,this.onElementChange=n=>{this.element=n.target.value},this.onCountChange=n=>{this.count=+n.target.value,this.elementsOnPage=Array(this.count)},this.onShouldRender=n=>{this.shouldRender=n.target.checked}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=j({type:e,selectors:[["performance"]],decls:17,vars:5,consts:[["size","12"],["size","medium"],["size","4"],[3,"value","change"],[3,"value",4,"ngFor","ngForOf"],["label","Render"],["type","checkbox","checked","",3,"change"],[2,"margin-top","2rem"],["size","12",4,"ngIf"],[3,"value"],[4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"label",4,"ngSwitchCase"],["variant","primary",4,"ngSwitchCase"],[3,"label"],["type","checkbox"],["variant","primary"]],template:function(r,o){1&r&&(P(0,"p-grid")(1,"p-grid-item",0)(2,"p-heading",1),z(3,"Choose Element and Count"),F()(),P(4,"p-grid-item",2)(5,"p-select-wrapper")(6,"select",3),we("change",function(s){return o.onElementChange(s)}),At(7,hU,2,2,"option",4),F()()(),P(8,"p-grid-item",2)(9,"p-select-wrapper")(10,"select",3),we("change",function(s){return o.onCountChange(s)}),At(11,pU,2,2,"option",4),F()()(),P(12,"p-grid-item",2)(13,"p-checkbox-wrapper",5)(14,"input",6),we("change",function(s){return o.onShouldRender(s)}),F()()()(),P(15,"p-grid",7),At(16,DU,2,1,"p-grid-item",8),F()),2&r&&(B(6),q("value",o.element),B(1),q("ngForOf",o.selectableElements),B(3),q("value",o.count),B(1),q("ngForOf",o.selectableCounts),B(5),q("ngIf",o.shouldRender))},dependencies:[Fu,ku,Lu,vE,gl,Kg,ml,vl,yl,Jg,ad,Dm,wm],encapsulation:2})}return e})(),name:"Performance"},{path:"phn-header",component:(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=j({type:e,selectors:[["phn-header-page"]],decls:12,vars:0,consts:[["env","preview","locale","de-DE",2,"position","absolute","left","0","right","0"],[2,"padding-top","150px"],["href","#"],["name","configurate"],["name","compare"],["name","search"]],template:function(r,o){1&r&&(De(0,"phn-header",0),P(1,"div",1)(2,"div")(3,"p-button"),z(4,"Some PButton"),F()(),P(5,"div")(6,"p-link-pure",2),z(7,"Some PLinkPure"),F()(),P(8,"div"),De(9,"p-icon",3)(10,"p-icon",4)(11,"p-icon",5),F()())},dependencies:[gl,Xg,sd],encapsulation:2})}return e})(),name:"Phn Header"},{path:"utilities",component:(()=>{class e{constructor(){this.backgroundColor=AI_brand,this.textMedium=RU.medium}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=j({type:e,selectors:[["utilities-page"]],decls:6,vars:5,consts:[[3,"ngStyle"],[1,"textSizeMedium"],[1,"backgroundColorPds",2,"width","50px","height","50px"]],template:function(r,o){1&r&&(P(0,"div"),z(1,"JS utilities"),F(),De(2,"div",0),P(3,"div",1),z(4,"Scss utilities"),F(),De(5,"div",2)),2&r&&(Vn(o.textMedium),B(2),q("ngStyle",L_(3,$U,o.backgroundColor)))},dependencies:[DE],styles:[".backgroundColorPds[_ngcontent-%COMP%]{background:#d5001c}.textSizeMedium[_ngcontent-%COMP%]{font-size:1.5rem;line-height:calc(6px + 2.125ex);font-family:Porsche Next,Arial Narrow,Arial,Heiti SC,SimHei,sans-serif;font-weight:400}"]})}return e})(),name:"Utilities"}];let VU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=_n({imports:[ZS.forRoot($I,{useHash:!0}),ZS]})}return e})();function jU(e,t){if(1&e&&(P(0,"p-link-pure")(1,"a",6),z(2),F()()),2&e){const n=In().$implicit;B(1),q("routerLink",n.path),B(1),qt(n.name)}}function BU(e,t){if(1&e&&(Mo(0),At(1,jU,3,2,"p-link-pure",5),To()),2&e){const n=t.$implicit;B(1),q("ngIf",""!==n.path)}}let HU=(()=>{class e{constructor(){this.routes=$I}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=j({type:e,selectors:[["app-root"]],decls:13,vars:2,consts:[[1,"pageLayout"],["size","12"],["size","medium",3,"align"],[1,"divider"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"routerLink"]],template:function(r,o){1&r&&(P(0,"div",0)(1,"p-grid")(2,"p-grid-item",1)(3,"p-heading",2),z(4,"Example usage of the Porsche-Design-System Angular"),F()(),P(5,"p-grid-item",1),De(6,"p-divider",3),F(),P(7,"p-grid-item",1),At(8,BU,2,1,"ng-container",4),F(),P(9,"p-grid-item",1),De(10,"p-divider",3),F()(),De(11,"router-outlet")(12,"p-toast"),F()),2&r&&(B(3),q("align","center"),B(5),q("ngForOf",o.routes))},dependencies:[Fu,ku,Fg,rd,id,ml,vl,yl,sd,D0],styles:[".pageLayout{margin-left:10%;margin-right:10%;margin-bottom:2rem}.removeLinkStyle{text-decoration:none;outline:none}.divider{margin-bottom:2rem;margin-top:2rem}.contentWrapperSmall{margin-top:1rem}.contentWrapperBig{margin-top:2rem}\n"],encapsulation:2})}return e})(),UU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=kn({type:e,bootstrap:[HU]});static#n=this.\u0275inj=_n({imports:[A2,VU,lH,aU]})}return e})();var WU=w(702),qU=w(155);M2().bootstrapModule(UU).catch(e=>console.error(e)),function GU(){var e=[];if(typeof window<"u"){var t=window;(!t.customElements||t.Element&&(!t.Element.prototype.closest||!t.Element.prototype.matches||!t.Element.prototype.remove||!t.Element.prototype.getRootNode))&&e.push(w.e(748).then(w.t.bind(w,111,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||t.NodeList&&!t.NodeList.prototype.forEach||!t.fetch||!function(){try{var r=new URL("b","http://a");return r.pathname="c%20d","http://a/c%20d"===r.href&&r.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&e.push(w.e(214).then(w.t.bind(w,812,23)))}return Promise.all(e)}().then(()=>{window,typeof window>"u"||(function ZU(){qU.c.load({prefix:"phn"})}(),(0,WU.b)([["phn-country-recommender",[[2,"phn-country-recommender",{locale:[1],content:[16],flagURL:[32]},[[1,"animationend","handleAnimationEnd"]],{locale:["localeWatcher"]}]]],["phn-single-drawer",[[2,"phn-single-drawer",{breakpoint:[2],locale:[1],usingKeyboard:[4,"using-keyboard"],receivedContent:[4,"received-content"]},[[0,"keydown","handleKeyDown"]]]]],["phn-double-drawer",[[2,"phn-double-drawer",{breakpoint:[2],locale:[1],initialUsingKeyboard:[4,"initial-using-keyboard"],routingKeyHistory:[16],routingKeyPointer:[2,"routing-key-pointer"],receivedContent:[4,"received-content"],usingKeyboard:[32],animatingRoutingKeyPointer:[32],isAnimating:[32],animatingRoutingKey:[32]},[[9,"resize","onResizeWindow"],[0,"keydown","handleKeyDown"],[0,"mobileMenuItemClick","handleMobileMenuItemClick"],[0,"sideDrawerItemClick","handleSideDrawerItemClick"]],{routingKeyPointer:["watchRoutingKeyPointer"],routingKeyHistory:["watchRoutingKeyHistory"]}]]],["phn-level-0-icons",[[6,"phn-level-0-icons",{locale:[1],theme:[1],mode:[1],app:[1],breakpoint:[2],isLoading:[4,"is-loading"],isNavigationLoaded:[4,"is-navigation-loaded"]}]]],["contextual-drawer",[[6,"contextual-drawer",{isDrawerOpened:[32]},[[8,"phnCloseContextualDrawer","closeContextualDrawer"],[8,"phnOpenContextualDrawer","openContextualDrawer"]]]]],["phn-backdrop",[[2,"phn-backdrop",null,[[1,"click","handleClick"]]]]],["phn-logo",[[2,"phn-logo",{size:[1],locale:[1],app:[1],theme:[1],mode:[1],breakpoint:[2]}]]],["phn-drawer-header",[[2,"phn-drawer-header",{backButtonText:[1,"back-button-text"],backButtonAnalyticsId:[1,"back-button-analytics-id"],showBackButton:[4,"show-back-button"],route:[1],breakpoint:[2],receivedContent:[4,"received-content"],locale:[1],showSkeleton:[32]}]]],["phn-side-drawer-item",[[6,"phn-side-drawer-item",{text:[1],analyticsId:[1,"analytics-id"],subtext:[1],elementId:[1,"element-id"],link:[1],iconRight:[1,"icon-right"],datalayerEventAction:[1,"datalayer-event-action"],customDatalayerProperties:[16],isActive:[4,"is-active"],hasDoubleDrawerAnimationFinished:[4,"has-double-drawer-animation-finished"],renderSignatures:[4,"render-signatures"]}]]],["phn-side-drawer",[[2,"phn-side-drawer",{activeRoutingKey:[1,"active-routing-key"],locale:[1]}]]],["phn-burger-button_2",[[2,"phn-burger-button",{hideLabel:[4,"hide-label"],alignLabel:[1,"align-label"],isLoading:[4,"is-loading"],theme:[1],mode:[1]}],[2,"phn-my-porsche-icon-button",{mode:[1],theme:[1],isMyPorscheHoveredOn:[32]}]]],["phn-menu-item",[[6,"phn-menu-item",{text:[1],analyticsId:[1,"analytics-id"],subtext:[1],fontWeight:[1,"font-weight"],elementId:[1,"element-id"],size:[1],iconLeft:[1,"icon-left"],iconRight:[1,"icon-right"],link:[1],isLoading:[4,"is-loading"],datalayerEventAction:[1,"datalayer-event-action"],customDatalayerProperties:[16],target:[1],variant:[1],isModels:[4,"is-models"]}]]],["phn-back-button_3",[[2,"phn-heading",{text:[1],subtext:[1]}],[2,"phn-signature-heading",{text:[1],subtext:[1]}],[2,"phn-back-button",{text:[1],analyticsId:[1,"analytics-id"]}]]],["phn-autocomplete-search-field_8",[[2,"phn-dealer-search-results",{showOverlay:[4,"show-overlay"],locale:[1],breakpoint:[2]}],[2,"phn-dealer-search-form-geolocation",{locale:[1],predictions:[32],errorMessage:[32],formErrorMessage:[32],isLoading:[32],showGeolocationButton:[32],animateResults:[32],searchTerm:[32],showSkeleton:[32]},[[0,"autoCompleteLoaded","loadedAutoCompleteListener"]]],[2,"phn-dealer-search-by-number-of-dealers",{locale:[1],isLoading:[32],formErrorMessage:[32]}],[2,"phn-dealer-search-form-dropdown",{locale:[1],breakpoint:[2],isLoading:[32],errorMessage:[32],dealersOfRegion:[32],cities:[32],selectedProvince:[32],selectedCity:[32],showSkeleton:[32]},[[0,"removeSkeletonOnDealerSearchForm","loadedAutoCompleteListener"]]],[2,"phn-myporsche-login",{login:[16],more:[16],signup:[16],signupText:[1,"signup-text"]}],[2,"phn-dealer-details-drawer",{dealerId:[1,"dealer-id"],locale:[1],breakpoint:[2],errorMessage:[32],showSkeleton:[32]}],[2,"phn-autocomplete-search-field",{placeholder:[1],predictions:[16],initialValue:[1,"initial-value"],errorState:[1,"error-state"],errorMessage:[1,"error-message"],showPredictions:[32],highlightedPredictionIndex:[32],searchterm:[32]},[[9,"click","clickListener"],[0,"keydown","keydownListener"]],{showPredictions:["watchShowPredictions"],initialValue:["watchInitialValue"]}],[6,"phn-menu-item-card",{text:[1],analyticsId:[1,"analytics-id"],subtext:[1],elementId:[1,"element-id"],link:[1],datalayerEventAction:[1,"datalayer-event-action"],customDatalayerProperties:[16],target:[1],iconLeft:[1,"icon-left"]},[[0,"keydown","handleKeyDown"]]]]],["phn-car-body-types-drawer_7",[[2,"phn-router",{activeRoutingKey:[1,"active-routing-key"],breakpoint:[2],locale:[1],receivedContent:[4,"received-content"]}],[2,"phn-dealer-search-form",{dealer:[16],locale:[1],showHeadline:[4,"show-headline"],breakpoint:[2],showOverlay:[32],formErrorMessage:[32],showSkeleton:[32],animateResults:[32]},[[0,"predictionsToggle","toggleOverlay"],[0,"removeSkeletonOnDealerSearchForm","loadedAutoCompleteListener"]]],[2,"phn-myporsche-drawer",{showSkeleton:[32]}],[2,"phn-level-1",{locale:[1],breakpoint:[2]}],[2,"phn-menu",{item:[16],showHeadline:[4,"show-headline"],receivedContent:[4,"received-content"],showSkeleton:[32]}],[2,"phn-models",{breakpoint:[2],showHeadline:[4,"show-headline"],showSkeleton:[32]}],[2,"phn-car-body-types-drawer",{series:[16],breakpoint:[2],seriesLoaded:[32],showSkeleton:[32]},null,{series:["seriesWatcher"]}]]],["phn-header_3",[[1,"phn-header",{locale:[1],env:[1],clientId:[1,"client-id"],pageName:[1,"page-name"],theme:[1],mode:[1],limitedWidth:[1,"limited-width"],app:[1],initialRoutingPath:[1,"initial-routing-path"],displayLogoOnly:[4,"display-logo-only"],numberOfShoppingItems:[2,"number-of-shopping-items"],wishlistItemsNumber:[2,"wishlist-items-number"],shopInformation:[1,"shop-information"],loadingContent:[32],receivedContent:[32],breakpoint:[32]},[[9,"resize","resizeHandler"],[9,"message","newAuthMessageReceived"],[0,"loginEvent","handleLogin"],[0,"logoutEvent","handleLogout"],[9,"ucReady","handleUserCentricsReady"],[9,"ucInit","handleUserCentricsInitalization"],[0,"navigationLoaded","navigationLoadedHandler"]],{locale:["localeWatchHandler"],pageName:["pageNameWatchHandler"],env:["newEnvReceived"],app:["appWatcher"],breakpoint:["breakpointWatcher"],shopInformation:["watchShopVariable"],initialRoutingPath:["initialRoutingPathWatcher"]}],[6,"phn-wrapper",{locale:[1],breakpoint:[2],loadingContent:[4,"loading-content"],receivedContent:[4,"received-content"],theme:[1],mode:[1],app:[1],displayLogoOnly:[4,"display-logo-only"],limitedWidth:[4,"limited-width"],showCountryRecommender:[32],countryRecommenderClosed:[32]}],[6,"phn-level-0",{locale:[1],breakpoint:[2],loadingContent:[4,"loading-content"],receivedContent:[4,"received-content"],theme:[1],mode:[1],app:[1],displayLogoOnly:[4,"display-logo-only"],limitedWidth:[4,"limited-width"],usingKeyboard:[32],scrolledPastHeader:[32],showBackdrop:[32],routingKeyHistory:[32],routingKeyPointer:[32],isNavigationLoaded:[32],isLoading:[32],isMyPorscheHoveredOn:[32]},[[0,"logoLoaded","logoLoadedHandler"],[9,"scroll","scrollHandler"],[9,"keydown","handleKeyDown"],[1,"click","handleClick"],[0,"mobileMenuItemClick","handleMobileMenuItemClick"],[0,"sideDrawerItemClick","handleSideDrawerItemClick"],[0,"clickDrawerHeaderBack","handleClickDrawerHeaderBack"],[0,"clickDrawerHeaderClose","handleClickDrawerHeaderClose"],[0,"backdropClosed","handleBackdropClosed"],[0,"drawerChanged","handleDrawerChanged"],[0,"openDrawer","handleOpenDrawer"]],{loadingContent:["loadingContentWatcher"],breakpoint:["breakpointWatcher"],receivedContent:["receivedContentWatcher"]}]]]],void 0))})},702:(Fr,mr,w)=>{"use strict";w.d(mr,{F:()=>Td,H:()=>Ho,a:()=>Os,b:()=>Ke,c:()=>Sm,d:()=>so,f:()=>Fs,g:()=>Sl,h:()=>wn,r:()=>Tm});var jt=w(861);let Ye,xt,dt,me=!1,tt=!1,It=!1,Xt=null,Pt=!1;const so=f=>{const p=new URL(f,Ce.$resourcesUrl$);return p.origin!==Yn.location.origin?p.href:p.pathname},vr="s-id",_e="sty-id",nt="http://www.w3.org/1999/xlink",Dt={},uo=f=>"object"==(f=typeof f)||"function"===f;function Bo(f){var p,m,v;return null!==(v=null===(m=null===(p=f.head)||void 0===p?void 0:p.querySelector('meta[name="csp-nonce"]'))||void 0===m?void 0:m.getAttribute("content"))&&void 0!==v?v:void 0}const wn=(f,p,...m)=>{let v=null,_=null,D=null,b=!1,x=!1;const M=[],T=Q=>{for(let ee=0;eeQ[ee]).join(" "))}}if("function"==typeof f)return f(null===p?{}:p,M,Uo);const V=ft(f,null);return V.$attrs$=p,M.length>0&&(V.$children$=M),V.$key$=_,V.$name$=D,V},ft=(f,p)=>({$flags$:0,$tag$:f,$text$:p,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Ho={},Uo={forEach:(f,p)=>f.map(kr).forEach(p),map:(f,p)=>f.map(kr).map(p).map(Dd)},kr=f=>({vattrs:f.$attrs$,vchildren:f.$children$,vkey:f.$key$,vname:f.$name$,vtag:f.$tag$,vtext:f.$text$}),Dd=f=>{if("function"==typeof f.vtag){const m=Object.assign({},f.vattrs);return f.vkey&&(m.key=f.vkey),f.vname&&(m.name=f.vname),wn(f.vtag,m,...f.vchildren||[])}const p=ft(f.vtag,f.vtext);return p.$attrs$=f.vattrs,p.$children$=f.vchildren,p.$key$=f.vkey,p.$name$=f.vname,p},bl=(f,p,m,v,_,D,b)=>{let x,M,T,V;if(1===D.nodeType){for(x=D.getAttribute("c-id"),x&&(M=x.split("."),(M[0]===b||"0"===M[0])&&(T={$flags$:0,$hostId$:M[0],$nodeId$:M[1],$depth$:M[2],$index$:M[3],$tag$:D.tagName.toLowerCase(),$elm$:D,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},p.push(T),D.removeAttribute("c-id"),f.$children$||(f.$children$=[]),f.$children$[T.$index$]=T,f=T,v&&"0"===T.$depth$&&(v[T.$index$]=T.$elm$))),V=D.childNodes.length-1;V>=0;V--)bl(f,p,m,v,_,D.childNodes[V],b);if(D.shadowRoot)for(V=D.shadowRoot.childNodes.length-1;V>=0;V--)bl(f,p,m,v,_,D.shadowRoot.childNodes[V],b)}else if(8===D.nodeType)M=D.nodeValue.split("."),(M[1]===b||"0"===M[1])&&(x=M[0],T={$flags$:0,$hostId$:M[1],$nodeId$:M[2],$depth$:M[3],$index$:M[4],$elm$:D,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===x?(T.$elm$=D.nextSibling,T.$elm$&&3===T.$elm$.nodeType&&(T.$text$=T.$elm$.textContent,p.push(T),D.remove(),f.$children$||(f.$children$=[]),f.$children$[T.$index$]=T,v&&"0"===T.$depth$&&(v[T.$index$]=T.$elm$))):T.$hostId$===b&&("s"===x?(T.$tag$="slot",D["s-sn"]=M[5]?T.$name$=M[5]:"",D["s-sr"]=!0,v&&(T.$elm$=wt.createElement(T.$tag$),T.$name$&&T.$elm$.setAttribute("name",T.$name$),D.parentNode.insertBefore(T.$elm$,D),D.remove(),"0"===T.$depth$&&(v[T.$index$]=T.$elm$)),m.push(T),f.$children$||(f.$children$=[]),f.$children$[T.$index$]=T):"r"===x&&(v?D.remove():(_["s-cr"]=D,D["s-cn"]=!0))));else if(f&&"style"===f.$tag$){const Q=ft(null,D.textContent);Q.$elm$=D,Q.$index$="0",f.$children$=[Q]}},El=(f,p)=>{if(1===f.nodeType){let m=0;for(;mZn(f).$hostElement$,Sm=(f,p,m)=>{const v=Sl(f);return{emit:_=>Cd(v,p,{bubbles:!!(4&m),composed:!!(2&m),cancelable:!!(1&m),detail:_})}},Cd=(f,p,m)=>{const v=Ce.ce(p,m);return f.dispatchEvent(v),v},Il=new WeakMap,As=(f,p,m)=>{let v=Xo.get(f);Nd&&m?(v=v||new CSSStyleSheet,"string"==typeof v?v=p:v.replaceSync(p)):v=p,Xo.set(f,v)},wd=(f,p,m)=>{var v;const _=Tl(p),D=Xo.get(_);if(f=11===f.nodeType?f:wt,D)if("string"==typeof D){let x,b=Il.get(f=f.head||f);if(b||Il.set(f,b=new Set),!b.has(_)){if(f.host&&(x=f.querySelector(`[${_e}="${_}"]`)))x.innerHTML=D;else{x=wt.createElement("style"),x.innerHTML=D;const M=null!==(v=Ce.$nonce$)&&void 0!==v?v:Bo(wt);null!=M&&x.setAttribute("nonce",M),f.insertBefore(x,f.querySelector("link"))}b&&b.add(_)}}else f.adoptedStyleSheets.includes(D)||(f.adoptedStyleSheets=[...f.adoptedStyleSheets,D]);return _},Tl=(f,p)=>"sc-"+f.$tagName$,Im=f=>f.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Re=(f,p,m,v,_,D)=>{if(m!==v){let b=xd(f,p),x=p.toLowerCase();if("class"===p){const M=f.classList,T=zo(m),V=zo(v);M.remove(...T.filter(Q=>Q&&!V.includes(Q))),M.add(...V.filter(Q=>Q&&!T.includes(Q)))}else if("style"===p){for(const M in m)(!v||null==v[M])&&(M.includes("-")?f.style.removeProperty(M):f.style[M]="");for(const M in v)(!m||v[M]!==m[M])&&(M.includes("-")?f.style.setProperty(M,v[M]):f.style[M]=v[M])}else if("key"!==p)if("ref"===p)v&&v(f);else if(b||"o"!==p[0]||"n"!==p[1]){const M=uo(v);if((b||M&&null!==v)&&!_)try{if(f.tagName.includes("-"))f[p]=v;else{const V=v??"";"list"===p?b=!1:(null==m||f[p]!=V)&&(f[p]=V)}}catch{}let T=!1;x!==(x=x.replace(/^xlink\:?/,""))&&(p=x,T=!0),null==v||!1===v?(!1!==v||""===f.getAttribute(p))&&(T?f.removeAttributeNS(nt,p):f.removeAttribute(p)):(!b||4&D||_)&&!M&&(v=!0===v?"":v,T?f.setAttributeNS(nt,p,v):f.setAttribute(p,v))}else p="-"===p[2]?p.slice(3):xd(Yn,x)?x.slice(2):x[2]+p.slice(3),m&&Ce.rel(f,p,m,!1),v&&Ce.ael(f,p,v,!1)}},xs=/\s/,zo=f=>f?f.split(xs):[],Go=(f,p,m,v)=>{const _=11===p.$elm$.nodeType&&p.$elm$.host?p.$elm$.host:p.$elm$,D=f&&f.$attrs$||Dt,b=p.$attrs$||Dt;for(v in D)v in b||Re(_,v,D[v],void 0,m,p.$flags$);for(v in b)Re(_,v,D[v],b[v],m,p.$flags$)},Ct=(f,p,m,v)=>{const _=p.$children$[m];let b,x,M,D=0;if(me||(It=!0,"slot"===_.$tag$&&(Ye&&v.classList.add(Ye+"-s"),_.$flags$|=_.$children$?2:1)),null!==_.$text$)b=_.$elm$=wt.createTextNode(_.$text$);else if(1&_.$flags$)b=_.$elm$=wt.createTextNode("");else if(b=_.$elm$=wt.createElement(2&_.$flags$?"slot-fb":_.$tag$),Go(null,_,!1),(f=>null!=f)(Ye)&&b["s-si"]!==Ye&&b.classList.add(b["s-si"]=Ye),_.$children$)for(D=0;D<_.$children$.length;++D)x=Ct(f,_,D,b),x&&b.appendChild(x);return b["s-hn"]=dt,3&_.$flags$&&(b["s-sr"]=!0,b["s-cr"]=xt,b["s-sn"]=_.$name$||"",M=f&&f.$children$&&f.$children$[m],M&&M.$tag$===_.$tag$&&f.$elm$&&Lr(f.$elm$,!1)),b},Lr=(f,p)=>{Ce.$flags$|=1;const m=f.childNodes;for(let v=m.length-1;v>=0;v--){const _=m[v];_["s-hn"]!==dt&&_["s-ol"]&&(qo(_).insertBefore(_,Wo(_)),_["s-ol"].remove(),_["s-ol"]=void 0,It=!0),p&&Lr(_,p)}Ce.$flags$&=-2},Ps=(f,p,m,v,_,D)=>{let x,b=f["s-cr"]&&f["s-cr"].parentNode||f;for(b.shadowRoot&&b.tagName===dt&&(b=b.shadowRoot);_<=D;++_)v[_]&&(x=Ct(null,m,_,f),x&&(v[_].$elm$=x,b.insertBefore(x,Wo(p))))},Ns=(f,p,m)=>{for(let v=p;v<=m;++v){const _=f[v];if(_){const D=_.$elm$;fo(_),D&&(tt=!0,D["s-ol"]?D["s-ol"].remove():Lr(D,!0),D.remove())}}},Dr=(f,p)=>f.$tag$===p.$tag$&&("slot"===f.$tag$?f.$name$===p.$name$:f.$key$===p.$key$),Wo=f=>f&&f["s-ol"]||f,qo=f=>(f["s-ol"]?f["s-ol"]:f).parentNode,$r=(f,p)=>{const m=p.$elm$=f.$elm$,v=f.$children$,_=p.$children$,b=p.$text$;let x;null===b?("slot"===p.$tag$||Go(f,p,!1),null!==v&&null!==_?((f,p,m,v)=>{let Nt,_t,_=0,D=0,b=0,x=0,M=p.length-1,T=p[0],V=p[M],Q=v.length-1,ee=v[0],ve=v[Q];for(;_<=M&&D<=Q;)if(null==T)T=p[++_];else if(null==V)V=p[--M];else if(null==ee)ee=v[++D];else if(null==ve)ve=v[--Q];else if(Dr(T,ee))$r(T,ee),T=p[++_],ee=v[++D];else if(Dr(V,ve))$r(V,ve),V=p[--M],ve=v[--Q];else if(Dr(T,ve))("slot"===T.$tag$||"slot"===ve.$tag$)&&Lr(T.$elm$.parentNode,!1),$r(T,ve),f.insertBefore(T.$elm$,V.$elm$.nextSibling),T=p[++_],ve=v[--Q];else if(Dr(V,ee))("slot"===T.$tag$||"slot"===ve.$tag$)&&Lr(V.$elm$.parentNode,!1),$r(V,ee),f.insertBefore(V.$elm$,T.$elm$),V=p[--M],ee=v[++D];else{for(b=-1,x=_;x<=M;++x)if(p[x]&&null!==p[x].$key$&&p[x].$key$===ee.$key$){b=x;break}b>=0?(_t=p[b],_t.$tag$!==ee.$tag$?Nt=Ct(p&&p[D],m,b,f):($r(_t,ee),p[b]=void 0,Nt=_t.$elm$),ee=v[++D]):(Nt=Ct(p&&p[D],m,D,f),ee=v[++D]),Nt&&qo(T.$elm$).insertBefore(Nt,Wo(T.$elm$))}_>M?Ps(f,null==v[Q+1]?null:v[Q+1].$elm$,m,v,D,Q):D>Q&&Ns(p,_,M)})(m,v,p,_):null!==_?(null!==f.$text$&&(m.textContent=""),Ps(m,null,p,_,0,_.length-1)):null!==v&&Ns(v,0,v.length-1)):(x=m["s-cr"])?x.parentNode.textContent=b:f.$text$!==b&&(m.data=b)},Al=f=>{const p=f.childNodes;let m,v,_,D,b,x;for(v=0,_=p.length;v<_;v++)if(m=p[v],1===m.nodeType){if(m["s-sr"])for(b=m["s-sn"],m.hidden=!1,D=0;D<_;D++)if(x=p[D].nodeType,p[D]["s-hn"]!==m["s-hn"]||""!==b){if(1===x&&b===p[D].getAttribute("slot")){m.hidden=!0;break}}else if(1===x||3===x&&""!==p[D].textContent.trim()){m.hidden=!0;break}Al(m)}},ln=[],Zo=f=>{let p,m,v,_,D,b,x=0;const M=f.childNodes,T=M.length;for(;x=0;b--)m=v[b],!m["s-cn"]&&!m["s-nr"]&&m["s-hn"]!==p["s-hn"]&&(qn(m,_)?(D=ln.find(V=>V.$nodeToRelocate$===m),tt=!0,m["s-sn"]=m["s-sn"]||_,D?D.$slotRefNode$=p:ln.push({$slotRefNode$:p,$nodeToRelocate$:m}),m["s-sr"]&&ln.map(V=>{qn(V.$nodeToRelocate$,m["s-sn"])&&(D=ln.find(Q=>Q.$nodeToRelocate$===m),D&&!V.$slotRefNode$&&(V.$slotRefNode$=D.$slotRefNode$))})):ln.some(V=>V.$nodeToRelocate$===m)||ln.push({$nodeToRelocate$:m}));1===p.nodeType&&Zo(p)}},qn=(f,p)=>1===f.nodeType?null===f.getAttribute("slot")&&""===p||f.getAttribute("slot")===p:f["s-sn"]===p||""===p,fo=f=>{f.$attrs$&&f.$attrs$.ref&&f.$attrs$.ref(null),f.$children$&&f.$children$.map(fo)},Yo=(f,p)=>{p&&!f.$onRenderResolve$&&p["s-p"]&&p["s-p"].push(new Promise(m=>f.$onRenderResolve$=m))},Qo=(f,p)=>{if(f.$flags$|=16,!(4&f.$flags$))return Yo(f,f.$ancestorComponent$),Rd(()=>Rs(f,p));f.$flags$|=512},Rs=(f,p)=>{const v=f.$lazyInstance$;let _;return p&&(f.$flags$|=256,f.$queuedListeners$&&(f.$queuedListeners$.map(([D,b])=>po(v,D,b)),f.$queuedListeners$=void 0),_=po(v,"componentWillLoad")),bd(_,()=>Ko(f,v,p))},bd=(f,p)=>ho(f)?f.then(p):p(),ho=f=>f instanceof Promise||f&&f.then&&"function"==typeof f.then,Ko=function(){var f=(0,jt.Z)(function*(p,m,v){var _;const D=p.$hostElement$,x=D["s-rc"];v&&(f=>{const p=f.$cmpMeta$,m=f.$hostElement$,v=p.$flags$,D=wd(m.shadowRoot?m.shadowRoot:m.getRootNode(),p);10&v&&(m["s-sc"]=D,m.classList.add(D+"-h"),2&v&&m.classList.add(D+"-s"))})(p);Ed(p,m,D,v),x&&(x.map(T=>T()),D["s-rc"]=void 0);{const T=null!==(_=D["s-p"])&&void 0!==_?_:[],V=()=>Sd(p);0===T.length?V():(Promise.all(T).then(V),p.$flags$|=4,T.length=0)}});return function(m,v,_){return f.apply(this,arguments)}}(),Ed=(f,p,m,v)=>{try{Xt=p,p=p.render(),f.$flags$&=-17,f.$flags$|=2,((f,p,m=!1)=>{const v=f.$hostElement$,_=f.$cmpMeta$,D=f.$vnode$||ft(null,null),b=(f=>f&&f.$tag$===Ho)(p)?p:wn(null,null,p);if(dt=v.tagName,m&&b.$attrs$)for(const x of Object.keys(b.$attrs$))v.hasAttribute(x)&&!["key","ref","style","class"].includes(x)&&(b.$attrs$[x]=v[x]);if(b.$tag$=null,b.$flags$|=4,f.$vnode$=b,b.$elm$=D.$elm$=v.shadowRoot||v,Ye=v["s-sc"],xt=v["s-cr"],me=0!=(1&_.$flags$),tt=!1,$r(D,b),Ce.$flags$|=1,It){Zo(b.$elm$);let x,M,T,V,Q,ee,ve=0;for(;veXt,Sd=f=>{const m=f.$hostElement$,_=f.$lazyInstance$,D=f.$ancestorComponent$;po(_,"componentDidRender"),64&f.$flags$||(f.$flags$|=64,ks(m),po(_,"componentDidLoad"),f.$onReadyResolve$(m),D||xn()),f.$onRenderResolve$&&(f.$onRenderResolve$(),f.$onRenderResolve$=void 0),512&f.$flags$&&Hs(()=>Qo(f,!1)),f.$flags$&=-517},Fs=f=>{{const p=Zn(f),m=p.$hostElement$.isConnected;return m&&2==(18&p.$flags$)&&Qo(p,!1),m}},xn=f=>{ks(wt.documentElement),Hs(()=>Cd(Yn,"appload",{detail:{namespace:"porsche-navigation"}}))},po=(f,p,m)=>{if(f&&f[p])try{return f[p](m)}catch(v){ze(v)}},ks=f=>f.classList.add("hydrated"),Pl=(f,p,m)=>{var v;if(p.$members$){f.watchers&&(p.$watchers$=f.watchers);const _=Object.entries(p.$members$),D=f.prototype;if(_.map(([b,[x]])=>{(31&x||2&m&&32&x)&&Object.defineProperty(D,b,{get(){return((f,p)=>Zn(this).$instanceValues$.get(p))(0,b)},set(M){((f,p,m,v)=>{const _=Zn(f),D=_.$hostElement$,b=_.$instanceValues$.get(p),x=_.$flags$,M=_.$lazyInstance$;m=((f,p)=>null==f||uo(f)?f:4&p?"false"!==f&&(""===f||!!f):2&p?parseFloat(f):1&p?String(f):f)(m,v.$members$[p][0]);const T=Number.isNaN(b)&&Number.isNaN(m);if((!(8&x)||void 0===b)&&m!==b&&!T&&(_.$instanceValues$.set(p,m),M)){if(v.$watchers$&&128&x){const Q=v.$watchers$[p];Q&&Q.map(ee=>{try{M[ee](m,b,p)}catch(ve){ze(ve,D)}})}2==(18&x)&&Qo(_,!1)}})(this,b,M,p)},configurable:!0,enumerable:!0})}),1&m){const b=new Map;D.attributeChangedCallback=function(x,M,T){Ce.jmp(()=>{const V=b.get(x);if(this.hasOwnProperty(V))T=this[V],delete this[V];else{if(D.hasOwnProperty(V)&&"number"==typeof this[V]&&this[V]==T)return;if(null==V){const Q=Zn(this),ee=Q?.$flags$;if(!(8&ee)&&128&ee&&T!==M){const ve=Q.$lazyInstance$,Nt=p.$watchers$[x];Nt?.forEach(_t=>{null!=ve[_t]&&ve[_t].call(ve,T,M,x)})}return}}this[V]=(null!==T||"boolean"!=typeof this[V])&&T})},f.observedAttributes=Array.from(new Set([...Object.keys(null!==(v=p.$watchers$)&&void 0!==v?v:{}),..._.filter(([x,M])=>15&M[0]).map(([x,M])=>{const T=M[1]||x;return b.set(T,x),T})]))}}return f},Id=function(){var f=(0,jt.Z)(function*(p,m,v,_,D){if(!(32&m.$flags$)){m.$flags$|=32;{if((D=Rl(v)).then){const T=()=>{};D=yield D,T()}D.isProxied||(v.$watchers$=D.watchers,Pl(D,v,2),D.isProxied=!0);const M=()=>{};m.$flags$|=8;try{new D(m)}catch(T){ze(T)}m.$flags$&=-9,m.$flags$|=128,M()}if(D.style){let M=D.style;const T=Tl(v);if(!Xo.has(T)){const V=()=>{};As(T,M,!!(1&v.$flags$)),V()}}}const b=m.$ancestorComponent$,x=()=>Qo(m,!0);b&&b["s-rc"]?b["s-rc"].push(x):x()});return function(m,v,_,D,b){return f.apply(this,arguments)}}(),Nl=f=>{const p=f["s-cr"]=wt.createComment("");p["s-cn"]=!0,f.insertBefore(p,f.firstChild)},Ls=f=>{po(f,"disconnectedCallback")},rt=function(){var f=(0,jt.Z)(function*(p){if(!(1&Ce.$flags$)){const m=Zn(p);m.$rmListeners$&&(m.$rmListeners$.map(v=>v()),m.$rmListeners$=void 0),m?.$lazyInstance$?Ls(m.$lazyInstance$):m?.$onReadyPromise$&&m.$onReadyPromise$.then(()=>Ls(m.$lazyInstance$))}});return function(m){return f.apply(this,arguments)}}(),Ke=(f,p={})=>{var m;const _=[],D=p.exclude||[],b=Yn.customElements,x=wt.head,M=x.querySelector("meta[charset]"),T=wt.createElement("style"),V=[],Q=wt.querySelectorAll(`[${_e}]`);let ee,ve=!0,Nt=0;for(Object.assign(Ce,p),Ce.$resourcesUrl$=new URL(p.resourcesUrl||"./",wt.baseURI).href,Ce.$flags$|=2;Nt{_t[1].map(Qn=>{var ei;const Nn={$flags$:Qn[0],$tagName$:Qn[1],$members$:Qn[2],$listeners$:Qn[3]};Nn.$members$=Qn[2],Nn.$listeners$=Qn[3],Nn.$watchers$=null!==(ei=Qn[4])&&void 0!==ei?ei:{};const bt=Nn.$tagName$,Od=class extends HTMLElement{constructor(ti){super(ti),Am(ti=this,Nn),1&Nn.$flags$&&ti.attachShadow({mode:"open"})}connectedCallback(){ee&&(clearTimeout(ee),ee=null),ve?V.push(this):Ce.jmp(()=>(f=>{if(!(1&Ce.$flags$)){const p=Zn(f),m=p.$cmpMeta$,v=()=>{};if(1&p.$flags$)Ie(f,p,m.$listeners$),p?.$lazyInstance$||p?.$onReadyPromise$&&p.$onReadyPromise$.then(()=>{});else{let _;if(p.$flags$|=1,_=f.getAttribute(vr),_){if(1&m.$flags$){const D=wd(f.shadowRoot,m);f.classList.remove(D+"-h",D+"-s")}((f,p,m,v)=>{const D=f.shadowRoot,b=[],M=D?[]:null,T=v.$vnode$=ft(p,null);Ce.$orgLocNodes$||El(wt.body,Ce.$orgLocNodes$=new Map),f[vr]=m,f.removeAttribute(vr),bl(T,b,[],M,f,f,m),b.map(V=>{const Q=V.$hostId$+"."+V.$nodeId$,ee=Ce.$orgLocNodes$.get(Q),ve=V.$elm$;ee&&Ol&&""===ee["s-en"]&&ee.parentNode.insertBefore(ve,ee.nextSibling),D||(ve["s-hn"]=p,ee&&(ve["s-ol"]=ee,ve["s-ol"]["s-nr"]=ve)),Ce.$orgLocNodes$.delete(Q)}),D&&M.map(V=>{V&&D.appendChild(V)})})(f,m.$tagName$,_,p)}_||12&m.$flags$&&Nl(f);{let D=f;for(;D=D.parentNode||D.host;)if(1===D.nodeType&&D.hasAttribute("s-id")&&D["s-p"]||D["s-p"]){Yo(p,p.$ancestorComponent$=D);break}}m.$members$&&Object.entries(m.$members$).map(([D,[b]])=>{if(31&b&&f.hasOwnProperty(D)){const x=f[D];delete f[D],f[D]=x}}),Id(f,p,m)}v()}})(this))}disconnectedCallback(){Ce.jmp(()=>rt(this))}componentOnReady(){return Zn(this).$onReadyPromise$}};Nn.$lazyBundleId$=_t[0],!D.includes(bt)&&!b.get(bt)&&(_.push(bt),b.define(bt,Pl(Od,Nn,1)))})});{T.innerHTML=_+"{visibility:hidden}.hydrated{visibility:inherit}",T.setAttribute("data-styles","");const _t=null!==(m=Ce.$nonce$)&&void 0!==m?m:Bo(wt);null!=_t&&T.setAttribute("nonce",_t),x.insertBefore(T,M?M.nextSibling:x.firstChild)}ve=!1,V.length?V.map(_t=>_t.connectedCallback()):Ce.jmp(()=>ee=setTimeout(xn,30))},Td=(f,p)=>p,Ie=(f,p,m,v)=>{m&&m.map(([_,D,b])=>{const x=Ad(f,_),M=$s(p,b),T=Vs(_);Ce.ael(x,D,M,T),(p.$rmListeners$=p.$rmListeners$||[]).push(()=>Ce.rel(x,D,M,T))})},$s=(f,p)=>m=>{try{256&f.$flags$?f.$lazyInstance$[p](m):(f.$queuedListeners$=f.$queuedListeners$||[]).push([p,m])}catch(v){ze(v)}},Ad=(f,p)=>8&p?Yn:f,Vs=f=>0!=(2&f),js=new WeakMap,Zn=f=>js.get(f),Tm=(f,p)=>js.set(p.$lazyInstance$=f,p),Am=(f,p)=>{const m={$flags$:0,$hostElement$:f,$cmpMeta$:p,$instanceValues$:new Map};return m.$onReadyPromise$=new Promise(v=>m.$onReadyResolve$=v),f["s-p"]=[],f["s-rc"]=[],Ie(f,m,p.$listeners$),js.set(f,m)},xd=(f,p)=>p in f,ze=(f,p)=>(0,console.error)(f,p),Bs=new Map,Rl=(f,p,m)=>{const v=f.$tagName$.replace(/-/g,"_"),_=f.$lazyBundleId$,D=Bs.get(_);if(D)return D[v];if(!m||!BUILD.hotModuleReplacement){const b=x=>(Bs.set(_,x),x[v]);switch(_){case"phn-header_3":return Promise.all([w.e(172),w.e(685),w.e(772),w.e(162),w.e(592),w.e(694)]).then(w.bind(w,694)).then(b,ze);case"phn-country-recommender":return Promise.all([w.e(172),w.e(685),w.e(592),w.e(970)]).then(w.bind(w,970)).then(b,ze);case"contextual-drawer":return w.e(706).then(w.bind(w,706)).then(b,ze);case"phn-backdrop":return Promise.all([w.e(172),w.e(685),w.e(772),w.e(670),w.e(333)]).then(w.bind(w,333)).then(b,ze);case"phn-double-drawer":return Promise.all([w.e(172),w.e(685),w.e(772),w.e(670),w.e(592),w.e(808)]).then(w.bind(w,808)).then(b,ze);case"phn-level-0-icons":return Promise.all([w.e(172),w.e(685),w.e(772),w.e(592),w.e(258)]).then(w.bind(w,258)).then(b,ze);case"phn-logo":return Promise.all([w.e(172),w.e(685),w.e(592),w.e(741)]).then(w.bind(w,741)).then(b,ze);case"phn-single-drawer":return Promise.all([w.e(172),w.e(685),w.e(772),w.e(670),w.e(592),w.e(667)]).then(w.bind(w,667)).then(b,ze);case"phn-burger-button_2":return Promise.all([w.e(172),w.e(685),w.e(97)]).then(w.bind(w,97)).then(b,ze);case"phn-drawer-header":return Promise.all([w.e(172),w.e(685),w.e(772),w.e(670),w.e(805)]).then(w.bind(w,805)).then(b,ze);case"phn-side-drawer":return Promise.all([w.e(172),w.e(772),w.e(451)]).then(w.bind(w,451)).then(b,ze);case"phn-back-button_3":return Promise.all([w.e(172),w.e(685),w.e(772),w.e(670),w.e(899)]).then(w.bind(w,899)).then(b,ze);case"phn-car-body-types-drawer_7":return Promise.all([w.e(172),w.e(685),w.e(772),w.e(670),w.e(592),w.e(590)]).then(w.bind(w,590)).then(b,ze);case"phn-side-drawer-item":return Promise.all([w.e(172),w.e(685),w.e(772),w.e(670),w.e(835)]).then(w.bind(w,835)).then(b,ze);case"phn-autocomplete-search-field_8":return Promise.all([w.e(172),w.e(685),w.e(772),w.e(670),w.e(162),w.e(592),w.e(893)]).then(w.bind(w,893)).then(b,ze);case"phn-menu-item":return Promise.all([w.e(172),w.e(685),w.e(772),w.e(670),w.e(592),w.e(278)]).then(w.bind(w,278)).then(b,ze)}}return w(353)(`./${_}.entry.js`).then(b=>(Bs.set(_,b),b[v]),ze)},Xo=new Map,Yn=typeof window<"u"?window:{},wt=Yn.document||{head:{}},Ce={$flags$:0,$resourcesUrl$:"",jmp:f=>f(),raf:f=>requestAnimationFrame(f),ael:(f,p,m,v)=>f.addEventListener(p,m,v),rel:(f,p,m,v)=>f.removeEventListener(p,m,v),ce:(f,p)=>new CustomEvent(f,p)},Ol=!0,Nd=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Fl=[],Pn=[],kl=(f,p)=>m=>{f.push(m),Pt||(Pt=!0,p&&4&Ce.$flags$?Hs(Jo):Ce.raf(Jo))},Ll=f=>{for(let p=0;p{Ll(Fl),Ll(Pn),(Pt=Fl.length>0)&&Ce.raf(Jo)},Hs=f=>Promise.resolve(void 0).then(f),Rd=kl(Pn,!0)},155:(Fr,mr,w)=>{"use strict";w.d(mr,{c:()=>xt}),typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"&&self;var xt=function xe(dt,me,tt){return dt(tt={path:me,exports:{},require:function(It,Bt){return function Ye(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},tt.exports),tt.exports}(function(dt,me){typeof self<"u"&&self,dt.exports=(()=>{var tt={d:(_e,Se)=>{for(var be in Se)tt.o(Se,be)&&!tt.o(_e,be)&&Object.defineProperty(_e,be,{enumerable:!0,get:Se[be]})},o:(_e,Se)=>Object.prototype.hasOwnProperty.call(_e,Se),r:_e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_e,"__esModule",{value:!0})}},It={};tt.r(It),tt.d(It,{componentsReady:()=>Ht,load:()=>so});const Bt="porscheDesignSystem";function Xt(){return document[Bt]||(document[Bt]={}),document[Bt]}const so=(_e={})=>{const Se="PORSCHE_DESIGN_SYSTEM_CDN";window[Se]=_e.cdn||window[Se]||(window.location.origin.match(/\.cn$/)?"cn":"auto");const be="porscheDesignSystem";document[be]||(document[be]={}),document[be].cdn={url:"https://cdn.ui.porsche."+("cn"===window[Se]?"cn":"com"),prefixes:[]},function Pt({script:_e,version:Se,prefix:be}){const nt=function(wn){const ft=Xt(),{[wn]:Ho}=ft;if(!Ho){let Ms=()=>{};const Uo=new Promise(kr=>Ms=kr);ft[wn]={isInjected:!1,isReady:()=>Uo,readyResolve:Ms,prefixes:[],registerCustomElements:null}}return ft[wn]}(Se),{isInjected:Dt,prefixes:Cn=[],registerCustomElements:uo}=nt,[Bo]=Object.entries(Xt()).filter(([wn,ft])=>wn!==Se&&"object"==typeof ft&&ft.prefixes.includes(be));if(Bo)throw new Error(`[Porsche Design System v${Se}] prefix '${be}' is already registered with version '${Bo[0]}' of the Porsche Design System. Please use a different one.\nTake a look at document.${Bt} for more details.`);Dt||(function(wn){const ft=document.createElement("script");ft.src=wn,ft.setAttribute("crossorigin",""),document.body.appendChild(ft)}(_e),nt.isInjected=!0),Cn.includes(be)||(Cn.push(be),uo&&uo(be))}({version:"3.8.0",script:document[be].cdn.url+"/porsche-design-system/components/porsche-design-system.v3.8.0.688f651c1314ab84fa7b.js",prefix:_e.prefix||""})},Ht=(_e=document.body)=>{let Se;const be=new Promise(Dt=>Se=Dt),nt=()=>{lo().then(()=>Vo(_e,Se))};if(ao())nt();else{const Dt="readystatechange",Cn=()=>{ao()&&(document.removeEventListener(Dt,Cn),nt())};document.addEventListener(Dt,Cn)}return be},ao=()=>"complete"===document.readyState,lo=()=>{if(document.porscheDesignSystem?.["3.8.0"]?.isReady)return document.porscheDesignSystem["3.8.0"].isReady();{let _e;const Se=new Promise(nt=>_e=nt),be={set(nt,Dt,Cn){return"3.8.0"===Dt&&Cn.isReady().then(_e),Reflect.set(...arguments)}};return document.porscheDesignSystem=new Proxy(document.porscheDesignSystem||{},be),Se}},Vo=(_e,Se)=>{const be=co(_e);Promise.all(be).then(nt=>Se(nt.length)).catch(nt=>console.error("[Porsche Design System]",nt))},co=_e=>{let Se=[];return 1===_e?.nodeType&&Array.from(_e.children).forEach(be=>{vr(be)&&Se.push(be.componentOnReady()),Se=Se.concat(co(be))}),Se},jo=/^(.*-)?P-(.*)$/,vr=_e=>jo.exec(_e.tagName)&&"function"==typeof _e.componentOnReady;return It})()})},353:(Fr,mr,w)=>{var jt={"./contextual-drawer.entry.js":[706,706],"./phn-autocomplete-search-field_8.entry.js":[893,172,685,772,670,162,592,893],"./phn-back-button_3.entry.js":[899,172,685,772,670,899],"./phn-backdrop.entry.js":[333,172,685,772,670,333],"./phn-burger-button_2.entry.js":[97,172,685,97],"./phn-car-body-types-drawer_7.entry.js":[590,172,685,772,670,592,590],"./phn-country-recommender.entry.js":[970,172,685,592,970],"./phn-double-drawer.entry.js":[808,172,685,772,670,592,808],"./phn-drawer-header.entry.js":[805,172,685,772,670,805],"./phn-header_3.entry.js":[694,172,685,772,162,592,694],"./phn-level-0-icons.entry.js":[258,172,685,772,592,258],"./phn-logo.entry.js":[741,172,685,592,741],"./phn-menu-item.entry.js":[278,172,685,772,670,592,278],"./phn-side-drawer-item.entry.js":[835,172,685,772,670,835],"./phn-side-drawer.entry.js":[451,172,772,451],"./phn-single-drawer.entry.js":[667,172,685,772,670,592,667]};function xe(Ye){if(!w.o(jt,Ye))return Promise.resolve().then(()=>{var me=new Error("Cannot find module '"+Ye+"'");throw me.code="MODULE_NOT_FOUND",me});var xt=jt[Ye],dt=xt[0];return Promise.all(xt.slice(1).map(w.e)).then(()=>w(dt))}xe.keys=()=>Object.keys(jt),xe.id=353,Fr.exports=xe},861:(Fr,mr,w)=>{"use strict";function jt(Ye,xt,dt,me,tt,It,Bt){try{var Xt=Ye[It](Bt),Pt=Xt.value}catch(so){return void dt(so)}Xt.done?xt(Pt):Promise.resolve(Pt).then(me,tt)}function xe(Ye){return function(){var xt=this,dt=arguments;return new Promise(function(me,tt){var It=Ye.apply(xt,dt);function Bt(Pt){jt(It,me,tt,Bt,Xt,"next",Pt)}function Xt(Pt){jt(It,me,tt,Bt,Xt,"throw",Pt)}Bt(void 0)})}}w.d(mr,{Z:()=>xe})}},Fr=>{Fr(Fr.s=171)}]); \ No newline at end of file diff --git a/polyfills.946ec0d3f628319d.js b/polyfills.946ec0d3f628319d.js deleted file mode 100644 index dbef578..0000000 --- a/polyfills.946ec0d3f628319d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksample_integration_angular=self.webpackChunksample_integration_angular||[]).push([[429],{321:(ie,Ee,de)=>{de(332)},332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=321)}]); \ No newline at end of file diff --git a/polyfills.dffd8e85cba766f1.js b/polyfills.dffd8e85cba766f1.js new file mode 100644 index 0000000..e373af6 --- /dev/null +++ b/polyfills.dffd8e85cba766f1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksample_integration_angular=self.webpackChunksample_integration_angular||[]).push([[429],{321:(ce,Ee,de)=>{de(332)},332:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(t.Promise!==se.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=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(e,r,k=!1){if(se.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),se[e]=r(t,L,X),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=oe;oe=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,oe=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(z,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,z,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==z&&e._transitionTo(j,z),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new p(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new p(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new p(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const u=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(t,u,this,arguments)}}static invokeTask(T,e,r){T||(T=this),te++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==te&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,z)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||t[Z]&&(J=t[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else t[M](L,0)}function R(L){0===te&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},oe=null,te=0;function W(){}o("Zone","Zone"),t.Zone=d}(globalThis);const ce=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,me=Object.create,Fe=Array.prototype.slice,Oe="addEventListener",Ze="removeEventListener",Ne=Zone.__symbol__(Oe),Ie=Zone.__symbol__(Ze),ae="true",le="false",ke=Zone.__symbol__("");function Me(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,Y=we&&Te||globalThis,at="removeAttribute";function je(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Me(t[i],n+"_"+i));return t}function Be(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Ue=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!Re&&!Ue&&!(!we||!Te.HTMLElement),We=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Ue&&!(!we||!Te.HTMLElement),Ce={},qe=function(t){if(!(t=t||Y.event))return;let n=Ce[t.type];n||(n=Ce[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function ze(t,n,i){let o=ce(t,n);if(!o&&i&&ce(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Ce[d];b||(b=Ce[d]=A("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&t===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,qe),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,qe,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[at]&&v.removeAttribute(n),M}return null},Ee(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function fe(t,n){t[A("OriginalDelegate")]=n}let Ye=!1,He=!1;function ht(){if(Ye)return He;Ye=!0;try{const t=Te.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=u=>{if(i.showUncaughtError()){const l=u&&u.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},i.microtaskDrainDone=()=>{for(;d.length;){const u=d.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){N(l)}}};const Z=y("unhandledPromiseRejectionHandler");function N(u){i.onUnhandledError(u);try{const l=n[Z];"function"==typeof l&&l.call(this,u)}catch{}}function B(u){return u&&u.then}function H(u){return u}function J(u){return e.reject(u)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),z="Promise.then",j=null,E=!0,G=!1,h=0;function I(u,l){return s=>{try{X(u,l,s)}catch(f){X(u,!1,f)}}}const P=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",se=y("currentTaskTrace");function X(u,l,s){const f=P();if(u===s)throw new TypeError(Q);if(u[q]===j){let m=null;try{("object"==typeof s||"function"==typeof s)&&(m=s&&s.then)}catch(w){return f(()=>{X(u,!1,w)})(),u}if(l!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)oe(s),X(u,s[q],s[R]);else if(l!==G&&"function"==typeof m)try{m.call(s,f(I(u,l)),f(I(u,!1)))}catch(w){f(()=>{X(u,!1,w)})()}else{u[q]=l;const w=u[R];if(u[R]=s,u[_]===_&&l===E&&(u[q]=u[x],u[R]=u[K]),l===G&&s instanceof Error){const g=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];g&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g{try{const D=u[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=l.run(g,void 0,S&&g!==J&&g!==H?[]:[D]);X(s,!0,O)}catch(D){X(s,!1,D)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(l){return l instanceof e?l:X(new this(null),E,l)}static reject(l){return X(new this(null),G,l)}static withResolvers(){const l={};return l.promise=new e((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||"function"!=typeof l[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let g of l)f++,s.push(e.resolve(g))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let m=!1;const w=[];return new e((g,D)=>{for(let S=0;S{m||(m=!0,g(O))},O=>{w.push(O),f--,0===f&&(m=!0,D(new T(w,"All promises were rejected")))})})}static race(l){let s,f,m=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function g(D){f(D)}for(let D of l)B(D)||(D=this.resolve(D)),D.then(w,g);return m}static all(l){return e.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof e?this:e).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,m,w=new this((O,V)=>{f=O,m=V}),g=2,D=0;const S=[];for(let O of l){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,g--,0===g&&f(S)},F=>{s?(S[V]=s.errorCallback(F),g--,0===g&&f(S)):m(F)})}catch(F){m(F)}g++,D++}return g-=2,0===g&&f(S),w}constructor(l){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();l&&l(f(I(s,E)),f(I(s,G)))}catch(f){X(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(l,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const m=new f(L),w=n.current;return this[q]==j?this[R].push(w,m,l,s):te(this,w,m,l,s),m}catch(l){return this.then(null,l)}finally(l){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const m=n.current;return this[q]==j?this[R].push(m,f,l,l):te(this,m,f,l,l),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(u){const l=u.prototype,s=o(l,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=l.then;l[p]=f,u.prototype.then=function(m,w){return new e((D,S)=>{f.call(this,D,S)}).then(m,w)},u[k]=!0}return i.patchThen=C,r&&(C(r),ue(t,"fetch",u=>function $(u){return function(l,s){let f=u.apply(l,s);if(f instanceof e)return f;let m=f.constructor;return m[k]||C(m),f}}(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=t[o];if(p)return n.call(p)}if(this===Error){const p=t[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ye=!1}const dt={useG:!0},ne={},$e={},Ke=new RegExp("^"+ke+"(\\w+)(true|false)$"),Je=A("propagationStopped");function Qe(t,n){const i=(n?n(t):t)+le,o=(n?n(t):t)+ae,c=ke+i,a=ke+o;ne[t]={},ne[t][le]=c,ne[t][ae]=a}function _t(t,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Ze,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=A(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let z;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){z=E}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),z};function N(R,_,K){if(!(_=_||t.event))return;const x=R||_.target||t,z=x[ne[_.type][K?ae:le]];if(z){const j=[];if(1===z.length){const E=Z(z[0],x,_);E&&j.push(E)}else{const E=z.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let z=!0;_&&void 0!==_.chkDup&&(z=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[A(a)]=E[a],Q=E[A(y)]=E[y],se=E[A(d)]=E[d];let X;_&&_.prepend&&(X=E[A(_.prepend)]=E[_.prepend]);const e=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=ne[s.eventName];let m;f&&(m=f[s.capture?ae:le]);const w=m&&s.target[m];if(w)for(let g=0;g{ie.zone.cancelTask(ie)},{once:!0})),h.target=null,Pe&&(Pe.taskData=null),rt&&(ee.once=!0),!ye&&"boolean"==typeof ie.options||(ie.options=ee),ie.target=S,ie.capture=Ge,ie.eventName=O,F&&(ie.originalDelegate=V),D?ge.unshift(ie):ge.push(ie),g?S:void 0}};return E[c]=l(I,v,e,r,j),X&&(E[p]=l(X,M,function(s){return X.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const m=arguments[2],w=!!m&&("boolean"==typeof m||m.capture),g=arguments[1];if(!g)return P.apply(this,arguments);if(x&&!x(P,g,s,arguments))return;const D=ne[f];let S;D&&(S=D[w?ae:le]);const O=S&&s[S];if(O)for(let V=0;Vfunction(c,a){c[Je]=!0,o&&o.apply(c,a)})}function Tt(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=t.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function tt(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function nt(t,n,i,o){t&&Xe(t,tt(t,n,i),o)}function xe(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=xe(t);i.patchOnProperties=Xe,i.patchMethod=ue,i.bindArguments=je,i.patchMacroTask=ut;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=Et,i.patchEventTarget=_t,i.isIEOrEdge=ht,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ce,i.ObjectCreate=me,i.ArraySlice=Fe,i.patchClass=ve,i.wrapWithCurrentZone=Me,i.filterProperties=tt,i.attachOriginToPatched=fe,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Tt,i.getGlobalObjects=()=>({globalSources:$e,zoneSymbolEventNames:ne,eventNames:o,isBrowser:Ae,isMix:We,isNode:Re,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Ze})});const De=A("zoneTask");function pe(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(t,p.args),v}function b(v){return a.call(t,v.data.handleId)}c=ue(t,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[De]=null))}};const B=Le(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[De]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=ue(t,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[De],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[De]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",t=>{const n="set",i="clear";pe(t,n,i,"Timeout"),pe(t,n,i,"Interval"),pe(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{pe(t,"request","cancel","AnimationFrame"),pe(t,"mozRequest","mozCancel","AnimationFrame"),pe(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function kt(t,n){n.patchEventPrototype(t,n)})(t,i),function mt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function yt(t,n){if(Re&&!We||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ft(){try{const t=Te.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];nt(c,xe(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function gt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ne],B=M[Ie];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ne],B=I[Ie]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ne],B=P[Ie]),Q&&B.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const te=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),z=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=ue(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=ue(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[z])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function lt(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,je(arguments,i+"."+c))};return fe(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){et(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{!function pt(t,n){n.patchMethod(t,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(t,i)})}},ce=>{ce(ce.s=321)}]); \ No newline at end of file diff --git a/runtime.3ac7ee27ef25b063.js b/runtime.618fd06b03ea1d31.js similarity index 75% rename from runtime.3ac7ee27ef25b063.js rename to runtime.618fd06b03ea1d31.js index 2951e0a..a2aacf6 100644 --- a/runtime.3ac7ee27ef25b063.js +++ b/runtime.618fd06b03ea1d31.js @@ -1 +1 @@ -(()=>{"use strict";var e,g={},_={};function r(e){var f=_[e];if(void 0!==f)return f.exports;var t=_[e]={exports:{}};return g[e](t,t.exports,r),t.exports}r.m=g,e=[],r.O=(f,t,n,i)=>{if(!t){var a=1/0;for(o=0;o=i)&&Object.keys(r.O).every(p=>r.O[p](t[d]))?t.splice(d--,1):(l=!1,i0&&e[o-1][2]>i;o--)e[o]=e[o-1];e[o]=[t,n,i]},r.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return r.d(f,{a:f}),f},(()=>{var f,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,n){if(1&n&&(t=this(t)),8&n||"object"==typeof t&&t&&(4&n&&t.__esModule||16&n&&"function"==typeof t.then))return t;var i=Object.create(null);r.r(i);var o={};f=f||[null,e({}),e([]),e(e)];for(var a=2&n&&t;"object"==typeof a&&!~f.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>o[l]=()=>t[l]);return o.default=()=>t,r.d(i,o),i}})(),r.d=(e,f)=>{for(var t in f)r.o(f,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:f[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((f,t)=>(r.f[t](e,f),f),[])),r.u=e=>(({214:"polyfills-core-js",592:"common",748:"polyfills-dom"}[e]||e)+"."+{97:"ae994c9ca51d0161",162:"094396ded64665cb",172:"d01699647ed1e80c",214:"04ba64fe024838b5",258:"57b1e705262de9e3",278:"b650acd7f4b1b9dd",333:"db92e826a7d3f96e",451:"bc0ac6e54b5ecf7d",590:"206055acd87dff94",592:"0c42b0d2b8e71fd0",667:"04bcb9d4e9ed4623",670:"ce282d0bcb09d07a",685:"16955ad5fff71e5f",694:"1b3a55923aaa37de",706:"3e140d100722fca4",741:"936ac1c3fb003dc1",748:"1c5ee4b9ef4f9280",772:"c119c30a1346ede1",805:"0698d1f6dc7b7210",808:"e8edcf262b36648a",835:"07d9948bd282b979",893:"396dd923cf42f7f3",899:"7b26dc805771a24d",970:"81c389725486b519"}[e]+".js"),r.miniCssF=e=>{},r.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="sample-integration-angular:";r.l=(t,n,i,o)=>{if(e[t])e[t].push(n);else{var a,l;if(void 0!==i)for(var d=document.getElementsByTagName("script"),b=0;b{a.onerror=a.onload=null,clearTimeout(s);var v=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),v&&v.forEach(y=>y(p)),m)return m(p)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(n,i)=>{var o=r.o(e,n)?e[n]:void 0;if(0!==o)if(o)i.push(o[2]);else if(666!=n){var a=new Promise((c,u)=>o=e[n]=[c,u]);i.push(o[2]=a);var l=r.p+r.u(n),d=new Error;r.l(l,c=>{if(r.o(e,n)&&(0!==(o=e[n])&&(e[n]=void 0),o)){var u=c&&("load"===c.type?"missing":c.type),s=c&&c.target&&c.target.src;d.message="Loading chunk "+n+" failed.\n("+u+": "+s+")",d.name="ChunkLoadError",d.type=u,d.request=s,o[1](d)}},"chunk-"+n,n)}else e[n]=0},r.O.j=n=>0===e[n];var f=(n,i)=>{var d,b,[o,a,l]=i,c=0;if(o.some(s=>0!==e[s])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var u=l(r)}for(n&&n(i);c{"use strict";var e,g={},_={};function r(e){var f=_[e];if(void 0!==f)return f.exports;var t=_[e]={exports:{}};return g[e](t,t.exports,r),t.exports}r.m=g,e=[],r.O=(f,t,n,i)=>{if(!t){var a=1/0;for(o=0;o=i)&&Object.keys(r.O).every(p=>r.O[p](t[d]))?t.splice(d--,1):(b=!1,i0&&e[o-1][2]>i;o--)e[o]=e[o-1];e[o]=[t,n,i]},r.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return r.d(f,{a:f}),f},(()=>{var f,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,n){if(1&n&&(t=this(t)),8&n||"object"==typeof t&&t&&(4&n&&t.__esModule||16&n&&"function"==typeof t.then))return t;var i=Object.create(null);r.r(i);var o={};f=f||[null,e({}),e([]),e(e)];for(var a=2&n&&t;"object"==typeof a&&!~f.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(b=>o[b]=()=>t[b]);return o.default=()=>t,r.d(i,o),i}})(),r.d=(e,f)=>{for(var t in f)r.o(f,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:f[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((f,t)=>(r.f[t](e,f),f),[])),r.u=e=>(({214:"polyfills-core-js",592:"common",748:"polyfills-dom"}[e]||e)+"."+{97:"ae994c9ca51d0161",162:"094396ded64665cb",172:"d01699647ed1e80c",214:"04ba64fe024838b5",258:"739f6fd3a76e0e7d",278:"b650acd7f4b1b9dd",333:"db92e826a7d3f96e",451:"bc0ac6e54b5ecf7d",590:"206055acd87dff94",592:"0c42b0d2b8e71fd0",667:"04bcb9d4e9ed4623",670:"ce282d0bcb09d07a",685:"16955ad5fff71e5f",694:"1b3a55923aaa37de",706:"3e140d100722fca4",741:"936ac1c3fb003dc1",748:"1c5ee4b9ef4f9280",772:"c119c30a1346ede1",805:"0698d1f6dc7b7210",808:"e8edcf262b36648a",835:"07d9948bd282b979",893:"396dd923cf42f7f3",899:"7b26dc805771a24d",970:"81c389725486b519"}[e]+".js"),r.miniCssF=e=>{},r.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="sample-integration-angular:";r.l=(t,n,i,o)=>{if(e[t])e[t].push(n);else{var a,b;if(void 0!==i)for(var d=document.getElementsByTagName("script"),l=0;l{a.onerror=a.onload=null,clearTimeout(s);var v=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),v&&v.forEach(y=>y(p)),m)return m(p)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),b&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(n,i)=>{var o=r.o(e,n)?e[n]:void 0;if(0!==o)if(o)i.push(o[2]);else if(666!=n){var a=new Promise((c,u)=>o=e[n]=[c,u]);i.push(o[2]=a);var b=r.p+r.u(n),d=new Error;r.l(b,c=>{if(r.o(e,n)&&(0!==(o=e[n])&&(e[n]=void 0),o)){var u=c&&("load"===c.type?"missing":c.type),s=c&&c.target&&c.target.src;d.message="Loading chunk "+n+" failed.\n("+u+": "+s+")",d.name="ChunkLoadError",d.type=u,d.request=s,o[1](d)}},"chunk-"+n,n)}else e[n]=0},r.O.j=n=>0===e[n];var f=(n,i)=>{var d,l,[o,a,b]=i,c=0;if(o.some(s=>0!==e[s])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(b)var u=b(r)}for(n&&n(i);c